mirror of https://gitee.com/openkylin/linux.git
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:
parent
2ea659a9ef
commit
95b840afe4
|
@ -125,10 +125,6 @@ vcc_usb_host: vcc-host-regulator {
|
||||||
gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
|
gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&host_vbus_drv>;
|
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";
|
regulator-name = "vcc_host";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -279,6 +275,10 @@ &usbphy {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&usbphy1 {
|
||||||
|
vbus-supply = <&vcc_usb_host>;
|
||||||
|
};
|
||||||
|
|
||||||
&usb_host0_ehci {
|
&usb_host0_ehci {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue