xref: /freebsd/sys/contrib/device-tree/Bindings/display/sitronix,st7586.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotSitronix ST7586 display panel
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible:	"lego,ev3-lcd".
5*c66ec88fSEmmanuel Vadot- a0-gpios:	The A0 signal (since this binding is for serial mode, this is
6*c66ec88fSEmmanuel Vadot                the pin labeled D1 on the controller, not the pin labeled A0)
7*c66ec88fSEmmanuel Vadot- reset-gpios:	Reset pin
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotThe node for this driver must be a child node of a SPI controller, hence
10*c66ec88fSEmmanuel Vadotall mandatory properties described in ../spi/spi-bus.txt must be specified.
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotOptional properties:
13*c66ec88fSEmmanuel Vadot- rotation:	panel rotation in degrees counter clockwise (0,90,180,270)
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot	display@0{
17*c66ec88fSEmmanuel Vadot		compatible = "lego,ev3-lcd";
18*c66ec88fSEmmanuel Vadot		reg = <0>;
19*c66ec88fSEmmanuel Vadot		spi-max-frequency = <10000000>;
20*c66ec88fSEmmanuel Vadot		a0-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
21*c66ec88fSEmmanuel Vadot		reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>;
22*c66ec88fSEmmanuel Vadot	};
23