xref: /freebsd/sys/contrib/device-tree/Bindings/edac/dmc-520.yaml (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/edac/dmc-520.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: ARM DMC-520 EDAC bindings
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Lei Wang <lewan@microsoft.com>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotdescription: |+
13c66ec88fSEmmanuel Vadot  DMC-520 node is defined to describe DRAM error detection and correction.
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadot  https://static.docs.arm.com/100000/0200/corelink_dmc520_trm_100000_0200_01_en.pdf
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadotproperties:
18c66ec88fSEmmanuel Vadot  compatible:
19c66ec88fSEmmanuel Vadot    items:
20c66ec88fSEmmanuel Vadot      - const: brcm,dmc-520
21c66ec88fSEmmanuel Vadot      - const: arm,dmc-520
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadot  reg:
24c66ec88fSEmmanuel Vadot    maxItems: 1
25c66ec88fSEmmanuel Vadot
26c66ec88fSEmmanuel Vadot  interrupts:
27c66ec88fSEmmanuel Vadot    minItems: 1
28c66ec88fSEmmanuel Vadot    maxItems: 10
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot  interrupt-names:
31c66ec88fSEmmanuel Vadot    minItems: 1
32c66ec88fSEmmanuel Vadot    maxItems: 10
33c66ec88fSEmmanuel Vadot    items:
34c66ec88fSEmmanuel Vadot      enum:
35c66ec88fSEmmanuel Vadot        - ram_ecc_errc
36c66ec88fSEmmanuel Vadot        - ram_ecc_errd
37c66ec88fSEmmanuel Vadot        - dram_ecc_errc
38c66ec88fSEmmanuel Vadot        - dram_ecc_errd
39c66ec88fSEmmanuel Vadot        - failed_access
40c66ec88fSEmmanuel Vadot        - failed_prog
41c66ec88fSEmmanuel Vadot        - link_err
42c66ec88fSEmmanuel Vadot        - temperature_event
43c66ec88fSEmmanuel Vadot        - arch_fsm
44c66ec88fSEmmanuel Vadot        - phy_request
45c66ec88fSEmmanuel Vadot
46c66ec88fSEmmanuel Vadotrequired:
47c66ec88fSEmmanuel Vadot  - compatible
48c66ec88fSEmmanuel Vadot  - reg
49c66ec88fSEmmanuel Vadot  - interrupts
50c66ec88fSEmmanuel Vadot  - interrupt-names
51c66ec88fSEmmanuel Vadot
52*6be33864SEmmanuel VadotadditionalProperties: false
53*6be33864SEmmanuel Vadot
54c66ec88fSEmmanuel Vadotexamples:
55c66ec88fSEmmanuel Vadot  - |
56c66ec88fSEmmanuel Vadot    dmc0: dmc@200000 {
57c66ec88fSEmmanuel Vadot        compatible = "brcm,dmc-520", "arm,dmc-520";
58c66ec88fSEmmanuel Vadot        reg = <0x200000 0x80000>;
59c66ec88fSEmmanuel Vadot        interrupts = <0x0 0x349 0x4>, <0x0 0x34B 0x4>;
60c66ec88fSEmmanuel Vadot        interrupt-names = "dram_ecc_errc", "dram_ecc_errd";
61c66ec88fSEmmanuel Vadot    };
62