xref: /rk3399_rockchip-uboot/doc/device-tree-bindings/video/atmel-hlcdc.txt (revision 3fea95369850987de15a2a0ac009d05e13b90246)
1*e6a419c5SSongjun WuAtmel HLCDC Framebuffer
2*e6a419c5SSongjun Wu-----------------------------------------------------
3*e6a419c5SSongjun WuRequired properties:
4*e6a419c5SSongjun Wu- compatible :
5*e6a419c5SSongjun Wu	"atmel,sama5d2-hlcdc", "atmel,at91sam9x5-hlcdc".
6*e6a419c5SSongjun Wu- reg: physical base address of the controller and length of memory mapped
7*e6a419c5SSongjun Wu       region.
8*e6a419c5SSongjun Wu- clocks: phandles to input clocks.
9*e6a419c5SSongjun Wu- atmel,vl-bpix: Bits per pixel.
10*e6a419c5SSongjun Wu- atmel,output-mode: LCD Controller Output Mode,
11*e6a419c5SSongjun Wu  The unit is bits per pixel, there are four values,
12*e6a419c5SSongjun Wu  <12>, <16>, <18>, <24>, the default value is <24>.
13*e6a419c5SSongjun Wu- atmel,guard-time: lcd guard time (Delay in frame periods).
14*e6a419c5SSongjun Wu- display-timings: please refer the displaymode.txt.
15*e6a419c5SSongjun Wu
16*e6a419c5SSongjun WuExample:
17*e6a419c5SSongjun Wuhlcdc: hlcdc@f0000000 {
18*e6a419c5SSongjun Wu	u-boot,dm-pre-reloc;
19*e6a419c5SSongjun Wu	compatible = "atmel,sama5d2-hlcdc";
20*e6a419c5SSongjun Wu	reg = <0xf0000000 0x2000>;
21*e6a419c5SSongjun Wu	clocks = <&lcdc_clk>;
22*e6a419c5SSongjun Wu	atmel,vl-bpix = <4>;
23*e6a419c5SSongjun Wu	atmel,output-mode = <24>;
24*e6a419c5SSongjun Wu	atmel,guard-time = <1>;
25*e6a419c5SSongjun Wu	pinctrl-names = "default";
26*e6a419c5SSongjun Wu	pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_pwm &pinctrl_lcd_rgb666>;
27*e6a419c5SSongjun Wu	status = "okay";
28*e6a419c5SSongjun Wu
29*e6a419c5SSongjun Wu	display-timings {
30*e6a419c5SSongjun Wu		480x272 {
31*e6a419c5SSongjun Wu			clock-frequency = <9000000>;
32*e6a419c5SSongjun Wu			hactive = <480>;
33*e6a419c5SSongjun Wu			vactive = <272>;
34*e6a419c5SSongjun Wu			hsync-len = <41>;
35*e6a419c5SSongjun Wu			hfront-porch = <2>;
36*e6a419c5SSongjun Wu			hback-porch = <2>;
37*e6a419c5SSongjun Wu			vfront-porch = <2>;
38*e6a419c5SSongjun Wu			vback-porch = <2>;
39*e6a419c5SSongjun Wu			vsync-len = <11>;
40*e6a419c5SSongjun Wu		};
41*e6a419c5SSongjun Wu	};
42*e6a419c5SSongjun Wu};
43