ARM64: dts: rockchip: rk808: set the dvs2 gpio pull down
authorElaine Zhang <zhangqing@rock-chips.com>
Wed, 13 Apr 2016 21:48:47 +0000 (05:48 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Thu, 14 Apr 2016 11:27:34 +0000 (19:27 +0800)
the hw default of the dvs2 is pull up which is not correct.
set the dvs2 gpio pull down.

Change-Id: I0d296cecc422456cb72630d5ce64a5c7e5dad283
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-tb.dtsi
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index 889a3196832492d7b420f18aef167f4e010d204a..8e278880abb48bd08c71b8d80fc700225d1255ce 100644 (file)
                        rockchip,pins = <0 10 RK_FUNC_GPIO &pcfg_pull_none>;
                };
        };
+
+       pmic {
+               pmic_int_l: pmic-int-l {
+                       rockchip,pins =
+                               <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
+               };
+
+               pmic_dvs2: pmic-dvs2 {
+                       rockchip,pins =
+                               <1 18 RK_FUNC_GPIO &pcfg_pull_down>;
+               };
+       };
 };
 
 &sdmmc {
                interrupt-parent = <&gpio1>;
                interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
                pinctrl-names = "default";
-               pinctrl-0 = <&pmic_int_l>;
+               pinctrl-0 = <&pmic_int_l &pmic_dvs2>;
                rockchip,system-power-controller;
                wakeup-source;
                #clock-cells = <1>;
index 417dacea7f98b08ff86c926832ac3d33503e99b9..20d8bf83f1dff5f04ab53e46e04a013cc50ebe87 100644 (file)
                        };
                };
 
-               pmic {
-                       pmic_int_l: pmic-int-l {
-                               rockchip,pins =
-                                       <1 21 RK_FUNC_GPIO &pcfg_pull_up>;
-                       };
-               };
-
                edp {
                        edp_hpd: edp-hpd {
                                rockchip,pins =