summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFancy Fang <chen.fang@freescale.com>2015-10-13 15:12:42 +0800
committerNitin Garg <nitin.garg@nxp.com>2016-01-14 11:01:51 -0600
commit99b7b2c28976bfa83071dad0cc8db956c2b09ecd (patch)
treeca01c70c292b99b65d9ed90ebf45fe2f3e682479 /arch
parentf6443ca0e132987d8e003f938d949da98ea9622e (diff)
MLK-11699-2 ARM: dts: imx6sx-sabreauto: add dts support for ldb
Add dts support for ldb module on the imx6sx sabreauto board. Signed-off-by: Fancy Fang <chen.fang@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/imx6sx-sabreauto.dts37
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts
index fdb7f88444c2..6f2be7fd0d73 100644
--- a/arch/arm/boot/dts/imx6sx-sabreauto.dts
+++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts
@@ -270,6 +270,43 @@
};
};
+&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";