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