arm64: dts: ls1012a: add USB host controller nodes
authorRan Wang <ran.wang_1@nxp.com>
Fri, 14 Jul 2017 06:49:09 +0000 (14:49 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 25 Jul 2017 08:03:09 +0000 (16:03 +0800)
LS1012A has one USB 3.0(DWC3) controller and
one USB 2.0 controller.

Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi

index b1554cb..df83915 100644 (file)
                                 <&clockgen 4 3>;
                };
 
+               usb0: usb3@2f00000 {
+                       compatible = "snps,dwc3";
+                       reg = <0x0 0x2f00000 0x0 0x10000>;
+                       interrupts = <0 60 0x4>;
+                       dr_mode = "host";
+                       snps,quirk-frame-length-adjustment = <0x20>;
+                       snps,dis_rxdet_inp3_quirk;
+               };
+
                sata: sata@3200000 {
                        compatible = "fsl,ls1012a-ahci", "fsl,ls1043a-ahci";
                        reg = <0x0 0x3200000 0x0 0x10000>,
                        dma-coherent;
                        status = "disabled";
                };
+
+               usb1: usb2@8600000 {
+                       compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
+                       reg = <0x0 0x8600000 0x0 0x1000>;
+                       interrupts = <0 139 0x4>;
+                       dr_mode = "host";
+                       phy_type = "ulpi";
+               };
        };
 };