armv8: dts: fsl-ls1012a: add sata node support
authorYuantian Tang <andy.tang@nxp.com>
Fri, 13 Jul 2018 09:25:29 +0000 (17:25 +0800)
committerYork Sun <york.sun@nxp.com>
Thu, 26 Jul 2018 17:59:35 +0000 (10:59 -0700)
One ls1012a, there is one SATA 3.0 advanced host controller interface
which is a high-performance SATA solution that delivers comprehensive
and fully-compliant generation 3 (1.5 Gb/s - 6.0 Gb/s) serial ATA
capabilities, in accordance with the serial ATA revision 3.0 of Serial
ATA International Organization.
Add sata node to support this feature.

Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/dts/fsl-ls1012a-2g5rdb.dts
arch/arm/dts/fsl-ls1012a-qds.dtsi
arch/arm/dts/fsl-ls1012a-rdb.dtsi
arch/arm/dts/fsl-ls1012a.dtsi

index db23cf87ed7f2ce3776386e9f032a9a09d2f4cb7..cdd4ce45aaf9bf15101cb8d27c49db26f90d6857 100644 (file)
@@ -40,3 +40,7 @@
 &duart0 {
        status = "okay";
 };
+
+&sata {
+       status = "okay";
+};
index d069b603abd3e7e5343e545a7a70ee4819879c03..661af0e49e637b51a722a2d78f8770545e48c65a 100644 (file)
        status = "okay";
        phy_type = "ulpi";
 };
+
+&sata {
+       status = "okay";
+};
index 201e5faead143302f682fa73b193d7813ae943b2..757e2eb3519193090f65b68e42724dec77f3eb0a 100644 (file)
@@ -34,3 +34,7 @@
 &duart0 {
        status = "okay";
 };
+
+&sata {
+       status = "okay";
+};
index be9907655061f43e8adcb3cf2274752909ad7914..f22cbf4b2a289e4bcf0bc0015cc17f1c5ee9327d 100644 (file)
                                  0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
                };
 
+               sata: sata@3200000 {
+                       compatible = "fsl,ls1012a-ahci";
+                       reg = <0x0 0x3200000 0x0 0x10000>;
+                       interrupts = <0 69 4>;
+                       clocks = <&clockgen 4 0>;
+                       status = "disabled";
+               };
+
                usb0: usb2@8600000 {
                        compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
                        reg = <0x0 0x8600000 0x0 0x1000>;