ARM i.MX53: mba53: Add display support
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 4 Jun 2013 11:07:09 +0000 (13:07 +0200)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 17 Jun 2013 08:04:27 +0000 (16:04 +0800)
As the displays are optional and we have more than one, also
set the status of the parallel display and the ldb to disabled.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx53-mba53.dts

index 1420fe5..6fa9a09 100644 (file)
 / {
        model = "TQ MBa53 starter kit";
        compatible = "tq,mba53", "tq,tqma53", "fsl,imx53";
+
+       reg_backlight: fixed@0 {
+               compatible = "regulator-fixed";
+               regulator-name = "lcd-supply";
+               gpio = <&gpio2 5 0>;
+               startup-delay-us = <5000>;
+               enable-active-low;
+       };
+
+       backlight {
+               compatible = "pwm-backlight";
+               pwms = <&pwm2 0 50000 0 0>;
+               brightness-levels = <0 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100>;
+               default-brightness-level = <10>;
+               enable-gpios = <&gpio7 7 0>;
+               power-supply = <&reg_backlight>;
+       };
+
+       disp1: display@disp1 {
+               compatible = "fsl,imx-parallel-display";
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_disp1_1>;
+               crtcs = <&ipu 1>;
+               interface-pix-fmt = "rgb24";
+               status = "disabled";
+       };
+};
+
+&ldb {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_lvds1_1>;
+       status = "disabled";
 };
 
 &iomuxc {