]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: sun8i: r40: enable USB host for Banana Pi M2 Ultra
authorIcenowy Zheng <icenowy@aosc.xyz>
Wed, 18 Oct 2017 13:06:27 +0000 (21:06 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 20 Oct 2017 07:51:35 +0000 (09:51 +0200)
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>
arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts

index 035599d870b9fc1d0a4a215c4f36dc238a6f8679..8c5efe2a9881c44335d4a97da7e41ebe303114f0 100644 (file)
@@ -93,6 +93,14 @@ wifi_pwrseq: wifi_pwrseq {
        };
 };
 
+&ehci1 {
+       status = "okay";
+};
+
+&ehci2 {
+       status = "okay";
+};
+
 &i2c0 {
        status = "okay";
 
@@ -180,8 +188,22 @@ &mmc2 {
        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";
+};