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
7title: LPDDR5 SDRAM compliant to JEDEC JESD209-5
8
9maintainers:
10  - Krzysztof Kozlowski <krzk@kernel.org>
11
12allOf:
13  - $ref: jedec,lpddr-props.yaml#
14
15properties:
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
31required:
32  - compatible
33  - density
34  - io-width
35
36unevaluatedProperties: false
37
38examples:
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    };
47