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