1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/display/panel/fascontek,fs035vg158.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Fascontek FS035VG158 3.5" (640x480 pixels) 24-bit IPS LCD panel 8 9maintainers: 10 - John Watts <contact@jookia.org> 11 12allOf: 13 - $ref: panel-common.yaml# 14 - $ref: /schemas/spi/spi-peripheral-props.yaml# 15 16properties: 17 compatible: 18 const: fascontek,fs035vg158 19 20 reg: 21 maxItems: 1 22 23 spi-3wire: true 24 25required: 26 - compatible 27 - reg 28 - port 29 - power-supply 30 - reset-gpios 31 32unevaluatedProperties: false 33 34examples: 35 - | 36 #include <dt-bindings/gpio/gpio.h> 37 38 spi { 39 #address-cells = <1>; 40 #size-cells = <0>; 41 panel@0 { 42 compatible = "fascontek,fs035vg158"; 43 reg = <0>; 44 45 spi-3wire; 46 spi-max-frequency = <3125000>; 47 48 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>; 49 50 backlight = <&backlight>; 51 power-supply = <&vcc>; 52 53 port { 54 panel_input: endpoint { 55 remote-endpoint = <&panel_output>; 56 }; 57 }; 58 }; 59 }; 60