18d13bc63SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28d13bc63SEmmanuel Vadot%YAML 1.2 38d13bc63SEmmanuel Vadot--- 48d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/fascontek,fs035vg158.yaml# 58d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68d13bc63SEmmanuel Vadot 78d13bc63SEmmanuel Vadottitle: Fascontek FS035VG158 3.5" (640x480 pixels) 24-bit IPS LCD panel 88d13bc63SEmmanuel Vadot 98d13bc63SEmmanuel Vadotmaintainers: 108d13bc63SEmmanuel Vadot - John Watts <contact@jookia.org> 118d13bc63SEmmanuel Vadot 128d13bc63SEmmanuel VadotallOf: 138d13bc63SEmmanuel Vadot - $ref: panel-common.yaml# 148d13bc63SEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 158d13bc63SEmmanuel Vadot 168d13bc63SEmmanuel Vadotproperties: 178d13bc63SEmmanuel Vadot compatible: 188d13bc63SEmmanuel Vadot const: fascontek,fs035vg158 198d13bc63SEmmanuel Vadot 20*7d0873ebSEmmanuel Vadot reg: 21*7d0873ebSEmmanuel Vadot maxItems: 1 22*7d0873ebSEmmanuel Vadot 238d13bc63SEmmanuel Vadot spi-3wire: true 248d13bc63SEmmanuel Vadot 258d13bc63SEmmanuel Vadotrequired: 268d13bc63SEmmanuel Vadot - compatible 278d13bc63SEmmanuel Vadot - reg 288d13bc63SEmmanuel Vadot - port 298d13bc63SEmmanuel Vadot - power-supply 308d13bc63SEmmanuel Vadot - reset-gpios 318d13bc63SEmmanuel Vadot 328d13bc63SEmmanuel VadotunevaluatedProperties: false 338d13bc63SEmmanuel Vadot 348d13bc63SEmmanuel Vadotexamples: 358d13bc63SEmmanuel Vadot - | 368d13bc63SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 378d13bc63SEmmanuel Vadot 388d13bc63SEmmanuel Vadot spi { 398d13bc63SEmmanuel Vadot #address-cells = <1>; 408d13bc63SEmmanuel Vadot #size-cells = <0>; 418d13bc63SEmmanuel Vadot panel@0 { 428d13bc63SEmmanuel Vadot compatible = "fascontek,fs035vg158"; 438d13bc63SEmmanuel Vadot reg = <0>; 448d13bc63SEmmanuel Vadot 458d13bc63SEmmanuel Vadot spi-3wire; 468d13bc63SEmmanuel Vadot spi-max-frequency = <3125000>; 478d13bc63SEmmanuel Vadot 488d13bc63SEmmanuel Vadot reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>; 498d13bc63SEmmanuel Vadot 508d13bc63SEmmanuel Vadot backlight = <&backlight>; 518d13bc63SEmmanuel Vadot power-supply = <&vcc>; 528d13bc63SEmmanuel Vadot 538d13bc63SEmmanuel Vadot port { 548d13bc63SEmmanuel Vadot panel_input: endpoint { 558d13bc63SEmmanuel Vadot remote-endpoint = <&panel_output>; 568d13bc63SEmmanuel Vadot }; 578d13bc63SEmmanuel Vadot }; 588d13bc63SEmmanuel Vadot }; 598d13bc63SEmmanuel Vadot }; 60