arm64: dts: updated sata node on ls1012a platform
authorYuantian Tang <andy.tang@nxp.com>
Tue, 14 Mar 2017 02:29:34 +0000 (10:29 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 14 Mar 2017 08:11:49 +0000 (16:11 +0800)
Updated sata node to add ecc register address and dma coherence
property.
Enable sata on ls1012a platforms as well.

Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi

index a619f6496a4cff44d38feea97fef0d06d269855b..17fae8112e4d96d610ea6623e8f7c29fee9f8f9d 100644 (file)
 &sai2 {
        status = "okay";
 };
+
+&sata {
+       status = "okay";
+};
index 14a67f1709e7c1e28939e598cac98f289b3a040d..e2a93d53d3d8dc77c0b205fc617bed1cb4c1679e 100644 (file)
 &sai2 {
        status = "okay";
 };
+
+&sata {
+       status = "okay";
+};
index 62c5c7123a1599f116b44e08492739d21aae6a4e..ed77f6b0937b278dc2ed881f70682727fa98bf32 100644 (file)
@@ -57,3 +57,7 @@
 &i2c0 {
        status = "okay";
 };
+
+&sata {
+       status = "okay";
+};
index cffebb4b3df11de0b5defefd2bb239d6c4add329..a1c5112f15824b4ac35ff585c180e413735c66bf 100644 (file)
 
                sata: sata@3200000 {
                        compatible = "fsl,ls1012a-ahci", "fsl,ls1043a-ahci";
-                       reg = <0x0 0x3200000 0x0 0x10000>;
+                       reg = <0x0 0x3200000 0x0 0x10000>,
+                               <0x0 0x20140520 0x0 0x4>;
+                       reg-names = "ahci", "sata-ecc";
                        interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&clockgen 4 0>;
+                       dma-coherent;
                        status = "disabled";
                };
        };