]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: dts: fsl-ls1046a: add sata node support
authorPeng Ma <peng.ma@nxp.com>
Thu, 11 Oct 2018 10:34:20 +0000 (10:34 +0000)
committerYork Sun <york.sun@nxp.com>
Thu, 6 Dec 2018 22:37:19 +0000 (14:37 -0800)
One ls1046a, 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: Peng Ma <peng.ma@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/dts/fsl-ls1046a-qds.dtsi
arch/arm/dts/fsl-ls1046a-rdb.dts
arch/arm/dts/fsl-ls1046a.dtsi

index ba36853b1bec83587c1030a2dd089171f22273bd..ada8a859b10a9cd4ef8a8cc781c42e351d67e7f2 100644 (file)
@@ -76,3 +76,7 @@
 &lpuart0 {
        status = "okay";
 };
+
+&sata {
+       status = "okay";
+};
index 136de245f3d417bc1acddd2a1873270e69641a5a..ba30fd262ac9477af0483d89695c1ed2bc2ae2b5 100644 (file)
@@ -39,3 +39,7 @@
                reg = <1>;
         };
 };
+
+&sata {
+       status = "okay";
+};
index 7687d12091b123e486600b6dc8d1eec060469fe2..5ac10e05d7e905e9d716314637a4ec26c32846bf 100644 (file)
                        ranges = <0x81000000 0x0 0x00000000 0x50 0x00020000 0x0 0x00010000   /* downstream I/O */
                                  0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
                };
+
+               sata: sata@3200000 {
+                       compatible = "fsl,ls1046a-ahci";
+                       reg = <0x0 0x3200000 0x0 0x10000>;
+                       interrupts = <0 69 4>;
+                       clocks = <&clockgen 4 1>;
+                       status = "disabled";
+               };
        };
 };