diff options
-rw-r--r-- | Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt | 35 |
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 | |||
235 | Stratix10 SoCFPGA ECC Manager | ||
236 | The Stratix10 SoC ECC Manager handles the IRQs for each peripheral | ||
237 | in a shared register similar to the Arria10. However, ECC requires | ||
238 | access to registers that can only be read from Secure Monitor with | ||
239 | SMC calls. Therefore the device tree is slightly different. | ||
240 | |||
241 | Required 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 | |||
248 | Subcomponents: | ||
249 | |||
250 | SDRAM ECC | ||
251 | Required 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 | |||
256 | Example: | ||
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 | }; | ||