aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThor Thayer <tthayer@opensource.altera.com>2016-08-02 11:56:19 -0400
committerBorislav Petkov <bp@suse.de>2016-08-08 09:21:09 -0400
commit5e40cd4d258cc0728585a94fd81f73488f7cdce7 (patch)
tree8190a4c7f602957456262c820e86e83574ccd625
parentdc0a50a8411e2a3a3ca5a9d97581bbc5420c2687 (diff)
Documentation: dt: socfpga: Add Arria10 SD-MMC EDAC binding
Add the device tree bindings needed to support the Altera SD-MMC FIFO buffers EDAC on the Arria10 chip. Signed-off-by: Thor Thayer <tthayer@opensource.altera.com> Acked-by: Rob Herring <robh@kernel.org> Cc: devicetree@vger.kernel.org Cc: dinguyen@opensource.altera.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-edac <linux-edac@vger.kernel.org> Link: http://lkml.kernel.org/r/1470153381-20517-2-git-send-email-tthayer@opensource.altera.com Signed-off-by: Borislav Petkov <bp@suse.de>
-rw-r--r--Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt b/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt
index ee66df082a42..4a1714f96bab 100644
--- a/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt
+++ b/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt
@@ -122,6 +122,15 @@ Required Properties:
122- interrupts : Should be single bit error interrupt, then double bit error 122- interrupts : Should be single bit error interrupt, then double bit error
123 interrupt, in this order. 123 interrupt, in this order.
124 124
125SDMMC FIFO ECC
126Required Properties:
127- compatible : Should be "altr,socfpga-sdmmc-ecc"
128- reg : Address and size for ECC block registers.
129- altr,ecc-parent : phandle to parent SD/MMC node.
130- interrupts : Should be single bit error interrupt, then double bit error
131 interrupt, in this order for port A, and then single bit error interrupt,
132 then double bit error interrupt in this order for port B.
133
125Example: 134Example:
126 135
127 eccmgr: eccmgr@ffd06000 { 136 eccmgr: eccmgr@ffd06000 {
@@ -211,4 +220,14 @@ Example:
211 interrupts = <14 IRQ_TYPE_LEVEL_HIGH>, 220 interrupts = <14 IRQ_TYPE_LEVEL_HIGH>,
212 <46 IRQ_TYPE_LEVEL_HIGH>; 221 <46 IRQ_TYPE_LEVEL_HIGH>;
213 }; 222 };
223
224 sdmmc-ecc@ff8c2c00 {
225 compatible = "altr,socfpga-sdmmc-ecc";
226 reg = <0xff8c2c00 0x400>;
227 altr,ecc-parent = <&mmc>;
228 interrupts = <15 IRQ_TYPE_LEVEL_HIGH>,
229 <47 IRQ_TYPE_LEVEL_HIGH>,
230 <16 IRQ_TYPE_LEVEL_HIGH>,
231 <48 IRQ_TYPE_LEVEL_HIGH>;
232 };
214 }; 233 };