blob: 67dd4e7059f08a64bdf23f4e943beeffed7aed68 [file] [log] [blame]
Peng Fan692f9432018-11-20 10:19:57 +00001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2018 NXP
4 */
5
6#include <linux/kernel.h>
7#include <asm/arch/ddr.h>
8
9/* ddr phy trained csr */
10struct dram_cfg_param ddrphy_trained_csr[] = {
11 { 0x200b2, 0x0 },
12 { 0x1200b2, 0x0 },
13 { 0x2200b2, 0x0 },
14 { 0x200cb, 0x0 },
15 { 0x10043, 0x0 },
16 { 0x110043, 0x0 },
17 { 0x210043, 0x0 },
18 { 0x10143, 0x0 },
19 { 0x110143, 0x0 },
20 { 0x210143, 0x0 },
21 { 0x11043, 0x0 },
22 { 0x111043, 0x0 },
23 { 0x211043, 0x0 },
24 { 0x11143, 0x0 },
25 { 0x111143, 0x0 },
26 { 0x211143, 0x0 },
27 { 0x12043, 0x0 },
28 { 0x112043, 0x0 },
29 { 0x212043, 0x0 },
30 { 0x12143, 0x0 },
31 { 0x112143, 0x0 },
32 { 0x212143, 0x0 },
33 { 0x13043, 0x0 },
34 { 0x113043, 0x0 },
35 { 0x213043, 0x0 },
36 { 0x13143, 0x0 },
37 { 0x113143, 0x0 },
38 { 0x213143, 0x0 },
39 { 0x80, 0x0 },
40 { 0x100080, 0x0 },
41 { 0x200080, 0x0 },
42 { 0x1080, 0x0 },
43 { 0x101080, 0x0 },
44 { 0x201080, 0x0 },
45 { 0x2080, 0x0 },
46 { 0x102080, 0x0 },
47 { 0x202080, 0x0 },
48 { 0x3080, 0x0 },
49 { 0x103080, 0x0 },
50 { 0x203080, 0x0 },
51 { 0x4080, 0x0 },
52 { 0x104080, 0x0 },
53 { 0x204080, 0x0 },
54 { 0x5080, 0x0 },
55 { 0x105080, 0x0 },
56 { 0x205080, 0x0 },
57 { 0x6080, 0x0 },
58 { 0x106080, 0x0 },
59 { 0x206080, 0x0 },
60 { 0x7080, 0x0 },
61 { 0x107080, 0x0 },
62 { 0x207080, 0x0 },
63 { 0x8080, 0x0 },
64 { 0x108080, 0x0 },
65 { 0x208080, 0x0 },
66 { 0x9080, 0x0 },
67 { 0x109080, 0x0 },
68 { 0x209080, 0x0 },
69 { 0x10080, 0x0 },
70 { 0x110080, 0x0 },
71 { 0x210080, 0x0 },
72 { 0x10180, 0x0 },
73 { 0x110180, 0x0 },
74 { 0x210180, 0x0 },
75 { 0x11080, 0x0 },
76 { 0x111080, 0x0 },
77 { 0x211080, 0x0 },
78 { 0x11180, 0x0 },
79 { 0x111180, 0x0 },
80 { 0x211180, 0x0 },
81 { 0x12080, 0x0 },
82 { 0x112080, 0x0 },
83 { 0x212080, 0x0 },
84 { 0x12180, 0x0 },
85 { 0x112180, 0x0 },
86 { 0x212180, 0x0 },
87 { 0x13080, 0x0 },
88 { 0x113080, 0x0 },
89 { 0x213080, 0x0 },
90 { 0x13180, 0x0 },
91 { 0x113180, 0x0 },
92 { 0x213180, 0x0 },
93 { 0x10081, 0x0 },
94 { 0x110081, 0x0 },
95 { 0x210081, 0x0 },
96 { 0x10181, 0x0 },
97 { 0x110181, 0x0 },
98 { 0x210181, 0x0 },
99 { 0x11081, 0x0 },
100 { 0x111081, 0x0 },
101 { 0x211081, 0x0 },
102 { 0x11181, 0x0 },
103 { 0x111181, 0x0 },
104 { 0x211181, 0x0 },
105 { 0x12081, 0x0 },
106 { 0x112081, 0x0 },
107 { 0x212081, 0x0 },
108 { 0x12181, 0x0 },
109 { 0x112181, 0x0 },
110 { 0x212181, 0x0 },
111 { 0x13081, 0x0 },
112 { 0x113081, 0x0 },
113 { 0x213081, 0x0 },
114 { 0x13181, 0x0 },
115 { 0x113181, 0x0 },
116 { 0x213181, 0x0 },
117 { 0x100d0, 0x0 },
118 { 0x1100d0, 0x0 },
119 { 0x2100d0, 0x0 },
120 { 0x101d0, 0x0 },
121 { 0x1101d0, 0x0 },
122 { 0x2101d0, 0x0 },
123 { 0x110d0, 0x0 },
124 { 0x1110d0, 0x0 },
125 { 0x2110d0, 0x0 },
126 { 0x111d0, 0x0 },
127 { 0x1111d0, 0x0 },
128 { 0x2111d0, 0x0 },
129 { 0x120d0, 0x0 },
130 { 0x1120d0, 0x0 },
131 { 0x2120d0, 0x0 },
132 { 0x121d0, 0x0 },
133 { 0x1121d0, 0x0 },
134 { 0x2121d0, 0x0 },
135 { 0x130d0, 0x0 },
136 { 0x1130d0, 0x0 },
137 { 0x2130d0, 0x0 },
138 { 0x131d0, 0x0 },
139 { 0x1131d0, 0x0 },
140 { 0x2131d0, 0x0 },
141 { 0x100d1, 0x0 },
142 { 0x1100d1, 0x0 },
143 { 0x2100d1, 0x0 },
144 { 0x101d1, 0x0 },
145 { 0x1101d1, 0x0 },
146 { 0x2101d1, 0x0 },
147 { 0x110d1, 0x0 },
148 { 0x1110d1, 0x0 },
149 { 0x2110d1, 0x0 },
150 { 0x111d1, 0x0 },
151 { 0x1111d1, 0x0 },
152 { 0x2111d1, 0x0 },
153 { 0x120d1, 0x0 },
154 { 0x1120d1, 0x0 },
155 { 0x2120d1, 0x0 },
156 { 0x121d1, 0x0 },
157 { 0x1121d1, 0x0 },
158 { 0x2121d1, 0x0 },
159 { 0x130d1, 0x0 },
160 { 0x1130d1, 0x0 },
161 { 0x2130d1, 0x0 },
162 { 0x131d1, 0x0 },
163 { 0x1131d1, 0x0 },
164 { 0x2131d1, 0x0 },
165 { 0x10068, 0x0 },
166 { 0x10168, 0x0 },
167 { 0x10268, 0x0 },
168 { 0x10368, 0x0 },
169 { 0x10468, 0x0 },
170 { 0x10568, 0x0 },
171 { 0x10668, 0x0 },
172 { 0x10768, 0x0 },
173 { 0x10868, 0x0 },
174 { 0x11068, 0x0 },
175 { 0x11168, 0x0 },
176 { 0x11268, 0x0 },
177 { 0x11368, 0x0 },
178 { 0x11468, 0x0 },
179 { 0x11568, 0x0 },
180 { 0x11668, 0x0 },
181 { 0x11768, 0x0 },
182 { 0x11868, 0x0 },
183 { 0x12068, 0x0 },
184 { 0x12168, 0x0 },
185 { 0x12268, 0x0 },
186 { 0x12368, 0x0 },
187 { 0x12468, 0x0 },
188 { 0x12568, 0x0 },
189 { 0x12668, 0x0 },
190 { 0x12768, 0x0 },
191 { 0x12868, 0x0 },
192 { 0x13068, 0x0 },
193 { 0x13168, 0x0 },
194 { 0x13268, 0x0 },
195 { 0x13368, 0x0 },
196 { 0x13468, 0x0 },
197 { 0x13568, 0x0 },
198 { 0x13668, 0x0 },
199 { 0x13768, 0x0 },
200 { 0x13868, 0x0 },
201 { 0x10069, 0x0 },
202 { 0x10169, 0x0 },
203 { 0x10269, 0x0 },
204 { 0x10369, 0x0 },
205 { 0x10469, 0x0 },
206 { 0x10569, 0x0 },
207 { 0x10669, 0x0 },
208 { 0x10769, 0x0 },
209 { 0x10869, 0x0 },
210 { 0x11069, 0x0 },
211 { 0x11169, 0x0 },
212 { 0x11269, 0x0 },
213 { 0x11369, 0x0 },
214 { 0x11469, 0x0 },
215 { 0x11569, 0x0 },
216 { 0x11669, 0x0 },
217 { 0x11769, 0x0 },
218 { 0x11869, 0x0 },
219 { 0x12069, 0x0 },
220 { 0x12169, 0x0 },
221 { 0x12269, 0x0 },
222 { 0x12369, 0x0 },
223 { 0x12469, 0x0 },
224 { 0x12569, 0x0 },
225 { 0x12669, 0x0 },
226 { 0x12769, 0x0 },
227 { 0x12869, 0x0 },
228 { 0x13069, 0x0 },
229 { 0x13169, 0x0 },
230 { 0x13269, 0x0 },
231 { 0x13369, 0x0 },
232 { 0x13469, 0x0 },
233 { 0x13569, 0x0 },
234 { 0x13669, 0x0 },
235 { 0x13769, 0x0 },
236 { 0x13869, 0x0 },
237 { 0x1008c, 0x0 },
238 { 0x11008c, 0x0 },
239 { 0x21008c, 0x0 },
240 { 0x1018c, 0x0 },
241 { 0x11018c, 0x0 },
242 { 0x21018c, 0x0 },
243 { 0x1108c, 0x0 },
244 { 0x11108c, 0x0 },
245 { 0x21108c, 0x0 },
246 { 0x1118c, 0x0 },
247 { 0x11118c, 0x0 },
248 { 0x21118c, 0x0 },
249 { 0x1208c, 0x0 },
250 { 0x11208c, 0x0 },
251 { 0x21208c, 0x0 },
252 { 0x1218c, 0x0 },
253 { 0x11218c, 0x0 },
254 { 0x21218c, 0x0 },
255 { 0x1308c, 0x0 },
256 { 0x11308c, 0x0 },
257 { 0x21308c, 0x0 },
258 { 0x1318c, 0x0 },
259 { 0x11318c, 0x0 },
260 { 0x21318c, 0x0 },
261 { 0x1008d, 0x0 },
262 { 0x11008d, 0x0 },
263 { 0x21008d, 0x0 },
264 { 0x1018d, 0x0 },
265 { 0x11018d, 0x0 },
266 { 0x21018d, 0x0 },
267 { 0x1108d, 0x0 },
268 { 0x11108d, 0x0 },
269 { 0x21108d, 0x0 },
270 { 0x1118d, 0x0 },
271 { 0x11118d, 0x0 },
272 { 0x21118d, 0x0 },
273 { 0x1208d, 0x0 },
274 { 0x11208d, 0x0 },
275 { 0x21208d, 0x0 },
276 { 0x1218d, 0x0 },
277 { 0x11218d, 0x0 },
278 { 0x21218d, 0x0 },
279 { 0x1308d, 0x0 },
280 { 0x11308d, 0x0 },
281 { 0x21308d, 0x0 },
282 { 0x1318d, 0x0 },
283 { 0x11318d, 0x0 },
284 { 0x21318d, 0x0 },
285 { 0x100c0, 0x0 },
286 { 0x1100c0, 0x0 },
287 { 0x2100c0, 0x0 },
288 { 0x101c0, 0x0 },
289 { 0x1101c0, 0x0 },
290 { 0x2101c0, 0x0 },
291 { 0x102c0, 0x0 },
292 { 0x1102c0, 0x0 },
293 { 0x2102c0, 0x0 },
294 { 0x103c0, 0x0 },
295 { 0x1103c0, 0x0 },
296 { 0x2103c0, 0x0 },
297 { 0x104c0, 0x0 },
298 { 0x1104c0, 0x0 },
299 { 0x2104c0, 0x0 },
300 { 0x105c0, 0x0 },
301 { 0x1105c0, 0x0 },
302 { 0x2105c0, 0x0 },
303 { 0x106c0, 0x0 },
304 { 0x1106c0, 0x0 },
305 { 0x2106c0, 0x0 },
306 { 0x107c0, 0x0 },
307 { 0x1107c0, 0x0 },
308 { 0x2107c0, 0x0 },
309 { 0x108c0, 0x0 },
310 { 0x1108c0, 0x0 },
311 { 0x2108c0, 0x0 },
312 { 0x110c0, 0x0 },
313 { 0x1110c0, 0x0 },
314 { 0x2110c0, 0x0 },
315 { 0x111c0, 0x0 },
316 { 0x1111c0, 0x0 },
317 { 0x2111c0, 0x0 },
318 { 0x112c0, 0x0 },
319 { 0x1112c0, 0x0 },
320 { 0x2112c0, 0x0 },
321 { 0x113c0, 0x0 },
322 { 0x1113c0, 0x0 },
323 { 0x2113c0, 0x0 },
324 { 0x114c0, 0x0 },
325 { 0x1114c0, 0x0 },
326 { 0x2114c0, 0x0 },
327 { 0x115c0, 0x0 },
328 { 0x1115c0, 0x0 },
329 { 0x2115c0, 0x0 },
330 { 0x116c0, 0x0 },
331 { 0x1116c0, 0x0 },
332 { 0x2116c0, 0x0 },
333 { 0x117c0, 0x0 },
334 { 0x1117c0, 0x0 },
335 { 0x2117c0, 0x0 },
336 { 0x118c0, 0x0 },
337 { 0x1118c0, 0x0 },
338 { 0x2118c0, 0x0 },
339 { 0x120c0, 0x0 },
340 { 0x1120c0, 0x0 },
341 { 0x2120c0, 0x0 },
342 { 0x121c0, 0x0 },
343 { 0x1121c0, 0x0 },
344 { 0x2121c0, 0x0 },
345 { 0x122c0, 0x0 },
346 { 0x1122c0, 0x0 },
347 { 0x2122c0, 0x0 },
348 { 0x123c0, 0x0 },
349 { 0x1123c0, 0x0 },
350 { 0x2123c0, 0x0 },
351 { 0x124c0, 0x0 },
352 { 0x1124c0, 0x0 },
353 { 0x2124c0, 0x0 },
354 { 0x125c0, 0x0 },
355 { 0x1125c0, 0x0 },
356 { 0x2125c0, 0x0 },
357 { 0x126c0, 0x0 },
358 { 0x1126c0, 0x0 },
359 { 0x2126c0, 0x0 },
360 { 0x127c0, 0x0 },
361 { 0x1127c0, 0x0 },
362 { 0x2127c0, 0x0 },
363 { 0x128c0, 0x0 },
364 { 0x1128c0, 0x0 },
365 { 0x2128c0, 0x0 },
366 { 0x130c0, 0x0 },
367 { 0x1130c0, 0x0 },
368 { 0x2130c0, 0x0 },
369 { 0x131c0, 0x0 },
370 { 0x1131c0, 0x0 },
371 { 0x2131c0, 0x0 },
372 { 0x132c0, 0x0 },
373 { 0x1132c0, 0x0 },
374 { 0x2132c0, 0x0 },
375 { 0x133c0, 0x0 },
376 { 0x1133c0, 0x0 },
377 { 0x2133c0, 0x0 },
378 { 0x134c0, 0x0 },
379 { 0x1134c0, 0x0 },
380 { 0x2134c0, 0x0 },
381 { 0x135c0, 0x0 },
382 { 0x1135c0, 0x0 },
383 { 0x2135c0, 0x0 },
384 { 0x136c0, 0x0 },
385 { 0x1136c0, 0x0 },
386 { 0x2136c0, 0x0 },
387 { 0x137c0, 0x0 },
388 { 0x1137c0, 0x0 },
389 { 0x2137c0, 0x0 },
390 { 0x138c0, 0x0 },
391 { 0x1138c0, 0x0 },
392 { 0x2138c0, 0x0 },
393 { 0x100c1, 0x0 },
394 { 0x1100c1, 0x0 },
395 { 0x2100c1, 0x0 },
396 { 0x101c1, 0x0 },
397 { 0x1101c1, 0x0 },
398 { 0x2101c1, 0x0 },
399 { 0x102c1, 0x0 },
400 { 0x1102c1, 0x0 },
401 { 0x2102c1, 0x0 },
402 { 0x103c1, 0x0 },
403 { 0x1103c1, 0x0 },
404 { 0x2103c1, 0x0 },
405 { 0x104c1, 0x0 },
406 { 0x1104c1, 0x0 },
407 { 0x2104c1, 0x0 },
408 { 0x105c1, 0x0 },
409 { 0x1105c1, 0x0 },
410 { 0x2105c1, 0x0 },
411 { 0x106c1, 0x0 },
412 { 0x1106c1, 0x0 },
413 { 0x2106c1, 0x0 },
414 { 0x107c1, 0x0 },
415 { 0x1107c1, 0x0 },
416 { 0x2107c1, 0x0 },
417 { 0x108c1, 0x0 },
418 { 0x1108c1, 0x0 },
419 { 0x2108c1, 0x0 },
420 { 0x110c1, 0x0 },
421 { 0x1110c1, 0x0 },
422 { 0x2110c1, 0x0 },
423 { 0x111c1, 0x0 },
424 { 0x1111c1, 0x0 },
425 { 0x2111c1, 0x0 },
426 { 0x112c1, 0x0 },
427 { 0x1112c1, 0x0 },
428 { 0x2112c1, 0x0 },
429 { 0x113c1, 0x0 },
430 { 0x1113c1, 0x0 },
431 { 0x2113c1, 0x0 },
432 { 0x114c1, 0x0 },
433 { 0x1114c1, 0x0 },
434 { 0x2114c1, 0x0 },
435 { 0x115c1, 0x0 },
436 { 0x1115c1, 0x0 },
437 { 0x2115c1, 0x0 },
438 { 0x116c1, 0x0 },
439 { 0x1116c1, 0x0 },
440 { 0x2116c1, 0x0 },
441 { 0x117c1, 0x0 },
442 { 0x1117c1, 0x0 },
443 { 0x2117c1, 0x0 },
444 { 0x118c1, 0x0 },
445 { 0x1118c1, 0x0 },
446 { 0x2118c1, 0x0 },
447 { 0x120c1, 0x0 },
448 { 0x1120c1, 0x0 },
449 { 0x2120c1, 0x0 },
450 { 0x121c1, 0x0 },
451 { 0x1121c1, 0x0 },
452 { 0x2121c1, 0x0 },
453 { 0x122c1, 0x0 },
454 { 0x1122c1, 0x0 },
455 { 0x2122c1, 0x0 },
456 { 0x123c1, 0x0 },
457 { 0x1123c1, 0x0 },
458 { 0x2123c1, 0x0 },
459 { 0x124c1, 0x0 },
460 { 0x1124c1, 0x0 },
461 { 0x2124c1, 0x0 },
462 { 0x125c1, 0x0 },
463 { 0x1125c1, 0x0 },
464 { 0x2125c1, 0x0 },
465 { 0x126c1, 0x0 },
466 { 0x1126c1, 0x0 },
467 { 0x2126c1, 0x0 },
468 { 0x127c1, 0x0 },
469 { 0x1127c1, 0x0 },
470 { 0x2127c1, 0x0 },
471 { 0x128c1, 0x0 },
472 { 0x1128c1, 0x0 },
473 { 0x2128c1, 0x0 },
474 { 0x130c1, 0x0 },
475 { 0x1130c1, 0x0 },
476 { 0x2130c1, 0x0 },
477 { 0x131c1, 0x0 },
478 { 0x1131c1, 0x0 },
479 { 0x2131c1, 0x0 },
480 { 0x132c1, 0x0 },
481 { 0x1132c1, 0x0 },
482 { 0x2132c1, 0x0 },
483 { 0x133c1, 0x0 },
484 { 0x1133c1, 0x0 },
485 { 0x2133c1, 0x0 },
486 { 0x134c1, 0x0 },
487 { 0x1134c1, 0x0 },
488 { 0x2134c1, 0x0 },
489 { 0x135c1, 0x0 },
490 { 0x1135c1, 0x0 },
491 { 0x2135c1, 0x0 },
492 { 0x136c1, 0x0 },
493 { 0x1136c1, 0x0 },
494 { 0x2136c1, 0x0 },
495 { 0x137c1, 0x0 },
496 { 0x1137c1, 0x0 },
497 { 0x2137c1, 0x0 },
498 { 0x138c1, 0x0 },
499 { 0x1138c1, 0x0 },
500 { 0x2138c1, 0x0 },
501 { 0x10020, 0x0 },
502 { 0x110020, 0x0 },
503 { 0x210020, 0x0 },
504 { 0x11020, 0x0 },
505 { 0x111020, 0x0 },
506 { 0x211020, 0x0 },
507 { 0x12020, 0x0 },
508 { 0x112020, 0x0 },
509 { 0x212020, 0x0 },
510 { 0x13020, 0x0 },
511 { 0x113020, 0x0 },
512 { 0x213020, 0x0 },
513 { 0x20072, 0x0 },
514 { 0x20073, 0x0 },
515 { 0x20074, 0x0 },
516 { 0x100aa, 0x0 },
517 { 0x110aa, 0x0 },
518 { 0x120aa, 0x0 },
519 { 0x130aa, 0x0 },
520 { 0x20010, 0x0 },
521 { 0x120010, 0x0 },
522 { 0x220010, 0x0 },
523 { 0x20011, 0x0 },
524 { 0x120011, 0x0 },
525 { 0x220011, 0x0 },
526 { 0x100ae, 0x0 },
527 { 0x1100ae, 0x0 },
528 { 0x2100ae, 0x0 },
529 { 0x100af, 0x0 },
530 { 0x1100af, 0x0 },
531 { 0x2100af, 0x0 },
532 { 0x110ae, 0x0 },
533 { 0x1110ae, 0x0 },
534 { 0x2110ae, 0x0 },
535 { 0x110af, 0x0 },
536 { 0x1110af, 0x0 },
537 { 0x2110af, 0x0 },
538 { 0x120ae, 0x0 },
539 { 0x1120ae, 0x0 },
540 { 0x2120ae, 0x0 },
541 { 0x120af, 0x0 },
542 { 0x1120af, 0x0 },
543 { 0x2120af, 0x0 },
544 { 0x130ae, 0x0 },
545 { 0x1130ae, 0x0 },
546 { 0x2130ae, 0x0 },
547 { 0x130af, 0x0 },
548 { 0x1130af, 0x0 },
549 { 0x2130af, 0x0 },
550 { 0x20020, 0x0 },
551 { 0x120020, 0x0 },
552 { 0x220020, 0x0 },
553 { 0x100a0, 0x0 },
554 { 0x100a1, 0x0 },
555 { 0x100a2, 0x0 },
556 { 0x100a3, 0x0 },
557 { 0x100a4, 0x0 },
558 { 0x100a5, 0x0 },
559 { 0x100a6, 0x0 },
560 { 0x100a7, 0x0 },
561 { 0x110a0, 0x0 },
562 { 0x110a1, 0x0 },
563 { 0x110a2, 0x0 },
564 { 0x110a3, 0x0 },
565 { 0x110a4, 0x0 },
566 { 0x110a5, 0x0 },
567 { 0x110a6, 0x0 },
568 { 0x110a7, 0x0 },
569 { 0x120a0, 0x0 },
570 { 0x120a1, 0x0 },
571 { 0x120a2, 0x0 },
572 { 0x120a3, 0x0 },
573 { 0x120a4, 0x0 },
574 { 0x120a5, 0x0 },
575 { 0x120a6, 0x0 },
576 { 0x120a7, 0x0 },
577 { 0x130a0, 0x0 },
578 { 0x130a1, 0x0 },
579 { 0x130a2, 0x0 },
580 { 0x130a3, 0x0 },
581 { 0x130a4, 0x0 },
582 { 0x130a5, 0x0 },
583 { 0x130a6, 0x0 },
584 { 0x130a7, 0x0 },
585 { 0x2007c, 0x0 },
586 { 0x12007c, 0x0 },
587 { 0x22007c, 0x0 },
588 { 0x2007d, 0x0 },
589 { 0x12007d, 0x0 },
590 { 0x22007d, 0x0 },
591 { 0x400fd, 0x0 },
592 { 0x400c0, 0x0 },
593 { 0x90201, 0x0 },
594 { 0x190201, 0x0 },
595 { 0x290201, 0x0 },
596 { 0x90202, 0x0 },
597 { 0x190202, 0x0 },
598 { 0x290202, 0x0 },
599 { 0x90203, 0x0 },
600 { 0x190203, 0x0 },
601 { 0x290203, 0x0 },
602 { 0x90204, 0x0 },
603 { 0x190204, 0x0 },
604 { 0x290204, 0x0 },
605 { 0x90205, 0x0 },
606 { 0x190205, 0x0 },
607 { 0x290205, 0x0 },
608 { 0x90206, 0x0 },
609 { 0x190206, 0x0 },
610 { 0x290206, 0x0 },
611 { 0x90207, 0x0 },
612 { 0x190207, 0x0 },
613 { 0x290207, 0x0 },
614 { 0x90208, 0x0 },
615 { 0x190208, 0x0 },
616 { 0x290208, 0x0 },
617 { 0x10062, 0x0 },
618 { 0x10162, 0x0 },
619 { 0x10262, 0x0 },
620 { 0x10362, 0x0 },
621 { 0x10462, 0x0 },
622 { 0x10562, 0x0 },
623 { 0x10662, 0x0 },
624 { 0x10762, 0x0 },
625 { 0x10862, 0x0 },
626 { 0x11062, 0x0 },
627 { 0x11162, 0x0 },
628 { 0x11262, 0x0 },
629 { 0x11362, 0x0 },
630 { 0x11462, 0x0 },
631 { 0x11562, 0x0 },
632 { 0x11662, 0x0 },
633 { 0x11762, 0x0 },
634 { 0x11862, 0x0 },
635 { 0x12062, 0x0 },
636 { 0x12162, 0x0 },
637 { 0x12262, 0x0 },
638 { 0x12362, 0x0 },
639 { 0x12462, 0x0 },
640 { 0x12562, 0x0 },
641 { 0x12662, 0x0 },
642 { 0x12762, 0x0 },
643 { 0x12862, 0x0 },
644 { 0x13062, 0x0 },
645 { 0x13162, 0x0 },
646 { 0x13262, 0x0 },
647 { 0x13362, 0x0 },
648 { 0x13462, 0x0 },
649 { 0x13562, 0x0 },
650 { 0x13662, 0x0 },
651 { 0x13762, 0x0 },
652 { 0x13862, 0x0 },
653 { 0x20077, 0x0 },
654 { 0x10001, 0x0 },
655 { 0x11001, 0x0 },
656 { 0x12001, 0x0 },
657 { 0x13001, 0x0 },
658 { 0x10040, 0x0 },
659 { 0x10140, 0x0 },
660 { 0x10240, 0x0 },
661 { 0x10340, 0x0 },
662 { 0x10440, 0x0 },
663 { 0x10540, 0x0 },
664 { 0x10640, 0x0 },
665 { 0x10740, 0x0 },
666 { 0x10840, 0x0 },
667 { 0x10030, 0x0 },
668 { 0x10130, 0x0 },
669 { 0x10230, 0x0 },
670 { 0x10330, 0x0 },
671 { 0x10430, 0x0 },
672 { 0x10530, 0x0 },
673 { 0x10630, 0x0 },
674 { 0x10730, 0x0 },
675 { 0x10830, 0x0 },
676 { 0x11040, 0x0 },
677 { 0x11140, 0x0 },
678 { 0x11240, 0x0 },
679 { 0x11340, 0x0 },
680 { 0x11440, 0x0 },
681 { 0x11540, 0x0 },
682 { 0x11640, 0x0 },
683 { 0x11740, 0x0 },
684 { 0x11840, 0x0 },
685 { 0x11030, 0x0 },
686 { 0x11130, 0x0 },
687 { 0x11230, 0x0 },
688 { 0x11330, 0x0 },
689 { 0x11430, 0x0 },
690 { 0x11530, 0x0 },
691 { 0x11630, 0x0 },
692 { 0x11730, 0x0 },
693 { 0x11830, 0x0 },
694 { 0x12040, 0x0 },
695 { 0x12140, 0x0 },
696 { 0x12240, 0x0 },
697 { 0x12340, 0x0 },
698 { 0x12440, 0x0 },
699 { 0x12540, 0x0 },
700 { 0x12640, 0x0 },
701 { 0x12740, 0x0 },
702 { 0x12840, 0x0 },
703 { 0x12030, 0x0 },
704 { 0x12130, 0x0 },
705 { 0x12230, 0x0 },
706 { 0x12330, 0x0 },
707 { 0x12430, 0x0 },
708 { 0x12530, 0x0 },
709 { 0x12630, 0x0 },
710 { 0x12730, 0x0 },
711 { 0x12830, 0x0 },
712 { 0x13040, 0x0 },
713 { 0x13140, 0x0 },
714 { 0x13240, 0x0 },
715 { 0x13340, 0x0 },
716 { 0x13440, 0x0 },
717 { 0x13540, 0x0 },
718 { 0x13640, 0x0 },
719 { 0x13740, 0x0 },
720 { 0x13840, 0x0 },
721 { 0x13030, 0x0 },
722 { 0x13130, 0x0 },
723 { 0x13230, 0x0 },
724 { 0x13330, 0x0 },
725 { 0x13430, 0x0 },
726 { 0x13530, 0x0 },
727 { 0x13630, 0x0 },
728 { 0x13730, 0x0 },
729 { 0x13830, 0x0 },
730};
731
732uint32_t ddrphy_trained_csr_num = ARRAY_SIZE(ddrphy_trained_csr);