rk3126 sdk dts: add the pinctrl of lvds node to support RGB output
authorzwl <zwl@rockchips.com>
Thu, 14 Aug 2014 01:44:03 +0000 (09:44 +0800)
committerzwl <zwl@rockchips.com>
Thu, 14 Aug 2014 01:44:42 +0000 (09:44 +0800)
arch/arm/boot/dts/rk3126-sdk.dts
arch/arm/boot/dts/rk312x-pinctrl.dtsi

index 271b3ba2c2f159ed07622380ddb1bf4ae2e9a1c8..1384da65e8df1d80a2aab645eec754a46294b69b 100755 (executable)
        display-timings = <&disp_timings>;
 };
 
+&lvds {
+       status = "okay";
+
+       pinctrl-names = "lcdc", "sleep";
+       pinctrl-0 = <&lcdc0_lcdc_d>;
+       pinctrl-1 = <&lcdc0_lcdc_gpio>;
+};
+
 &lcdc {
        status = "okay";
 
index 93788f4a101bae2750bc5aa5c1935b3927c6e8dd..b15809bbf01c9437c04dd57463b32957861908d1 100755 (executable)
                                                <LCDC0_D14>,
                                                <LCDC0_D15>,
                                                <LCDC0_D16>,
-                                               <LCDC0_D17>,
+                                               <LCDC0_D17>;
+                                               /*
                                                <LCDC0_D18>,
                                                <LCDC0_D19>,
                                                <LCDC0_D20>,
                                                <LCDC0_D21>,
                                                <LCDC0_D22>,
                                                <LCDC0_D23>;
+                                               */
                                rockchip,pull = <VALUE_PULL_DISABLE>;
                                rockchip,drive = <VALUE_DRV_DEFAULT>;
                        };
                                                <FUNC_TO_GPIO(LCDC0_D14)>,
                                                <FUNC_TO_GPIO(LCDC0_D15)>,
                                                <FUNC_TO_GPIO(LCDC0_D16)>,
-                                               <FUNC_TO_GPIO(LCDC0_D17)>,
+                                               <FUNC_TO_GPIO(LCDC0_D17)>;
+                                               /*
                                                <FUNC_TO_GPIO(LCDC0_D18)>,
                                                <FUNC_TO_GPIO(LCDC0_D19)>,
                                                <FUNC_TO_GPIO(LCDC0_D20)>,
                                                <FUNC_TO_GPIO(LCDC0_D21)>,
                                                <FUNC_TO_GPIO(LCDC0_D22)>,
                                                <FUNC_TO_GPIO(LCDC0_D23)>;
+                                               */
                                rockchip,pull = <VALUE_PULL_DOWN>;
                                rockchip,drive = <VALUE_DRV_DEFAULT>;
                        };