0001 Atmel LCDC Framebuffer
0002 -----------------------------------------------------
0003
0004 Required properties:
0005 - compatible :
0006 "atmel,at91sam9261-lcdc" ,
0007 "atmel,at91sam9263-lcdc" ,
0008 "atmel,at91sam9g10-lcdc" ,
0009 "atmel,at91sam9g45-lcdc" ,
0010 "atmel,at91sam9g45es-lcdc" ,
0011 "atmel,at91sam9rl-lcdc" ,
0012 - reg : Should contain 1 register ranges(address and length).
0013 Can contain an additional register range(address and length)
0014 for fixed framebuffer memory. Useful for dedicated memories.
0015 - interrupts : framebuffer controller interrupt
0016 - display: a phandle pointing to the display node
0017
0018 Required nodes:
0019 - display: a display node is required to initialize the lcd panel
0020 This should be in the board dts.
0021 - default-mode: a videomode within the display with timing parameters
0022 as specified below.
0023
0024 Optional properties:
0025 - lcd-supply: Regulator for LCD supply voltage.
0026
0027 Example:
0028
0029 fb0: fb@00500000 {
0030 compatible = "atmel,at91sam9g45-lcdc";
0031 reg = <0x00500000 0x1000>;
0032 interrupts = <23 3 0>;
0033 pinctrl-names = "default";
0034 pinctrl-0 = <&pinctrl_fb>;
0035 display = <&display0>;
0036 #address-cells = <1>;
0037 #size-cells = <1>;
0038
0039 };
0040
0041 Example for fixed framebuffer memory:
0042
0043 fb0: fb@00500000 {
0044 compatible = "atmel,at91sam9263-lcdc";
0045 reg = <0x00700000 0x1000 0x70000000 0x200000>;
0046 [...]
0047 };
0048
0049 Atmel LCDC Display
0050 -----------------------------------------------------
0051 Required properties (as per of_videomode_helper):
0052
0053 - atmel,dmacon: dma controller configuration
0054 - atmel,lcdcon2: lcd controller configuration
0055 - atmel,guard-time: lcd guard time (Delay in frame periods)
0056 - bits-per-pixel: lcd panel bit-depth.
0057
0058 Optional properties (as per of_videomode_helper):
0059 - atmel,lcdcon-backlight: enable backlight
0060 - atmel,lcdcon-backlight-inverted: invert backlight PWM polarity
0061 - atmel,lcd-wiring-mode: lcd wiring mode "RGB" or "BRG"
0062 - atmel,power-control-gpio: gpio to power on or off the LCD (as many as needed)
0063
0064 Example:
0065 display0: display {
0066 bits-per-pixel = <32>;
0067 atmel,lcdcon-backlight;
0068 atmel,dmacon = <0x1>;
0069 atmel,lcdcon2 = <0x80008002>;
0070 atmel,guard-time = <9>;
0071 atmel,lcd-wiring-mode = <1>;
0072
0073 display-timings {
0074 native-mode = <&timing0>;
0075 timing0: timing0 {
0076 clock-frequency = <9000000>;
0077 hactive = <480>;
0078 vactive = <272>;
0079 hback-porch = <1>;
0080 hfront-porch = <1>;
0081 vback-porch = <40>;
0082 vfront-porch = <1>;
0083 hsync-len = <45>;
0084 vsync-len = <1>;
0085 };
0086 };
0087 };