]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
armv8: dts: fsl-ls2080a: add sata node support
authorPeng Ma <peng.ma@nxp.com>
Mon, 22 Oct 2018 02:43:21 +0000 (10:43 +0800)
committerYork Sun <york.sun@nxp.com>
Thu, 6 Dec 2018 22:37:19 +0000 (14:37 -0800)
One ls2080a, 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: Simon Glass <sjg@chromium.org>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/dts/fsl-ls2080a-qds.dts
arch/arm/dts/fsl-ls2080a-rdb.dts
arch/arm/dts/fsl-ls2080a.dtsi

index fbd6c78e9fdd6f0e896f0cf5e8bf9c8c6abea71b..39fbc1b79c1cc8a23724f547a78d05dc629bfed7 100644 (file)
@@ -64,3 +64,7 @@
                reg = <0>;
        };
 };
+
+&sata {
+       status = "okay";
+};
index 541bcd37a025b64a50592e23c4ef11f8f56dd589..e7567cfa2312d33db6373860e91684ddbd530711 100644 (file)
@@ -32,3 +32,7 @@
                reg = <0>;
        };
 };
+
+&sata {
+       status = "okay";
+};
index 2d537ae6060a9cb0e537ff238cff7dc15b87ca98..5c0769bc99cb155f3c52346e64cea82bda830a33 100644 (file)
                ranges = <0x81000000 0x0 0x00000000 0x16 0x00020000 0x0 0x00010000   /* downstream I/O */
                          0x82000000 0x0 0x40000000 0x16 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
        };
+
+       sata: sata@3200000 {
+                       compatible = "fsl,ls2080a-ahci";
+                       reg = <0x0 0x3200000 0x0 0x10000>;
+                       interrupts = <0 133 0x4>; /* Level high type */
+                       status = "disabled";
+       };
+
 };