diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-29 13:51:06 +1000 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2018-07-16 19:52:28 +0930 |
commit | b35bbd3d71872d35df17c40b4e4423855d8c5e6f (patch) | |
tree | 60a82cd65335d59b1dcd2e1907cf7a4ec69167f4 /arch/arm | |
parent | 35578a85d981ffb434b7eb8cd2156388788dcaa0 (diff) | |
download | linux-b35bbd3d71872d35df17c40b4e4423855d8c5e6f.tar.gz linux-b35bbd3d71872d35df17c40b4e4423855d8c5e6f.tar.bz2 linux-b35bbd3d71872d35df17c40b4e4423855d8c5e6f.zip |
ARM: dts: aspeed: Enable vhub on port A of AST2500 EVB
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/aspeed-ast2500-evb.dts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/aspeed-ast2500-evb.dts b/arch/arm/boot/dts/aspeed-ast2500-evb.dts index 2bff1b253842..2375449c02d0 100644 --- a/arch/arm/boot/dts/aspeed-ast2500-evb.dts +++ b/arch/arm/boot/dts/aspeed-ast2500-evb.dts @@ -80,7 +80,13 @@ }; }; -&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"; }; |