summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorFrank Wang <frank.wang@rock-chips.com>2017-05-04 15:20:14 +0800
committerFrank Wang <frank.wang@rock-chips.com>2017-05-05 09:03:36 +0800
commit1924661beb206e47906e2e803122d88d9bf29967 (patch)
tree92c713172f65621d15ae1f1647d9cc8a4148b16e /arch/arm
parent3ad7ff8bfbbfe1b963883b1be9471331e60ccc9e (diff)
arm: dts: assigned host vbus regulator for rk3229-evb board
Change-Id: I86608300c600db0ece0120ce3fba0f541953910e Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/rk3229-evb.dts27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts
index b6a12035a6bb..6905788e3db8 100644
--- a/arch/arm/boot/dts/rk3229-evb.dts
+++ b/arch/arm/boot/dts/rk3229-evb.dts
@@ -58,6 +58,17 @@
#clock-cells = <0>;
};
+ vcc_host: vcc-host-regulator {
+ compatible = "regulator-fixed";
+ enable-active-high;
+ gpio = <&gpio3 20 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&host_vbus_drv>;
+ regulator-name = "vcc_host";
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
vcc_phy: vcc-phy-regulator {
compatible = "regulator-fixed";
enable-active-high;
@@ -85,6 +96,22 @@
status = "okay";
};
+&pinctrl {
+ usb {
+ host_vbus_drv: host-vbus-drv {
+ rockchip,pins = <3 20 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
+};
+
+&u2phy0_host {
+ phy-supply = <&vcc_host>;
+};
+
+&u2phy1_host {
+ phy-supply = <&vcc_host>;
+};
+
&uart2 {
status = "okay";
};