]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: k2g: Add USB instances
authorVitaly Andrianov <vitalya@ti.com>
Mon, 9 Oct 2017 16:22:10 +0000 (09:22 -0700)
committerSantosh Shilimkar <ssantosh@kernel.org>
Tue, 10 Oct 2017 16:41:21 +0000 (09:41 -0700)
Add nodes for both USB instances supported by 66AK2G.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
arch/arm/boot/dts/keystone-k2g.dtsi

index 834141173010bae516afbc5a8d424940fe5afabb..906137ed2a39a020ee4ee0e7d9f1254778e7bc64 100644 (file)
@@ -427,5 +427,61 @@ mcasp2: mcasp@02344000 {
                        clock-names = "fck";
                        status = "disabled";
                };
+       
+               usb0_phy: usb-phy@0 {
+                       compatible = "usb-nop-xceiv";
+                       status = "disabled";
+               };
+
+               keystone_usb0: keystone-dwc3@2680000 {
+                       compatible = "ti,keystone-dwc3";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       reg = <0x2680000 0x10000>;
+                       interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>;
+                       ranges;
+                       dma-coherent;
+                       dma-ranges;
+                       status = "disabled";
+                       power-domains = <&k2g_pds 0x0016>;
+
+                       usb0: usb@2690000 {
+                               compatible = "snps,dwc3";
+                               reg = <0x2690000 0x10000>;
+                               interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>;
+                               maximum-speed = "high-speed";
+                               dr_mode = "otg";
+                               usb-phy = <&usb0_phy>;
+                               status = "disabled";
+                       };
+               };
+
+               usb1_phy: usb-phy@1 {
+                       compatible = "usb-nop-xceiv";
+                       status = "disabled";
+               };
+
+               keystone_usb1: keystone-dwc3@2580000 {
+                       compatible = "ti,keystone-dwc3";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       reg = <0x2580000 0x10000>;
+                       interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
+                       ranges;
+                       dma-coherent;
+                       dma-ranges;
+                       status = "disabled";
+                       power-domains = <&k2g_pds 0x0017>;
+
+                       usb1: usb@2590000 {
+                               compatible = "snps,dwc3";
+                               reg = <0x2590000 0x10000>;
+                               interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
+                               maximum-speed = "high-speed";
+                               dr_mode = "otg";
+                               usb-phy = <&usb1_phy>;
+                               status = "disabled";
+                       };
+               };
        };
 };