blob: aa1e65c2ae9525298c3ea6edc8a209b2f2613a70 [file] [log] [blame]
Stefan Roesebf5ed2e2015-11-18 11:06:09 +01001/*
2 * Altera SoCFPGA IOCSR configuration
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef __SOCFPGA_IOCSR_CONFIG_H__
8#define __SOCFPGA_IOCSR_CONFIG_H__
9
10#define CONFIG_HPS_IOCSR_SCANCHAIN0_LENGTH 764
11#define CONFIG_HPS_IOCSR_SCANCHAIN1_LENGTH 1719
12#define CONFIG_HPS_IOCSR_SCANCHAIN2_LENGTH 955
13#define CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH 16766
14
15const unsigned long iocsr_scan_chain0_table[] = {
16 0x00100000,
17 0x40000000,
18 0x0FF00000,
19 0xC0000000,
20 0x0000003F,
21 0x00008000,
22 0x000E0180,
23 0x18060000,
24 0x18000000,
25 0x00018060,
26 0x00020000,
27 0x00004000,
28 0x000700C0,
29 0x1C030000,
30 0x0C000000,
31 0x00000070,
32 0x0001C030,
33 0x00002000,
34 0x00018060,
35 0x0E018000,
36 0x06000000,
37 0x00000038,
38 0x0000E018,
39 0x00001000,
40};
41
42const unsigned long iocsr_scan_chain1_table[] = {
43 0x001C0300,
44 0x300C0000,
45 0x300000C0,
46 0x000000C0,
47 0x000300C0,
48 0x00008000,
49 0x00060180,
50 0x18060000,
51 0x18000000,
52 0x000000E0,
53 0x00018060,
54 0x00004000,
55 0x000300C0,
56 0x1C030000,
57 0x0C000000,
58 0x00000030,
59 0x0000C030,
60 0x00002000,
61 0x06018060,
62 0x06018000,
63 0x01FE0000,
64 0xF8000000,
65 0x00000007,
66 0x00001000,
67 0x0000C030,
68 0x0300C000,
69 0x03000000,
70 0x0000300C,
71 0x0000300C,
72 0x00000800,
73 0x00000000,
74 0x00000000,
75 0x01800000,
76 0x00000006,
77 0x00001806,
78 0x00000400,
79 0x00000000,
80 0x00C03000,
81 0x00000003,
82 0x00000000,
83 0x00000000,
84 0x00000200,
85 0x00601806,
86 0x00000000,
87 0x80600000,
88 0x80000601,
89 0x00000601,
90 0x00000100,
91 0x00300C03,
92 0xC0300C00,
93 0xC0300000,
94 0xC0000300,
95 0x000C0300,
96 0x00000080,
97};
98
99const unsigned long iocsr_scan_chain2_table[] = {
100 0x000C0300,
101 0x700C0000,
102 0x0FF00000,
103 0x00000000,
104 0x000700C0,
105 0x00008000,
106 0x00060180,
107 0x18060000,
108 0x18000000,
109 0x00000060,
110 0x00018060,
111 0x00004000,
112 0x200300C0,
113 0x0C030000,
114 0x0C000000,
115 0x00000070,
116 0x0001C030,
117 0x00002000,
118 0x10018060,
119 0x0E018000,
120 0x06000000,
121 0x00010018,
122 0x0000E018,
123 0x00001000,
124 0x0001C030,
125 0x04000000,
126 0x03000000,
127 0x0000800C,
128 0x00C0300C,
129 0x00000800,
130};
131
132const unsigned long iocsr_scan_chain3_table[] = {
133 0x0C420D80,
134 0x0C3000FF,
135 0x0A804001,
136 0x07900000,
137 0x08020000,
138 0x00100000,
139 0x0A800000,
140 0x07900000,
141 0x08020000,
142 0x00100000,
143 0x20430000,
144 0x0C003001,
145 0x00C00481,
146 0x00000000,
147 0x00000021,
148 0x82000004,
149 0x05400000,
150 0x03C80000,
151 0x04010000,
152 0x00080000,
153 0x05400000,
154 0x03C80000,
155 0x05400000,
156 0x03C80000,
157 0x90218000,
158 0x86001800,
159 0x00600240,
160 0x80090218,
161 0x00000001,
162 0x40000002,
163 0x02A00000,
164 0x01E40000,
165 0x02A00000,
166 0x01E40000,
167 0x02A00000,
168 0x01E40000,
169 0x02A00000,
170 0x01E40000,
171 0x4810C000,
172 0x43000C00,
173 0x00300120,
174 0xC004810C,
175 0x12043000,
176 0x20000300,
177 0x00040000,
178 0x50670000,
179 0x00000010,
180 0x24590000,
181 0x00001000,
182 0xA0000034,
183 0x0D000001,
184 0xC0680618,
185 0x45034071,
186 0x0A281A01,
187 0x806180D0,
188 0x34071C06,
189 0x01A034D0,
190 0x180D0000,
191 0x71C06806,
192 0x01450340,
193 0xD000001A,
194 0x0680E380,
195 0x10040000,
196 0x00200000,
197 0x10040000,
198 0x00200000,
199 0x15000000,
200 0x0F200000,
201 0x15000000,
202 0x0F200000,
203 0x01FE0000,
204 0x18000000,
205 0x01800902,
206 0x00240860,
207 0x007F8006,
208 0x00000000,
209 0x0A800001,
210 0x07900000,
211 0x0A800000,
212 0x07900000,
213 0x0A800000,
214 0x07900000,
215 0x08020000,
216 0x00100000,
217 0x20430000,
218 0x0C003001,
219 0x00C00481,
220 0x00000FF0,
221 0x4810C000,
222 0x80000C00,
223 0x05400000,
224 0x02480000,
225 0x04000000,
226 0x00080000,
227 0x05400000,
228 0x03C80000,
229 0x05400000,
230 0x03C80000,
231 0x90218000,
232 0x86001800,
233 0x00600240,
234 0x80090218,
235 0x24086001,
236 0x40000600,
237 0x02A00040,
238 0x01E40000,
239 0x02A00000,
240 0x01E40000,
241 0x02A00000,
242 0x01E40000,
243 0x02A00000,
244 0x01E40000,
245 0x4810C000,
246 0x43000C00,
247 0x00300120,
248 0xC004810C,
249 0x12043000,
250 0x20000300,
251 0x00040000,
252 0x50670000,
253 0x00000010,
254 0x24590000,
255 0x00001000,
256 0xA0000034,
257 0x0D000001,
258 0xC0680618,
259 0x45034071,
260 0x0A281A01,
261 0x80E380D0,
262 0x34071C06,
263 0x01A00040,
264 0x180D0002,
265 0x71C06806,
266 0x01450340,
267 0xD00A281A,
268 0x06806180,
269 0x10040000,
270 0x00200000,
271 0x10040000,
272 0x00200000,
273 0x15000000,
274 0x0F200000,
275 0x15000000,
276 0x0F200000,
277 0x01FE0000,
278 0x18000000,
279 0x01800902,
280 0x00240860,
281 0x007F8006,
282 0x00000000,
283 0x99300001,
284 0x34343400,
285 0xAA0D4000,
286 0x01C3A800,
287 0xAA0D4000,
288 0x01C3A800,
289 0xAA0D4000,
290 0x01C3A800,
291 0x00040100,
292 0x00000800,
293 0x00000000,
294 0x00001208,
295 0x00482000,
296 0x01000000,
297 0x00000000,
298 0x00410482,
299 0x0006A000,
300 0x0001B400,
301 0x00020000,
302 0x00000400,
303 0x0002A000,
304 0x0001E400,
305 0x5506A000,
306 0x00E1D400,
307 0x00000000,
308 0x2043090C,
309 0x00003001,
310 0x90400000,
311 0x00000000,
312 0x2020C243,
313 0x2A835000,
314 0x0070EA00,
315 0x2A835000,
316 0x0070EA00,
317 0x2A835000,
318 0x0070EA00,
319 0x00010040,
320 0x00000200,
321 0x00000000,
322 0x00000482,
323 0x00120800,
324 0x00002000,
325 0x80000000,
326 0x00104120,
327 0x00000200,
328 0xAC0D5F80,
329 0xFFFFFFFF,
330 0x14F3690D,
331 0x1A041414,
332 0x00D00000,
333 0x14864000,
334 0x59647A05,
335 0xCB2CA3DD,
336 0xF5D5551E,
337 0x034AD348,
338 0x821A0000,
339 0x0000D000,
340 0x030C0680,
341 0xDD59647A,
342 0x1ECB2CA3,
343 0x48F5D555,
344 0x00035AD3,
345 0x00080000,
346 0x00001000,
347 0x00080200,
348 0x00001000,
349 0x000A8000,
350 0x00075000,
351 0x541A8000,
352 0x03875001,
353 0x10000000,
354 0x00000010,
355 0x0080C000,
356 0x41000000,
357 0x00003FC2,
358 0x00820000,
359 0xAA0D4000,
360 0x01C3A800,
361 0xAA0D4000,
362 0x01C3A800,
363 0xAA0D4000,
364 0x01C3A800,
365 0x00040000,
366 0x00000800,
367 0x00000000,
368 0x00001208,
369 0x00482000,
370 0x00808000,
371 0x00000000,
372 0x00410482,
373 0x0006A000,
374 0x0001B400,
375 0x00020000,
376 0x00000400,
377 0x00020080,
378 0x00000400,
379 0x5506A000,
380 0x00E1D400,
381 0x00000000,
382 0x0000090C,
383 0x00000010,
384 0x90400000,
385 0x00000000,
386 0x2020C243,
387 0x2A835000,
388 0x0070EA00,
389 0x2A835000,
390 0x0070EA00,
391 0x2A835000,
392 0x0070EA00,
393 0x00015000,
394 0x0000F200,
395 0x00000000,
396 0x00000482,
397 0x86120800,
398 0x00600240,
399 0x80000000,
400 0x00104120,
401 0x00000200,
402 0xAC0D5F80,
403 0xFFFFFFFF,
404 0x14F3690D,
405 0x1A041414,
406 0x00D00000,
407 0x14864000,
408 0x59647A05,
409 0xCB2CA3DD,
410 0xF5D9651E,
411 0x035AB2C8,
412 0x821A0041,
413 0x0000D000,
414 0x00000680,
415 0xDD59647A,
416 0x1ECB2CA3,
417 0x48F5D965,
418 0x00035AD3,
419 0x00080000,
420 0x00001000,
421 0x00080000,
422 0x00001000,
423 0x000A8000,
424 0x00075000,
425 0x541A8000,
426 0x03875001,
427 0x10000000,
428 0x00000010,
429 0x0080C000,
430 0x41000000,
431 0x04000002,
432 0x00820004,
433 0xAA0D4000,
434 0x01C3A800,
435 0xAA0D4000,
436 0x01C3A800,
437 0xAA0D4000,
438 0x01C3A800,
439 0x00040000,
440 0x00000800,
441 0x00000000,
442 0x00001208,
443 0x00482000,
444 0x00808000,
445 0x00000000,
446 0x00410482,
447 0x0006A000,
448 0x0001B400,
449 0x00020000,
450 0x00000400,
451 0x0002A000,
452 0x0001E400,
453 0x5506A000,
454 0x00E1D400,
455 0x00000000,
456 0x2043090C,
457 0x00003001,
458 0x90400000,
459 0x00000000,
460 0x2020C243,
461 0x2A835000,
462 0x0070EA00,
463 0x2A835000,
464 0x0070EA00,
465 0x2A835000,
466 0x0070EA00,
467 0x00010000,
468 0x00000200,
469 0x00000000,
470 0x00000482,
471 0x00120800,
472 0x00202000,
473 0x80000000,
474 0x00104120,
475 0x00000200,
476 0xAC0D5F80,
477 0xFFFFFFFF,
478 0x14F3690D,
479 0x1A041414,
480 0x00D00000,
481 0x14864000,
482 0x59647A05,
483 0xCB2CA3D5,
484 0xF6D9651E,
485 0x035AB2C8,
486 0x821A0000,
487 0x0000D000,
488 0x00000680,
489 0xDD59647A,
490 0x1ECB2CA3,
491 0x48F5D965,
492 0x00034AD3,
493 0x00080000,
494 0x00001000,
495 0x00080000,
496 0x00001000,
497 0x000A8000,
498 0x00075000,
499 0x541A8000,
500 0x03875001,
501 0x00000000,
502 0x00000010,
503 0x0080C000,
504 0x41000000,
505 0x04000002,
506 0x00820004,
507 0xAA0D4000,
508 0x01C3A800,
509 0xAA0D4000,
510 0x01C3A800,
511 0xAA0D4000,
512 0x01C3A800,
513 0x00040000,
514 0x00000800,
515 0x00000000,
516 0x00001208,
517 0x00482000,
518 0x00800000,
519 0x00000000,
520 0x00410482,
521 0x0006A000,
522 0x0001B400,
523 0x00020000,
524 0x00000400,
525 0x00020000,
526 0x00000400,
527 0x5506A000,
528 0x00E1D400,
529 0x00000000,
530 0x0000090C,
531 0x00001000,
532 0x90400000,
533 0x00000000,
534 0x2020C243,
535 0x2A835000,
536 0x0070EA00,
537 0x2A835000,
538 0x0070EA00,
539 0x2A835000,
540 0x0070EA00,
541 0x00010040,
542 0x00000200,
543 0x00000000,
544 0x00000482,
545 0x00120800,
546 0x00400000,
547 0x80000000,
548 0x00104120,
549 0x00000200,
550 0xAC0D5F80,
551 0xFFFFFFFF,
552 0x14F1690D,
553 0x1A041414,
554 0x00D00000,
555 0x04864000,
556 0x69A47A01,
557 0xCB2CA3D5,
558 0xF6D9651E,
559 0x034AD348,
560 0x821A0000,
561 0x0000D000,
562 0x00000680,
563 0xD559647A,
564 0x1ECB2CA3,
565 0x48F6D965,
566 0x00034A92,
567 0x00080000,
568 0x00001000,
569 0x00080000,
570 0x00001000,
571 0x000A8000,
572 0x00075000,
573 0x541A8000,
574 0x03875001,
575 0x00000000,
576 0x00000010,
577 0x0080C000,
578 0x41000000,
579 0x00000002,
580 0x00820004,
581 0x00489800,
582 0x801A1A1A,
583 0x00000200,
584 0x80000004,
585 0x00000200,
586 0x80000004,
587 0x00000200,
588 0x00000004,
589 0x00000200,
590 0x00000004,
591 0x00040000,
592 0x10000000,
593 0x00000000,
594 0x00004000,
595 0x00010000,
596 0x40002080,
597 0x00000100,
598 0x40000002,
599 0x00000100,
600 0x00000002,
601 0x00000100,
602 0x40000002,
603 0x00000100,
604 0x00000002,
605 0x00020000,
606 0x08000000,
607 0x00000008,
608 0x00000020,
609 0x00008000,
610 0x20001040,
611 0x00000080,
612 0x20000001,
613 0x00000080,
614 0x20000001,
615 0x00000080,
616 0x20000001,
617 0x00000080,
618 0x00000001,
619 0x00010000,
620 0x04000000,
621 0x00FF0000,
622 0x00000000,
623 0x00004000,
624 0x00000800,
625 0xC0000001,
626 0x00041419,
627 0x40000000,
628 0x04000816,
629 0x000D0000,
630 0x00006800,
631 0x00000340,
632 0xD000001A,
633 0x06800000,
634 0x00340000,
635 0x0001A000,
636 0x00000D00,
637 0x40000068,
638 0x1A000003,
639 0x00D00000,
640 0x00068000,
641 0x00003400,
642 0x000001A0,
643 0x00000401,
644 0x00000008,
645 0x00000401,
646 0x00000008,
647 0x00000401,
648 0x00000008,
649 0x00000401,
650 0x80000008,
651 0x0000007F,
652 0x20000000,
653 0x00000000,
654 0xE0000080,
655 0x0000001F,
656 0x00004000,
657};
658
659
660#endif /* __SOCFPGA_IOCSR_CONFIG_H__ */