arm64: dts: stratix10: Add SDMMC EDAC node [Linux 5.3]

This Linux kernel change "arm64: dts: stratix10: Add SDMMC EDAC node" is included in the Linux 5.3 release. This change is authored by Thor Thayer <thor.thayer [at] linux.intel.com> on Tue Apr 23 09:36:37 2019 -0500. The commit for this change in Linux stable tree is 109d789 (patch).

arm64: dts: stratix10: Add SDMMC EDAC node

Add the Stratix10 SDMMC EDAC node.

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: James Morse <james.morse@arm.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: mchehab@kernel.org
Cc: Rob Herring <robh+dt@kernel.org>
Link: https://lkml.kernel.org/r/1556030197-24534-5-git-send-email-thor.thayer@linux.intel.com

There are 11 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
index 84f9f59..66e4ffb 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
@@ -56,6 +56,17 @@
                clock-frequency = <25000000>;
            };
        };
+
+       eccmgr {
+           sdmmca-ecc@ff8c8c00 {
+               compatible = "altr,socfpga-s10-sdmmc-ecc",
+                        "altr,socfpga-sdmmc-ecc";
+               reg = <0xff8c8c00 0x100>;
+               altr,ecc-parent = <&mmc>;
+               interrupts = <14 4>,
+                        <15 4>;
+           };
+       };
    };
 };

Leave a Reply

Your email address will not be published. Required fields are marked *