MLK-11699-2 ARM: dts: imx6sx-sabreauto: add dts support for ldb
authorFancy Fang <chen.fang@freescale.com>
Tue, 13 Oct 2015 07:12:42 +0000 (15:12 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:52 +0000 (14:48 -0500)
Add dts support for ldb module on the imx6sx
sabreauto board.

Signed-off-by: Fancy Fang <chen.fang@freescale.com>
arch/arm/boot/dts/imx6sx-sabreauto.dts

index 30caaff..6bd0f03 100644 (file)
        };
 };
 
+&lcdif2 {
+       display = <&display1>;
+       disp-dev = "ldb";
+       status = "okay";
+
+       display1: display {
+               bits-per-pixel = <16>;
+               bus-width = <18>;
+       };
+};
+
+&ldb {
+       status = "okay";
+
+       lvds-channel@0 {
+               fsl,data-mapping = "spwg";
+               fsl,data-width = <18>;
+               crtc = "lcdif2";
+               status = "okay";
+
+               display-timings {
+                       native-mode = <&timing1>;
+                       timing1: hsd100pxn1 {
+                               clock-frequency = <65000000>;
+                               hactive = <1024>;
+                               vactive = <768>;
+                               hback-porch = <220>;
+                               hfront-porch = <40>;
+                               vback-porch = <21>;
+                               vfront-porch = <7>;
+                               hsync-len = <60>;
+                               vsync-len = <10>;
+                       };
+               };
+       };
+};
+
 &pcie {
        reset-gpio = <&max7310_b 3 0>;
        status = "okay";