Skip to content

Commit

Permalink
ARM: sun8i: r40: enable USB host for Banana Pi M2 Ultra
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Icenowy Zheng authored and Maxime Ripard committed Oct 20, 2017
1 parent a3c0934 commit 1357bdb
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@
};
};

&ehci1 {
status = "okay";
};

&ehci2 {
status = "okay";
};

&i2c0 {
status = "okay";

Expand Down Expand Up @@ -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";
};

0 comments on commit 1357bdb

Please sign in to comment.