aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThor Thayer <tthayer@opensource.altera.com>2016-05-25 12:29:39 -0400
committerBorislav Petkov <bp@suse.de>2016-06-07 13:11:17 -0400
commit47d78000eb812643a4c5bd0151af8ee427f89493 (patch)
treee6a844bff2cec12324c6f8653bcbab55b554436b
parentaf8c34ce6ae32addda3788d54a7e340cad22516b (diff)
Documentation: dt: socfpga: Add interrupt-controller to ecc-manager
Designate the ECC Manager as an interrupt controller and add child interrupts. 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: ijc+devicetree@hellion.org.uk Cc: linux-arm-kernel@lists.infradead.org Cc: linux@arm.linux.org.uk Cc: linux-doc@vger.kernel.org Cc: linux-edac <linux-edac@vger.kernel.org> Link: http://lkml.kernel.org/r/1464193783-5071-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.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt b/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt
index 5a6b16070a33..15eb0df1d36e 100644
--- a/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt
+++ b/Documentation/devicetree/bindings/arm/altera/socfpga-eccmgr.txt
@@ -61,7 +61,9 @@ Required Properties:
61- #address-cells: must be 1 61- #address-cells: must be 1
62- #size-cells: must be 1 62- #size-cells: must be 1
63- interrupts : Should be single bit error interrupt, then double bit error 63- interrupts : Should be single bit error interrupt, then double bit error
64 interrupt. Note the rising edge type. 64 interrupt.
65- interrupt-controller : boolean indicator that ECC Manager is an interrupt controller
66- #interrupt-cells : must be set to 2.
65- ranges : standard definition, should translate from local addresses 67- ranges : standard definition, should translate from local addresses
66 68
67Subcomponents: 69Subcomponents:
@@ -70,11 +72,15 @@ L2 Cache ECC
70Required Properties: 72Required Properties:
71- compatible : Should be "altr,socfpga-a10-l2-ecc" 73- compatible : Should be "altr,socfpga-a10-l2-ecc"
72- reg : Address and size for ECC error interrupt clear registers. 74- reg : Address and size for ECC error interrupt clear registers.
75- interrupts : Should be single bit error interrupt, then double bit error
76 interrupt, in this order.
73 77
74On-Chip RAM ECC 78On-Chip RAM ECC
75Required Properties: 79Required Properties:
76- compatible : Should be "altr,socfpga-a10-ocram-ecc" 80- compatible : Should be "altr,socfpga-a10-ocram-ecc"
77- reg : Address and size for ECC block registers. 81- reg : Address and size for ECC block registers.
82- interrupts : Should be single bit error interrupt, then double bit error
83 interrupt, in this order.
78 84
79Example: 85Example:
80 86
@@ -85,15 +91,21 @@ Example:
85 #size-cells = <1>; 91 #size-cells = <1>;
86 interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>, 92 interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>,
87 <0 0 IRQ_TYPE_LEVEL_HIGH>; 93 <0 0 IRQ_TYPE_LEVEL_HIGH>;
94 interrupt-controller;
95 #interrupt-cells = <2>;
88 ranges; 96 ranges;
89 97
90 l2-ecc@ffd06010 { 98 l2-ecc@ffd06010 {
91 compatible = "altr,socfpga-a10-l2-ecc"; 99 compatible = "altr,socfpga-a10-l2-ecc";
92 reg = <0xffd06010 0x4>; 100 reg = <0xffd06010 0x4>;
101 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>,
102 <32 IRQ_TYPE_LEVEL_HIGH>;
93 }; 103 };
94 104
95 ocram-ecc@ff8c3000 { 105 ocram-ecc@ff8c3000 {
96 compatible = "altr,socfpga-a10-ocram-ecc"; 106 compatible = "altr,socfpga-a10-ocram-ecc";
97 reg = <0xff8c3000 0x90>; 107 reg = <0xff8c3000 0x90>;
108 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>,
109 <33 IRQ_TYPE_LEVEL_HIGH> ;
98 }; 110 };
99 }; 111 };