ARM: dts: aspeed: Add G5 USB Virtual Hub
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 29 Jun 2018 03:51:03 +0000 (13:51 +1000)
committerJoel Stanley <joel@jms.id.au>
Mon, 16 Jul 2018 10:22:23 +0000 (19:52 +0930)
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).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g5.dtsi

index dfdc239..6274d3e 100644 (file)
                         */
                };
 
+               vhub: usb-vhub@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";
+               };
+
                apb {
                        compatible = "simple-bus";
                        #address-cells = <1>;
                groups = "USB2AH";
        };
 
+       pinctrl_usb2ad_default: usb2ad_default {
+               function = "USB2AD";
+               groups = "USB2AD";
+       };
+
        pinctrl_usb11bhid_default: usb11bhid_default {
                function = "USB11BHID";
                groups = "USB11BHID";