]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: aspeed: Enable vhub on port A of AST2500 EVB
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 29 Jun 2018 03:51:06 +0000 (13:51 +1000)
committerJoel Stanley <joel@jms.id.au>
Mon, 16 Jul 2018 10:22:28 +0000 (19:52 +0930)
This is an eval board, it makes sense to enable many
functions by default. This changes the device-tree to
set port A to be a USB device and leave port B as a
host, along with a little comment explaining how to
change it.

(the vhub device can only exist on port A on this SoC)

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-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 2bff1b2538425df7c51fb6aa7366e350bb2b85af..2375449c02d054ae6e17a3aae2a8d00e6f984ecb 100644 (file)
@@ -80,7 +80,13 @@ lm75@4d {
        };
 };
 
-&ehci0 {
+/*
+ * Enable port A as device (via the virtual hub) and port B as
+ * host by default on the eval board. This can be easily changed
+ * by replacing the override below with &ehci0 { ... } to enable
+ * host on both ports.
+ */
+&vhub {
        status = "okay";
 };