1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*833e5d42SEmmanuel Vadot%YAML 1.2 3*833e5d42SEmmanuel Vadot--- 4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/display/sitronix,st7586.yaml# 5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*833e5d42SEmmanuel Vadot 7*833e5d42SEmmanuel Vadottitle: Sitronix ST7586 Display Controller 8*833e5d42SEmmanuel Vadot 9*833e5d42SEmmanuel Vadotmaintainers: 10*833e5d42SEmmanuel Vadot - David Lechner <david@lechnology.com> 11*833e5d42SEmmanuel Vadot 12*833e5d42SEmmanuel Vadotdescription: 13*833e5d42SEmmanuel Vadot Sitronix ST7586 is a driver and controller for 4-level gray 14*833e5d42SEmmanuel Vadot scale and monochrome dot matrix LCD panels. 15*833e5d42SEmmanuel Vadot https://topwaydisplay.com/sites/default/files/2020-04/ST7586S.pdf 16*833e5d42SEmmanuel Vadot 17*833e5d42SEmmanuel Vadot$ref: panel/panel-common.yaml# 18*833e5d42SEmmanuel Vadot 19*833e5d42SEmmanuel VadotadditionalProperties: false 20*833e5d42SEmmanuel Vadot 21*833e5d42SEmmanuel Vadotproperties: 22*833e5d42SEmmanuel Vadot compatible: 23*833e5d42SEmmanuel Vadot const: lego,ev3-lcd 24*833e5d42SEmmanuel Vadot 25*833e5d42SEmmanuel Vadot reg: 26*833e5d42SEmmanuel Vadot maxItems: 1 27*833e5d42SEmmanuel Vadot 28*833e5d42SEmmanuel Vadot spi-max-frequency: 29*833e5d42SEmmanuel Vadot maximum: 50000000 30*833e5d42SEmmanuel Vadot 31*833e5d42SEmmanuel Vadot a0-gpios: 32*833e5d42SEmmanuel Vadot description: 33*833e5d42SEmmanuel Vadot The A0 signal (for serial mode, this is the pin labeled D1 on the 34*833e5d42SEmmanuel Vadot controller, not the pin labeled A0) 35*833e5d42SEmmanuel Vadot maxItems: 1 36*833e5d42SEmmanuel Vadot 37*833e5d42SEmmanuel Vadot reset-gpios: true 38*833e5d42SEmmanuel Vadot rotation: true 39*833e5d42SEmmanuel Vadot 40*833e5d42SEmmanuel Vadotrequired: 41*833e5d42SEmmanuel Vadot - compatible 42*833e5d42SEmmanuel Vadot - reg 43*833e5d42SEmmanuel Vadot - a0-gpios 44*833e5d42SEmmanuel Vadot - reset-gpios 45*833e5d42SEmmanuel Vadot 46*833e5d42SEmmanuel Vadotexamples: 47*833e5d42SEmmanuel Vadot - | 48*833e5d42SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 49*833e5d42SEmmanuel Vadot 50*833e5d42SEmmanuel Vadot spi { 51*833e5d42SEmmanuel Vadot #address-cells = <1>; 52*833e5d42SEmmanuel Vadot #size-cells = <0>; 53*833e5d42SEmmanuel Vadot 54*833e5d42SEmmanuel Vadot display@0 { 55*833e5d42SEmmanuel Vadot compatible = "lego,ev3-lcd"; 56*833e5d42SEmmanuel Vadot reg = <0>; 57*833e5d42SEmmanuel Vadot spi-max-frequency = <10000000>; 58*833e5d42SEmmanuel Vadot a0-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>; 59*833e5d42SEmmanuel Vadot reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>; 60*833e5d42SEmmanuel Vadot }; 61*833e5d42SEmmanuel Vadot }; 62