nuvoton,npcm-memory-controller.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/memory-controllers/nuvoton,npcm-memory-controller.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Nuvoton NPCM Memory Controller
  7. maintainers:
  8. - Marvin Lin <kflin@nuvoton.com>
  9. - Stanley Chu <yschu@nuvoton.com>
  10. description: |
  11. The Nuvoton BMC SoC supports DDR4 memory with or without ECC (error correction
  12. check).
  13. The memory controller supports single bit error correction, double bit error
  14. detection (in-line ECC in which a section (1/8th) of the memory device used to
  15. store data is used for ECC storage).
  16. Note, the bootloader must configure ECC mode for the memory controller.
  17. properties:
  18. compatible:
  19. enum:
  20. - nuvoton,npcm750-memory-controller
  21. - nuvoton,npcm845-memory-controller
  22. reg:
  23. maxItems: 1
  24. interrupts:
  25. maxItems: 1
  26. required:
  27. - compatible
  28. - reg
  29. - interrupts
  30. additionalProperties: false
  31. examples:
  32. - |
  33. #include <dt-bindings/interrupt-controller/arm-gic.h>
  34. mc: memory-controller@f0824000 {
  35. compatible = "nuvoton,npcm750-memory-controller";
  36. reg = <0xf0824000 0x1000>;
  37. interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
  38. };