xref: /freebsd/sys/contrib/device-tree/Bindings/memory-controllers/ddr/jedec,lpddr5.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1*8bab661aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*8bab661aSEmmanuel Vadot%YAML 1.2
3*8bab661aSEmmanuel Vadot---
4*8bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr5.yaml#
5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8bab661aSEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: LPDDR5 SDRAM compliant to JEDEC JESD209-5
8*8bab661aSEmmanuel Vadot
9*8bab661aSEmmanuel Vadotmaintainers:
10*8bab661aSEmmanuel Vadot  - Krzysztof Kozlowski <krzk@kernel.org>
11*8bab661aSEmmanuel Vadot
12*8bab661aSEmmanuel VadotallOf:
13*8bab661aSEmmanuel Vadot  - $ref: jedec,lpddr-props.yaml#
14*8bab661aSEmmanuel Vadot
15*8bab661aSEmmanuel Vadotproperties:
16*8bab661aSEmmanuel Vadot  compatible:
17*8bab661aSEmmanuel Vadot    items:
18*8bab661aSEmmanuel Vadot      - pattern: "^lpddr5-[0-9a-f]{2},[0-9a-f]{4}$"
19*8bab661aSEmmanuel Vadot      - const: jedec,lpddr5
20*8bab661aSEmmanuel Vadot
21*8bab661aSEmmanuel Vadot  serial-id:
22*8bab661aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32-array
23*8bab661aSEmmanuel Vadot    description:
24*8bab661aSEmmanuel Vadot      Serial IDs read from Mode Registers 47 through 54. One byte per uint32
25*8bab661aSEmmanuel Vadot      cell (i.e. <MR47 MR48 MR49 MR50 MR51 MR52 MR53 MR54>).
26*8bab661aSEmmanuel Vadot    maxItems: 8
27*8bab661aSEmmanuel Vadot    items:
28*8bab661aSEmmanuel Vadot      minimum: 0
29*8bab661aSEmmanuel Vadot      maximum: 255
30*8bab661aSEmmanuel Vadot
31*8bab661aSEmmanuel Vadotrequired:
32*8bab661aSEmmanuel Vadot  - compatible
33*8bab661aSEmmanuel Vadot  - density
34*8bab661aSEmmanuel Vadot  - io-width
35*8bab661aSEmmanuel Vadot
36*8bab661aSEmmanuel VadotunevaluatedProperties: false
37*8bab661aSEmmanuel Vadot
38*8bab661aSEmmanuel Vadotexamples:
39*8bab661aSEmmanuel Vadot  - |
40*8bab661aSEmmanuel Vadot    lpddr {
41*8bab661aSEmmanuel Vadot        compatible = "lpddr5-01,0200", "jedec,lpddr5";
42*8bab661aSEmmanuel Vadot        density = <8192>;
43*8bab661aSEmmanuel Vadot        io-width = <8>;
44*8bab661aSEmmanuel Vadot        revision-id = <2 0>;
45*8bab661aSEmmanuel Vadot        serial-id = <3 1 0 0 0 0 0 0>;
46*8bab661aSEmmanuel Vadot    };
47