APM X-Gene SoC EDAC
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