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