1*12cf36c7SChristophe Branchereau# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*12cf36c7SChristophe Branchereau%YAML 1.2 3*12cf36c7SChristophe Branchereau--- 4*12cf36c7SChristophe Branchereau$id: http://devicetree.org/schemas/display/panel/focaltech,gpt3.yaml# 5*12cf36c7SChristophe Branchereau$schema: http://devicetree.org/meta-schemas/core.yaml# 6*12cf36c7SChristophe Branchereau 7*12cf36c7SChristophe Branchereautitle: Focaltech GPT3 3.0" (640x480 pixels) IPS LCD panel 8*12cf36c7SChristophe Branchereau 9*12cf36c7SChristophe Branchereaumaintainers: 10*12cf36c7SChristophe Branchereau - Christophe Branchereau <cbranchereau@gmail.com> 11*12cf36c7SChristophe Branchereau 12*12cf36c7SChristophe BranchereauallOf: 13*12cf36c7SChristophe Branchereau - $ref: panel-common.yaml# 14*12cf36c7SChristophe Branchereau - $ref: /schemas/spi/spi-peripheral-props.yaml# 15*12cf36c7SChristophe Branchereau 16*12cf36c7SChristophe Branchereauproperties: 17*12cf36c7SChristophe Branchereau compatible: 18*12cf36c7SChristophe Branchereau const: focaltech,gpt3 19*12cf36c7SChristophe Branchereau 20*12cf36c7SChristophe Branchereau reg: 21*12cf36c7SChristophe Branchereau maxItems: 1 22*12cf36c7SChristophe Branchereau 23*12cf36c7SChristophe Branchereaurequired: 24*12cf36c7SChristophe Branchereau - compatible 25*12cf36c7SChristophe Branchereau - reg 26*12cf36c7SChristophe Branchereau - power-supply 27*12cf36c7SChristophe Branchereau - reset-gpios 28*12cf36c7SChristophe Branchereau 29*12cf36c7SChristophe BranchereauunevaluatedProperties: false 30*12cf36c7SChristophe Branchereau 31*12cf36c7SChristophe Branchereauexamples: 32*12cf36c7SChristophe Branchereau - | 33*12cf36c7SChristophe Branchereau #include <dt-bindings/gpio/gpio.h> 34*12cf36c7SChristophe Branchereau 35*12cf36c7SChristophe Branchereau spi { 36*12cf36c7SChristophe Branchereau #address-cells = <1>; 37*12cf36c7SChristophe Branchereau #size-cells = <0>; 38*12cf36c7SChristophe Branchereau 39*12cf36c7SChristophe Branchereau panel@0 { 40*12cf36c7SChristophe Branchereau compatible = "focaltech,gpt3"; 41*12cf36c7SChristophe Branchereau reg = <0>; 42*12cf36c7SChristophe Branchereau 43*12cf36c7SChristophe Branchereau spi-max-frequency = <3125000>; 44*12cf36c7SChristophe Branchereau 45*12cf36c7SChristophe Branchereau reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>; 46*12cf36c7SChristophe Branchereau 47*12cf36c7SChristophe Branchereau backlight = <&backlight>; 48*12cf36c7SChristophe Branchereau power-supply = <&vcc>; 49*12cf36c7SChristophe Branchereau 50*12cf36c7SChristophe Branchereau port { 51*12cf36c7SChristophe Branchereau panel_input: endpoint { 52*12cf36c7SChristophe Branchereau remote-endpoint = <&panel_output>; 53*12cf36c7SChristophe Branchereau }; 54*12cf36c7SChristophe Branchereau }; 55*12cf36c7SChristophe Branchereau }; 56*12cf36c7SChristophe Branchereau }; 57