1893e46a9SDaniel Mack# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2893e46a9SDaniel Mack%YAML 1.2 3893e46a9SDaniel Mack--- 4893e46a9SDaniel Mack$id: http://devicetree.org/schemas/display/panel/ilitek,ili9163.yaml# 5893e46a9SDaniel Mack$schema: http://devicetree.org/meta-schemas/core.yaml# 6893e46a9SDaniel Mack 7a612130cSKrzysztof Kozlowskititle: Ilitek ILI9163 display panels 8893e46a9SDaniel Mack 9893e46a9SDaniel Mackmaintainers: 10893e46a9SDaniel Mack - Daniel Mack <daniel@zonque.org> 11893e46a9SDaniel Mack 12893e46a9SDaniel Mackdescription: 13893e46a9SDaniel Mack This binding is for display panels using an Ilitek ILI9163 controller in SPI 14893e46a9SDaniel Mack mode. 15893e46a9SDaniel Mack 16893e46a9SDaniel MackallOf: 17893e46a9SDaniel Mack - $ref: panel-common.yaml# 185b4248bfSKrzysztof Kozlowski - $ref: /schemas/spi/spi-peripheral-props.yaml# 19893e46a9SDaniel Mack 20893e46a9SDaniel Mackproperties: 21893e46a9SDaniel Mack compatible: 22893e46a9SDaniel Mack items: 23893e46a9SDaniel Mack - enum: 24893e46a9SDaniel Mack - newhaven,1.8-128160EF 25893e46a9SDaniel Mack - const: ilitek,ili9163 26893e46a9SDaniel Mack 27*6b2358ffSKrzysztof Kozlowski reg: 28*6b2358ffSKrzysztof Kozlowski maxItems: 1 29*6b2358ffSKrzysztof Kozlowski 30893e46a9SDaniel Mack spi-max-frequency: 31893e46a9SDaniel Mack maximum: 32000000 32893e46a9SDaniel Mack 33893e46a9SDaniel Mack dc-gpios: 34893e46a9SDaniel Mack maxItems: 1 35893e46a9SDaniel Mack description: Display data/command selection (D/CX) 36893e46a9SDaniel Mack 37893e46a9SDaniel Mack backlight: true 38893e46a9SDaniel Mack reset-gpios: true 39893e46a9SDaniel Mack rotation: true 40893e46a9SDaniel Mack 41893e46a9SDaniel Mackrequired: 42893e46a9SDaniel Mack - compatible 43893e46a9SDaniel Mack - reg 44893e46a9SDaniel Mack - dc-gpios 45893e46a9SDaniel Mack - reset-gpios 46893e46a9SDaniel Mack 475b4248bfSKrzysztof KozlowskiunevaluatedProperties: false 48893e46a9SDaniel Mack 49893e46a9SDaniel Mackexamples: 50893e46a9SDaniel Mack - | 51893e46a9SDaniel Mack #include <dt-bindings/gpio/gpio.h> 52893e46a9SDaniel Mack 53893e46a9SDaniel Mack spi { 54893e46a9SDaniel Mack #address-cells = <1>; 55893e46a9SDaniel Mack #size-cells = <0>; 56893e46a9SDaniel Mack 57893e46a9SDaniel Mack display@0 { 58893e46a9SDaniel Mack compatible = "newhaven,1.8-128160EF", "ilitek,ili9163"; 59893e46a9SDaniel Mack reg = <0>; 60893e46a9SDaniel Mack spi-max-frequency = <32000000>; 61893e46a9SDaniel Mack dc-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>; 62893e46a9SDaniel Mack reset-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; 63893e46a9SDaniel Mack rotation = <180>; 64893e46a9SDaniel Mack backlight = <&backlight>; 65893e46a9SDaniel Mack }; 66893e46a9SDaniel Mack }; 67893e46a9SDaniel Mack 68893e46a9SDaniel Mack... 69