xref: /linux/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr3-timings.yaml (revision 8a1e6bb3f78f06432e095758476358d8cb63c03d)
1180a276cSKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2180a276cSKrzysztof Kozlowski%YAML 1.2
3180a276cSKrzysztof Kozlowski---
4180a276cSKrzysztof Kozlowski$id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr3-timings.yaml#
5180a276cSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6180a276cSKrzysztof Kozlowski
7180a276cSKrzysztof Kozlowskititle: LPDDR3 SDRAM AC timing parameters for a given speed-bin
8180a276cSKrzysztof Kozlowski
9180a276cSKrzysztof Kozlowskimaintainers:
10*8a1e6bb3SKrzysztof Kozlowski  - Krzysztof Kozlowski <krzk@kernel.org>
11180a276cSKrzysztof Kozlowski
12180a276cSKrzysztof Kozlowskiproperties:
13180a276cSKrzysztof Kozlowski  compatible:
14180a276cSKrzysztof Kozlowski    const: jedec,lpddr3-timings
15180a276cSKrzysztof Kozlowski
16180a276cSKrzysztof Kozlowski  reg:
17180a276cSKrzysztof Kozlowski    maxItems: 1
18180a276cSKrzysztof Kozlowski    description: |
19180a276cSKrzysztof Kozlowski      Maximum DDR clock frequency for the speed-bin, in Hz.
2042f94bb9SKrzysztof Kozlowski      Property is deprecated, use max-freq.
2142f94bb9SKrzysztof Kozlowski    deprecated: true
2242f94bb9SKrzysztof Kozlowski
2342f94bb9SKrzysztof Kozlowski  max-freq:
2442f94bb9SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
2542f94bb9SKrzysztof Kozlowski    description: |
2642f94bb9SKrzysztof Kozlowski      Maximum DDR clock frequency for the speed-bin, in Hz.
27180a276cSKrzysztof Kozlowski
28180a276cSKrzysztof Kozlowski  min-freq:
29180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
30180a276cSKrzysztof Kozlowski    description: |
31180a276cSKrzysztof Kozlowski      Minimum DDR clock frequency for the speed-bin, in Hz.
32180a276cSKrzysztof Kozlowski
33180a276cSKrzysztof Kozlowski  tCKE:
34180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
35180a276cSKrzysztof Kozlowski    description: |
36180a276cSKrzysztof Kozlowski      CKE minimum pulse width (HIGH and LOW pulse width) in pico seconds.
37180a276cSKrzysztof Kozlowski
38180a276cSKrzysztof Kozlowski  tCKESR:
39180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
40180a276cSKrzysztof Kozlowski    description: |
41180a276cSKrzysztof Kozlowski      CKE minimum pulse width during SELF REFRESH (low pulse width during
42180a276cSKrzysztof Kozlowski      SELF REFRESH) in pico seconds.
43180a276cSKrzysztof Kozlowski
44180a276cSKrzysztof Kozlowski  tFAW:
45180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
46180a276cSKrzysztof Kozlowski    description: |
47180a276cSKrzysztof Kozlowski      Four-bank activate window in pico seconds.
48180a276cSKrzysztof Kozlowski
49180a276cSKrzysztof Kozlowski  tMRD:
50180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
51180a276cSKrzysztof Kozlowski    description: |
52180a276cSKrzysztof Kozlowski      Mode register set command delay in pico seconds.
53180a276cSKrzysztof Kozlowski
54180a276cSKrzysztof Kozlowski  tR2R-C2C:
55180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
56180a276cSKrzysztof Kozlowski    description: |
57180a276cSKrzysztof Kozlowski      Additional READ-to-READ delay in chip-to-chip cases in pico seconds.
58180a276cSKrzysztof Kozlowski
59180a276cSKrzysztof Kozlowski  tRAS:
60180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
61180a276cSKrzysztof Kozlowski    description: |
62180a276cSKrzysztof Kozlowski      Row active time in pico seconds.
63180a276cSKrzysztof Kozlowski
64180a276cSKrzysztof Kozlowski  tRC:
65180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
66180a276cSKrzysztof Kozlowski    description: |
67180a276cSKrzysztof Kozlowski      ACTIVATE-to-ACTIVATE command period in pico seconds.
68180a276cSKrzysztof Kozlowski
69180a276cSKrzysztof Kozlowski  tRCD:
70180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
71180a276cSKrzysztof Kozlowski    description: |
72180a276cSKrzysztof Kozlowski      RAS-to-CAS delay in pico seconds.
73180a276cSKrzysztof Kozlowski
74180a276cSKrzysztof Kozlowski  tRFC:
75180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
76180a276cSKrzysztof Kozlowski    description: |
77180a276cSKrzysztof Kozlowski      Refresh Cycle time in pico seconds.
78180a276cSKrzysztof Kozlowski
79180a276cSKrzysztof Kozlowski  tRPab:
80180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
81180a276cSKrzysztof Kozlowski    description: |
82180a276cSKrzysztof Kozlowski      Row precharge time (all banks) in pico seconds.
83180a276cSKrzysztof Kozlowski
84180a276cSKrzysztof Kozlowski  tRPpb:
85180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
86180a276cSKrzysztof Kozlowski    description: |
87180a276cSKrzysztof Kozlowski      Row precharge time (single banks) in pico seconds.
88180a276cSKrzysztof Kozlowski
89180a276cSKrzysztof Kozlowski  tRRD:
90180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
91180a276cSKrzysztof Kozlowski    description: |
92180a276cSKrzysztof Kozlowski      Active bank A to active bank B in pico seconds.
93180a276cSKrzysztof Kozlowski
94180a276cSKrzysztof Kozlowski  tRTP:
95180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
96180a276cSKrzysztof Kozlowski    description: |
97180a276cSKrzysztof Kozlowski      Internal READ to PRECHARGE command delay in pico seconds.
98180a276cSKrzysztof Kozlowski
99180a276cSKrzysztof Kozlowski  tW2W-C2C:
100180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
101180a276cSKrzysztof Kozlowski    description: |
102180a276cSKrzysztof Kozlowski      Additional WRITE-to-WRITE delay in chip-to-chip cases in pico seconds.
103180a276cSKrzysztof Kozlowski
104180a276cSKrzysztof Kozlowski  tWR:
105180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
106180a276cSKrzysztof Kozlowski    description: |
107180a276cSKrzysztof Kozlowski      WRITE recovery time in pico seconds.
108180a276cSKrzysztof Kozlowski
109180a276cSKrzysztof Kozlowski  tWTR:
110180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
111180a276cSKrzysztof Kozlowski    description: |
112180a276cSKrzysztof Kozlowski      Internal WRITE-to-READ command delay in pico seconds.
113180a276cSKrzysztof Kozlowski
114180a276cSKrzysztof Kozlowski  tXP:
115180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
116180a276cSKrzysztof Kozlowski    description: |
117180a276cSKrzysztof Kozlowski      Exit power-down to next valid command delay in pico seconds.
118180a276cSKrzysztof Kozlowski
119180a276cSKrzysztof Kozlowski  tXSR:
120180a276cSKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/uint32
121180a276cSKrzysztof Kozlowski    description: |
122180a276cSKrzysztof Kozlowski      SELF REFRESH exit to next valid command delay in pico seconds.
123180a276cSKrzysztof Kozlowski
124180a276cSKrzysztof Kozlowskirequired:
125180a276cSKrzysztof Kozlowski  - compatible
126180a276cSKrzysztof Kozlowski  - min-freq
12742f94bb9SKrzysztof Kozlowski  - max-freq
128180a276cSKrzysztof Kozlowski
129180a276cSKrzysztof KozlowskiadditionalProperties: false
130180a276cSKrzysztof Kozlowski
131180a276cSKrzysztof Kozlowskiexamples:
132180a276cSKrzysztof Kozlowski  - |
133180a276cSKrzysztof Kozlowski    lpddr3 {
13442f94bb9SKrzysztof Kozlowski        timings {
135180a276cSKrzysztof Kozlowski            compatible = "jedec,lpddr3-timings";
13642f94bb9SKrzysztof Kozlowski            max-freq = <800000000>;
137180a276cSKrzysztof Kozlowski            min-freq = <100000000>;
138180a276cSKrzysztof Kozlowski            tCKE = <3750>;
139180a276cSKrzysztof Kozlowski            tCKESR = <3750>;
140180a276cSKrzysztof Kozlowski            tFAW = <25000>;
141180a276cSKrzysztof Kozlowski            tMRD = <7000>;
142180a276cSKrzysztof Kozlowski            tR2R-C2C = <0>;
143180a276cSKrzysztof Kozlowski            tRAS = <23000>;
144180a276cSKrzysztof Kozlowski            tRC = <33750>;
145180a276cSKrzysztof Kozlowski            tRCD = <10000>;
146180a276cSKrzysztof Kozlowski            tRFC = <65000>;
147180a276cSKrzysztof Kozlowski            tRPab = <12000>;
148180a276cSKrzysztof Kozlowski            tRPpb = <12000>;
149180a276cSKrzysztof Kozlowski            tRRD = <6000>;
150180a276cSKrzysztof Kozlowski            tRTP = <3750>;
151180a276cSKrzysztof Kozlowski            tW2W-C2C = <0>;
152180a276cSKrzysztof Kozlowski            tWR = <7500>;
153180a276cSKrzysztof Kozlowski            tWTR = <3750>;
154180a276cSKrzysztof Kozlowski            tXP = <3750>;
155180a276cSKrzysztof Kozlowski            tXSR = <70000>;
156180a276cSKrzysztof Kozlowski        };
157180a276cSKrzysztof Kozlowski    };
158