jedec,lpddr5.yaml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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/ddr/jedec,lpddr5.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: LPDDR5 SDRAM compliant to JEDEC JESD209-5
  7. maintainers:
  8. - Krzysztof Kozlowski <krzk@kernel.org>
  9. allOf:
  10. - $ref: jedec,lpddr-props.yaml#
  11. properties:
  12. compatible:
  13. items:
  14. - pattern: "^lpddr5-[0-9a-f]{2},[0-9a-f]{4}$"
  15. - const: jedec,lpddr5
  16. serial-id:
  17. $ref: /schemas/types.yaml#/definitions/uint32-array
  18. description:
  19. Serial IDs read from Mode Registers 47 through 54. One byte per uint32
  20. cell (i.e. <MR47 MR48 MR49 MR50 MR51 MR52 MR53 MR54>).
  21. maxItems: 8
  22. items:
  23. minimum: 0
  24. maximum: 255
  25. required:
  26. - compatible
  27. - density
  28. - io-width
  29. unevaluatedProperties: false
  30. examples:
  31. - |
  32. lpddr {
  33. compatible = "lpddr5-01,0200", "jedec,lpddr5";
  34. density = <8192>;
  35. io-width = <8>;
  36. revision-id = <2 0>;
  37. serial-id = <3 1 0 0 0 0 0 0>;
  38. };