ARM: imx27-apf27dev: Add framebuffer support
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Sun, 6 Oct 2013 14:07:54 +0000 (16:07 +0200)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 8 Oct 2013 06:36:41 +0000 (14:36 +0800)
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx27-apf27dev.dts

index 2a377ca1881a9a40004a951a1a8310a02d434727..47c8c26012e4d24661124f15ff8396f428136797 100644 (file)
        model = "Armadeus Systems APF27Dev docking/development board";
        compatible = "armadeus,imx27-apf27dev", "armadeus,imx27-apf27", "fsl,imx27";
 
+       display: display {
+               model = "Chimei-LW700AT9003";
+               native-mode = <&timing0>;
+               bits-per-pixel = <16>;  /* non-standard but required */
+               fsl,pcr = <0xfae80083>; /* non-standard but required */
+               display-timings {
+                       timing0: 640x480 {
+                               clock-frequency = <33000033>;
+                               hactive = <800>;
+                               vactive = <640>;
+                               hback-porch = <96>;
+                               hfront-porch = <96>;
+                               vback-porch = <20>;
+                               vfront-porch = <21>;
+                               hsync-len = <64>;
+                               vsync-len = <4>;
+                       };
+               };
+       };
+
        gpio-keys {
                compatible = "gpio-keys";
 
        status = "okay";
 };
 
+&fb {
+       display = <&display>;
+       fsl,dmacr = <0x00020010>;
+       status = "okay";
+};
+
 &i2c1 {
        clock-frequency = <400000>;
        status = "okay";