ilitek,ili9341.yaml (1749B)
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/ilitek,ili9341.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Ilitek-9341 Display Panel 8 9maintainers: 10 - Dillon Min <dillon.minfei@gmail.com> 11 12description: | 13 Ilitek ILI9341 TFT panel driver with SPI control bus 14 This is a driver for 320x240 TFT panels, accepting a rgb input 15 streams with 16 bits or 18 bits. 16 17allOf: 18 - $ref: panel-common.yaml# 19 20properties: 21 compatible: 22 items: 23 - enum: 24 # ili9341 240*320 Color on stm32f429-disco board 25 - st,sf-tc240t-9370-t 26 - const: ilitek,ili9341 27 28 reg: true 29 30 dc-gpios: 31 maxItems: 1 32 description: Display data/command selection (D/CX) of this DBI panel 33 34 spi-3wire: true 35 36 spi-max-frequency: 37 const: 10000000 38 39 port: true 40 41 vci-supply: 42 description: Analog voltage supply (2.5 .. 3.3V) 43 44 vddi-supply: 45 description: Voltage supply for interface logic (1.65 .. 3.3 V) 46 47 vddi-led-supply: 48 description: Voltage supply for the LED driver (1.65 .. 3.3 V) 49 50additionalProperties: false 51 52required: 53 - compatible 54 - reg 55 - dc-gpios 56 - port 57 58examples: 59 - |+ 60 spi { 61 #address-cells = <1>; 62 #size-cells = <0>; 63 panel: display@0 { 64 compatible = "st,sf-tc240t-9370-t", 65 "ilitek,ili9341"; 66 reg = <0>; 67 spi-3wire; 68 spi-max-frequency = <10000000>; 69 dc-gpios = <&gpiod 13 0>; 70 port { 71 panel_in: endpoint { 72 remote-endpoint = <&display_out>; 73 }; 74 }; 75 }; 76 }; 77...