1 /* 2 * Copyright (c) 2014, 2016-2017 The Linux Foundation. All rights reserved. 3 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for 6 * any purpose with or without fee is hereby granted, provided that the 7 * above copyright notice and this permission notice appear in all 8 * copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 11 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 12 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 13 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 14 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 15 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 16 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 17 * PERFORMANCE OF THIS SOFTWARE. 18 */ 19 20 #ifndef _AR6320V2_DBG_REGTABLE_H_ 21 #define _AR6320V2_DBG_REGTABLE_H_ 22 23 #include "regtable.h" 24 25 #define AR6320_REV2_1_REG_SIZE 0x0007F820 26 #define AR6320_REV3_REG_SIZE 0x0007F820 27 28 /* 29 * Redefine the register list. To minimize the size of the array, the list must 30 * obey the below format. {start0, end0}, {start1, end1}, {start2, end2}....... 31 * The value below must obey to "start0 < end0 < start1 < end1 < start2 < ...", 32 * otherwise we may encounter error in the dump processing. 33 */ 34 35 static const struct tgt_reg_section ar6320v2_reg_table[] = { 36 {0x800, 0x810}, 37 {0x820, 0x82C}, 38 {0x830, 0x8F4}, 39 {0x90C, 0x91C}, 40 {0xA14, 0xA18}, 41 {0xA84, 0xA94}, 42 {0xAA8, 0xAD4}, 43 {0xADC, 0xB40}, 44 {0x1000, 0x10A4}, 45 {0x10BC, 0x111C}, 46 {0x1134, 0x1138}, 47 {0x1144, 0x114C}, 48 {0x1150, 0x115C}, 49 {0x1160, 0x1178}, 50 {0x1240, 0x1260}, 51 {0x2000, 0x207C}, 52 {0x3000, 0x3014}, 53 {0x4000, 0x4014}, 54 {0x5000, 0x5124}, 55 {0x6000, 0x6040}, 56 {0x6080, 0x60CC}, 57 {0x6100, 0x611C}, 58 {0x6140, 0x61D8}, 59 {0x6200, 0x6238}, 60 {0x6240, 0x628C}, 61 {0x62C0, 0x62EC}, 62 {0x6380, 0x63E8}, 63 {0x6400, 0x6440}, 64 {0x6480, 0x64CC}, 65 {0x6500, 0x651C}, 66 {0x6540, 0x6580}, 67 {0x6600, 0x6638}, 68 {0x6640, 0x668C}, 69 {0x66C0, 0x66EC}, 70 {0x6780, 0x67E8}, 71 {0x7080, 0x708C}, 72 {0x70C0, 0x70C8}, 73 {0x7400, 0x741C}, 74 {0x7440, 0x7454}, 75 {0x7800, 0x7818}, 76 {0x8000, 0x8004}, 77 {0x8010, 0x8064}, 78 {0x8080, 0x8084}, 79 {0x80A0, 0x80A4}, 80 {0x80C0, 0x80C4}, 81 {0x80E0, 0x80F4}, 82 {0x8100, 0x8104}, 83 {0x8110, 0x812C}, 84 {0x9000, 0x9004}, 85 {0x9800, 0x982C}, 86 {0x9830, 0x9838}, 87 {0x9840, 0x986C}, 88 {0x9870, 0x9898}, 89 {0x9A00, 0x9C00}, 90 {0xD580, 0xD59C}, 91 {0xF000, 0xF0E0}, 92 {0xF140, 0xF190}, 93 {0xF250, 0xF25C}, 94 {0xF260, 0xF268}, 95 {0xF26C, 0xF2A8}, 96 {0x10008, 0x1000C}, 97 {0x10014, 0x10018}, 98 {0x1001C, 0x10020}, 99 {0x10024, 0x10028}, 100 {0x10030, 0x10034}, 101 {0x10040, 0x10054}, 102 {0x10058, 0x1007C}, 103 {0x10080, 0x100C4}, 104 {0x100C8, 0x10114}, 105 {0x1012C, 0x10130}, 106 {0x10138, 0x10144}, 107 {0x10200, 0x10220}, 108 {0x10230, 0x10250}, 109 {0x10260, 0x10280}, 110 {0x10290, 0x102B0}, 111 {0x102C0, 0x102DC}, 112 {0x102E0, 0x102F4}, 113 {0x102FC, 0x1037C}, 114 {0x10380, 0x10390}, 115 {0x10800, 0x10828}, 116 {0x10840, 0x10844}, 117 {0x10880, 0x10884}, 118 {0x108C0, 0x108E8}, 119 {0x10900, 0x10928}, 120 {0x10940, 0x10944}, 121 {0x10980, 0x10984}, 122 {0x109C0, 0x109E8}, 123 {0x10A00, 0x10A28}, 124 {0x10A40, 0x10A50}, 125 {0x11000, 0x11028}, 126 {0x11030, 0x11034}, 127 {0x11038, 0x11068}, 128 {0x11070, 0x11074}, 129 {0x11078, 0x110A8}, 130 {0x110B0, 0x110B4}, 131 {0x110B8, 0x110E8}, 132 {0x110F0, 0x110F4}, 133 {0x110F8, 0x11128}, 134 {0x11138, 0x11144}, 135 {0x11178, 0x11180}, 136 {0x111B8, 0x111C0}, 137 {0x111F8, 0x11200}, 138 {0x11238, 0x1123C}, 139 {0x11270, 0x11274}, 140 {0x11278, 0x1127C}, 141 {0x112B0, 0x112B4}, 142 {0x112B8, 0x112BC}, 143 {0x112F0, 0x112F4}, 144 {0x112F8, 0x112FC}, 145 {0x11338, 0x1133C}, 146 {0x11378, 0x1137C}, 147 {0x113B8, 0x113BC}, 148 {0x113F8, 0x113FC}, 149 {0x11438, 0x11440}, 150 {0x11478, 0x11480}, 151 {0x114B8, 0x114BC}, 152 {0x114F8, 0x114FC}, 153 {0x11538, 0x1153C}, 154 {0x11578, 0x1157C}, 155 {0x115B8, 0x115BC}, 156 {0x115F8, 0x115FC}, 157 {0x11638, 0x1163C}, 158 {0x11678, 0x1167C}, 159 {0x116B8, 0x116BC}, 160 {0x116F8, 0x116FC}, 161 {0x11738, 0x1173C}, 162 {0x11778, 0x1177C}, 163 {0x117B8, 0x117BC}, 164 {0x117F8, 0x117FC}, 165 {0x17000, 0x1701C}, 166 {0x17020, 0x170AC}, 167 {0x18000, 0x18050}, 168 {0x18054, 0x18074}, 169 {0x18080, 0x180D4}, 170 {0x180DC, 0x18104}, 171 {0x18108, 0x1813C}, 172 {0x18144, 0x18148}, 173 {0x18168, 0x18174}, 174 {0x18178, 0x18180}, 175 {0x181C8, 0x181E0}, 176 {0x181E4, 0x181E8}, 177 {0x181EC, 0x1820C}, 178 {0x1825C, 0x18280}, 179 {0x18284, 0x18290}, 180 {0x18294, 0x182A0}, 181 {0x18300, 0x18304}, 182 {0x18314, 0x18320}, 183 {0x18328, 0x18350}, 184 {0x1835C, 0x1836C}, 185 {0x18370, 0x18390}, 186 {0x18398, 0x183AC}, 187 {0x183BC, 0x183D8}, 188 {0x183DC, 0x183F4}, 189 {0x18400, 0x186F4}, 190 {0x186F8, 0x1871C}, 191 {0x18720, 0x18790}, 192 {0x19800, 0x19830}, 193 {0x19834, 0x19840}, 194 {0x19880, 0x1989C}, 195 {0x198A4, 0x198B0}, 196 {0x198BC, 0x19900}, 197 {0x19C00, 0x19C88}, 198 {0x19D00, 0x19D20}, 199 {0x19E00, 0x19E7C}, 200 {0x19E80, 0x19E94}, 201 {0x19E98, 0x19EAC}, 202 {0x19EB0, 0x19EBC}, 203 {0x19F70, 0x19F74}, 204 {0x19F80, 0x19F8C}, 205 {0x19FA0, 0x19FB4}, 206 {0x19FC0, 0x19FD8}, 207 {0x1A000, 0x1A200}, 208 {0x1A204, 0x1A210}, 209 {0x1A228, 0x1A22C}, 210 {0x1A230, 0x1A248}, 211 {0x1A250, 0x1A270}, 212 {0x1A280, 0x1A290}, 213 {0x1A2A0, 0x1A2A4}, 214 {0x1A2C0, 0x1A2EC}, 215 {0x1A300, 0x1A3BC}, 216 {0x1A3F0, 0x1A3F4}, 217 {0x1A3F8, 0x1A434}, 218 {0x1A438, 0x1A444}, 219 {0x1A448, 0x1A468}, 220 {0x1A580, 0x1A58C}, 221 {0x1A644, 0x1A654}, 222 {0x1A670, 0x1A698}, 223 {0x1A6AC, 0x1A6B0}, 224 {0x1A6D0, 0x1A6D4}, 225 {0x1A6EC, 0x1A70C}, 226 {0x1A710, 0x1A738}, 227 {0x1A7C0, 0x1A7D0}, 228 {0x1A7D4, 0x1A7D8}, 229 {0x1A7DC, 0x1A7E4}, 230 {0x1A7F0, 0x1A7F8}, 231 {0x1A888, 0x1A89C}, 232 {0x1A8A8, 0x1A8AC}, 233 {0x1A8C0, 0x1A8DC}, 234 {0x1A8F0, 0x1A8FC}, 235 {0x1AE04, 0x1AE08}, 236 {0x1AE18, 0x1AE24}, 237 {0x1AF80, 0x1AF8C}, 238 {0x1AFA0, 0x1AFB4}, 239 {0x1B000, 0x1B200}, 240 {0x1B284, 0x1B288}, 241 {0x1B2D0, 0x1B2D8}, 242 {0x1B2DC, 0x1B2EC}, 243 {0x1B300, 0x1B340}, 244 {0x1B374, 0x1B378}, 245 {0x1B380, 0x1B384}, 246 {0x1B388, 0x1B38C}, 247 {0x1B404, 0x1B408}, 248 {0x1B420, 0x1B428}, 249 {0x1B440, 0x1B444}, 250 {0x1B448, 0x1B44C}, 251 {0x1B450, 0x1B458}, 252 {0x1B45C, 0x1B468}, 253 {0x1B584, 0x1B58C}, 254 {0x1B68C, 0x1B690}, 255 {0x1B6AC, 0x1B6B0}, 256 {0x1B7F0, 0x1B7F8}, 257 {0x1C800, 0x1CC00}, 258 {0x1CE00, 0x1CE04}, 259 {0x1CF80, 0x1CF84}, 260 {0x1D200, 0x1D800}, 261 {0x1E000, 0x20014}, 262 {0x20100, 0x20124}, 263 {0x21400, 0x217A8}, 264 {0x21800, 0x21BA8}, 265 {0x21C00, 0x21FA8}, 266 {0x22000, 0x223A8}, 267 {0x22400, 0x227A8}, 268 {0x22800, 0x22BA8}, 269 {0x22C00, 0x22FA8}, 270 {0x23000, 0x233A8}, 271 {0x24000, 0x24034}, 272 273 /* 274 * EFUSE0,1,2 is disabled here 275 * because it's state may be reset 276 * 277 * {0x24800, 0x24804}, 278 * {0x25000, 0x25004}, 279 * {0x25800, 0x25804}, 280 */ 281 282 {0x26000, 0x26064}, 283 {0x27000, 0x27024}, 284 {0x34000, 0x3400C}, 285 {0x34400, 0x3445C}, 286 {0x34800, 0x3485C}, 287 {0x34C00, 0x34C5C}, 288 {0x35000, 0x3505C}, 289 {0x35400, 0x3545C}, 290 {0x35800, 0x3585C}, 291 {0x35C00, 0x35C5C}, 292 {0x36000, 0x3605C}, 293 {0x38000, 0x38064}, 294 {0x38070, 0x380E0}, 295 {0x3A000, 0x3A064}, 296 297 /* DBI windows is skipped here, it can be only accessed when pcie 298 * is active (not in reset) and CORE_CTRL_PCIE_LTSSM_EN = 0 && 299 * PCIE_CTRL_APP_LTSSM_ENALBE=0. 300 * {0x3C000 , 0x3C004}, 301 */ 302 303 {0x40000, 0x400A4}, 304 305 /* 306 * SI register is skipped here. 307 * Because it will cause bus hang 308 * 309 * {0x50000, 0x50018}, 310 */ 311 312 {0x80000, 0x8000C}, 313 {0x80010, 0x80020}, 314 }; 315 316 #ifdef HIF_SDIO 317 static const struct tgt_reg_section ar6320v3_reg_table[] = { 318 {0x800, 0x810}, 319 {0x820, 0x82C}, 320 {0x830, 0x8F4}, 321 {0x90C, 0x91C}, 322 {0xA14, 0xA18}, 323 {0xA84, 0xA94}, 324 {0xAA8, 0xAD4}, 325 {0xADC, 0xB40}, 326 {0x1000, 0x10A4}, 327 {0x10BC, 0x111C}, 328 {0x1134, 0x1138}, 329 {0x1144, 0x114C}, 330 {0x1150, 0x115C}, 331 {0x1160, 0x1178}, 332 {0x1240, 0x1260}, 333 {0x2000, 0x207C}, 334 {0x3000, 0x3014}, 335 {0x4000, 0x4014}, 336 {0x5000, 0x5124}, 337 {0x6000, 0x6040}, 338 {0x6080, 0x60CC}, 339 {0x6100, 0x611C}, 340 {0x6140, 0x61D8}, 341 {0x6200, 0x6238}, 342 {0x6240, 0x628C}, 343 {0x62C0, 0x62EC}, 344 {0x6380, 0x63E8}, 345 {0x6400, 0x6440}, 346 {0x6480, 0x64CC}, 347 {0x6500, 0x651C}, 348 {0x6540, 0x6580}, 349 {0x6600, 0x6638}, 350 {0x6640, 0x668C}, 351 {0x66C0, 0x66EC}, 352 {0x6780, 0x67E8}, 353 {0x7080, 0x708C}, 354 {0x70C0, 0x70C8}, 355 {0x7400, 0x741C}, 356 {0x7440, 0x7454}, 357 {0x7800, 0x7818}, 358 {0x8010, 0x8060}, 359 {0x8080, 0x8084}, 360 {0x80A0, 0x80A4}, 361 {0x80C0, 0x80C4}, 362 {0x80E0, 0x80ec}, 363 {0x8110, 0x8128}, 364 {0x9000, 0x9004}, 365 {0xF000, 0xF0E0}, 366 {0xF140, 0xF190}, 367 {0xF250, 0xF25C}, 368 {0xF260, 0xF268}, 369 {0xF26C, 0xF2A8}, 370 {0x10008, 0x1000C}, 371 {0x10014, 0x10018}, 372 {0x1001C, 0x10020}, 373 {0x10024, 0x10028}, 374 {0x10030, 0x10034}, 375 {0x10040, 0x10054}, 376 {0x10058, 0x1007C}, 377 {0x10080, 0x100C4}, 378 {0x100C8, 0x10114}, 379 {0x1012C, 0x10130}, 380 {0x10138, 0x10144}, 381 {0x10200, 0x10220}, 382 {0x10230, 0x10250}, 383 {0x10260, 0x10280}, 384 {0x10290, 0x102B0}, 385 {0x102C0, 0x102DC}, 386 {0x102E0, 0x102F4}, 387 {0x102FC, 0x1037C}, 388 {0x10380, 0x10390}, 389 {0x10800, 0x10828}, 390 {0x10840, 0x10844}, 391 {0x10880, 0x10884}, 392 {0x108C0, 0x108E8}, 393 {0x10900, 0x10928}, 394 {0x10940, 0x10944}, 395 {0x10980, 0x10984}, 396 {0x109C0, 0x109E8}, 397 {0x10A00, 0x10A28}, 398 {0x10A40, 0x10A50}, 399 {0x11000, 0x11028}, 400 {0x11030, 0x11034}, 401 {0x11038, 0x11068}, 402 {0x11070, 0x11074}, 403 {0x11078, 0x110A8}, 404 {0x110B0, 0x110B4}, 405 {0x110B8, 0x110E8}, 406 {0x110F0, 0x110F4}, 407 {0x110F8, 0x11128}, 408 {0x11138, 0x11144}, 409 {0x11178, 0x11180}, 410 {0x111B8, 0x111C0}, 411 {0x111F8, 0x11200}, 412 {0x11238, 0x1123C}, 413 {0x11270, 0x11274}, 414 {0x11278, 0x1127C}, 415 {0x112B0, 0x112B4}, 416 {0x112B8, 0x112BC}, 417 {0x112F0, 0x112F4}, 418 {0x112F8, 0x112FC}, 419 {0x11338, 0x1133C}, 420 {0x11378, 0x1137C}, 421 {0x113B8, 0x113BC}, 422 {0x113F8, 0x113FC}, 423 {0x11438, 0x11440}, 424 {0x11478, 0x11480}, 425 {0x114B8, 0x114BC}, 426 {0x114F8, 0x114FC}, 427 {0x11538, 0x1153C}, 428 {0x11578, 0x1157C}, 429 {0x115B8, 0x115BC}, 430 {0x115F8, 0x115FC}, 431 {0x11638, 0x1163C}, 432 {0x11678, 0x1167C}, 433 {0x116B8, 0x116BC}, 434 {0x116F8, 0x116FC}, 435 {0x11738, 0x1173C}, 436 {0x11778, 0x1177C}, 437 {0x117B8, 0x117BC}, 438 {0x117F8, 0x117FC}, 439 {0x17000, 0x1701C}, 440 {0x17020, 0x170AC}, 441 {0x18000, 0x18050}, 442 {0x18054, 0x18074}, 443 {0x18080, 0x180D4}, 444 {0x180DC, 0x18104}, 445 {0x18108, 0x1813C}, 446 {0x18144, 0x18148}, 447 {0x18168, 0x18174}, 448 {0x18178, 0x18180}, 449 {0x181C8, 0x181E0}, 450 {0x181E4, 0x181E8}, 451 {0x181EC, 0x1820C}, 452 {0x1825C, 0x18280}, 453 {0x18284, 0x18290}, 454 {0x18294, 0x182A0}, 455 {0x18300, 0x18304}, 456 {0x18314, 0x18320}, 457 {0x18328, 0x18350}, 458 {0x1835C, 0x1836C}, 459 {0x18370, 0x18390}, 460 {0x18398, 0x183AC}, 461 {0x183BC, 0x183D8}, 462 {0x183DC, 0x183F4}, 463 {0x18400, 0x186F4}, 464 {0x186F8, 0x1871C}, 465 {0x18720, 0x18790}, 466 {0x19800, 0x19830}, 467 {0x19834, 0x19840}, 468 {0x19880, 0x1989C}, 469 {0x198A4, 0x198B0}, 470 {0x198BC, 0x19900}, 471 {0x19C00, 0x19C88}, 472 {0x19D00, 0x19D20}, 473 {0x19E00, 0x19E7C}, 474 {0x19E80, 0x19E94}, 475 {0x19E98, 0x19EAC}, 476 {0x19EB0, 0x19EBC}, 477 {0x19F70, 0x19F74}, 478 {0x19F80, 0x19F8C}, 479 {0x19FA0, 0x19FB4}, 480 {0x19FC0, 0x19FD8}, 481 {0x1A000, 0x1A200}, 482 {0x1A204, 0x1A210}, 483 {0x1A228, 0x1A22C}, 484 {0x1A230, 0x1A248}, 485 {0x1A250, 0x1A270}, 486 {0x1A280, 0x1A290}, 487 {0x1A2A0, 0x1A2A4}, 488 {0x1A2C0, 0x1A2EC}, 489 {0x1A300, 0x1A3BC}, 490 {0x1A3F0, 0x1A3F4}, 491 {0x1A3F8, 0x1A434}, 492 {0x1A438, 0x1A444}, 493 {0x1A448, 0x1A468}, 494 {0x1A580, 0x1A58C}, 495 {0x1A644, 0x1A654}, 496 {0x1A670, 0x1A698}, 497 {0x1A6AC, 0x1A6B0}, 498 {0x1A6D0, 0x1A6D4}, 499 {0x1A6EC, 0x1A70C}, 500 {0x1A710, 0x1A738}, 501 {0x1A7C0, 0x1A7D0}, 502 {0x1A7D4, 0x1A7D8}, 503 {0x1A7DC, 0x1A7E4}, 504 {0x1A7F0, 0x1A7F8}, 505 {0x1A888, 0x1A89C}, 506 {0x1A8A8, 0x1A8AC}, 507 {0x1A8C0, 0x1A8DC}, 508 {0x1A8F0, 0x1A8FC}, 509 {0x1AE04, 0x1AE08}, 510 {0x1AE18, 0x1AE24}, 511 {0x1AF80, 0x1AF8C}, 512 {0x1AFA0, 0x1AFB4}, 513 {0x1B000, 0x1B200}, 514 {0x1B284, 0x1B288}, 515 {0x1B2D0, 0x1B2D8}, 516 {0x1B2DC, 0x1B2EC}, 517 {0x1B300, 0x1B340}, 518 {0x1B374, 0x1B378}, 519 {0x1B380, 0x1B384}, 520 {0x1B388, 0x1B38C}, 521 {0x1B404, 0x1B408}, 522 {0x1B420, 0x1B428}, 523 {0x1B440, 0x1B444}, 524 {0x1B448, 0x1B44C}, 525 {0x1B450, 0x1B458}, 526 {0x1B45C, 0x1B468}, 527 {0x1B584, 0x1B58C}, 528 {0x1B68C, 0x1B690}, 529 {0x1B6AC, 0x1B6B0}, 530 {0x1B7F0, 0x1B7F8}, 531 {0x1C800, 0x1CC00}, 532 {0x1CE00, 0x1CE04}, 533 {0x1CF80, 0x1CF84}, 534 {0x1D200, 0x1D800}, 535 {0x1E000, 0x20014}, 536 {0x20100, 0x20124}, 537 {0x21400, 0x217A8}, 538 {0x21800, 0x21BA8}, 539 {0x21C00, 0x21FA8}, 540 {0x22000, 0x223A8}, 541 {0x22400, 0x227A8}, 542 {0x22800, 0x22BA8}, 543 {0x22C00, 0x22FA8}, 544 {0x23000, 0x233A8}, 545 {0x24000, 0x24034}, 546 547 /* 548 * EFUSE0,1,2 is disabled here 549 * because it's state may be reset 550 * 551 * {0x24800, 0x24804}, 552 * {0x25000, 0x25004}, 553 * {0x25800, 0x25804}, 554 */ 555 556 {0x26000, 0x26064}, 557 {0x27000, 0x27024}, 558 {0x34000, 0x3400C}, 559 {0x34400, 0x3445C}, 560 {0x34800, 0x3485C}, 561 {0x34C00, 0x34C5C}, 562 {0x35000, 0x3505C}, 563 {0x35400, 0x3545C}, 564 {0x35800, 0x3585C}, 565 {0x35C00, 0x35C5C}, 566 {0x36000, 0x3605C}, 567 {0x38000, 0x38064}, 568 {0x38070, 0x380E0}, 569 {0x3A000, 0x3A074}, 570 571 /* 572 * DBI windows is skipped here, it can be only accessed when pcie 573 * is active (not in reset) and CORE_CTRL_PCIE_LTSSM_EN = 0 && 574 * PCIE_CTRL_APP_LTSSM_ENALBE=0. 575 * {0x3C000 , 0x3C004}, 576 */ 577 578 {0x40000, 0x400A4}, 579 580 /* 581 * SI register is skipped here. 582 * Because it will cause bus hang 583 * 584 * {0x50000, 0x50018}, 585 */ 586 587 {0x80000, 0x8000C}, 588 {0x80010, 0x80020}, 589 }; 590 #else 591 static const struct tgt_reg_section ar6320v3_reg_table[] = { 592 {0x800, 0x810}, 593 {0x820, 0x82C}, 594 {0x830, 0x8F4}, 595 {0x90C, 0x91C}, 596 {0xA14, 0xA18}, 597 {0xA84, 0xA94}, 598 {0xAA8, 0xAD4}, 599 {0xADC, 0xB40}, 600 {0x1000, 0x10A4}, 601 {0x10BC, 0x111C}, 602 {0x1134, 0x1138}, 603 {0x1144, 0x114C}, 604 {0x1150, 0x115C}, 605 {0x1160, 0x1178}, 606 {0x1240, 0x1260}, 607 {0x2000, 0x207C}, 608 {0x3000, 0x3014}, 609 {0x4000, 0x4014}, 610 {0x5000, 0x5124}, 611 {0x6000, 0x6040}, 612 {0x6080, 0x60CC}, 613 {0x6100, 0x611C}, 614 {0x6140, 0x61D8}, 615 {0x6200, 0x6238}, 616 {0x6240, 0x628C}, 617 {0x62C0, 0x62EC}, 618 {0x6380, 0x63E8}, 619 {0x6400, 0x6440}, 620 {0x6480, 0x64CC}, 621 {0x6500, 0x651C}, 622 {0x6540, 0x6580}, 623 {0x6600, 0x6638}, 624 {0x6640, 0x668C}, 625 {0x66C0, 0x66EC}, 626 {0x6780, 0x67E8}, 627 {0x7080, 0x708C}, 628 {0x70C0, 0x70C8}, 629 {0x7400, 0x741C}, 630 {0x7440, 0x7454}, 631 {0x7800, 0x7818}, 632 {0x8000, 0x8004}, 633 {0x8010, 0x8064}, 634 {0x8080, 0x8084}, 635 {0x80A0, 0x80A4}, 636 {0x80C0, 0x80C4}, 637 {0x80E0, 0x80F4}, 638 {0x8100, 0x8104}, 639 {0x8110, 0x812C}, 640 {0x9000, 0x9004}, 641 {0x9800, 0x982C}, 642 {0x9830, 0x9838}, 643 {0x9840, 0x986C}, 644 {0x9870, 0x9898}, 645 {0x9A00, 0x9C00}, 646 {0xD580, 0xD59C}, 647 {0xF000, 0xF0E0}, 648 {0xF140, 0xF190}, 649 {0xF250, 0xF25C}, 650 {0xF260, 0xF268}, 651 {0xF26C, 0xF2A8}, 652 {0x10008, 0x1000C}, 653 {0x10014, 0x10018}, 654 {0x1001C, 0x10020}, 655 {0x10024, 0x10028}, 656 {0x10030, 0x10034}, 657 {0x10040, 0x10054}, 658 {0x10058, 0x1007C}, 659 {0x10080, 0x100C4}, 660 {0x100C8, 0x10114}, 661 {0x1012C, 0x10130}, 662 {0x10138, 0x10144}, 663 {0x10200, 0x10220}, 664 {0x10230, 0x10250}, 665 {0x10260, 0x10280}, 666 {0x10290, 0x102B0}, 667 {0x102C0, 0x102DC}, 668 {0x102E0, 0x102F4}, 669 {0x102FC, 0x1037C}, 670 {0x10380, 0x10390}, 671 {0x10800, 0x10828}, 672 {0x10840, 0x10844}, 673 {0x10880, 0x10884}, 674 {0x108C0, 0x108E8}, 675 {0x10900, 0x10928}, 676 {0x10940, 0x10944}, 677 {0x10980, 0x10984}, 678 {0x109C0, 0x109E8}, 679 {0x10A00, 0x10A28}, 680 {0x10A40, 0x10A50}, 681 {0x11000, 0x11028}, 682 {0x11030, 0x11034}, 683 {0x11038, 0x11068}, 684 {0x11070, 0x11074}, 685 {0x11078, 0x110A8}, 686 {0x110B0, 0x110B4}, 687 {0x110B8, 0x110E8}, 688 {0x110F0, 0x110F4}, 689 {0x110F8, 0x11128}, 690 {0x11138, 0x11144}, 691 {0x11178, 0x11180}, 692 {0x111B8, 0x111C0}, 693 {0x111F8, 0x11200}, 694 {0x11238, 0x1123C}, 695 {0x11270, 0x11274}, 696 {0x11278, 0x1127C}, 697 {0x112B0, 0x112B4}, 698 {0x112B8, 0x112BC}, 699 {0x112F0, 0x112F4}, 700 {0x112F8, 0x112FC}, 701 {0x11338, 0x1133C}, 702 {0x11378, 0x1137C}, 703 {0x113B8, 0x113BC}, 704 {0x113F8, 0x113FC}, 705 {0x11438, 0x11440}, 706 {0x11478, 0x11480}, 707 {0x114B8, 0x114BC}, 708 {0x114F8, 0x114FC}, 709 {0x11538, 0x1153C}, 710 {0x11578, 0x1157C}, 711 {0x115B8, 0x115BC}, 712 {0x115F8, 0x115FC}, 713 {0x11638, 0x1163C}, 714 {0x11678, 0x1167C}, 715 {0x116B8, 0x116BC}, 716 {0x116F8, 0x116FC}, 717 {0x11738, 0x1173C}, 718 {0x11778, 0x1177C}, 719 {0x117B8, 0x117BC}, 720 {0x117F8, 0x117FC}, 721 {0x17000, 0x1701C}, 722 {0x17020, 0x170AC}, 723 {0x18000, 0x18050}, 724 {0x18054, 0x18074}, 725 {0x18080, 0x180D4}, 726 {0x180DC, 0x18104}, 727 {0x18108, 0x1813C}, 728 {0x18144, 0x18148}, 729 {0x18168, 0x18174}, 730 {0x18178, 0x18180}, 731 {0x181C8, 0x181E0}, 732 {0x181E4, 0x181E8}, 733 {0x181EC, 0x1820C}, 734 {0x1825C, 0x18280}, 735 {0x18284, 0x18290}, 736 {0x18294, 0x182A0}, 737 {0x18300, 0x18304}, 738 {0x18314, 0x18320}, 739 {0x18328, 0x18350}, 740 {0x1835C, 0x1836C}, 741 {0x18370, 0x18390}, 742 {0x18398, 0x183AC}, 743 {0x183BC, 0x183D8}, 744 {0x183DC, 0x183F4}, 745 {0x18400, 0x186F4}, 746 {0x186F8, 0x1871C}, 747 {0x18720, 0x18790}, 748 {0x19800, 0x19830}, 749 {0x19834, 0x19840}, 750 {0x19880, 0x1989C}, 751 {0x198A4, 0x198B0}, 752 {0x198BC, 0x19900}, 753 {0x19C00, 0x19C88}, 754 {0x19D00, 0x19D20}, 755 {0x19E00, 0x19E7C}, 756 {0x19E80, 0x19E94}, 757 {0x19E98, 0x19EAC}, 758 {0x19EB0, 0x19EBC}, 759 {0x19F70, 0x19F74}, 760 {0x19F80, 0x19F8C}, 761 {0x19FA0, 0x19FB4}, 762 {0x19FC0, 0x19FD8}, 763 {0x1A000, 0x1A200}, 764 {0x1A204, 0x1A210}, 765 {0x1A228, 0x1A22C}, 766 {0x1A230, 0x1A248}, 767 {0x1A250, 0x1A270}, 768 {0x1A280, 0x1A290}, 769 {0x1A2A0, 0x1A2A4}, 770 {0x1A2C0, 0x1A2EC}, 771 {0x1A300, 0x1A3BC}, 772 {0x1A3F0, 0x1A3F4}, 773 {0x1A3F8, 0x1A434}, 774 {0x1A438, 0x1A444}, 775 {0x1A448, 0x1A468}, 776 {0x1A580, 0x1A58C}, 777 {0x1A644, 0x1A654}, 778 {0x1A670, 0x1A698}, 779 {0x1A6AC, 0x1A6B0}, 780 {0x1A6D0, 0x1A6D4}, 781 {0x1A6EC, 0x1A70C}, 782 {0x1A710, 0x1A738}, 783 {0x1A7C0, 0x1A7D0}, 784 {0x1A7D4, 0x1A7D8}, 785 {0x1A7DC, 0x1A7E4}, 786 {0x1A7F0, 0x1A7F8}, 787 {0x1A888, 0x1A89C}, 788 {0x1A8A8, 0x1A8AC}, 789 {0x1A8C0, 0x1A8DC}, 790 {0x1A8F0, 0x1A8FC}, 791 {0x1AE04, 0x1AE08}, 792 {0x1AE18, 0x1AE24}, 793 {0x1AF80, 0x1AF8C}, 794 {0x1AFA0, 0x1AFB4}, 795 {0x1B000, 0x1B200}, 796 {0x1B284, 0x1B288}, 797 {0x1B2D0, 0x1B2D8}, 798 {0x1B2DC, 0x1B2EC}, 799 {0x1B300, 0x1B340}, 800 {0x1B374, 0x1B378}, 801 {0x1B380, 0x1B384}, 802 {0x1B388, 0x1B38C}, 803 {0x1B404, 0x1B408}, 804 {0x1B420, 0x1B428}, 805 {0x1B440, 0x1B444}, 806 {0x1B448, 0x1B44C}, 807 {0x1B450, 0x1B458}, 808 {0x1B45C, 0x1B468}, 809 {0x1B584, 0x1B58C}, 810 {0x1B68C, 0x1B690}, 811 {0x1B6AC, 0x1B6B0}, 812 {0x1B7F0, 0x1B7F8}, 813 {0x1C800, 0x1CC00}, 814 {0x1CE00, 0x1CE04}, 815 {0x1CF80, 0x1CF84}, 816 {0x1D200, 0x1D800}, 817 {0x1E000, 0x20014}, 818 {0x20100, 0x20124}, 819 {0x21400, 0x217A8}, 820 {0x21800, 0x21BA8}, 821 {0x21C00, 0x21FA8}, 822 {0x22000, 0x223A8}, 823 {0x22400, 0x227A8}, 824 {0x22800, 0x22BA8}, 825 {0x22C00, 0x22FA8}, 826 {0x23000, 0x233A8}, 827 {0x24000, 0x24034}, 828 829 /* 830 * EFUSE0,1,2 is disabled here 831 * because it's state may be reset 832 * 833 * {0x24800, 0x24804}, 834 * {0x25000, 0x25004}, 835 * {0x25800, 0x25804}, 836 */ 837 838 {0x26000, 0x26064}, 839 {0x27000, 0x27024}, 840 {0x34000, 0x3400C}, 841 {0x34400, 0x3445C}, 842 {0x34800, 0x3485C}, 843 {0x34C00, 0x34C5C}, 844 {0x35000, 0x3505C}, 845 {0x35400, 0x3545C}, 846 {0x35800, 0x3585C}, 847 {0x35C00, 0x35C5C}, 848 {0x36000, 0x3605C}, 849 {0x38000, 0x38064}, 850 {0x38070, 0x380E0}, 851 {0x3A000, 0x3A074}, 852 853 /* 854 * DBI windows is skipped here, it can be only accessed when pcie 855 * is active (not in reset) and CORE_CTRL_PCIE_LTSSM_EN = 0 && 856 * PCIE_CTRL_APP_LTSSM_ENALBE=0. 857 * {0x3C000 , 0x3C004}, 858 */ 859 860 {0x40000, 0x400A4}, 861 862 /* 863 * SI register is skipped here. 864 * Because it will cause bus hang 865 * 866 * {0x50000, 0x50018}, 867 */ 868 869 {0x80000, 0x8000C}, 870 {0x80010, 0x80020}, 871 }; 872 #endif 873 #endif /* #ifndef _AR6320V2_DBG_REGTABLE_H_ */ 874