1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/display/pan 4 $id: http://devicetree.org/schemas/display/panel/abt,y030xx067a.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Asia Better Technology 3.0" (320x480 pi 7 title: Asia Better Technology 3.0" (320x480 pixels) 24-bit IPS LCD panel 8 8 9 maintainers: 9 maintainers: 10 - Paul Cercueil <paul@crapouillou.net> 10 - Paul Cercueil <paul@crapouillou.net> 11 11 12 allOf: 12 allOf: 13 - $ref: panel-common.yaml# 13 - $ref: panel-common.yaml# 14 - $ref: /schemas/spi/spi-peripheral-props.ya 14 - $ref: /schemas/spi/spi-peripheral-props.yaml# 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 const: abt,y030xx067a 18 const: abt,y030xx067a 19 19 20 reg: 20 reg: 21 maxItems: 1 21 maxItems: 1 22 22 23 backlight: true 23 backlight: true 24 port: true 24 port: true 25 power-supply: true 25 power-supply: true 26 reset-gpios: true 26 reset-gpios: true 27 27 28 required: 28 required: 29 - compatible 29 - compatible 30 - reg 30 - reg 31 - power-supply 31 - power-supply 32 - reset-gpios 32 - reset-gpios 33 33 34 unevaluatedProperties: false 34 unevaluatedProperties: false 35 35 36 examples: 36 examples: 37 - | 37 - | 38 #include <dt-bindings/gpio/gpio.h> 38 #include <dt-bindings/gpio/gpio.h> 39 39 40 spi { 40 spi { 41 #address-cells = <1>; 41 #address-cells = <1>; 42 #size-cells = <0>; 42 #size-cells = <0>; 43 43 44 panel@0 { 44 panel@0 { 45 compatible = "abt,y030xx067a"; 45 compatible = "abt,y030xx067a"; 46 reg = <0>; 46 reg = <0>; 47 47 48 spi-max-frequency = <3125000>; 48 spi-max-frequency = <3125000>; 49 49 50 reset-gpios = <&gpe 2 GPIO_ACTIVE_ 50 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>; 51 51 52 backlight = <&backlight>; 52 backlight = <&backlight>; 53 power-supply = <&vcc>; 53 power-supply = <&vcc>; 54 54 55 port { 55 port { 56 panel_input: endpoint { 56 panel_input: endpoint { 57 remote-endpoint = <&panel_ 57 remote-endpoint = <&panel_output>; 58 }; 58 }; 59 }; 59 }; 60 }; 60 }; 61 }; 61 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.