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

This Linux kernel change "arm64: dts: stratix10: Add OCRAM 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:35 2019 -0500. The commit for this change in Linux stable tree is 3c4fcb8 (patch).

arm64: dts: stratix10: Add OCRAM EDAC node

Add the OCRAM ECC node with Stratix10 compatible string.

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-3-git-send-email-thor.thayer@linux.intel.com

There are 8 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.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
index 470dcfd..4b0f674 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
@@ -539,6 +539,14 @@
                interrupts = <16 4>;
            };

+           ocram-ecc@ff8cc000 {
+               compatible = "altr,socfpga-s10-ocram-ecc",
+                        "altr,socfpga-a10-ocram-ecc";
+               reg = <0xff8cc000 0x100>;
+               altr,ecc-parent = <&ocram>;
+               interrupts = <1 4>;
+           };
+
            usb0-ecc@ff8c4000 {
                compatible = "altr,socfpga-s10-usb-ecc",
                         "altr,socfpga-usb-ecc";

Leave a Reply

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