ARM: dts: Freescale: Add ecc addr for sata node
authorPeng Ma <peng.ma@nxp.com>
Wed, 17 Apr 2019 10:10:49 +0000 (10:10 +0000)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Wed, 22 May 2019 06:54:24 +0000 (12:24 +0530)
Move the ecc addr from driver to dts.

Signed-off-by: Peng Ma <peng.ma@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
arch/arm/dts/fsl-ls1012a.dtsi
arch/arm/dts/fsl-ls1043a.dtsi
arch/arm/dts/fsl-ls1046a.dtsi
arch/arm/dts/fsl-ls1088a.dtsi
arch/arm/dts/ls1021a.dtsi

index f22cbf4b2a289e4bcf0bc0015cc17f1c5ee9327d..1125e5753b9583a281246af6c14a5604fbf89a5b 100644 (file)
 
                sata: sata@3200000 {
                        compatible = "fsl,ls1012a-ahci";
-                       reg = <0x0 0x3200000 0x0 0x10000>;
+                       reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
+                              0x0 0x20140520 0x0 0x4>;  /* ecc sata addr */
+                       reg-names = "sata-base", "ecc-addr";
                        interrupts = <0 69 4>;
                        clocks = <&clockgen 4 0>;
                        status = "disabled";
index bb70992f9e7b23ac31f507ad7936b6fa2ab4f09c..b159c3ca732e2dd2304d88f6a77cb8959f8da78f 100644 (file)
 
                sata: sata@3200000 {
                        compatible = "fsl,ls1043a-ahci";
-                       reg = <0x0 0x3200000 0x0 0x10000>;
+                       reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
+                              0x0 0x20140520 0x0 0x4>;  /* ecc sata addr*/
+                       reg-names = "sata-base", "ecc-addr";
                        interrupts = <0 69 4>;
                        clocks = <&clockgen 4 0>;
                        status = "disabled";
index 5ac10e05d7e905e9d716314637a4ec26c32846bf..fdf93fd2681a04f759651ff45d452dd85622bed6 100644 (file)
 
                sata: sata@3200000 {
                        compatible = "fsl,ls1046a-ahci";
-                       reg = <0x0 0x3200000 0x0 0x10000>;
+                       reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
+                              0x0 0x20140520 0x0 0x4>;  /* ecc sata addr*/
+                       reg-names = "sata-base", "ecc-addr";
                        interrupts = <0 69 4>;
                        clocks = <&clockgen 4 1>;
                        status = "disabled";
index 9455e0346650c75b57ea0fb13b4b8b357764a402..7c705858fd84105ec8f60b96ce167625a6d52155 100644 (file)
 
        sata: sata@3200000 {
                compatible = "fsl,ls1088a-ahci";
-               reg = <0x0 0x3200000 0x0 0x10000>;
+               reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
+                      0x7 0x100520  0x0 0x4>;   /* ecc sata addr*/
+               reg-names = "sata-base", "ecc-addr";
                interrupts = <0 133 4>;
                status = "disabled";
        };
index 7670a39617ce38878567f43db35739225fd38de7..8a0f473e25cafc0343c736486053574b82ef9e3a 100644 (file)
 
                sata: sata@3200000 {
                        compatible = "fsl,ls1021a-ahci";
-                       reg = <0x3200000 0x10000>;
+                       reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
+                              0x0 0x20220520 0x0 0x4>;  /* ecc sata addr*/
+                       reg-names = "sata-base", "ecc-addr";
                        interrupts = <0 101 4>;
                        status = "disabled";
                };