xref: /freebsd/sys/contrib/device-tree/Bindings/display/ilitek,ili9341.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotIlitek ILI9341 display panels
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis binding is for display panels using an Ilitek ILI9341 controller in SPI
4*c66ec88fSEmmanuel Vadotmode.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot- compatible:	"adafruit,yx240qv29", "ilitek,ili9341"
8*c66ec88fSEmmanuel Vadot- dc-gpios:	D/C pin
9*c66ec88fSEmmanuel Vadot- reset-gpios:	Reset pin
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotThe node for this driver must be a child node of a SPI controller, hence
12*c66ec88fSEmmanuel Vadotall mandatory properties described in ../spi/spi-bus.txt must be specified.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotOptional properties:
15*c66ec88fSEmmanuel Vadot- rotation:	panel rotation in degrees counter clockwise (0,90,180,270)
16*c66ec88fSEmmanuel Vadot- backlight:	phandle of the backlight device attached to the panel
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample:
19*c66ec88fSEmmanuel Vadot	display@0{
20*c66ec88fSEmmanuel Vadot		compatible = "adafruit,yx240qv29", "ilitek,ili9341";
21*c66ec88fSEmmanuel Vadot		reg = <0>;
22*c66ec88fSEmmanuel Vadot		spi-max-frequency = <32000000>;
23*c66ec88fSEmmanuel Vadot		dc-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
24*c66ec88fSEmmanuel Vadot		reset-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
25*c66ec88fSEmmanuel Vadot		rotation = <270>;
26*c66ec88fSEmmanuel Vadot		backlight = <&backlight>;
27*c66ec88fSEmmanuel Vadot	};
28