arm64: dts: stratix10: Add OCRAM EDAC node
authorThor Thayer <thor.thayer@linux.intel.com>
Tue, 23 Apr 2019 14:36:35 +0000 (09:36 -0500)
committerTony Luck <tony.luck@intel.com>
Thu, 20 Jun 2019 18:44:36 +0000 (11:44 -0700)
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
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

index 470dcfd..4b0f674 100644 (file)
                                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";