0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/raspberrypi,7inch-touchscreen.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: The official 7" (800x480) Raspberry Pi touchscreen
0008
0009 maintainers:
0010 - Eric Anholt <eric@anholt.net>
0011 - Thierry Reding <thierry.reding@gmail.com>
0012
0013 description: |+
0014 This DSI panel contains:
0015
0016 - TC358762 DSI->DPI bridge
0017 - Atmel microcontroller on I2C for power sequencing the DSI bridge and
0018 controlling backlight
0019 - Touchscreen controller on I2C for touch input
0020
0021 and this binding covers the DSI display parts but not its touch input.
0022
0023 properties:
0024 compatible:
0025 const: raspberrypi,7inch-touchscreen-panel
0026
0027 reg:
0028 const: 0x45
0029
0030 port: true
0031
0032 required:
0033 - compatible
0034 - reg
0035 - port
0036
0037 additionalProperties: false
0038
0039 examples:
0040 - |+
0041 dsi1: dsi {
0042 #address-cells = <1>;
0043 #size-cells = <0>;
0044
0045 port {
0046 dsi_out_port: endpoint {
0047 remote-endpoint = <&panel_dsi_port>;
0048 };
0049 };
0050 };
0051
0052 i2c_dsi: i2c {
0053 compatible = "i2c-gpio";
0054 #address-cells = <1>;
0055 #size-cells = <0>;
0056 scl-gpios = <&gpio 28 0>;
0057 sda-gpios = <&gpio 29 0>;
0058
0059 lcd@45 {
0060 compatible = "raspberrypi,7inch-touchscreen-panel";
0061 reg = <0x45>;
0062
0063 port {
0064 panel_dsi_port: endpoint {
0065 remote-endpoint = <&dsi_out_port>;
0066 };
0067 };
0068 };
0069 };
0070
0071 ...