sitronix,st7735r.txt 963 B

1234567891011121314151617181920212223242526272829303132333435
  1. Sitronix ST7735R display panels
  2. This binding is for display panels using a Sitronix ST7735R controller in SPI
  3. mode.
  4. Required properties:
  5. - compatible: "jianda,jd-t18003-t01", "sitronix,st7735r"
  6. - dc-gpios: Display data/command selection (D/CX)
  7. - reset-gpios: Reset signal (RSTX)
  8. The node for this driver must be a child node of a SPI controller, hence
  9. all mandatory properties described in ../spi/spi-bus.txt must be specified.
  10. Optional properties:
  11. - rotation: panel rotation in degrees counter clockwise (0,90,180,270)
  12. - backlight: phandle of the backlight device attached to the panel
  13. Example:
  14. backlight: backlight {
  15. compatible = "gpio-backlight";
  16. gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
  17. }
  18. ...
  19. display@0{
  20. compatible = "jianda,jd-t18003-t01", "sitronix,st7735r";
  21. reg = <0>;
  22. spi-max-frequency = <32000000>;
  23. dc-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
  24. reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>;
  25. rotation = <270>;
  26. backlight = &backlight;
  27. };