1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 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 bus 8 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,et028013dma 20 - inanbo,t28cp45tn89-v17 21 - sitronix,st7789v 22 23 reg: true 24 reset-gpios: true 25 power-supply: true 26 backlight: true 27 port: true 28 29 spi-cpha: true 30 spi-cpol: true 31 32 dc-gpios: 33 maxItems: 1 34 description: DCX pin, Display data/command selection pin in parallel interface 35 36required: 37 - compatible 38 - reg 39 - power-supply 40 41unevaluatedProperties: false 42 43examples: 44 - | 45 #include <dt-bindings/gpio/gpio.h> 46 47 spi { 48 #address-cells = <1>; 49 #size-cells = <0>; 50 51 panel@0 { 52 compatible = "sitronix,st7789v"; 53 reg = <0>; 54 reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>; 55 backlight = <&pwm_bl>; 56 power-supply = <&power>; 57 spi-max-frequency = <100000>; 58 spi-cpol; 59 spi-cpha; 60 61 port { 62 panel_input: endpoint { 63 remote-endpoint = <&tcon0_out_panel>; 64 }; 65 }; 66 }; 67 }; 68 69... 70