ARM64: dts: rk3366-tb: change usb2-host vbus supply as a regulator
authorFrank Wang <frank.wang@rock-chips.com>
Fri, 24 Jun 2016 03:16:26 +0000 (11:16 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 29 Jun 2016 03:24:17 +0000 (11:24 +0800)
Change-Id: I16cef5cc1b925ac26e92301ec84172213e4eb93f
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3366-tb.dts

index 3544b15db73f8931c642b247cf589d094085d32d..620d9432b93237dc48c5935b4d4a60aca04082ca 100644 (file)
                #clock-cells = <0>;
        };
 
+       vbus_host: vbus-host-regulator {
+               compatible = "regulator-fixed";
+               enable-active-high;
+               gpio = <&gpio0 16 GPIO_ACTIVE_HIGH>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&host_vbus_drv>;
+               regulator-name = "vbus_host";
+       };
+
        vcc_phy: vcc-phy-regulator {
                compatible = "regulator-fixed";
                enable-active-high;
        status = "okay";
 };
 
-&u2phy {
-       vbus_host-gpio = <&gpio0 16 GPIO_ACTIVE_HIGH>;
+&u2phy_host {
+       phy-supply = <&vbus_host>;
 };
 
 &dwc_control_usb {