armv8: ls1012: added usb nodes in dts
authorTang Yuantian <Yuantian.Tang@nxp.com>
Tue, 27 Dec 2016 02:24:44 +0000 (10:24 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 18 Jan 2017 17:27:34 +0000 (09:27 -0800)
The LS1012A processor has two integrated USB controllers.
One is USB2.0 controller, the other is USB3.0 controller that
allow direct connection to the USB ports with appropriate
protection circuitry and power supplies.

Signed-off-by: Tang Yuantian <yuantian.tang@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/dts/fsl-ls1012a.dtsi

index c4ca9c1..f8665b6 100644 (file)
                        ranges = <0x81000000 0x0 0x00000000 0x40 0x00020000 0x0 0x00010000   /* downstream I/O */
                                  0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
                };
+
+               usb0: usb2@8600000 {
+                       compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
+                       reg = <0x0 0x8600000 0x0 0x1000>;
+                       interrupts = <0 139 0x4>;
+                       dr_mode = "host";
+                       fsl,usb-erratum-a005697;
+               };
+
+               usb1: usb3@2f00000 {
+                       compatible = "fsl,layerscape-dwc3";
+                       reg = <0x0 0x2f00000 0x0 0x10000>;
+                       interrupts = <0 61 0x4>;
+                       dr_mode = "host";
+               };
        };
 };