summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-05-07 13:03:45 +0530
committerJagan Teki <jagan@amarulasolutions.com>2018-05-28 16:40:43 +0530
commit426a234f5ce6859db9829eec5ce80b4bf288c3eb (patch)
tree47f7204f99b13d3917af04f4e7f3e16a4d0d37dd
parent90dd2756a0ba67002627549c63764aa2f9919288 (diff)
downloadu-boot-426a234f5ce6859db9829eec5ce80b4bf288c3eb.tar.gz
u-boot-426a234f5ce6859db9829eec5ce80b4bf288c3eb.tar.xz
u-boot-426a234f5ce6859db9829eec5ce80b4bf288c3eb.zip
ARM: dts: sun8i-h3: bananapi-m2-plus: Sync usb otg nodes from Linux
Bananapi-m2-plus has usb otg routed host with either EHCI0/OHCI0 sync the same from Linux. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Acked-by: Jun Nie <jun.nie@linaro.org>
-rw-r--r--arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts b/arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts
index f3b1d5f6db..e766aa3e2f 100644
--- a/arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts
+++ b/arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts
@@ -93,6 +93,10 @@
};
};
+&ehci0 {
+ status = "okay";
+};
+
&ehci1 {
status = "okay";
};
@@ -146,6 +150,10 @@
status = "okay";
};
+&ohci0 {
+ status = "okay";
+};
+
&ohci1 {
status = "okay";
};
@@ -189,6 +197,11 @@
status = "okay";
};
+&usb_otg {
+ dr_mode = "otg";
+ status = "okay";
+};
+
&usbphy {
/* USB VBUS is on as long as VCC-IO is on */
status = "okay";