aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThor Thayer <thor.thayer@linux.intel.com>2018-04-27 14:37:16 -0400
committerBorislav Petkov <bp@suse.de>2018-05-12 05:10:58 -0400
commitc7229b60ebe6c84f18c39c6d1b48b8b343f5e8bf (patch)
tree8ce426d7ef776a44110328dbfc1cb2cef12c6fbe
parent1e9e31cf171c68c5544e67ec4b10bb55bd50d370 (diff)
Documentation: dt: socfpga: Add Stratix10 ECC Manager binding
Add the device tree bindings needed to support the Stratix10 ECC Manager and SDRAM ECC. Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com> Reviewed-by: Rob Herring <robh@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: catalin.marinas@arm.com Cc: devicetree@vger.kernel.org Cc: dinguyen@kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-edac <linux-edac@vger.kernel.org> Cc: mchehab@kernel.org Cc: will.deacon@arm.com Link: http://lkml.kernel.org/r/1524854238-19394-2-git-send-email-thor.thayer@linux.intel.com Signed-off-by: Borislav Petkov <bp@suse.de>
-rw-r--r--Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt b/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt
index 4a1714f96bab..5626560a6cfd 100644
--- a/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt
+++ b/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt
@@ -231,3 +231,38 @@ Example:
231 <48 IRQ_TYPE_LEVEL_HIGH>; 231 <48 IRQ_TYPE_LEVEL_HIGH>;
232 }; 232 };
233 }; 233 };
234
235Stratix10 SoCFPGA ECC Manager
236The Stratix10 SoC ECC Manager handles the IRQs for each peripheral
237in a shared register similar to the Arria10. However, ECC requires
238access to registers that can only be read from Secure Monitor with
239SMC calls. Therefore the device tree is slightly different.
240
241Required Properties:
242- compatible : Should be "altr,socfpga-s10-ecc-manager"
243- interrupts : Should be single bit error interrupt, then double bit error
244 interrupt.
245- interrupt-controller : boolean indicator that ECC Manager is an interrupt controller
246- #interrupt-cells : must be set to 2.
247
248Subcomponents:
249
250SDRAM ECC
251Required Properties:
252- compatible : Should be "altr,sdram-edac-s10"
253- interrupts : Should be single bit error interrupt, then double bit error
254 interrupt, in this order.
255
256Example:
257
258 eccmgr {
259 compatible = "altr,socfpga-s10-ecc-manager";
260 interrupts = <0 15 4>, <0 95 4>;
261 interrupt-controller;
262 #interrupt-cells = <2>;
263
264 sdramedac {
265 compatible = "altr,sdram-edac-s10";
266 interrupts = <16 4>, <48 4>;
267 };
268 };