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 const: sitronix,st7789v 19 20 reg: true 21 reset-gpios: true 22 power-supply: true 23 backlight: true 24 port: true 25 26 spi-cpha: true 27 spi-cpol: true 28 29required: 30 - compatible 31 - reg 32 - reset-gpios 33 - power-supply 34 35unevaluatedProperties: false 36 37examples: 38 - | 39 #include <dt-bindings/gpio/gpio.h> 40 41 spi { 42 #address-cells = <1>; 43 #size-cells = <0>; 44 45 panel@0 { 46 compatible = "sitronix,st7789v"; 47 reg = <0>; 48 reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>; 49 backlight = <&pwm_bl>; 50 power-supply = <&power>; 51 spi-max-frequency = <100000>; 52 spi-cpol; 53 spi-cpha; 54 55 port { 56 panel_input: endpoint { 57 remote-endpoint = <&tcon0_out_panel>; 58 }; 59 }; 60 }; 61 }; 62 63... 64