Songjun Wu | e6a419c | 2017-04-11 16:33:31 +0800 | [diff] [blame] | 1 | Atmel HLCDC Framebuffer |
| 2 | ----------------------------------------------------- |
| 3 | Required 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 | |
| 16 | Example: |
| 17 | hlcdc: hlcdc@f0000000 { |
Simon Glass | c8ef3ee | 2023-02-13 08:56:35 -0700 | [diff] [blame] | 18 | bootph-all; |
Songjun Wu | e6a419c | 2017-04-11 16:33:31 +0800 | [diff] [blame] | 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 | }; |