ARM: sun8i: a83t: Add device node for USB OTG controller
authorChen-Yu Tsai <wens@csie.org>
Thu, 3 Aug 2017 08:14:09 +0000 (16:14 +0800)
committerChen-Yu Tsai <wens@csie.org>
Fri, 18 Aug 2017 16:25:23 +0000 (00:25 +0800)
The USB OTG controller found on the A83T is compatible with the one
found on the A33.

Add a device node for it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun8i-a83t.dtsi

index 6039f1e..f996bd3 100644 (file)
                        #size-cells = <0>;
                };
 
+               usb_otg: usb@01c19000 {
+                       compatible = "allwinner,sun8i-a83t-musb",
+                                    "allwinner,sun8i-a33-musb";
+                       reg = <0x01c19000 0x0400>;
+                       clocks = <&ccu CLK_BUS_OTG>;
+                       resets = <&ccu RST_BUS_OTG>;
+                       interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "mc";
+                       phys = <&usbphy 0>;
+                       phy-names = "usb";
+                       extcon = <&usbphy 0>;
+                       status = "disabled";
+               };
+
                usbphy: phy@1c19400 {
                        compatible = "allwinner,sun8i-a83t-usb-phy";
                        reg = <0x01c19400 0x10>,