brintos

brintos / linux-shallow public Read only

0
0
Text · 2.2 KiB · 5f41758 Raw
101 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/panel/ilitek,ili9341.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Ilitek-9341 Display Panel8 9maintainers:10  - Dillon Min <dillon.minfei@gmail.com>11 12description: |13  Ilitek ILI9341 TFT panel driver with SPI control bus14  This is a driver for 320x240 TFT panels, accepting a rgb input15  streams with 16 bits or 18 bits.16 17allOf:18  - $ref: panel-common.yaml#19  - $ref: /schemas/spi/spi-peripheral-props.yaml#20 21properties:22  compatible:23    items:24      - enum:25          - adafruit,yx240qv2926          # ili9341 240*320 Color on stm32f429-disco board27          - st,sf-tc240t-9370-t28          - canaan,kd233-tft29      - const: ilitek,ili934130 31  reg:32    maxItems: 133 34  dc-gpios:35    maxItems: 136    description: Display data/command selection (D/CX) of this DBI panel37 38  spi-3wire: true39 40  spi-max-frequency:41    const: 1000000042 43  port: true44 45  vci-supply:46    description: Analog voltage supply (2.5 .. 3.3V)47 48  vddi-supply:49    description: Voltage supply for interface logic (1.65 .. 3.3 V)50 51  vddi-led-supply:52    description: Voltage supply for the LED driver (1.65 .. 3.3 V)53 54unevaluatedProperties: false55 56required:57  - compatible58  - reg59  - dc-gpios60 61if:62  properties:63    compatible:64      contains:65        enum:66          - st,sf-tc240t-9370-t67then:68  required:69    - port70 71examples:72  - |+73    #include <dt-bindings/gpio/gpio.h>74    spi {75        #address-cells = <1>;76        #size-cells = <0>;77        panel: display@0 {78            compatible = "st,sf-tc240t-9370-t",79                         "ilitek,ili9341";80            reg = <0>;81            spi-3wire;82            spi-max-frequency = <10000000>;83            dc-gpios = <&gpiod 13 0>;84            port {85                panel_in: endpoint {86                    remote-endpoint = <&display_out>;87                };88            };89        };90        display@1{91            compatible = "adafruit,yx240qv29", "ilitek,ili9341";92            reg = <1>;93            spi-max-frequency = <10000000>;94            dc-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;95            reset-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;96            rotation = <270>;97            backlight = <&backlight>;98        };99    };100...101