summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr5.yaml
blob: e441dac5f154451886258ce6e25e069715c55290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr5.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: LPDDR5 SDRAM compliant to JEDEC JESD209-5

maintainers:
  - Krzysztof Kozlowski <krzk@kernel.org>

allOf:
  - $ref: jedec,lpddr-props.yaml#

properties:
  compatible:
    items:
      - pattern: "^lpddr5-[0-9a-f]{2},[0-9a-f]{4}$"
      - const: jedec,lpddr5

  serial-id:
    $ref: /schemas/types.yaml#/definitions/uint32-array
    description:
      Serial IDs read from Mode Registers 47 through 54. One byte per uint32
      cell (i.e. <MR47 MR48 MR49 MR50 MR51 MR52 MR53 MR54>).
    maxItems: 8
    items:
      minimum: 0
      maximum: 255

required:
  - compatible
  - density
  - io-width

unevaluatedProperties: false

examples:
  - |
    lpddr {
        compatible = "lpddr5-01,0200", "jedec,lpddr5";
        density = <8192>;
        io-width = <8>;
        revision-id = <2 0>;
        serial-id = <3 1 0 0 0 0 0 0>;
    };