xref: /linux/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr2-timings.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1425fd283SKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2425fd283SKrzysztof Kozlowski%YAML 1.2
3425fd283SKrzysztof Kozlowski---
4425fd283SKrzysztof Kozlowski$id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr2-timings.yaml#
5425fd283SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6425fd283SKrzysztof Kozlowski
7425fd283SKrzysztof Kozlowskititle: LPDDR2 SDRAM AC timing parameters for a given speed-bin
8425fd283SKrzysztof Kozlowski
9425fd283SKrzysztof Kozlowskimaintainers:
10*8a1e6bb3SKrzysztof Kozlowski  - Krzysztof Kozlowski <krzk@kernel.org>
11425fd283SKrzysztof Kozlowski
12425fd283SKrzysztof Kozlowskiproperties:
13425fd283SKrzysztof Kozlowski  compatible:
14425fd283SKrzysztof Kozlowski    const: jedec,lpddr2-timings
15425fd283SKrzysztof Kozlowski
16425fd283SKrzysztof Kozlowski  max-freq:
17425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
18425fd283SKrzysztof Kozlowski    description: |
19425fd283SKrzysztof Kozlowski      Maximum DDR clock frequency for the speed-bin, in Hz.
20425fd283SKrzysztof Kozlowski
21425fd283SKrzysztof Kozlowski  min-freq:
22425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
23425fd283SKrzysztof Kozlowski    description: |
24425fd283SKrzysztof Kozlowski      Minimum DDR clock frequency for the speed-bin, in Hz.
25425fd283SKrzysztof Kozlowski
26425fd283SKrzysztof Kozlowski  tCKESR:
27425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
28425fd283SKrzysztof Kozlowski    description: |
29425fd283SKrzysztof Kozlowski      CKE minimum pulse width during SELF REFRESH (low pulse width during
30425fd283SKrzysztof Kozlowski      SELF REFRESH) in pico seconds.
31425fd283SKrzysztof Kozlowski
32425fd283SKrzysztof Kozlowski  tDQSCK-max:
33425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
34425fd283SKrzysztof Kozlowski    description: |
35425fd283SKrzysztof Kozlowski      DQS output data access time from CK_t/CK_c in pico seconds.
36425fd283SKrzysztof Kozlowski
37425fd283SKrzysztof Kozlowski  tDQSCK-max-derated:
38425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
39425fd283SKrzysztof Kozlowski    description: |
40425fd283SKrzysztof Kozlowski      DQS output data access time from CK_t/CK_c, temperature de-rated, in pico
41425fd283SKrzysztof Kozlowski      seconds.
42425fd283SKrzysztof Kozlowski
43425fd283SKrzysztof Kozlowski  tFAW:
44425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
45425fd283SKrzysztof Kozlowski    description: |
46425fd283SKrzysztof Kozlowski      Four-bank activate window in pico seconds.
47425fd283SKrzysztof Kozlowski
48425fd283SKrzysztof Kozlowski  tRAS-max-ns:
49425fd283SKrzysztof Kozlowski    description: |
50425fd283SKrzysztof Kozlowski      Row active time in nano seconds.
51425fd283SKrzysztof Kozlowski
52425fd283SKrzysztof Kozlowski  tRAS-min:
53425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
54425fd283SKrzysztof Kozlowski    description: |
55425fd283SKrzysztof Kozlowski      Row active time in pico seconds.
56425fd283SKrzysztof Kozlowski
57425fd283SKrzysztof Kozlowski  tRCD:
58425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
59425fd283SKrzysztof Kozlowski    description: |
60425fd283SKrzysztof Kozlowski      RAS-to-CAS delay in pico seconds.
61425fd283SKrzysztof Kozlowski
62425fd283SKrzysztof Kozlowski  tRPab:
63425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
64425fd283SKrzysztof Kozlowski    description: |
65425fd283SKrzysztof Kozlowski      Row precharge time (all banks) in pico seconds.
66425fd283SKrzysztof Kozlowski
67425fd283SKrzysztof Kozlowski  tRRD:
68425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
69425fd283SKrzysztof Kozlowski    description: |
70425fd283SKrzysztof Kozlowski      Active bank A to active bank B in pico seconds.
71425fd283SKrzysztof Kozlowski
72425fd283SKrzysztof Kozlowski  tRTP:
73425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
74425fd283SKrzysztof Kozlowski    description: |
75425fd283SKrzysztof Kozlowski      Internal READ to PRECHARGE command delay in pico seconds.
76425fd283SKrzysztof Kozlowski
77425fd283SKrzysztof Kozlowski  tWR:
78425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
79425fd283SKrzysztof Kozlowski    description: |
80425fd283SKrzysztof Kozlowski      WRITE recovery time in pico seconds.
81425fd283SKrzysztof Kozlowski
82425fd283SKrzysztof Kozlowski  tWTR:
83425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
84425fd283SKrzysztof Kozlowski    description: |
85425fd283SKrzysztof Kozlowski      Internal WRITE-to-READ command delay in pico seconds.
86425fd283SKrzysztof Kozlowski
87425fd283SKrzysztof Kozlowski  tXP:
88425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
89425fd283SKrzysztof Kozlowski    description: |
90425fd283SKrzysztof Kozlowski      Exit power-down to next valid command delay in pico seconds.
91425fd283SKrzysztof Kozlowski
92425fd283SKrzysztof Kozlowski  tZQCL:
93425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
94425fd283SKrzysztof Kozlowski    description: |
95425fd283SKrzysztof Kozlowski      Long calibration time in pico seconds.
96425fd283SKrzysztof Kozlowski
97425fd283SKrzysztof Kozlowski  tZQCS:
98425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
99425fd283SKrzysztof Kozlowski    description: |
100425fd283SKrzysztof Kozlowski      Short calibration time in pico seconds.
101425fd283SKrzysztof Kozlowski
102425fd283SKrzysztof Kozlowski  tZQinit:
103425fd283SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
104425fd283SKrzysztof Kozlowski    description: |
105425fd283SKrzysztof Kozlowski      Initialization calibration time in pico seconds.
106425fd283SKrzysztof Kozlowski
107425fd283SKrzysztof Kozlowskirequired:
108425fd283SKrzysztof Kozlowski  - compatible
109425fd283SKrzysztof Kozlowski  - min-freq
110425fd283SKrzysztof Kozlowski  - max-freq
111425fd283SKrzysztof Kozlowski
112425fd283SKrzysztof KozlowskiadditionalProperties: false
113425fd283SKrzysztof Kozlowski
114425fd283SKrzysztof Kozlowskiexamples:
115425fd283SKrzysztof Kozlowski  - |
116425fd283SKrzysztof Kozlowski    timings {
117425fd283SKrzysztof Kozlowski        compatible = "jedec,lpddr2-timings";
118425fd283SKrzysztof Kozlowski        min-freq = <10000000>;
119425fd283SKrzysztof Kozlowski        max-freq = <400000000>;
120425fd283SKrzysztof Kozlowski        tCKESR = <15000>;
121425fd283SKrzysztof Kozlowski        tDQSCK-max = <5500>;
122425fd283SKrzysztof Kozlowski        tFAW = <50000>;
123425fd283SKrzysztof Kozlowski        tRAS-max-ns = <70000>;
124425fd283SKrzysztof Kozlowski        tRAS-min = <42000>;
125425fd283SKrzysztof Kozlowski        tRPab = <21000>;
126425fd283SKrzysztof Kozlowski        tRCD = <18000>;
127425fd283SKrzysztof Kozlowski        tRRD = <10000>;
128425fd283SKrzysztof Kozlowski        tRTP = <7500>;
129425fd283SKrzysztof Kozlowski        tWR = <15000>;
130425fd283SKrzysztof Kozlowski        tWTR = <7500>;
131425fd283SKrzysztof Kozlowski        tXP = <7500>;
132425fd283SKrzysztof Kozlowski        tZQCL = <360000>;
133425fd283SKrzysztof Kozlowski        tZQCS = <90000>;
134425fd283SKrzysztof Kozlowski        tZQinit = <1000000>;
135425fd283SKrzysztof Kozlowski    };
136