OSDN Git Service

ARM: dts: Aspeed: Enable USB ports on eval board.
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 13 Apr 2018 04:40:39 +0000 (14:40 +1000)
committerJoel Stanley <joel@jms.id.au>
Fri, 25 May 2018 04:27:37 +0000 (13:57 +0930)
This enables both USB ports as host with EHCI and UHCI
attached to them.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-ast2500-evb.dts

index 91a36c1..ede11c5 100644 (file)
                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 */
+};