1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only 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/anbernic,rg35xx-plus-panel.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Anbernic RG35XX series (WL-355608-A8) 3 7 title: Anbernic RG35XX series (WL-355608-A8) 3.5" 640x480 24-bit IPS LCD panel 8 8 9 maintainers: 9 maintainers: 10 - Ryan Walklin <ryan@testtoast.com> 10 - Ryan Walklin <ryan@testtoast.com> 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 oneOf: 18 oneOf: 19 - const: anbernic,rg35xx-plus-panel 19 - const: anbernic,rg35xx-plus-panel 20 - items: 20 - items: 21 - enum: 21 - enum: 22 - anbernic,rg35xx-2024-panel 22 - anbernic,rg35xx-2024-panel 23 - anbernic,rg35xx-h-panel 23 - anbernic,rg35xx-h-panel 24 - anbernic,rg35xx-sp-panel 24 - anbernic,rg35xx-sp-panel 25 - const: anbernic,rg35xx-plus-panel 25 - const: anbernic,rg35xx-plus-panel 26 26 27 reg: 27 reg: 28 maxItems: 1 28 maxItems: 1 29 29 30 spi-3wire: true 30 spi-3wire: true 31 31 32 required: 32 required: 33 - compatible 33 - compatible 34 - reg 34 - reg 35 - port 35 - port 36 - power-supply 36 - power-supply 37 - reset-gpios 37 - reset-gpios 38 38 39 unevaluatedProperties: false 39 unevaluatedProperties: false 40 40 41 examples: 41 examples: 42 - | 42 - | 43 #include <dt-bindings/gpio/gpio.h> 43 #include <dt-bindings/gpio/gpio.h> 44 44 45 spi { 45 spi { 46 #address-cells = <1>; 46 #address-cells = <1>; 47 #size-cells = <0>; 47 #size-cells = <0>; 48 48 49 panel@0 { 49 panel@0 { 50 compatible = "anbernic,rg35xx-plus 50 compatible = "anbernic,rg35xx-plus-panel"; 51 reg = <0>; 51 reg = <0>; 52 52 53 spi-3wire; 53 spi-3wire; 54 spi-max-frequency = <3125000>; 54 spi-max-frequency = <3125000>; 55 55 56 reset-gpios = <&pio 8 14 GPIO_ACTI 56 reset-gpios = <&pio 8 14 GPIO_ACTIVE_LOW>; // PI14 57 57 58 backlight = <&backlight>; 58 backlight = <&backlight>; 59 power-supply = <®_lcd>; 59 power-supply = <®_lcd>; 60 60 61 port { 61 port { 62 endpoint { 62 endpoint { 63 remote-endpoint = <&tcon_l 63 remote-endpoint = <&tcon_lcd0_out_lcd>; 64 }; 64 }; 65 }; 65 }; 66 }; 66 }; 67 }; 67 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.