Edac bindings
Single-page view · as markdown
Altera SoCFPGA ECC Manager
Peios Kernel / Hardware and drivers / Device-tree binding reference / Edac bindings
Schema identifier ($id): "http://devicetree.org/schemas/edac/altr,socfpga-ecc-manager.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Niravkumar L Rabara <niravkumarlaxmidas.rabara@altera.com>"
This binding describes the device tree nodes required for the Altera SoCFPGA ECC Manager for the Cyclone5, Arria5, Arria10, Stratix10, and Agilex chip families.
Properties and child nodes (properties) #
compatible — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"altr,socfpga-s10-ecc-manager"Item 2
Exact value (
const):"altr,socfpga-a10-ecc-manager"
Rule 2
Exact value (
const):"altr,socfpga-a10-ecc-manager"
Rule 3
Exact value (
const):"altr,socfpga-ecc-manager"
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 1
interrupts — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupt-controller — not listed as required here #
true — No constraints added by this property rule.
#interrupt-cells — not listed as required here #
Exact value (const): 2
ranges — not listed as required here #
true — No constraints added by this property rule.
altr,sysmgr-syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to Stratix10 System Manager Block with the ECC manager registers
sdramedac — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — required here
Allowed values (enum): "altr,sdram-edac", "altr,sdram-edac-a10", "altr,sdram-edac-s10"
interrupts — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
altr,sdr-syscon — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to SDRAM parent
Required in this object (required): "compatible", "interrupts", "altr,sdr-syscon"
Properties matching a name pattern (patternProperties) #
^ocram-ecc@[a-f0-9]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — required here
Exactly one of these rules must match (oneOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"altr,socfpga-s10-ocram-ecc"Item 2
Exact value (
const):"altr,socfpga-a10-ocram-ecc"
Rule 2
Exact value (
const):"altr,socfpga-a10-ocram-ecc"
Rule 3
Exact value (
const):"altr,socfpga-ocram-ecc"
reg — required here
Maximum number of items (maxItems): 1
interrupts — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
iram — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to OCRAM parent
altr,ecc-parent — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to OCRAM parent
Required in this object (required): "compatible", "reg", "interrupts"
^usb[0-9]-ecc@[a-f0-9]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — required here
Exactly one of these rules must match (oneOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"altr,socfpga-s10-usb-ecc"Item 2
Exact value (
const):"altr,socfpga-usb-ecc"
Rule 2
Exact value (
const):"altr,socfpga-usb-ecc"
reg — required here
Maximum number of items (maxItems): 1
interrupts — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
altr,ecc-parent — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to USB parent
Required in this object (required): "compatible", "reg", "interrupts", "altr,ecc-parent"
^emac[0-9]-[t,r]x-ecc@[a-f0-9]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — required here
Exactly one of these rules must match (oneOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"altr,socfpga-s10-eth-mac-ecc"Item 2
Exact value (
const):"altr,socfpga-eth-mac-ecc"
Rule 2
Exact value (
const):"altr,socfpga-eth-mac-ecc"
reg — required here
Maximum number of items (maxItems): 1
interrupts — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
altr,ecc-parent — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to ethernet parent
Required in this object (required): "compatible", "reg", "interrupts", "altr,ecc-parent"
^sdmmc[a-f]-ecc@[a-f0-9]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — required here
Exactly one of these rules must match (oneOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"altr,socfpga-s10-sdmmc-ecc"Item 2
Exact value (
const):"altr,socfpga-sdmmc-ecc"
Rule 2
Exact value (
const):"altr,socfpga-sdmmc-ecc"
reg — required here
Maximum number of items (maxItems): 1
interrupts — required here
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
altr,ecc-parent — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to SD/MMC parent
Required in this object (required): "compatible", "reg", "interrupts", "altr,ecc-parent"
^l2-ecc@[a-f0-9]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — required here
Allowed values (enum): "altr,socfpga-a10-l2-ecc", "altr,socfpga-l2-ecc"
reg — required here
Maximum number of items (maxItems): 1
interrupts — required here
Maximum number of items (maxItems): 2
Required in this object (required): "compatible", "reg", "interrupts"
^dma-ecc@[a-f0-9]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "altr,socfpga-dma-ecc"
reg — required here
Maximum number of items (maxItems): 1
interrupts — required here
Maximum number of items (maxItems): 2
altr,ecc-parent — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to SD/MMC parent
Required in this object (required): "compatible", "reg", "interrupts", "altr,ecc-parent"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Exact value (
const):"altr,socfpga-ecc-manager"
When the condition matches (then) #
Required in this object (
required):"compatible","#address-cells","#size-cells","ranges"
When the condition does not match (else) #
Required in this object (
required):"compatible","#address-cells","#size-cells","interrupts","interrupt-controller","#interrupt-cells","ranges","altr,sysmgr-syscon"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
eccmgr {
compatible = "altr,socfpga-s10-ecc-manager",
"altr,socfpga-a10-ecc-manager";
altr,sysmgr-syscon = <&sysmgr>;
#address-cells = <1>;
#size-cells = <1>;
interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <2>;
ranges;
sdramedac {
compatible = "altr,sdram-edac-s10";
altr,sdr-syscon = <&sdr>;
interrupts = <16 IRQ_TYPE_LEVEL_HIGH>;
};
ocram-ecc@ff8cc000 {
compatible = "altr,socfpga-s10-ocram-ecc",
"altr,socfpga-a10-ocram-ecc";
reg = <0xff8cc000 0x100>;
altr,ecc-parent = <&ocram>;
interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
};
usb0-ecc@ff8c4000 {
compatible = "altr,socfpga-s10-usb-ecc",
"altr,socfpga-usb-ecc";
reg = <0xff8c4000 0x100>;
altr,ecc-parent = <&usb0>;
interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
};
emac0-rx-ecc@ff8c0000 {
compatible = "altr,socfpga-s10-eth-mac-ecc",
"altr,socfpga-eth-mac-ecc";
reg = <0xff8c0000 0x100>;
altr,ecc-parent = <&gmac0>;
interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
};
emac0-tx-ecc@ff8c0400 {
compatible = "altr,socfpga-s10-eth-mac-ecc",
"altr,socfpga-eth-mac-ecc";
reg = <0xff8c0400 0x100>;
altr,ecc-parent = <&gmac0>;
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
};
sdmmca-ecc@ff8c8c00 {
compatible = "altr,socfpga-s10-sdmmc-ecc",
"altr,socfpga-sdmmc-ecc";
reg = <0xff8c8c00 0x100>;
altr,ecc-parent = <&mmc>;
interrupts = <14 IRQ_TYPE_LEVEL_HIGH>,
<15 IRQ_TYPE_LEVEL_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (C) 2025 Altera Corporation
Amazon's Annapurna Labs Memory Controller EDAC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Edac bindings
Schema identifier ($id): "http://devicetree.org/schemas/edac/amazon,al-mc-edac.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Talel Shenhar <talel@amazon.com>", "Talel Shenhar <talelshenhar@gmail.com>"
EDAC node is defined to describe on-chip error detection and correction for Amazon's Annapurna Labs Memory Controller.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "amazon,al-mc-edac"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 2
#size-cells — required here #
Exact value (const): 2
interrupts — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
uncorrectable error interrupt
Item 2
correctable error interrupt
interrupt-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"ue"
Item 2
Exact value (
const):"ce"
Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
edac@f0080000 {
#address-cells = <2>;
#size-cells = <2>;
compatible = "amazon,al-mc-edac";
reg = <0x0 0xf0080000 0x0 0x00010000>;
interrupt-parent = <&amazon_al_system_fabric>;
interrupt-names = "ue";
interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
APM X-Gene SoC EDAC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Edac bindings
Schema identifier ($id): "http://devicetree.org/schemas/edac/apm,xgene-edac.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Khuong Dinh <khuong@os.amperecomputing.com>"
EDAC node is defined to describe on-chip error detection and correction. The following error types are supported:
memory controller - Memory controller
PMD (L1/L2) - Processor module unit (PMD) L1/L2 cache
L3 - L3 cache controller
SoC - SoC IPs such as Ethernet, SATA, etc
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "apm,xgene-edac"
reg — required here #
Array item rules (items) #
Item 1
CPU bus (PCP) resource
#address-cells — not listed as required here #
Exact value (const): 2
#size-cells — not listed as required here #
Exact value (const): 2
ranges — not listed as required here #
true — No constraints added by this property rule.
interrupts — required here #
Interrupt-specifier for MCU, PMD, L3, or SoC error IRQ(s).
Array item rules (items) #
Item 1
MCU error IRQ
Item 2
PMD error IRQ
Item 3
L3 error IRQ
Item 4
SoC error IRQ
Minimum number of items (minItems): 1
regmap-csw — required here #
Regmap of the CPU switch fabric (CSW) resource.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
regmap-mcba — required here #
Regmap of the MCB-A (memory bridge) resource.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
regmap-mcbb — required here #
Regmap of the MCB-B (memory bridge) resource.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
regmap-efuse — required here #
Regmap of the PMD efuse resource.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
regmap-rb — not listed as required here #
Regmap of the register bus resource (optional for compatibility).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Required in this object (required): "compatible", "regmap-csw", "regmap-mcba", "regmap-mcbb", "regmap-efuse", "reg", "interrupts"
Properties matching a name pattern (patternProperties) #
^edacmc@ — name matches this regular expression #
Memory controller subnode
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "apm,xgene-edac-mc"
reg — required here
Maximum number of items (maxItems): 1
memory-controller — required here
Instance number of the memory controller.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 3
Required in this object (required): "compatible", "reg", "memory-controller"
^edacpmd@ — name matches this regular expression #
PMD subnode
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "apm,xgene-edac-pmd"
reg — required here
Maximum number of items (maxItems): 1
pmd-controller — required here
Instance number of the PMD controller.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 3
Required in this object (required): "compatible", "reg", "pmd-controller"
^edacl3@ — name matches this regular expression #
L3 subnode
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — required here
Allowed values (enum): "apm,xgene-edac-l3", "apm,xgene-edac-l3-v2"
reg — required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
^edacsoc@ — name matches this regular expression #
SoC subnode
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — required here
Allowed values (enum): "apm,xgene-edac-soc", "apm,xgene-edac-soc-v1"
reg — required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
bus {
#address-cells = <2>;
#size-cells = <2>;
edac@78800000 {
compatible = "apm,xgene-edac";
reg = <0x0 0x78800000 0x0 0x100>;
#address-cells = <2>;
#size-cells = <2>;
ranges;
interrupts = <0x0 0x20 0x4>, <0x0 0x21 0x4>, <0x0 0x27 0x4>;
regmap-csw = <&csw>;
regmap-mcba = <&mcba>;
regmap-mcbb = <&mcbb>;
regmap-efuse = <&efuse>;
regmap-rb = <&rb>;
edacmc@7e800000 {
compatible = "apm,xgene-edac-mc";
reg = <0x0 0x7e800000 0x0 0x1000>;
memory-controller = <0>;
};
edacpmd@7c000000 {
compatible = "apm,xgene-edac-pmd";
reg = <0x0 0x7c000000 0x0 0x200000>;
pmd-controller = <0>;
};
edacl3@7e600000 {
compatible = "apm,xgene-edac-l3";
reg = <0x0 0x7e600000 0x0 0x1000>;
};
edacsoc@7e930000 {
compatible = "apm,xgene-edac-soc-v1";
reg = <0x0 0x7e930000 0x0 0x1000>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 76: Child-node bindings
Aspeed BMC SoC SDRAM EDAC controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Edac bindings
Schema identifier ($id): "http://devicetree.org/schemas/edac/aspeed,ast2400-sdram-edac.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stefan Schaeckeler <sschaeck@cisco.com>"
The Aspeed BMC SoC supports DDR3 and DDR4 memory with and without ECC (error correction check). The memory controller supports SECDED (single bit error correction, double bit error detection) and single bit error auto scrubbing by reserving 8 bits for every 64 bit word (effectively reducing available memory to 8/9). Note, the bootloader must configure ECC mode in the memory controller.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "aspeed,ast2400-sdram-edac", "aspeed,ast2500-sdram-edac", "aspeed,ast2600-sdram-edac"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sdram@1e6e0000 {
compatible = "aspeed,ast2500-sdram-edac";
reg = <0x1e6e0000 0x174>;
interrupts = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ARM DMC-520 EDAC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Edac bindings
Schema identifier ($id): "http://devicetree.org/schemas/edac/dmc-520.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lei Wang <lewan@microsoft.com>"
DMC-520 node is defined to describe DRAM error detection and correction.
https://static.docs.arm.com/100000/0200/corelink_dmc520_trm_100000_0200_01_en.pdf
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"brcm,dmc-520"
Item 2
Exact value (
const):"arm,dmc-520"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 10
interrupt-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 10
Array item rules (items) #
Allowed values (
enum):"ram_ecc_errc","ram_ecc_errd","dram_ecc_errc","dram_ecc_errd","failed_access","failed_prog","link_err","temperature_event","arch_fsm","phy_request"
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
dmc0: dmc@200000 {
compatible = "brcm,dmc-520", "arm,dmc-520";
reg = <0x200000 0x80000>;
interrupts = <0x0 0x349 0x4>, <0x0 0x34B 0x4>;
interrupt-names = "dram_ecc_errc", "dram_ecc_errd";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)