79 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/display/panel/sitronix,st7789v.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Sitronix ST7789V RGB panel with SPI control bus8 9maintainers:10 - Maxime Ripard <mripard@kernel.org>11 12allOf:13 - $ref: panel-common.yaml#14 - $ref: /schemas/spi/spi-peripheral-props.yaml#15 16properties:17 compatible:18 enum:19 - edt,et028013dma20 - inanbo,t28cp45tn89-v1721 - jasonic,jt240mhqs-hwt-ek-e322 - sitronix,st7789v23 24 reg:25 maxItems: 126 27 reset-gpios: true28 power-supply: true29 backlight: true30 port: true31 rotation: true32 33 spi-cpha: true34 spi-cpol: true35 36 spi-rx-bus-width:37 minimum: 038 maximum: 139 40 dc-gpios:41 maxItems: 142 description: DCX pin, Display data/command selection pin in parallel interface43 44required:45 - compatible46 - reg47 - power-supply48 49unevaluatedProperties: false50 51examples:52 - |53 #include <dt-bindings/gpio/gpio.h>54 55 spi {56 #address-cells = <1>;57 #size-cells = <0>;58 59 panel@0 {60 compatible = "sitronix,st7789v";61 reg = <0>;62 reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>;63 backlight = <&pwm_bl>;64 power-supply = <&power>;65 rotation = <180>;66 spi-max-frequency = <100000>;67 spi-cpol;68 spi-cpha;69 70 port {71 panel_input: endpoint {72 remote-endpoint = <&tcon0_out_panel>;73 };74 };75 };76 };77 78...79