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