Skip to content

Instantly share code, notes, and snippets.

@KestutisMa
Created May 2, 2023 17:48
Show Gist options
  • Save KestutisMa/7cd7efbbb0196457029e278033b1d938 to your computer and use it in GitHub Desktop.
Save KestutisMa/7cd7efbbb0196457029e278033b1d938 to your computer and use it in GitHub Desktop.
minimal overlay
// list: dtc -I fs /sys/firmware/devicetree/base
// compile with include: dtc -@ -I dts -O dtb -o spidev-overlay.dtbo -i /home/xilinx/jupyter_notebooks/spi_lcd /home/xilinx/jupyter_notebooks/spi_lcd/spidev-overlay.dts
/dts-v1/;
/plugin/; /* allow undefined label references and record them */
/include/ "zynq-7000.dtsi"
/ {
fragment@0 {
target = <&spi0>;
status = "okay";
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment