dmc-520.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/edac/dmc-520.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: ARM DMC-520 EDAC
  7. maintainers:
  8. - Lei Wang <lewan@microsoft.com>
  9. description: |+
  10. DMC-520 node is defined to describe DRAM error detection and correction.
  11. https://static.docs.arm.com/100000/0200/corelink_dmc520_trm_100000_0200_01_en.pdf
  12. properties:
  13. compatible:
  14. items:
  15. - const: brcm,dmc-520
  16. - const: arm,dmc-520
  17. reg:
  18. maxItems: 1
  19. interrupts:
  20. minItems: 1
  21. maxItems: 10
  22. interrupt-names:
  23. minItems: 1
  24. maxItems: 10
  25. items:
  26. enum:
  27. - ram_ecc_errc
  28. - ram_ecc_errd
  29. - dram_ecc_errc
  30. - dram_ecc_errd
  31. - failed_access
  32. - failed_prog
  33. - link_err
  34. - temperature_event
  35. - arch_fsm
  36. - phy_request
  37. required:
  38. - compatible
  39. - reg
  40. - interrupts
  41. - interrupt-names
  42. additionalProperties: false
  43. examples:
  44. - |
  45. dmc0: dmc@200000 {
  46. compatible = "brcm,dmc-520", "arm,dmc-520";
  47. reg = <0x200000 0x80000>;
  48. interrupts = <0x0 0x349 0x4>, <0x0 0x34B 0x4>;
  49. interrupt-names = "dram_ecc_errc", "dram_ecc_errd";
  50. };