xref: /linux/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr-props.yaml (revision b7178cd53ff954b031bf96aed322ab185e0e7f58)
1*b7178cd5SJulius Werner# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*b7178cd5SJulius Werner%YAML 1.2
3*b7178cd5SJulius Werner---
4*b7178cd5SJulius Werner$id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr-props.yaml#
5*b7178cd5SJulius Werner$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b7178cd5SJulius Werner
7*b7178cd5SJulius Wernertitle: Common properties for LPDDR types
8*b7178cd5SJulius Werner
9*b7178cd5SJulius Wernerdescription:
10*b7178cd5SJulius Werner  Different LPDDR types generally use the same properties and only differ in the
11*b7178cd5SJulius Werner  range of legal values for each. This file defines the common parts that can be
12*b7178cd5SJulius Werner  reused for each type.
13*b7178cd5SJulius Werner
14*b7178cd5SJulius Wernermaintainers:
15*b7178cd5SJulius Werner  - Krzysztof Kozlowski <krzk@kernel.org>
16*b7178cd5SJulius Werner
17*b7178cd5SJulius Wernerproperties:
18*b7178cd5SJulius Werner  revision-id:
19*b7178cd5SJulius Werner    $ref: /schemas/types.yaml#/definitions/uint32-array
20*b7178cd5SJulius Werner    description:
21*b7178cd5SJulius Werner      Revision IDs read from Mode Register 6 and 7. One byte per uint32 cell (i.e. <MR6 MR7>).
22*b7178cd5SJulius Werner    maxItems: 2
23*b7178cd5SJulius Werner    items:
24*b7178cd5SJulius Werner      minimum: 0
25*b7178cd5SJulius Werner      maximum: 255
26*b7178cd5SJulius Werner
27*b7178cd5SJulius Werner  density:
28*b7178cd5SJulius Werner    $ref: /schemas/types.yaml#/definitions/uint32
29*b7178cd5SJulius Werner    description:
30*b7178cd5SJulius Werner      Density in megabits of SDRAM chip. Decoded from Mode Register 8.
31*b7178cd5SJulius Werner    enum:
32*b7178cd5SJulius Werner      - 64
33*b7178cd5SJulius Werner      - 128
34*b7178cd5SJulius Werner      - 256
35*b7178cd5SJulius Werner      - 512
36*b7178cd5SJulius Werner      - 1024
37*b7178cd5SJulius Werner      - 2048
38*b7178cd5SJulius Werner      - 4096
39*b7178cd5SJulius Werner      - 8192
40*b7178cd5SJulius Werner      - 16384
41*b7178cd5SJulius Werner      - 32768
42*b7178cd5SJulius Werner
43*b7178cd5SJulius Werner  io-width:
44*b7178cd5SJulius Werner    $ref: /schemas/types.yaml#/definitions/uint32
45*b7178cd5SJulius Werner    description:
46*b7178cd5SJulius Werner      IO bus width in bits of SDRAM chip. Decoded from Mode Register 8.
47*b7178cd5SJulius Werner    enum:
48*b7178cd5SJulius Werner      - 8
49*b7178cd5SJulius Werner      - 16
50*b7178cd5SJulius Werner      - 32
51*b7178cd5SJulius Werner
52*b7178cd5SJulius WerneradditionalProperties: true
53