Skip to content

Commit

Permalink
ARM: dts: aspeed: Enable vhub on port A of AST2500 EVB
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ozbenh authored and shenki committed Jul 16, 2018
1 parent 35578a8 commit b35bbd3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion arch/arm/boot/dts/aspeed-ast2500-evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};

Expand Down

0 comments on commit b35bbd3

Please sign in to comment.