xlnx,versal-ddrmc-edac.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/memory-controllers/xlnx,versal-ddrmc-edac.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Xilinx Versal DDRMC (Integrated DDR Memory Controller)
  7. maintainers:
  8. - Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
  9. - Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
  10. description:
  11. The integrated DDR Memory Controllers (DDRMCs) support both DDR4 and LPDDR4/
  12. 4X memory interfaces. Versal DDR memory controller has an optional ECC support
  13. which correct single bit ECC errors and detect double bit ECC errors.
  14. properties:
  15. compatible:
  16. const: xlnx,versal-ddrmc
  17. reg:
  18. items:
  19. - description: DDR Memory Controller registers
  20. - description: NOC registers corresponding to DDR Memory Controller
  21. reg-names:
  22. items:
  23. - const: base
  24. - const: noc
  25. interrupts:
  26. maxItems: 1
  27. required:
  28. - compatible
  29. - reg
  30. - reg-names
  31. - interrupts
  32. additionalProperties: false
  33. examples:
  34. - |
  35. #include <dt-bindings/interrupt-controller/arm-gic.h>
  36. bus {
  37. #address-cells = <2>;
  38. #size-cells = <2>;
  39. memory-controller@f6150000 {
  40. compatible = "xlnx,versal-ddrmc";
  41. reg = <0x0 0xf6150000 0x0 0x2000>, <0x0 0xf6070000 0x0 0x20000>;
  42. reg-names = "base", "noc";
  43. interrupt-parent = <&gic>;
  44. interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
  45. };
  46. };