arm64: dts: stratix10: Add peripheral EDAC nodes
authorThor Thayer <thor.thayer@linux.intel.com>
Tue, 25 Sep 2018 13:49:02 +0000 (08:49 -0500)
committerBorislav Petkov <bp@suse.de>
Tue, 25 Sep 2018 19:22:57 +0000 (21:22 +0200)
Add the usb and ethernet peripheral ECC nodes using the rria10 format.

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: robh+dt@kernel.org
Cc: mark.rutland@arm.com
Cc: mchehab@kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-edac@vger.kernel.org
Link: https://lkml.kernel.org/r/1537883342-30180-7-git-send-email-thor.thayer@linux.intel.com
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

index 39e285c..42c411d 100644 (file)
                };
 
                eccmgr {
-                       compatible = "altr,socfpga-s10-ecc-manager";
+                       compatible = "altr,socfpga-a10-ecc-manager";
                        altr,sysmgr-syscon = <&sysmgr>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                                altr,sdr-syscon = <&sdr>;
                                interrupts = <16 4>, <48 4>;
                        };
+
+                       usb0-ecc@ff8c4000 {
+                               compatible = "altr,socfpga-usb-ecc";
+                               reg = <0xff8c4000 0x100>;
+                               altr,ecc-parent = <&usb0>;
+                               interrupts = <2 4>,
+                                            <34 4>;
+                       };
+
+                       emac0-rx-ecc@ff8c0000 {
+                               compatible = "altr,socfpga-eth-mac-ecc";
+                               reg = <0xff8c0000 0x100>;
+                               altr,ecc-parent = <&gmac0>;
+                               interrupts = <4 4>,
+                                            <36 4>;
+                       };
+
+                       emac0-tx-ecc@ff8c0400 {
+                               compatible = "altr,socfpga-eth-mac-ecc";
+                               reg = <0xff8c0400 0x100>;
+                               altr,ecc-parent = <&gmac0>;
+                               interrupts = <5 4>,
+                                            <37 4>;
+                       };
+
                };
 
                qspi: spi@ff8d2000 {