From c0afbcab2dc7c7199246f6caaf3ecd91ecb3aac8 Mon Sep 17 00:00:00 2001 From: yuanxia Date: Wed, 15 May 2024 09:55:45 +0800 Subject: [PATCH] dt-bindings: phytium-pe220x-edac: Add bindings for Phytium pe220x EDAC This patch document the DT bindings for Phytium pe220x EDAC. Signed-off-by: yuanxia Signed-off-by: Zhu Honglei Signed-off-by: Lan Hengyu Signed-off-by: Li Mingzhe Signed-off-by: Wang Yinfeng --- .../bindings/edac/phytium,pe220x-edac.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/phytium,pe220x-edac.yaml diff --git a/Documentation/devicetree/bindings/edac/phytium,pe220x-edac.yaml b/Documentation/devicetree/bindings/edac/phytium,pe220x-edac.yaml new file mode 100644 index 0000000000000..8bb94a303b975 --- /dev/null +++ b/Documentation/devicetree/bindings/edac/phytium,pe220x-edac.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/edac/phytium,pe220x-edac.yaml +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Phytium Pe220x SoC EDAC node +maintainers: + - Zhu Honglei + +description: | + EDAC node is defined to describe on-chip error detection and correction. + +properties: + compatible: + const: phytium,pe220x-edac + + reg: + maxItems: 3 + + interrupts: + minItems: 2 + items: + - description: Interrupt-specifier for RAS error IRQ(s). + +required: + - compatible: Shall be "phytium,pe220x-edac". + - reg: Shall be the Pe220x RAS resource. + - interrupts: Interrupt-specifier for RAS error IRQ(s). + +examples: + - | + edac: edac@32b28000 { + compatible = "phytium,pe220x-edac"; + reg = <0x0 0x32b28000 0x0 0x1000>, + <0x0 0x31400000 0x0 0x1000>, + <0x0 0x31401000 0x0 0x1000>; + interrupts = , + , + };