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