xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/raspberrypi,7inch-touchscreen.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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
7title: The official 7" (800x480) Raspberry Pi touchscreen
8
9maintainers:
10  - Eric Anholt <eric@anholt.net>
11  - Thierry Reding <thierry.reding@gmail.com>
12
13description: |+
14  This DSI panel contains:
15
16  - TC358762 DSI->DPI bridge
17  - Atmel microcontroller on I2C for power sequencing the DSI bridge and
18    controlling backlight
19  - Touchscreen controller on I2C for touch input
20
21  and this binding covers the DSI display parts but not its touch input.
22
23properties:
24  compatible:
25    const: raspberrypi,7inch-touchscreen-panel
26
27  reg:
28    const: 0x45
29
30  port: true
31
32required:
33  - compatible
34  - reg
35  - port
36
37additionalProperties: false
38
39examples:
40  - |+
41    dsi1: dsi {
42      #address-cells = <1>;
43      #size-cells = <0>;
44
45      port {
46        dsi_out_port: endpoint {
47          remote-endpoint = <&panel_dsi_port>;
48        };
49      };
50    };
51
52    i2c_dsi: i2c {
53      compatible = "i2c-gpio";
54      #address-cells = <1>;
55      #size-cells = <0>;
56      scl-gpios = <&gpio 28 0>;
57      sda-gpios = <&gpio 29 0>;
58
59      lcd@45 {
60        compatible = "raspberrypi,7inch-touchscreen-panel";
61        reg = <0x45>;
62
63        port {
64          panel_dsi_port: endpoint {
65            remote-endpoint = <&dsi_out_port>;
66          };
67        };
68      };
69    };
70
71...
72