aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2014-03-25 02:26:33 -0400
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:58:07 -0400
commitce2d5dbc4e6c3f3b41a6091671f852366fb7665c (patch)
treed21087f6e0a4d6bcbf7f55e086f3eabc41cd048c /arch/arm/boot
parentfde991bc092fb7879e5b5075c953403f5e4a64e4 (diff)
ENGR00305067-6 ARM: dts: imx6sx-sdb: Add LVDS framebuffer support
This patch adds LCDIF2 devicetree node and LDB devicetree node to the devicetree file imx6sx-sdb.dts so that the framebuffer based on LCDIF2/LVDS can be supported. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/imx6sx-sdb.dts37
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts
index 9244604c1d97..083f577d18c5 100644
--- a/arch/arm/boot/dts/imx6sx-sdb.dts
+++ b/arch/arm/boot/dts/imx6sx-sdb.dts
@@ -432,6 +432,43 @@
432 }; 432 };
433}; 433};
434 434
435&lcdif2 {
436 display = <&display1>;
437 disp-dev = "ldb";
438 status = "okay";
439
440 display1: display {
441 bits-per-pixel = <16>;
442 bus-width = <18>;
443 };
444};
445
446&ldb {
447 status = "okay";
448
449 lvds-channel@0 {
450 fsl,data-mapping = "spwg";
451 fsl,data-width = <18>;
452 crtc = "lcdif2";
453 status = "okay";
454
455 display-timings {
456 native-mode = <&timing1>;
457 timing1: hsd100pxn1 {
458 clock-frequency = <65000000>;
459 hactive = <1024>;
460 vactive = <768>;
461 hback-porch = <220>;
462 hfront-porch = <40>;
463 vback-porch = <21>;
464 vfront-porch = <7>;
465 hsync-len = <60>;
466 vsync-len = <10>;
467 };
468 };
469 };
470};
471
435&pwm3 { 472&pwm3 {
436 pinctrl-names = "default"; 473 pinctrl-names = "default";
437 pinctrl-0 = <&pinctrl_pwm3_1>; 474 pinctrl-0 = <&pinctrl_pwm3_1>;