The official 7" (800x480) Raspberry Pi touchscreen

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/raspberrypi,7inch-touchscreen.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eric Anholt <eric@anholt.net>", "Thierry Reding <thierry.reding@gmail.com>"

This DSI panel contains:

- TC358762 DSI->DPI bridge
- Atmel microcontroller on I2C for power sequencing the DSI bridge and
  controlling backlight
- Touchscreen controller on I2C for touch input

and this binding covers the DSI display parts but not its touch input.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "raspberrypi,7inch-touchscreen-panel"

reg — required here #

Exact value (const): 69

port — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "port"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dsi1: dsi {
  #address-cells = <1>;
  #size-cells = <0>;

  port {
    dsi_out_port: endpoint {
      remote-endpoint = <&panel_dsi_port>;
    };
  };
};

i2c_dsi: i2c {
  compatible = "i2c-gpio";
  #address-cells = <1>;
  #size-cells = <0>;
  scl-gpios = <&gpio 28 0>;
  sda-gpios = <&gpio 29 0>;

  lcd@45 {
    compatible = "raspberrypi,7inch-touchscreen-panel";
    reg = <0x45>;

    port {
      panel_dsi_port: endpoint {
        remote-endpoint = <&dsi_out_port>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page