From: wuliangqing Date: Wed, 31 Aug 2016 03:33:23 +0000 (+0800) Subject: ARM64: dts: rockchip: rk3399: vr: add io for syr828/827 sleep off contrl X-Git-Tag: firefly_0821_release~1631 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=51dc5b3de70d0c69afae46fb28fc70efab8b9609;p=firefly-linux-kernel-4.4.55.git ARM64: dts: rockchip: rk3399: vr: add io for syr828/827 sleep off contrl Change-Id: Ibc9419b86c0038217a69e14a2b7dd511ebe58f5d Signed-off-by: Wu Liangqing --- diff --git a/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts b/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts index e989bd822d3e..995280834fc3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts @@ -490,6 +490,8 @@ reg = <0x40>; vin-supply = <&vcc_sys>; regulator-compatible = "fan53555-reg"; + pinctrl-0 = <&vsel1_gpio>; + vsel-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>; regulator-name = "vdd_cpu_b"; regulator-min-microvolt = <712500>; regulator-max-microvolt = <1500000>; @@ -507,12 +509,13 @@ reg = <0x41>; vin-supply = <&vcc_sys>; regulator-compatible = "fan53555-reg"; + pinctrl-0 = <&vsel2_gpio>; + vsel-gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; regulator-name = "vdd_gpu"; regulator-min-microvolt = <712500>; regulator-max-microvolt = <1500000>; regulator-ramp-delay = <1000>; fcs,suspend-voltage-selector = <1>; - regulator-always-on; regulator-boot-on; regulator-initial-state = <3>; regulator-state-mem { @@ -1042,6 +1045,16 @@ rockchip,pins = <1 18 RK_FUNC_GPIO &pcfg_pull_down>; }; + + vsel1_gpio: vsel1-gpio { + rockchip,pins = + <1 17 RK_FUNC_GPIO &pcfg_pull_down>; + }; + + vsel2_gpio: vsel2-gpio { + rockchip,pins = + <1 14 RK_FUNC_GPIO &pcfg_pull_down>; + }; }; mpu6500 {