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>
This commit is contained in:
Benjamin Herrenschmidt 2018-06-29 13:51:06 +10:00 committed by Joel Stanley
parent 35578a85d9
commit b35bbd3d71
1 changed files with 7 additions and 1 deletions

View File

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