ARM: dts: rockchip: Setup usb vbus-supply on rk3288-rock2

Now that the rockchip usb phy has a vbus-supply property use that to
control the vbus regulator on rock2.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
Sjoerd Simons 2017-04-05 16:06:11 +02:00 committed by Heiko Stuebner
parent 2ea659a9ef
commit 95b840afe4

View File

@ -125,10 +125,6 @@ vcc_usb_host: vcc-host-regulator {
gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&host_vbus_drv>;
/* Always on as the rockchip usb phy doesn't have a vbus-supply
* property
*/
regulator-always-on;
regulator-name = "vcc_host";
};
@ -279,6 +275,10 @@ &usbphy {
status = "okay";
};
&usbphy1 {
vbus-supply = <&vcc_usb_host>;
};
&usb_host0_ehci {
status = "okay";
};