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,lpddr4.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: LPDDR4 SDRAM compliant to JEDEC JESD209-4
8
9maintainers:
10  - Krzysztof Kozlowski <krzk@kernel.org>
11
12allOf:
13  - $ref: jedec,lpddr-props.yaml#
14
15properties:
16  compatible:
17    items:
18      - pattern: "^lpddr4-[0-9a-f]{2},[0-9a-f]{4}$"
19      - const: jedec,lpddr4
20
21required:
22  - compatible
23  - density
24  - io-width
25
26unevaluatedProperties: false
27
28examples:
29  - |
30    lpddr {
31        compatible = "lpddr4-ff,0100", "jedec,lpddr4";
32        density = <8192>;
33        io-width = <16>;
34        revision-id = <1 0>;
35    };
36