ARM: dts: rockchip: rk3368-p9: add vsel gpio for syr827
authorJianqun Xu <jay.xu@rock-chips.com>
Fri, 21 Jul 2017 06:36:13 +0000 (14:36 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 21 Jul 2017 08:18:15 +0000 (16:18 +0800)
Change-Id: I847334e0588659e5950b01a4e40bf0a24f5646bf
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3368-p9.dts

index f7272b516d514374b33eac0507e47788eafd1a8c..5b348ddbbe958662edab1225ff514d16ea047578 100644 (file)
                compatible = "silergy,syr827";
                status = "okay";
                reg = <0x40>;
-
                regulator-compatible = "fan53555-reg";
                regulator-name = "vdd_arm";
                regulator-min-microvolt = <712500>;
                regulator-max-microvolt = <1500000>;
                regulator-ramp-delay = <1000>;
                fcs,suspend-voltage-selector = <1>;
+               pinctrl-0 = <&vsel_gpio>;
+               vsel-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
                regulator-always-on;
                regulator-boot-on;
                regulator-initial-state = <3>;
                pmic_int_l: pmic-int-l {
                        rockchip,pins = <RK_GPIO0 1 RK_FUNC_GPIO &pcfg_pull_up>;
                };
+               vsel_gpio: vsel-gpio {
+                       rockchip,pins = <0 0 RK_FUNC_GPIO &pcfg_pull_down>;
+               };
        };
 
        mpu6500 {