[PATCH 1/6] dt-bindings: edac: altera: Document additional ECC instances

From: niravkumarlaxmidas . rabara

Date: Tue Oct 28 2025 - 05:25:08 EST


From: Niravkumar L Rabara <niravkumarlaxmidas.rabara@xxxxxxxxxx>

Add support for Secure Device Manager(SDM) QSPI ECC, IO96B memory
controller ECC and Configuration RAM(CRAM) Single Event Upset(SEU).

Add interrupt-names property and increase interrupts maxItems from 2 to 7
to accommodate additional interrupts.

Signed-off-by: Niravkumar L Rabara <niravkumarlaxmidas.rabara@xxxxxxxxxx>
---
.../edac/altr,socfpga-ecc-manager.yaml | 77 ++++++++++++++++++-
1 file changed, 76 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/edac/altr,socfpga-ecc-manager.yaml b/Documentation/devicetree/bindings/edac/altr,socfpga-ecc-manager.yaml
index 3d787dea0f14..5e0c08a15ab9 100644
--- a/Documentation/devicetree/bindings/edac/altr,socfpga-ecc-manager.yaml
+++ b/Documentation/devicetree/bindings/edac/altr,socfpga-ecc-manager.yaml
@@ -33,7 +33,13 @@ properties:

interrupts:
minItems: 1
- maxItems: 2
+ maxItems: 7
+
+ interrupt-names:
+ items:
+ enum: [global_sbe, global_dbe, io96b0, io96b1, sdm_qspi_sbe, sdm_qspi_dbe, sdm_seu]
+ minItems: 1
+ maxItems: 7

interrupt-controller: true

@@ -70,6 +76,41 @@ properties:
- interrupts
- altr,sdr-syscon

+ cram-seu:
+ type: object
+ additionalProperties: false
+
+ properties:
+ compatible:
+ items:
+ - const: altr,socfpga-cram-seu
+
+ reg:
+ maxItems: 1
+
+ altr,seu-safe-inject-ce-msb:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: MSB of error injection command for Correctable Error
+
+ altr,seu-safe-inject-ce-lsb:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: LSB of error injection command for Correctable Error
+
+ altr,seu-safe-inject-ue-msb:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: MSB of error injection command for Uncorrectable Error
+
+ altr,seu-safe-inject-ue-lsb:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: LSB of error injection command for Uncorrectable Error
+
+ required:
+ - compatible
+ - altr,seu-safe-inject-ce-msb
+ - altr,seu-safe-inject-ce-lsb
+ - altr,seu-safe-inject-ue-msb
+ - altr,seu-safe-inject-ue-lsb
+
patternProperties:
"^ocram-ecc@[a-f0-9]+$":
type: object
@@ -191,6 +232,40 @@ patternProperties:
- interrupts
- altr,ecc-parent

+ "^sdm-qspi-ecc@[a-f0-9]+$":
+ type: object
+ additionalProperties: false
+
+ properties:
+ compatible:
+ items:
+ - const: altr,socfpga-sdm-qspi-ecc
+
+ reg:
+ maxItems: 1
+
+ required:
+ - compatible
+ - reg
+
+ "^io96b[0-9]-ecc@[a-f0-9]+$":
+ type: object
+ additionalProperties: false
+
+ properties:
+ compatible:
+ items:
+ - enum:
+ - altr,socfpga-io96b0-ecc
+ - altr,socfpga-io96b1-ecc
+
+ reg:
+ maxItems: 1
+
+ required:
+ - compatible
+ - reg
+
"^l2-ecc@[a-f0-9]+$":
type: object
additionalProperties: false
--
2.25.1