From: Jianqun Xu Date: Fri, 21 Jul 2017 06:36:13 +0000 (+0800) Subject: ARM: dts: rockchip: rk3368-p9: add vsel gpio for syr827 X-Git-Tag: release-20171130_firefly~4^2~127 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b9b75d8083fbfdc77f60aa346d48194a2360f0e0;p=firefly-linux-kernel-4.4.55.git ARM: dts: rockchip: rk3368-p9: add vsel gpio for syr827 Change-Id: I847334e0588659e5950b01a4e40bf0a24f5646bf Signed-off-by: Jianqun Xu --- diff --git a/arch/arm64/boot/dts/rockchip/rk3368-p9.dts b/arch/arm64/boot/dts/rockchip/rk3368-p9.dts index f7272b516d51..5b348ddbbe95 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-p9.dts +++ b/arch/arm64/boot/dts/rockchip/rk3368-p9.dts @@ -312,13 +312,14 @@ 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>; @@ -730,6 +731,9 @@ pmic_int_l: pmic-int-l { rockchip,pins = ; }; + vsel_gpio: vsel-gpio { + rockchip,pins = <0 0 RK_FUNC_GPIO &pcfg_pull_down>; + }; }; mpu6500 {