This repository was archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 495
FBTFT RPI overlays
Noralf Trønnes edited this page Nov 3, 2021
·
28 revisions
How to make your own Device Tree overlay for the Raspberry Pi
Compile dtb and put it directly into it's destination:
sudo dtc -@ -I dts -O dtb -o /boot/overlays/foo.dtbo foo-overlay.dts
Load the overlay by adding this to /boot/config.txt:
dtoverlay=foo
Then reboot to load the overlay.
Refs:
- Official Raspberry Pi docs: Device Trees, Overlays and Parameters
Overlays available in the Raspberry Pi kernel (links point to 5.10, make sure to pick the current version).
- pitft28-capacitive-overlay.dts
- mz61581-overlay.dts
- hy28b-2017-overlay.dts
- hy28a-overlay.dts
- ssd1331-spi-overlay.dts
- sh1106-spi-overlay.dts
- tinylcd35-overlay.dts
- ssd1351-spi-overlay.dts
- media-center-overlay.dts
- adafruit18-overlay.dts
- ssd1306-spi-overlay.dts
- pitft28-resistive-overlay.dts
- rpi-display-overlay.dts
- minipitft13-overlay.dts
- sainsmart18-overlay.dts
- pitft35-resistive-overlay.dts
- hy28b-overlay.dts
- piscreen2r-overlay.dts
- pitft22-overlay.dts
- piscreen-overlay.dts
If you have made an overlay and want to share it, add a link here. GitHub Gist can be used to store the overlay.
- https://github.com/notro/fbtft/blob/master/dts/rpi.dts
- JBTEK 3.5" LCD: https://github.com/acidjazz/jbtekoverlay
- Waveshare 3.2"/3.5": https://github.com/swkim01/waveshare-dtoverlays
- Elecfreaks 2.2" LCD: https://github.com/philenotfound/rpi_elecfreaks_22_tft_dt_overlay
- Adafruit 13m: https://github.com/kenrestivo/linux/blob/3d61a22b05cbf7ac2f6b620dcd45c2fb49fb9442/arch/arm/boot/dts/overlays/adafruit13m-overlay.dts
- Sainsmart 3.2": https://github.com/Flugtiger/sainsmart32-dtoverlay
- Media Center HAT by Pi Suppply - 2.83" LCD with extras: https://github.com/raspberrypi/linux/blob/rpi-4.9.y/arch/arm/boot/dts/overlays/media-center-overlay.dts
- Adafruit / SainSmart / ST7735R 1.8": https://gist.github.com/F1zye/81afbc541d6481b1bf988a2dc592a5bd