[PATCH 4/7] arm: dts: aspeed: Add Aspeed 54 USB Virtual Hub
Andrew Jeffery
andrew at aj.id.au
Mon Jul 16 15:36:29 AEST 2018
Typo: '54' in the subject should be 'G5'
On Fri, 29 Jun 2018, at 13:21, Benjamin Herrenschmidt wrote:
> This adds the (disabled by default) device node for the
> Aspeed virtual hub,a long with clocks and pinmux.
>
> This also adds the missing pinmux definition for it
> (the kernel driver already knows about it).
Whoops! Thanks for catching that.
>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
> arch/arm/boot/dts/aspeed-g5.dtsi | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
> index dfdc239b86f6..6274d3eaf374 100644
> --- a/arch/arm/boot/dts/aspeed-g5.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g5.dtsi
> @@ -176,6 +176,16 @@
> */
> };
>
> + vhub: usb-vhub at 1e6a0000 {
> + compatible = "aspeed,ast2500-usb-vhub";
> + reg = <0x1e6a0000 0x300>;
> + interrupts = <5>;
> + clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_usb2ad_default>;
> + status = "disabled";
> + };
> +
Same query about the compatible before.
> apb {
> compatible = "simple-bus";
> #address-cells = <1>;
> @@ -1425,6 +1435,11 @@
> groups = "USB2AH";
> };
>
> + pinctrl_usb2ad_default: usb2ad_default {
> + function = "USB2AD";
> + groups = "USB2AD";
> + };
> +
> pinctrl_usb11bhid_default: usb11bhid_default {
> function = "USB11BHID";
> groups = "USB11BHID";
> --
> 2.17.1
>
More information about the Linux-aspeed
mailing list