summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeng Dongyang <daniel.meng@rock-chips.com>2017-06-28 11:22:41 (GMT)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-07-11 10:13:48 (GMT)
commit296bd19e4eb1c890a855cbd481c0aa0e077691c4 (patch)
tree3af01aec5e9654238506abef58b1263c0db7d32d
parent26a8b80fac1736d50280c262078381b5eebc1216 (diff)
downloadu-boot-rockchip-296bd19e4eb1c890a855cbd481c0aa0e077691c4.tar.gz
u-boot-rockchip-296bd19e4eb1c890a855cbd481c0aa0e077691c4.tar.xz
rockchip: dts: rk3328: add fixed regulator node for xhci
The driver changes gpio to fixed regulator to control vbus, so add fixed regulator node in DTS for xhci driver. Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-rw-r--r--arch/arm/dts/rk3328-evb.dts11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/dts/rk3328-evb.dts b/arch/arm/dts/rk3328-evb.dts
index b807bc5..4cf6d2e 100644
--- a/arch/arm/dts/rk3328-evb.dts
+++ b/arch/arm/dts/rk3328-evb.dts
@@ -14,6 +14,15 @@
chosen {
stdout-path = &uart2;
};
+
+ vcc5v0_host_xhci: vcc5v0-host-xhci-drv {
+ compatible = "regulator-fixed";
+ enable-active-high;
+ regulator-name = "vcc5v0_host_xhci";
+ gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ };
};
&uart2 {
@@ -53,6 +62,6 @@
};
&usb_host0_xhci {
- rockchip,vbus-gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
+ vbus-supply = <&vcc5v0_host_xhci>;
status = "okay";
};