Skip to contentSkip to conversation

dts: ARM: Aspeed: Enable USB ports on ast2500 eval board

PATCH New Benjamin Herrenschmidt 1 participant 1 message Jan 12, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 dts: ARM: Aspeed: Enable USB ports on ast2500 eval board

This enables both USB ports as host with EHCI and UHCI attached to them.

---

v2: Unchanged (except subject)

 arch/arm/boot/dts/aspeed-ast2500-evb.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm/boot/dts/aspeed-ast2500-evb.dts +18 -0
index 6946c8610c4c..0c3f14d05046 100644
@@ -80,3 +80,21 @@
 		reg = <0x4d>;
 	};
 };
+
+&ehci0 {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usb2ah_default>;
+};
+
+&ehci1 {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usb2bh_default>;
+};
+
+&uhci {
+	status = "okay";
+
+	/* No pinctrl, this follows the above EHCI settings */
+};