ARM: dts: Add Arria10 DMA EDAC devicetree entry
authorThor Thayer <tthayer@opensource.altera.com>
Thu, 14 Jul 2016 16:06:47 +0000 (11:06 -0500)
committerBorislav Petkov <bp@suse.de>
Mon, 8 Aug 2016 03:59:40 +0000 (05:59 +0200)
Add the device tree entries needed to support the Altera DMA
FIFO buffer EDAC on the Arria10 chip.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1468512408-5156-10-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
arch/arm/boot/dts/socfpga_arria10.dtsi

index 94000cbe576bb0f61e97ce085bb2a86303a8056b..50bcaaa6da39d265d457ebbe80652af657a8cae8 100644 (file)
                                interrupts = <5 IRQ_TYPE_LEVEL_HIGH>,
                                             <37 IRQ_TYPE_LEVEL_HIGH>;
                        };
+
+                       dma-ecc@ff8c8000 {
+                               compatible = "altr,socfpga-dma-ecc";
+                               reg = <0xff8c8000 0x400>;
+                               altr,ecc-parent = <&pdma>;
+                               interrupts = <10 IRQ_TYPE_LEVEL_HIGH>,
+                                            <42 IRQ_TYPE_LEVEL_HIGH>;
+                       };
                };
 
                rst: rstmgr@ffd05000 {