summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.xyz>2017-10-18 15:06:27 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-10-20 09:51:35 +0200
commit1357bdb21f2af1e62b8858488a7bccd0fea63e69 (patch)
tree18b146f38c2da3c9521f94a8c5a34465879af528 /arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
parentARM: sun8i: v40: add 5V regulator for Banana Pi M2 Berry (diff)
downloadlinux-1357bdb21f2af1e62b8858488a7bccd0fea63e69.tar.xz
linux-1357bdb21f2af1e62b8858488a7bccd0fea63e69.zip
ARM: sun8i: r40: enable USB host for Banana Pi M2 Ultra
Banana Pi M2 Ultra board features two USB host ports, connected to the two USB host ports on the SoC. Add support for them. Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
index 035599d870b9..8c5efe2a9881 100644
--- a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
+++ b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
@@ -93,6 +93,14 @@
};
};
+&ehci1 {
+ status = "okay";
+};
+
+&ehci2 {
+ status = "okay";
+};
+
&i2c0 {
status = "okay";
@@ -180,8 +188,22 @@
status = "okay";
};
+&ohci1 {
+ status = "okay";
+};
+
+&ohci2 {
+ status = "okay";
+};
+
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pb_pins>;
status = "okay";
};
+
+&usbphy {
+ usb1_vbus-supply = <&reg_vcc5v0>;
+ usb2_vbus-supply = <&reg_vcc5v0>;
+ status = "okay";
+};