navi10_ip_offset.h 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855
  1. /*
  2. * Copyright (C) 2019 Advanced Micro Devices, Inc.
  3. *
  4. * Permission is hereby granted, free of charge, to any person obtaining a
  5. * copy of this software and associated documentation files (the "Software"),
  6. * to deal in the Software without restriction, including without limitation
  7. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  8. * and/or sell copies of the Software, and to permit persons to whom the
  9. * Software is furnished to do so, subject to the following conditions:
  10. *
  11. * The above copyright notice and this permission notice shall be included
  12. * in all copies or substantial portions of the Software.
  13. *
  14. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  15. * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  17. * THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  18. * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  19. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  20. */
  21. #ifndef _navi10_ip_offset_HEADER
  22. #define _navi10_ip_offset_HEADER
  23. #define MAX_INSTANCE 6
  24. #define MAX_SEGMENT 6
  25. struct IP_BASE_INSTANCE {
  26. unsigned int segment[MAX_SEGMENT];
  27. };
  28. struct IP_BASE {
  29. struct IP_BASE_INSTANCE instance[MAX_INSTANCE];
  30. } __maybe_unused;
  31. static const struct IP_BASE ATHUB_BASE ={ { { { 0x00000C00, 0, 0, 0, 0, 0 } },
  32. { { 0, 0, 0, 0, 0, 0 } },
  33. { { 0, 0, 0, 0, 0, 0 } },
  34. { { 0, 0, 0, 0, 0, 0 } },
  35. { { 0, 0, 0, 0, 0, 0 } },
  36. { { 0, 0, 0, 0, 0, 0 } } } };
  37. static const struct IP_BASE CLK_BASE ={ { { { 0x00016C00, 0x00016E00, 0x00017000, 0x00017200, 0x00017E00, 0x0001B000 } },
  38. { { 0, 0, 0, 0, 0, 0 } },
  39. { { 0, 0, 0, 0, 0, 0 } },
  40. { { 0, 0, 0, 0, 0, 0 } },
  41. { { 0, 0, 0, 0, 0, 0 } },
  42. { { 0, 0, 0, 0, 0, 0 } } } };
  43. static const struct IP_BASE DF_BASE ={ { { { 0x00007000, 0, 0, 0, 0, 0 } },
  44. { { 0, 0, 0, 0, 0, 0 } },
  45. { { 0, 0, 0, 0, 0, 0 } },
  46. { { 0, 0, 0, 0, 0, 0 } },
  47. { { 0, 0, 0, 0, 0, 0 } },
  48. { { 0, 0, 0, 0, 0, 0 } } } };
  49. static const struct IP_BASE DCN_BASE ={ { { { 0x00000012, 0x000000C0, 0x000034C0, 0x00009000, 0, 0 } },
  50. { { 0, 0, 0, 0, 0, 0 } },
  51. { { 0, 0, 0, 0, 0, 0 } },
  52. { { 0, 0, 0, 0, 0, 0 } },
  53. { { 0, 0, 0, 0, 0, 0 } },
  54. { { 0, 0, 0, 0, 0, 0 } } } };
  55. static const struct IP_BASE FUSE_BASE ={ { { { 0x00017400, 0, 0, 0, 0, 0 } },
  56. { { 0, 0, 0, 0, 0, 0 } },
  57. { { 0, 0, 0, 0, 0, 0 } },
  58. { { 0, 0, 0, 0, 0, 0 } },
  59. { { 0, 0, 0, 0, 0, 0 } },
  60. { { 0, 0, 0, 0, 0, 0 } } } };
  61. static const struct IP_BASE GC_BASE ={ { { { 0x00001260, 0x0000A000, 0, 0, 0, 0 } },
  62. { { 0, 0, 0, 0, 0, 0 } },
  63. { { 0, 0, 0, 0, 0, 0 } },
  64. { { 0, 0, 0, 0, 0, 0 } },
  65. { { 0, 0, 0, 0, 0, 0 } },
  66. { { 0, 0, 0, 0, 0, 0 } } } };
  67. static const struct IP_BASE HDP_BASE ={ { { { 0x00000F20, 0, 0, 0, 0, 0 } },
  68. { { 0, 0, 0, 0, 0, 0 } },
  69. { { 0, 0, 0, 0, 0, 0 } },
  70. { { 0, 0, 0, 0, 0, 0 } },
  71. { { 0, 0, 0, 0, 0, 0 } },
  72. { { 0, 0, 0, 0, 0, 0 } } } };
  73. static const struct IP_BASE MMHUB_BASE ={ { { { 0x0001A000, 0, 0, 0, 0, 0 } },
  74. { { 0, 0, 0, 0, 0, 0 } },
  75. { { 0, 0, 0, 0, 0, 0 } },
  76. { { 0, 0, 0, 0, 0, 0 } },
  77. { { 0, 0, 0, 0, 0, 0 } },
  78. { { 0, 0, 0, 0, 0, 0 } } } };
  79. static const struct IP_BASE MP0_BASE ={ { { { 0x00016000, 0, 0, 0, 0, 0 } },
  80. { { 0, 0, 0, 0, 0, 0 } },
  81. { { 0, 0, 0, 0, 0, 0 } },
  82. { { 0, 0, 0, 0, 0, 0 } },
  83. { { 0, 0, 0, 0, 0, 0 } },
  84. { { 0, 0, 0, 0, 0, 0 } } } };
  85. static const struct IP_BASE MP1_BASE ={ { { { 0x00016000, 0, 0, 0, 0, 0 } },
  86. { { 0, 0, 0, 0, 0, 0 } },
  87. { { 0, 0, 0, 0, 0, 0 } },
  88. { { 0, 0, 0, 0, 0, 0 } },
  89. { { 0, 0, 0, 0, 0, 0 } },
  90. { { 0, 0, 0, 0, 0, 0 } } } };
  91. static const struct IP_BASE NBIO_BASE ={ { { { 0x00000000, 0x00000014, 0x00000D20, 0x00010400, 0, 0 } },
  92. { { 0, 0, 0, 0, 0, 0 } },
  93. { { 0, 0, 0, 0, 0, 0 } },
  94. { { 0, 0, 0, 0, 0, 0 } },
  95. { { 0, 0, 0, 0, 0, 0 } },
  96. { { 0, 0, 0, 0, 0, 0 } } } };
  97. static const struct IP_BASE OSSSYS_BASE ={ { { { 0x000010A0, 0, 0, 0, 0, 0 } },
  98. { { 0, 0, 0, 0, 0, 0 } },
  99. { { 0, 0, 0, 0, 0, 0 } },
  100. { { 0, 0, 0, 0, 0, 0 } },
  101. { { 0, 0, 0, 0, 0, 0 } },
  102. { { 0, 0, 0, 0, 0, 0 } } } };
  103. static const struct IP_BASE RSMU_BASE = { { { { 0x00012000, 0, 0, 0, 0, 0 } },
  104. { { 0, 0, 0, 0, 0, 0 } },
  105. { { 0, 0, 0, 0, 0, 0 } },
  106. { { 0, 0, 0, 0, 0, 0 } },
  107. { { 0, 0, 0, 0, 0, 0 } },
  108. { { 0, 0, 0, 0, 0, 0 } } } };
  109. static const struct IP_BASE SMUIO_BASE ={ { { { 0x00016800, 0x00016A00, 0, 0, 0, 0 } },
  110. { { 0, 0, 0, 0, 0, 0 } },
  111. { { 0, 0, 0, 0, 0, 0 } },
  112. { { 0, 0, 0, 0, 0, 0 } },
  113. { { 0, 0, 0, 0, 0, 0 } },
  114. { { 0, 0, 0, 0, 0, 0 } } } };
  115. static const struct IP_BASE THM_BASE ={ { { { 0x00016600, 0, 0, 0, 0, 0 } },
  116. { { 0, 0, 0, 0, 0, 0 } },
  117. { { 0, 0, 0, 0, 0, 0 } },
  118. { { 0, 0, 0, 0, 0, 0 } },
  119. { { 0, 0, 0, 0, 0, 0 } },
  120. { { 0, 0, 0, 0, 0, 0 } } } };
  121. static const struct IP_BASE UMC_BASE ={ { { { 0x00014000, 0, 0, 0, 0, 0 } },
  122. { { 0, 0, 0, 0, 0, 0 } },
  123. { { 0, 0, 0, 0, 0, 0 } },
  124. { { 0, 0, 0, 0, 0, 0 } },
  125. { { 0, 0, 0, 0, 0, 0 } },
  126. { { 0, 0, 0, 0, 0, 0 } } } };
  127. static const struct IP_BASE VCN_BASE ={ { { { 0x00007800, 0x00007E00, 0, 0, 0, 0 } },
  128. { { 0, 0, 0, 0, 0, 0 } },
  129. { { 0, 0, 0, 0, 0, 0 } },
  130. { { 0, 0, 0, 0, 0, 0 } },
  131. { { 0, 0, 0, 0, 0, 0 } },
  132. { { 0, 0, 0, 0, 0, 0 } } } };
  133. #define ATHUB_BASE__INST0_SEG0 0x00000C00
  134. #define ATHUB_BASE__INST0_SEG1 0
  135. #define ATHUB_BASE__INST0_SEG2 0
  136. #define ATHUB_BASE__INST0_SEG3 0
  137. #define ATHUB_BASE__INST0_SEG4 0
  138. #define ATHUB_BASE__INST0_SEG5 0
  139. #define ATHUB_BASE__INST1_SEG0 0
  140. #define ATHUB_BASE__INST1_SEG1 0
  141. #define ATHUB_BASE__INST1_SEG2 0
  142. #define ATHUB_BASE__INST1_SEG3 0
  143. #define ATHUB_BASE__INST1_SEG4 0
  144. #define ATHUB_BASE__INST1_SEG5 0
  145. #define ATHUB_BASE__INST2_SEG0 0
  146. #define ATHUB_BASE__INST2_SEG1 0
  147. #define ATHUB_BASE__INST2_SEG2 0
  148. #define ATHUB_BASE__INST2_SEG3 0
  149. #define ATHUB_BASE__INST2_SEG4 0
  150. #define ATHUB_BASE__INST2_SEG5 0
  151. #define ATHUB_BASE__INST3_SEG0 0
  152. #define ATHUB_BASE__INST3_SEG1 0
  153. #define ATHUB_BASE__INST3_SEG2 0
  154. #define ATHUB_BASE__INST3_SEG3 0
  155. #define ATHUB_BASE__INST3_SEG4 0
  156. #define ATHUB_BASE__INST3_SEG5 0
  157. #define ATHUB_BASE__INST4_SEG0 0
  158. #define ATHUB_BASE__INST4_SEG1 0
  159. #define ATHUB_BASE__INST4_SEG2 0
  160. #define ATHUB_BASE__INST4_SEG3 0
  161. #define ATHUB_BASE__INST4_SEG4 0
  162. #define ATHUB_BASE__INST4_SEG5 0
  163. #define ATHUB_BASE__INST5_SEG0 0
  164. #define ATHUB_BASE__INST5_SEG1 0
  165. #define ATHUB_BASE__INST5_SEG2 0
  166. #define ATHUB_BASE__INST5_SEG3 0
  167. #define ATHUB_BASE__INST5_SEG4 0
  168. #define ATHUB_BASE__INST5_SEG5 0
  169. #define CLK_BASE__INST0_SEG0 0x00016C00
  170. #define CLK_BASE__INST0_SEG1 0x00016E00
  171. #define CLK_BASE__INST0_SEG2 0x00017000
  172. #define CLK_BASE__INST0_SEG3 0x00017200
  173. #define CLK_BASE__INST0_SEG4 0x00017E00
  174. #define CLK_BASE__INST0_SEG5 0x0001B000
  175. #define CLK_BASE__INST1_SEG0 0
  176. #define CLK_BASE__INST1_SEG1 0
  177. #define CLK_BASE__INST1_SEG2 0
  178. #define CLK_BASE__INST1_SEG3 0
  179. #define CLK_BASE__INST1_SEG4 0
  180. #define CLK_BASE__INST1_SEG5 0
  181. #define CLK_BASE__INST2_SEG0 0
  182. #define CLK_BASE__INST2_SEG1 0
  183. #define CLK_BASE__INST2_SEG2 0
  184. #define CLK_BASE__INST2_SEG3 0
  185. #define CLK_BASE__INST2_SEG4 0
  186. #define CLK_BASE__INST2_SEG5 0
  187. #define CLK_BASE__INST3_SEG0 0
  188. #define CLK_BASE__INST3_SEG1 0
  189. #define CLK_BASE__INST3_SEG2 0
  190. #define CLK_BASE__INST3_SEG3 0
  191. #define CLK_BASE__INST3_SEG4 0
  192. #define CLK_BASE__INST3_SEG5 0
  193. #define CLK_BASE__INST4_SEG0 0
  194. #define CLK_BASE__INST4_SEG1 0
  195. #define CLK_BASE__INST4_SEG2 0
  196. #define CLK_BASE__INST4_SEG3 0
  197. #define CLK_BASE__INST4_SEG4 0
  198. #define CLK_BASE__INST4_SEG5 0
  199. #define CLK_BASE__INST5_SEG0 0
  200. #define CLK_BASE__INST5_SEG1 0
  201. #define CLK_BASE__INST5_SEG2 0
  202. #define CLK_BASE__INST5_SEG3 0
  203. #define CLK_BASE__INST5_SEG4 0
  204. #define CLK_BASE__INST5_SEG5 0
  205. #define DF_BASE__INST0_SEG0 0x00007000
  206. #define DF_BASE__INST0_SEG1 0
  207. #define DF_BASE__INST0_SEG2 0
  208. #define DF_BASE__INST0_SEG3 0
  209. #define DF_BASE__INST0_SEG4 0
  210. #define DF_BASE__INST0_SEG5 0
  211. #define DF_BASE__INST1_SEG0 0
  212. #define DF_BASE__INST1_SEG1 0
  213. #define DF_BASE__INST1_SEG2 0
  214. #define DF_BASE__INST1_SEG3 0
  215. #define DF_BASE__INST1_SEG4 0
  216. #define DF_BASE__INST1_SEG5 0
  217. #define DF_BASE__INST2_SEG0 0
  218. #define DF_BASE__INST2_SEG1 0
  219. #define DF_BASE__INST2_SEG2 0
  220. #define DF_BASE__INST2_SEG3 0
  221. #define DF_BASE__INST2_SEG4 0
  222. #define DF_BASE__INST2_SEG5 0
  223. #define DF_BASE__INST3_SEG0 0
  224. #define DF_BASE__INST3_SEG1 0
  225. #define DF_BASE__INST3_SEG2 0
  226. #define DF_BASE__INST3_SEG3 0
  227. #define DF_BASE__INST3_SEG4 0
  228. #define DF_BASE__INST3_SEG5 0
  229. #define DF_BASE__INST4_SEG0 0
  230. #define DF_BASE__INST4_SEG1 0
  231. #define DF_BASE__INST4_SEG2 0
  232. #define DF_BASE__INST4_SEG3 0
  233. #define DF_BASE__INST4_SEG4 0
  234. #define DF_BASE__INST4_SEG5 0
  235. #define DF_BASE__INST5_SEG0 0
  236. #define DF_BASE__INST5_SEG1 0
  237. #define DF_BASE__INST5_SEG2 0
  238. #define DF_BASE__INST5_SEG3 0
  239. #define DF_BASE__INST5_SEG4 0
  240. #define DF_BASE__INST5_SEG5 0
  241. #define DCN_BASE__INST0_SEG0 0x00000012
  242. #define DCN_BASE__INST0_SEG1 0x000000C0
  243. #define DCN_BASE__INST0_SEG2 0x000034C0
  244. #define DCN_BASE__INST0_SEG3 0x00009000
  245. #define DCN_BASE__INST0_SEG4 0
  246. #define DCN_BASE__INST0_SEG5 0
  247. #define DCN_BASE__INST1_SEG0 0
  248. #define DCN_BASE__INST1_SEG1 0
  249. #define DCN_BASE__INST1_SEG2 0
  250. #define DCN_BASE__INST1_SEG3 0
  251. #define DCN_BASE__INST1_SEG4 0
  252. #define DCN_BASE__INST1_SEG5 0
  253. #define DCN_BASE__INST2_SEG0 0
  254. #define DCN_BASE__INST2_SEG1 0
  255. #define DCN_BASE__INST2_SEG2 0
  256. #define DCN_BASE__INST2_SEG3 0
  257. #define DCN_BASE__INST2_SEG4 0
  258. #define DCN_BASE__INST2_SEG5 0
  259. #define DCN_BASE__INST3_SEG0 0
  260. #define DCN_BASE__INST3_SEG1 0
  261. #define DCN_BASE__INST3_SEG2 0
  262. #define DCN_BASE__INST3_SEG3 0
  263. #define DCN_BASE__INST3_SEG4 0
  264. #define DCN_BASE__INST3_SEG5 0
  265. #define DCN_BASE__INST4_SEG0 0
  266. #define DCN_BASE__INST4_SEG1 0
  267. #define DCN_BASE__INST4_SEG2 0
  268. #define DCN_BASE__INST4_SEG3 0
  269. #define DCN_BASE__INST4_SEG4 0
  270. #define DCN_BASE__INST4_SEG5 0
  271. #define DCN_BASE__INST5_SEG0 0
  272. #define DCN_BASE__INST5_SEG1 0
  273. #define DCN_BASE__INST5_SEG2 0
  274. #define DCN_BASE__INST5_SEG3 0
  275. #define DCN_BASE__INST5_SEG4 0
  276. #define DCN_BASE__INST5_SEG5 0
  277. #define FUSE_BASE__INST0_SEG0 0x00017400
  278. #define FUSE_BASE__INST0_SEG1 0
  279. #define FUSE_BASE__INST0_SEG2 0
  280. #define FUSE_BASE__INST0_SEG3 0
  281. #define FUSE_BASE__INST0_SEG4 0
  282. #define FUSE_BASE__INST0_SEG5 0
  283. #define FUSE_BASE__INST1_SEG0 0
  284. #define FUSE_BASE__INST1_SEG1 0
  285. #define FUSE_BASE__INST1_SEG2 0
  286. #define FUSE_BASE__INST1_SEG3 0
  287. #define FUSE_BASE__INST1_SEG4 0
  288. #define FUSE_BASE__INST1_SEG5 0
  289. #define FUSE_BASE__INST2_SEG0 0
  290. #define FUSE_BASE__INST2_SEG1 0
  291. #define FUSE_BASE__INST2_SEG2 0
  292. #define FUSE_BASE__INST2_SEG3 0
  293. #define FUSE_BASE__INST2_SEG4 0
  294. #define FUSE_BASE__INST2_SEG5 0
  295. #define FUSE_BASE__INST3_SEG0 0
  296. #define FUSE_BASE__INST3_SEG1 0
  297. #define FUSE_BASE__INST3_SEG2 0
  298. #define FUSE_BASE__INST3_SEG3 0
  299. #define FUSE_BASE__INST3_SEG4 0
  300. #define FUSE_BASE__INST3_SEG5 0
  301. #define FUSE_BASE__INST4_SEG0 0
  302. #define FUSE_BASE__INST4_SEG1 0
  303. #define FUSE_BASE__INST4_SEG2 0
  304. #define FUSE_BASE__INST4_SEG3 0
  305. #define FUSE_BASE__INST4_SEG4 0
  306. #define FUSE_BASE__INST4_SEG5 0
  307. #define FUSE_BASE__INST5_SEG0 0
  308. #define FUSE_BASE__INST5_SEG1 0
  309. #define FUSE_BASE__INST5_SEG2 0
  310. #define FUSE_BASE__INST5_SEG3 0
  311. #define FUSE_BASE__INST5_SEG4 0
  312. #define FUSE_BASE__INST5_SEG5 0
  313. #define GC_BASE__INST0_SEG0 0x00001260
  314. #define GC_BASE__INST0_SEG1 0x0000A000
  315. #define GC_BASE__INST0_SEG2 0
  316. #define GC_BASE__INST0_SEG3 0
  317. #define GC_BASE__INST0_SEG4 0
  318. #define GC_BASE__INST0_SEG5 0
  319. #define GC_BASE__INST1_SEG0 0
  320. #define GC_BASE__INST1_SEG1 0
  321. #define GC_BASE__INST1_SEG2 0
  322. #define GC_BASE__INST1_SEG3 0
  323. #define GC_BASE__INST1_SEG4 0
  324. #define GC_BASE__INST1_SEG5 0
  325. #define GC_BASE__INST2_SEG0 0
  326. #define GC_BASE__INST2_SEG1 0
  327. #define GC_BASE__INST2_SEG2 0
  328. #define GC_BASE__INST2_SEG3 0
  329. #define GC_BASE__INST2_SEG4 0
  330. #define GC_BASE__INST2_SEG5 0
  331. #define GC_BASE__INST3_SEG0 0
  332. #define GC_BASE__INST3_SEG1 0
  333. #define GC_BASE__INST3_SEG2 0
  334. #define GC_BASE__INST3_SEG3 0
  335. #define GC_BASE__INST3_SEG4 0
  336. #define GC_BASE__INST3_SEG5 0
  337. #define GC_BASE__INST4_SEG0 0
  338. #define GC_BASE__INST4_SEG1 0
  339. #define GC_BASE__INST4_SEG2 0
  340. #define GC_BASE__INST4_SEG3 0
  341. #define GC_BASE__INST4_SEG4 0
  342. #define GC_BASE__INST4_SEG5 0
  343. #define GC_BASE__INST5_SEG0 0
  344. #define GC_BASE__INST5_SEG1 0
  345. #define GC_BASE__INST5_SEG2 0
  346. #define GC_BASE__INST5_SEG3 0
  347. #define GC_BASE__INST5_SEG4 0
  348. #define GC_BASE__INST5_SEG5 0
  349. #define HDP_BASE__INST0_SEG0 0x00000F20
  350. #define HDP_BASE__INST0_SEG1 0
  351. #define HDP_BASE__INST0_SEG2 0
  352. #define HDP_BASE__INST0_SEG3 0
  353. #define HDP_BASE__INST0_SEG4 0
  354. #define HDP_BASE__INST0_SEG5 0
  355. #define HDP_BASE__INST1_SEG0 0
  356. #define HDP_BASE__INST1_SEG1 0
  357. #define HDP_BASE__INST1_SEG2 0
  358. #define HDP_BASE__INST1_SEG3 0
  359. #define HDP_BASE__INST1_SEG4 0
  360. #define HDP_BASE__INST1_SEG5 0
  361. #define HDP_BASE__INST2_SEG0 0
  362. #define HDP_BASE__INST2_SEG1 0
  363. #define HDP_BASE__INST2_SEG2 0
  364. #define HDP_BASE__INST2_SEG3 0
  365. #define HDP_BASE__INST2_SEG4 0
  366. #define HDP_BASE__INST2_SEG5 0
  367. #define HDP_BASE__INST3_SEG0 0
  368. #define HDP_BASE__INST3_SEG1 0
  369. #define HDP_BASE__INST3_SEG2 0
  370. #define HDP_BASE__INST3_SEG3 0
  371. #define HDP_BASE__INST3_SEG4 0
  372. #define HDP_BASE__INST3_SEG5 0
  373. #define HDP_BASE__INST4_SEG0 0
  374. #define HDP_BASE__INST4_SEG1 0
  375. #define HDP_BASE__INST4_SEG2 0
  376. #define HDP_BASE__INST4_SEG3 0
  377. #define HDP_BASE__INST4_SEG4 0
  378. #define HDP_BASE__INST4_SEG5 0
  379. #define HDP_BASE__INST5_SEG0 0
  380. #define HDP_BASE__INST5_SEG1 0
  381. #define HDP_BASE__INST5_SEG2 0
  382. #define HDP_BASE__INST5_SEG3 0
  383. #define HDP_BASE__INST5_SEG4 0
  384. #define HDP_BASE__INST5_SEG5 0
  385. #define MMHUB_BASE__INST0_SEG0 0x0001A000
  386. #define MMHUB_BASE__INST0_SEG1 0
  387. #define MMHUB_BASE__INST0_SEG2 0
  388. #define MMHUB_BASE__INST0_SEG3 0
  389. #define MMHUB_BASE__INST0_SEG4 0
  390. #define MMHUB_BASE__INST0_SEG5 0
  391. #define MMHUB_BASE__INST1_SEG0 0
  392. #define MMHUB_BASE__INST1_SEG1 0
  393. #define MMHUB_BASE__INST1_SEG2 0
  394. #define MMHUB_BASE__INST1_SEG3 0
  395. #define MMHUB_BASE__INST1_SEG4 0
  396. #define MMHUB_BASE__INST1_SEG5 0
  397. #define MMHUB_BASE__INST2_SEG0 0
  398. #define MMHUB_BASE__INST2_SEG1 0
  399. #define MMHUB_BASE__INST2_SEG2 0
  400. #define MMHUB_BASE__INST2_SEG3 0
  401. #define MMHUB_BASE__INST2_SEG4 0
  402. #define MMHUB_BASE__INST2_SEG5 0
  403. #define MMHUB_BASE__INST3_SEG0 0
  404. #define MMHUB_BASE__INST3_SEG1 0
  405. #define MMHUB_BASE__INST3_SEG2 0
  406. #define MMHUB_BASE__INST3_SEG3 0
  407. #define MMHUB_BASE__INST3_SEG4 0
  408. #define MMHUB_BASE__INST3_SEG5 0
  409. #define MMHUB_BASE__INST4_SEG0 0
  410. #define MMHUB_BASE__INST4_SEG1 0
  411. #define MMHUB_BASE__INST4_SEG2 0
  412. #define MMHUB_BASE__INST4_SEG3 0
  413. #define MMHUB_BASE__INST4_SEG4 0
  414. #define MMHUB_BASE__INST4_SEG5 0
  415. #define MMHUB_BASE__INST5_SEG0 0
  416. #define MMHUB_BASE__INST5_SEG1 0
  417. #define MMHUB_BASE__INST5_SEG2 0
  418. #define MMHUB_BASE__INST5_SEG3 0
  419. #define MMHUB_BASE__INST5_SEG4 0
  420. #define MMHUB_BASE__INST5_SEG5 0
  421. #define MP0_BASE__INST0_SEG0 0x00016000
  422. #define MP0_BASE__INST0_SEG1 0
  423. #define MP0_BASE__INST0_SEG2 0
  424. #define MP0_BASE__INST0_SEG3 0
  425. #define MP0_BASE__INST0_SEG4 0
  426. #define MP0_BASE__INST0_SEG5 0
  427. #define MP0_BASE__INST1_SEG0 0
  428. #define MP0_BASE__INST1_SEG1 0
  429. #define MP0_BASE__INST1_SEG2 0
  430. #define MP0_BASE__INST1_SEG3 0
  431. #define MP0_BASE__INST1_SEG4 0
  432. #define MP0_BASE__INST1_SEG5 0
  433. #define MP0_BASE__INST2_SEG0 0
  434. #define MP0_BASE__INST2_SEG1 0
  435. #define MP0_BASE__INST2_SEG2 0
  436. #define MP0_BASE__INST2_SEG3 0
  437. #define MP0_BASE__INST2_SEG4 0
  438. #define MP0_BASE__INST2_SEG5 0
  439. #define MP0_BASE__INST3_SEG0 0
  440. #define MP0_BASE__INST3_SEG1 0
  441. #define MP0_BASE__INST3_SEG2 0
  442. #define MP0_BASE__INST3_SEG3 0
  443. #define MP0_BASE__INST3_SEG4 0
  444. #define MP0_BASE__INST3_SEG5 0
  445. #define MP0_BASE__INST4_SEG0 0
  446. #define MP0_BASE__INST4_SEG1 0
  447. #define MP0_BASE__INST4_SEG2 0
  448. #define MP0_BASE__INST4_SEG3 0
  449. #define MP0_BASE__INST4_SEG4 0
  450. #define MP0_BASE__INST4_SEG5 0
  451. #define MP0_BASE__INST5_SEG0 0
  452. #define MP0_BASE__INST5_SEG1 0
  453. #define MP0_BASE__INST5_SEG2 0
  454. #define MP0_BASE__INST5_SEG3 0
  455. #define MP0_BASE__INST5_SEG4 0
  456. #define MP0_BASE__INST5_SEG5 0
  457. #define MP1_BASE__INST0_SEG0 0x00016000
  458. #define MP1_BASE__INST0_SEG1 0
  459. #define MP1_BASE__INST0_SEG2 0
  460. #define MP1_BASE__INST0_SEG3 0
  461. #define MP1_BASE__INST0_SEG4 0
  462. #define MP1_BASE__INST0_SEG5 0
  463. #define MP1_BASE__INST1_SEG0 0
  464. #define MP1_BASE__INST1_SEG1 0
  465. #define MP1_BASE__INST1_SEG2 0
  466. #define MP1_BASE__INST1_SEG3 0
  467. #define MP1_BASE__INST1_SEG4 0
  468. #define MP1_BASE__INST1_SEG5 0
  469. #define MP1_BASE__INST2_SEG0 0
  470. #define MP1_BASE__INST2_SEG1 0
  471. #define MP1_BASE__INST2_SEG2 0
  472. #define MP1_BASE__INST2_SEG3 0
  473. #define MP1_BASE__INST2_SEG4 0
  474. #define MP1_BASE__INST2_SEG5 0
  475. #define MP1_BASE__INST3_SEG0 0
  476. #define MP1_BASE__INST3_SEG1 0
  477. #define MP1_BASE__INST3_SEG2 0
  478. #define MP1_BASE__INST3_SEG3 0
  479. #define MP1_BASE__INST3_SEG4 0
  480. #define MP1_BASE__INST3_SEG5 0
  481. #define MP1_BASE__INST4_SEG0 0
  482. #define MP1_BASE__INST4_SEG1 0
  483. #define MP1_BASE__INST4_SEG2 0
  484. #define MP1_BASE__INST4_SEG3 0
  485. #define MP1_BASE__INST4_SEG4 0
  486. #define MP1_BASE__INST4_SEG5 0
  487. #define MP1_BASE__INST5_SEG0 0
  488. #define MP1_BASE__INST5_SEG1 0
  489. #define MP1_BASE__INST5_SEG2 0
  490. #define MP1_BASE__INST5_SEG3 0
  491. #define MP1_BASE__INST5_SEG4 0
  492. #define MP1_BASE__INST5_SEG5 0
  493. #define NBIO_BASE__INST0_SEG0 0x00000000
  494. #define NBIO_BASE__INST0_SEG1 0x00000014
  495. #define NBIO_BASE__INST0_SEG2 0x00000D20
  496. #define NBIO_BASE__INST0_SEG3 0x00010400
  497. #define NBIO_BASE__INST0_SEG4 0
  498. #define NBIO_BASE__INST0_SEG5 0
  499. #define NBIO_BASE__INST1_SEG0 0
  500. #define NBIO_BASE__INST1_SEG1 0
  501. #define NBIO_BASE__INST1_SEG2 0
  502. #define NBIO_BASE__INST1_SEG3 0
  503. #define NBIO_BASE__INST1_SEG4 0
  504. #define NBIO_BASE__INST1_SEG5 0
  505. #define NBIO_BASE__INST2_SEG0 0
  506. #define NBIO_BASE__INST2_SEG1 0
  507. #define NBIO_BASE__INST2_SEG2 0
  508. #define NBIO_BASE__INST2_SEG3 0
  509. #define NBIO_BASE__INST2_SEG4 0
  510. #define NBIO_BASE__INST2_SEG5 0
  511. #define NBIO_BASE__INST3_SEG0 0
  512. #define NBIO_BASE__INST3_SEG1 0
  513. #define NBIO_BASE__INST3_SEG2 0
  514. #define NBIO_BASE__INST3_SEG3 0
  515. #define NBIO_BASE__INST3_SEG4 0
  516. #define NBIO_BASE__INST3_SEG5 0
  517. #define NBIO_BASE__INST4_SEG0 0
  518. #define NBIO_BASE__INST4_SEG1 0
  519. #define NBIO_BASE__INST4_SEG2 0
  520. #define NBIO_BASE__INST4_SEG3 0
  521. #define NBIO_BASE__INST4_SEG4 0
  522. #define NBIO_BASE__INST4_SEG5 0
  523. #define NBIO_BASE__INST5_SEG0 0
  524. #define NBIO_BASE__INST5_SEG1 0
  525. #define NBIO_BASE__INST5_SEG2 0
  526. #define NBIO_BASE__INST5_SEG3 0
  527. #define NBIO_BASE__INST5_SEG4 0
  528. #define NBIO_BASE__INST5_SEG5 0
  529. #define OSSSYS_BASE__INST0_SEG0 0x000010A0
  530. #define OSSSYS_BASE__INST0_SEG1 0
  531. #define OSSSYS_BASE__INST0_SEG2 0
  532. #define OSSSYS_BASE__INST0_SEG3 0
  533. #define OSSSYS_BASE__INST0_SEG4 0
  534. #define OSSSYS_BASE__INST0_SEG5 0
  535. #define OSSSYS_BASE__INST1_SEG0 0
  536. #define OSSSYS_BASE__INST1_SEG1 0
  537. #define OSSSYS_BASE__INST1_SEG2 0
  538. #define OSSSYS_BASE__INST1_SEG3 0
  539. #define OSSSYS_BASE__INST1_SEG4 0
  540. #define OSSSYS_BASE__INST1_SEG5 0
  541. #define OSSSYS_BASE__INST2_SEG0 0
  542. #define OSSSYS_BASE__INST2_SEG1 0
  543. #define OSSSYS_BASE__INST2_SEG2 0
  544. #define OSSSYS_BASE__INST2_SEG3 0
  545. #define OSSSYS_BASE__INST2_SEG4 0
  546. #define OSSSYS_BASE__INST2_SEG5 0
  547. #define OSSSYS_BASE__INST3_SEG0 0
  548. #define OSSSYS_BASE__INST3_SEG1 0
  549. #define OSSSYS_BASE__INST3_SEG2 0
  550. #define OSSSYS_BASE__INST3_SEG3 0
  551. #define OSSSYS_BASE__INST3_SEG4 0
  552. #define OSSSYS_BASE__INST3_SEG5 0
  553. #define OSSSYS_BASE__INST4_SEG0 0
  554. #define OSSSYS_BASE__INST4_SEG1 0
  555. #define OSSSYS_BASE__INST4_SEG2 0
  556. #define OSSSYS_BASE__INST4_SEG3 0
  557. #define OSSSYS_BASE__INST4_SEG4 0
  558. #define OSSSYS_BASE__INST4_SEG5 0
  559. #define OSSSYS_BASE__INST5_SEG0 0
  560. #define OSSSYS_BASE__INST5_SEG1 0
  561. #define OSSSYS_BASE__INST5_SEG2 0
  562. #define OSSSYS_BASE__INST5_SEG3 0
  563. #define OSSSYS_BASE__INST5_SEG4 0
  564. #define OSSSYS_BASE__INST5_SEG5 0
  565. #define RSMU_BASE__INST0_SEG0 0x00012000
  566. #define RSMU_BASE__INST0_SEG1 0
  567. #define RSMU_BASE__INST0_SEG2 0
  568. #define RSMU_BASE__INST0_SEG3 0
  569. #define RSMU_BASE__INST0_SEG4 0
  570. #define RSMU_BASE__INST0_SEG5 0
  571. #define RSMU_BASE__INST1_SEG0 0
  572. #define RSMU_BASE__INST1_SEG1 0
  573. #define RSMU_BASE__INST1_SEG2 0
  574. #define RSMU_BASE__INST1_SEG3 0
  575. #define RSMU_BASE__INST1_SEG4 0
  576. #define RSMU_BASE__INST1_SEG5 0
  577. #define RSMU_BASE__INST2_SEG0 0
  578. #define RSMU_BASE__INST2_SEG1 0
  579. #define RSMU_BASE__INST2_SEG2 0
  580. #define RSMU_BASE__INST2_SEG3 0
  581. #define RSMU_BASE__INST2_SEG4 0
  582. #define RSMU_BASE__INST2_SEG5 0
  583. #define RSMU_BASE__INST3_SEG0 0
  584. #define RSMU_BASE__INST3_SEG1 0
  585. #define RSMU_BASE__INST3_SEG2 0
  586. #define RSMU_BASE__INST3_SEG3 0
  587. #define RSMU_BASE__INST3_SEG4 0
  588. #define RSMU_BASE__INST3_SEG5 0
  589. #define RSMU_BASE__INST4_SEG0 0
  590. #define RSMU_BASE__INST4_SEG1 0
  591. #define RSMU_BASE__INST4_SEG2 0
  592. #define RSMU_BASE__INST4_SEG3 0
  593. #define RSMU_BASE__INST4_SEG4 0
  594. #define RSMU_BASE__INST4_SEG5 0
  595. #define RSMU_BASE__INST5_SEG0 0
  596. #define RSMU_BASE__INST5_SEG1 0
  597. #define RSMU_BASE__INST5_SEG2 0
  598. #define RSMU_BASE__INST5_SEG3 0
  599. #define RSMU_BASE__INST5_SEG4 0
  600. #define RSMU_BASE__INST5_SEG5 0
  601. #define SMUIO_BASE__INST0_SEG0 0x00016800
  602. #define SMUIO_BASE__INST0_SEG1 0x00016A00
  603. #define SMUIO_BASE__INST0_SEG2 0
  604. #define SMUIO_BASE__INST0_SEG3 0
  605. #define SMUIO_BASE__INST0_SEG4 0
  606. #define SMUIO_BASE__INST0_SEG5 0
  607. #define SMUIO_BASE__INST1_SEG0 0
  608. #define SMUIO_BASE__INST1_SEG1 0
  609. #define SMUIO_BASE__INST1_SEG2 0
  610. #define SMUIO_BASE__INST1_SEG3 0
  611. #define SMUIO_BASE__INST1_SEG4 0
  612. #define SMUIO_BASE__INST1_SEG5 0
  613. #define SMUIO_BASE__INST2_SEG0 0
  614. #define SMUIO_BASE__INST2_SEG1 0
  615. #define SMUIO_BASE__INST2_SEG2 0
  616. #define SMUIO_BASE__INST2_SEG3 0
  617. #define SMUIO_BASE__INST2_SEG4 0
  618. #define SMUIO_BASE__INST2_SEG5 0
  619. #define SMUIO_BASE__INST3_SEG0 0
  620. #define SMUIO_BASE__INST3_SEG1 0
  621. #define SMUIO_BASE__INST3_SEG2 0
  622. #define SMUIO_BASE__INST3_SEG3 0
  623. #define SMUIO_BASE__INST3_SEG4 0
  624. #define SMUIO_BASE__INST3_SEG5 0
  625. #define SMUIO_BASE__INST4_SEG0 0
  626. #define SMUIO_BASE__INST4_SEG1 0
  627. #define SMUIO_BASE__INST4_SEG2 0
  628. #define SMUIO_BASE__INST4_SEG3 0
  629. #define SMUIO_BASE__INST4_SEG4 0
  630. #define SMUIO_BASE__INST4_SEG5 0
  631. #define SMUIO_BASE__INST5_SEG0 0
  632. #define SMUIO_BASE__INST5_SEG1 0
  633. #define SMUIO_BASE__INST5_SEG2 0
  634. #define SMUIO_BASE__INST5_SEG3 0
  635. #define SMUIO_BASE__INST5_SEG4 0
  636. #define SMUIO_BASE__INST5_SEG5 0
  637. #define THM_BASE__INST0_SEG0 0x00016600
  638. #define THM_BASE__INST0_SEG1 0
  639. #define THM_BASE__INST0_SEG2 0
  640. #define THM_BASE__INST0_SEG3 0
  641. #define THM_BASE__INST0_SEG4 0
  642. #define THM_BASE__INST0_SEG5 0
  643. #define THM_BASE__INST1_SEG0 0
  644. #define THM_BASE__INST1_SEG1 0
  645. #define THM_BASE__INST1_SEG2 0
  646. #define THM_BASE__INST1_SEG3 0
  647. #define THM_BASE__INST1_SEG4 0
  648. #define THM_BASE__INST1_SEG5 0
  649. #define THM_BASE__INST2_SEG0 0
  650. #define THM_BASE__INST2_SEG1 0
  651. #define THM_BASE__INST2_SEG2 0
  652. #define THM_BASE__INST2_SEG3 0
  653. #define THM_BASE__INST2_SEG4 0
  654. #define THM_BASE__INST2_SEG5 0
  655. #define THM_BASE__INST3_SEG0 0
  656. #define THM_BASE__INST3_SEG1 0
  657. #define THM_BASE__INST3_SEG2 0
  658. #define THM_BASE__INST3_SEG3 0
  659. #define THM_BASE__INST3_SEG4 0
  660. #define THM_BASE__INST3_SEG5 0
  661. #define THM_BASE__INST4_SEG0 0
  662. #define THM_BASE__INST4_SEG1 0
  663. #define THM_BASE__INST4_SEG2 0
  664. #define THM_BASE__INST4_SEG3 0
  665. #define THM_BASE__INST4_SEG4 0
  666. #define THM_BASE__INST4_SEG5 0
  667. #define THM_BASE__INST5_SEG0 0
  668. #define THM_BASE__INST5_SEG1 0
  669. #define THM_BASE__INST5_SEG2 0
  670. #define THM_BASE__INST5_SEG3 0
  671. #define THM_BASE__INST5_SEG4 0
  672. #define THM_BASE__INST5_SEG5 0
  673. #define UMC_BASE__INST0_SEG0 0x00014000
  674. #define UMC_BASE__INST0_SEG1 0
  675. #define UMC_BASE__INST0_SEG2 0
  676. #define UMC_BASE__INST0_SEG3 0
  677. #define UMC_BASE__INST0_SEG4 0
  678. #define UMC_BASE__INST0_SEG5 0
  679. #define UMC_BASE__INST1_SEG0 0
  680. #define UMC_BASE__INST1_SEG1 0
  681. #define UMC_BASE__INST1_SEG2 0
  682. #define UMC_BASE__INST1_SEG3 0
  683. #define UMC_BASE__INST1_SEG4 0
  684. #define UMC_BASE__INST1_SEG5 0
  685. #define UMC_BASE__INST2_SEG0 0
  686. #define UMC_BASE__INST2_SEG1 0
  687. #define UMC_BASE__INST2_SEG2 0
  688. #define UMC_BASE__INST2_SEG3 0
  689. #define UMC_BASE__INST2_SEG4 0
  690. #define UMC_BASE__INST2_SEG5 0
  691. #define UMC_BASE__INST3_SEG0 0
  692. #define UMC_BASE__INST3_SEG1 0
  693. #define UMC_BASE__INST3_SEG2 0
  694. #define UMC_BASE__INST3_SEG3 0
  695. #define UMC_BASE__INST3_SEG4 0
  696. #define UMC_BASE__INST3_SEG5 0
  697. #define UMC_BASE__INST4_SEG0 0
  698. #define UMC_BASE__INST4_SEG1 0
  699. #define UMC_BASE__INST4_SEG2 0
  700. #define UMC_BASE__INST4_SEG3 0
  701. #define UMC_BASE__INST4_SEG4 0
  702. #define UMC_BASE__INST4_SEG5 0
  703. #define UMC_BASE__INST5_SEG0 0
  704. #define UMC_BASE__INST5_SEG1 0
  705. #define UMC_BASE__INST5_SEG2 0
  706. #define UMC_BASE__INST5_SEG3 0
  707. #define UMC_BASE__INST5_SEG4 0
  708. #define UMC_BASE__INST5_SEG5 0
  709. #define VCN_BASE__INST0_SEG0 0x00007800
  710. #define VCN_BASE__INST0_SEG1 0x00007E00
  711. #define VCN_BASE__INST0_SEG2 0
  712. #define VCN_BASE__INST0_SEG3 0
  713. #define VCN_BASE__INST0_SEG4 0
  714. #define VCN_BASE__INST0_SEG5 0
  715. #define VCN_BASE__INST1_SEG0 0
  716. #define VCN_BASE__INST1_SEG1 0
  717. #define VCN_BASE__INST1_SEG2 0
  718. #define VCN_BASE__INST1_SEG3 0
  719. #define VCN_BASE__INST1_SEG4 0
  720. #define VCN_BASE__INST1_SEG5 0
  721. #define VCN_BASE__INST2_SEG0 0
  722. #define VCN_BASE__INST2_SEG1 0
  723. #define VCN_BASE__INST2_SEG2 0
  724. #define VCN_BASE__INST2_SEG3 0
  725. #define VCN_BASE__INST2_SEG4 0
  726. #define VCN_BASE__INST2_SEG5 0
  727. #define VCN_BASE__INST3_SEG0 0
  728. #define VCN_BASE__INST3_SEG1 0
  729. #define VCN_BASE__INST3_SEG2 0
  730. #define VCN_BASE__INST3_SEG3 0
  731. #define VCN_BASE__INST3_SEG4 0
  732. #define VCN_BASE__INST3_SEG5 0
  733. #define VCN_BASE__INST4_SEG0 0
  734. #define VCN_BASE__INST4_SEG1 0
  735. #define VCN_BASE__INST4_SEG2 0
  736. #define VCN_BASE__INST4_SEG3 0
  737. #define VCN_BASE__INST4_SEG4 0
  738. #define VCN_BASE__INST4_SEG5 0
  739. #define VCN_BASE__INST5_SEG0 0
  740. #define VCN_BASE__INST5_SEG1 0
  741. #define VCN_BASE__INST5_SEG2 0
  742. #define VCN_BASE__INST5_SEG3 0
  743. #define VCN_BASE__INST5_SEG4 0
  744. #define VCN_BASE__INST5_SEG5 0
  745. #endif