diff options
author | Thor Thayer <tthayer@opensource.altera.com> | 2016-08-09 09:40:53 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-08-10 14:45:47 +0200 |
commit | 03fc6ea97f02006ea4dbc1e9f1e8ccba6fe58656 (patch) | |
tree | 68ca2f2e5c857c91a81f90967db2ccbc6abf8407 /arch | |
parent | 911049845d7096c27304930ff478cbf3f2623ba3 (diff) | |
download | linux-03fc6ea97f02006ea4dbc1e9f1e8ccba6fe58656.tar.gz linux-03fc6ea97f02006ea4dbc1e9f1e8ccba6fe58656.tar.bz2 linux-03fc6ea97f02006ea4dbc1e9f1e8ccba6fe58656.zip |
ARM: dts: Add Arria10 SD/MMC EDAC devicetree entry
Add the device tree entries needed to support the Altera SD/MMC
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/1470753653-23465-4-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/socfpga_arria10_socdk_sdmmc.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/socfpga_arria10_socdk_sdmmc.dts b/arch/arm/boot/dts/socfpga_arria10_socdk_sdmmc.dts index 8a7dfa473e98..040a164ba148 100644 --- a/arch/arm/boot/dts/socfpga_arria10_socdk_sdmmc.dts +++ b/arch/arm/boot/dts/socfpga_arria10_socdk_sdmmc.dts @@ -25,3 +25,15 @@ broken-cd; bus-width = <4>; }; + +&eccmgr { + sdmmca-ecc@ff8c2c00 { + compatible = "altr,socfpga-sdmmc-ecc"; + reg = <0xff8c2c00 0x400>; + altr,ecc-parent = <&mmc>; + interrupts = <15 IRQ_TYPE_LEVEL_HIGH>, + <47 IRQ_TYPE_LEVEL_HIGH>, + <16 IRQ_TYPE_LEVEL_HIGH>, + <48 IRQ_TYPE_LEVEL_HIGH>; + }; +}; |