]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Documentation: dt: socfpga: Add Arria10 QSPI EDAC binding
authorThor Thayer <tthayer@opensource.altera.com>
Thu, 14 Jul 2016 16:06:42 +0000 (11:06 -0500)
committerBorislav Petkov <bp@suse.de>
Mon, 8 Aug 2016 03:59:34 +0000 (05:59 +0200)
Add the device tree bindings needed to support the Altera QSPI
FIFO buffer on the Arria10 chip.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Acked-by: Rob Herring <robh+dt@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/1468512408-5156-5-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt

index 3ffeb12374b7843e7f277002f8326cf18a24fa9d..ee66df082a42db125d1201f19e2262ca24ad1f38 100644 (file)
@@ -114,6 +114,14 @@ Required Properties:
 - interrupts      : Should be single bit error interrupt, then double bit error
        interrupt, in this order.
 
+QSPI FIFO ECC
+Required Properties:
+- compatible      : Should be "altr,socfpga-qspi-ecc"
+- reg             : Address and size for ECC block registers.
+- altr,ecc-parent : phandle to parent QSPI node.
+- interrupts      : Should be single bit error interrupt, then double bit error
+       interrupt, in this order.
+
 Example:
 
        eccmgr: eccmgr@ffd06000 {
@@ -195,4 +203,12 @@ Example:
                        interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
                                     <34 IRQ_TYPE_LEVEL_HIGH>;
                };
+
+               qspi-ecc@ff8c8400 {
+                       compatible = "altr,socfpga-qspi-ecc";
+                       reg = <0xff8c8400 0x400>;
+                       altr,ecc-parent = <&qspi>;
+                       interrupts = <14 IRQ_TYPE_LEVEL_HIGH>,
+                                    <46 IRQ_TYPE_LEVEL_HIGH>;
+               };
        };