From 4a420fc7cb7036b4752987bec5d5990986bfd41c Mon Sep 17 00:00:00 2001 From: Frank Wang Date: Fri, 24 Jun 2016 11:16:26 +0800 Subject: [PATCH] ARM64: dts: rk3366-tb: change usb2-host vbus supply as a regulator Change-Id: I16cef5cc1b925ac26e92301ec84172213e4eb93f Signed-off-by: Frank Wang --- arch/arm64/boot/dts/rockchip/rk3366-tb.dts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3366-tb.dts b/arch/arm64/boot/dts/rockchip/rk3366-tb.dts index 3544b15db73f..620d9432b932 100644 --- a/arch/arm64/boot/dts/rockchip/rk3366-tb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3366-tb.dts @@ -222,6 +222,15 @@ #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; @@ -807,8 +816,8 @@ status = "okay"; }; -&u2phy { - vbus_host-gpio = <&gpio0 16 GPIO_ACTIVE_HIGH>; +&u2phy_host { + phy-supply = <&vbus_host>; }; &dwc_control_usb { -- 2.34.1