arm64: dts: rk3399-sapphire: add vbus-5v gpio control in fusb302 node.
authorwenping.zhang <wenping.zhang@rock-chips.com>
Thu, 20 Oct 2016 10:26:45 +0000 (18:26 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 21 Oct 2016 08:06:28 +0000 (16:06 +0800)
We should also Disable vbus-5v gpio control in retulator node,otherwise
vbus-5v will always power on.

Change-Id: Icb42f687866174398917ced3e53a3e876ea37b86
Signed-off-by: wenping.zhang <wenping.zhang@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi

index 905687518a574f5e3eec706e8bc694ace9d3c6e6..5d2afc63f257c81fa6868290a561b29c36fd1f74 100644 (file)
        vcc5v0_host: vcc5v0-host-regulator {
                compatible = "regulator-fixed";
                enable-active-high;
-               gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
                pinctrl-names = "default";
                pinctrl-0 = <&host_vbus_drv>;
                regulator-name = "vcc5v0_host";
                reg = <0x22>;
                pinctrl-names = "default";
                pinctrl-0 = <&fusb0_int>;
+               vbus-5v-gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>;
                int-n-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
                status = "okay";
        };