raspberrypi,7inch-touchscreen.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # SPDX-License-Identifier: GPL-2.0
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/panel/raspberrypi,7inch-touchscreen.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: The official 7" (800x480) Raspberry Pi touchscreen
  7. maintainers:
  8. - Eric Anholt <eric@anholt.net>
  9. - Thierry Reding <thierry.reding@gmail.com>
  10. description: |+
  11. This DSI panel contains:
  12. - TC358762 DSI->DPI bridge
  13. - Atmel microcontroller on I2C for power sequencing the DSI bridge and
  14. controlling backlight
  15. - Touchscreen controller on I2C for touch input
  16. and this binding covers the DSI display parts but not its touch input.
  17. properties:
  18. compatible:
  19. const: raspberrypi,7inch-touchscreen-panel
  20. reg:
  21. const: 0x45
  22. port: true
  23. required:
  24. - compatible
  25. - reg
  26. - port
  27. additionalProperties: false
  28. examples:
  29. - |+
  30. dsi1: dsi {
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. port {
  34. dsi_out_port: endpoint {
  35. remote-endpoint = <&panel_dsi_port>;
  36. };
  37. };
  38. };
  39. i2c_dsi: i2c {
  40. compatible = "i2c-gpio";
  41. #address-cells = <1>;
  42. #size-cells = <0>;
  43. scl-gpios = <&gpio 28 0>;
  44. sda-gpios = <&gpio 29 0>;
  45. lcd@45 {
  46. compatible = "raspberrypi,7inch-touchscreen-panel";
  47. reg = <0x45>;
  48. port {
  49. panel_dsi_port: endpoint {
  50. remote-endpoint = <&dsi_out_port>;
  51. };
  52. };
  53. };
  54. };
  55. ...