1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*0e8011faSEmmanuel Vadot%YAML 1.2 3*0e8011faSEmmanuel Vadot--- 4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/anbernic,rg35xx-plus-panel.yaml# 5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*0e8011faSEmmanuel Vadot 7*0e8011faSEmmanuel Vadottitle: Anbernic RG35XX series (WL-355608-A8) 3.5" 640x480 24-bit IPS LCD panel 8*0e8011faSEmmanuel Vadot 9*0e8011faSEmmanuel Vadotmaintainers: 10*0e8011faSEmmanuel Vadot - Ryan Walklin <ryan@testtoast.com> 11*0e8011faSEmmanuel Vadot 12*0e8011faSEmmanuel VadotallOf: 13*0e8011faSEmmanuel Vadot - $ref: panel-common.yaml# 14*0e8011faSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 15*0e8011faSEmmanuel Vadot 16*0e8011faSEmmanuel Vadotproperties: 17*0e8011faSEmmanuel Vadot compatible: 18*0e8011faSEmmanuel Vadot oneOf: 19*0e8011faSEmmanuel Vadot - const: anbernic,rg35xx-plus-panel 20*0e8011faSEmmanuel Vadot - items: 21*0e8011faSEmmanuel Vadot - enum: 22*0e8011faSEmmanuel Vadot - anbernic,rg35xx-2024-panel 23*0e8011faSEmmanuel Vadot - anbernic,rg35xx-h-panel 24*0e8011faSEmmanuel Vadot - anbernic,rg35xx-sp-panel 25*0e8011faSEmmanuel Vadot - const: anbernic,rg35xx-plus-panel 26*0e8011faSEmmanuel Vadot 27*0e8011faSEmmanuel Vadot reg: 28*0e8011faSEmmanuel Vadot maxItems: 1 29*0e8011faSEmmanuel Vadot 30*0e8011faSEmmanuel Vadot spi-3wire: true 31*0e8011faSEmmanuel Vadot 32*0e8011faSEmmanuel Vadotrequired: 33*0e8011faSEmmanuel Vadot - compatible 34*0e8011faSEmmanuel Vadot - reg 35*0e8011faSEmmanuel Vadot - port 36*0e8011faSEmmanuel Vadot - power-supply 37*0e8011faSEmmanuel Vadot - reset-gpios 38*0e8011faSEmmanuel Vadot 39*0e8011faSEmmanuel VadotunevaluatedProperties: false 40*0e8011faSEmmanuel Vadot 41*0e8011faSEmmanuel Vadotexamples: 42*0e8011faSEmmanuel Vadot - | 43*0e8011faSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 44*0e8011faSEmmanuel Vadot 45*0e8011faSEmmanuel Vadot spi { 46*0e8011faSEmmanuel Vadot #address-cells = <1>; 47*0e8011faSEmmanuel Vadot #size-cells = <0>; 48*0e8011faSEmmanuel Vadot 49*0e8011faSEmmanuel Vadot panel@0 { 50*0e8011faSEmmanuel Vadot compatible = "anbernic,rg35xx-plus-panel"; 51*0e8011faSEmmanuel Vadot reg = <0>; 52*0e8011faSEmmanuel Vadot 53*0e8011faSEmmanuel Vadot spi-3wire; 54*0e8011faSEmmanuel Vadot spi-max-frequency = <3125000>; 55*0e8011faSEmmanuel Vadot 56*0e8011faSEmmanuel Vadot reset-gpios = <&pio 8 14 GPIO_ACTIVE_LOW>; // PI14 57*0e8011faSEmmanuel Vadot 58*0e8011faSEmmanuel Vadot backlight = <&backlight>; 59*0e8011faSEmmanuel Vadot power-supply = <®_lcd>; 60*0e8011faSEmmanuel Vadot 61*0e8011faSEmmanuel Vadot port { 62*0e8011faSEmmanuel Vadot endpoint { 63*0e8011faSEmmanuel Vadot remote-endpoint = <&tcon_lcd0_out_lcd>; 64*0e8011faSEmmanuel Vadot }; 65*0e8011faSEmmanuel Vadot }; 66*0e8011faSEmmanuel Vadot }; 67*0e8011faSEmmanuel Vadot }; 68