xref: /freebsd-src/sys/contrib/device-tree/Bindings/display/ingenic,lcd.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotIngenic JZ47xx LCD driver
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: one of:
5*c66ec88fSEmmanuel Vadot  * ingenic,jz4740-lcd
6*c66ec88fSEmmanuel Vadot  * ingenic,jz4725b-lcd
7*c66ec88fSEmmanuel Vadot  * ingenic,jz4770-lcd
8*c66ec88fSEmmanuel Vadot- reg: LCD registers location and length
9*c66ec88fSEmmanuel Vadot- clocks: LCD pixclock and device clock specifiers.
10*c66ec88fSEmmanuel Vadot	   The device clock is only required on the JZ4740.
11*c66ec88fSEmmanuel Vadot- clock-names: "lcd_pclk" and "lcd"
12*c66ec88fSEmmanuel Vadot- interrupts: Specifies the interrupt line the LCD controller is connected to.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotExample:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadotpanel {
17*c66ec88fSEmmanuel Vadot	compatible = "sharp,ls020b1dd01d";
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot	backlight = <&backlight>;
20*c66ec88fSEmmanuel Vadot	power-supply = <&vcc>;
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot	port {
23*c66ec88fSEmmanuel Vadot		panel_input: endpoint {
24*c66ec88fSEmmanuel Vadot			remote-endpoint = <&panel_output>;
25*c66ec88fSEmmanuel Vadot		};
26*c66ec88fSEmmanuel Vadot	};
27*c66ec88fSEmmanuel Vadot};
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel Vadotlcd: lcd-controller@13050000 {
31*c66ec88fSEmmanuel Vadot	compatible = "ingenic,jz4725b-lcd";
32*c66ec88fSEmmanuel Vadot	reg = <0x13050000 0x1000>;
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot	interrupt-parent = <&intc>;
35*c66ec88fSEmmanuel Vadot	interrupts = <31>;
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel Vadot	clocks = <&cgu JZ4725B_CLK_LCD>;
38*c66ec88fSEmmanuel Vadot	clock-names = "lcd";
39*c66ec88fSEmmanuel Vadot
40*c66ec88fSEmmanuel Vadot	port {
41*c66ec88fSEmmanuel Vadot		panel_output: endpoint {
42*c66ec88fSEmmanuel Vadot			remote-endpoint = <&panel_input>;
43*c66ec88fSEmmanuel Vadot		};
44*c66ec88fSEmmanuel Vadot	};
45*c66ec88fSEmmanuel Vadot};
46