ct20k1reg.h 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635
  1. /**
  2. * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved.
  3. *
  4. * This source file is released under GPL v2 license (no other versions).
  5. * See the COPYING file included in the main directory of this source
  6. * distribution for the license terms and conditions.
  7. */
  8. #ifndef CT20K1REG_H
  9. #define CT20K1REG_H
  10. /* 20k1 registers */
  11. #define DSPXRAM_START 0x000000
  12. #define DSPXRAM_END 0x013FFC
  13. #define DSPAXRAM_START 0x020000
  14. #define DSPAXRAM_END 0x023FFC
  15. #define DSPYRAM_START 0x040000
  16. #define DSPYRAM_END 0x04FFFC
  17. #define DSPAYRAM_START 0x020000
  18. #define DSPAYRAM_END 0x063FFC
  19. #define DSPMICRO_START 0x080000
  20. #define DSPMICRO_END 0x0B3FFC
  21. #define DSP0IO_START 0x100000
  22. #define DSP0IO_END 0x101FFC
  23. #define AUDIORINGIPDSP0_START 0x100000
  24. #define AUDIORINGIPDSP0_END 0x1003FC
  25. #define AUDIORINGOPDSP0_START 0x100400
  26. #define AUDIORINGOPDSP0_END 0x1007FC
  27. #define AUDPARARINGIODSP0_START 0x100800
  28. #define AUDPARARINGIODSP0_END 0x100BFC
  29. #define DSP0LOCALHWREG_START 0x100C00
  30. #define DSP0LOCALHWREG_END 0x100C3C
  31. #define DSP0XYRAMAGINDEX_START 0x100C40
  32. #define DSP0XYRAMAGINDEX_END 0x100C5C
  33. #define DSP0XYRAMAGMDFR_START 0x100C60
  34. #define DSP0XYRAMAGMDFR_END 0x100C7C
  35. #define DSP0INTCONTLVEC_START 0x100C80
  36. #define DSP0INTCONTLVEC_END 0x100CD8
  37. #define INTCONTLGLOBALREG_START 0x100D1C
  38. #define INTCONTLGLOBALREG_END 0x100D3C
  39. #define HOSTINTFPORTADDRCONTDSP0 0x100D40
  40. #define HOSTINTFPORTDATADSP0 0x100D44
  41. #define TIME0PERENBDSP0 0x100D60
  42. #define TIME0COUNTERDSP0 0x100D64
  43. #define TIME1PERENBDSP0 0x100D68
  44. #define TIME1COUNTERDSP0 0x100D6C
  45. #define TIME2PERENBDSP0 0x100D70
  46. #define TIME2COUNTERDSP0 0x100D74
  47. #define TIME3PERENBDSP0 0x100D78
  48. #define TIME3COUNTERDSP0 0x100D7C
  49. #define XRAMINDOPERREFNOUP_STARTDSP0 0x100D80
  50. #define XRAMINDOPERREFNOUP_ENDDSP0 0x100D9C
  51. #define XRAMINDOPERREFUP_STARTDSP0 0x100DA0
  52. #define XRAMINDOPERREFUP_ENDDSP0 0x100DBC
  53. #define YRAMINDOPERREFNOUP_STARTDSP0 0x100DC0
  54. #define YRAMINDOPERREFNOUP_ENDDSP0 0x100DDC
  55. #define YRAMINDOPERREFUP_STARTDSP0 0x100DE0
  56. #define YRAMINDOPERREFUP_ENDDSP0 0x100DFC
  57. #define DSP0CONDCODE 0x100E00
  58. #define DSP0STACKFLAG 0x100E04
  59. #define DSP0PROGCOUNTSTACKPTREG 0x100E08
  60. #define DSP0PROGCOUNTSTACKDATAREG 0x100E0C
  61. #define DSP0CURLOOPADDRREG 0x100E10
  62. #define DSP0CURLOOPCOUNT 0x100E14
  63. #define DSP0TOPLOOPCOUNTSTACK 0x100E18
  64. #define DSP0TOPLOOPADDRSTACK 0x100E1C
  65. #define DSP0LOOPSTACKPTR 0x100E20
  66. #define DSP0STASSTACKDATAREG 0x100E24
  67. #define DSP0STASSTACKPTR 0x100E28
  68. #define DSP0PROGCOUNT 0x100E2C
  69. #define GLOBDSPDEBGREG 0x100E30
  70. #define GLOBDSPBREPTRREG 0x100E30
  71. #define DSP0XYRAMBASE_START 0x100EA0
  72. #define DSP0XYRAMBASE_END 0x100EBC
  73. #define DSP0XYRAMLENG_START 0x100EC0
  74. #define DSP0XYRAMLENG_END 0x100EDC
  75. #define SEMAPHOREREGDSP0 0x100EE0
  76. #define DSP0INTCONTMASKREG 0x100EE4
  77. #define DSP0INTCONTPENDREG 0x100EE8
  78. #define DSP0INTCONTSERVINT 0x100EEC
  79. #define DSPINTCONTEXTINTMODREG 0x100EEC
  80. #define GPIODSP0 0x100EFC
  81. #define DMADSPBASEADDRREG_STARTDSP0 0x100F00
  82. #define DMADSPBASEADDRREG_ENDDSP0 0x100F1C
  83. #define DMAHOSTBASEADDRREG_STARTDSP0 0x100F20
  84. #define DMAHOSTBASEADDRREG_ENDDSP0 0x100F3C
  85. #define DMADSPCURADDRREG_STARTDSP0 0x100F40
  86. #define DMADSPCURADDRREG_ENDDSP0 0x100F5C
  87. #define DMAHOSTCURADDRREG_STARTDSP0 0x100F60
  88. #define DMAHOSTCURADDRREG_ENDDSP0 0x100F7C
  89. #define DMATANXCOUNTREG_STARTDSP0 0x100F80
  90. #define DMATANXCOUNTREG_ENDDSP0 0x100F9C
  91. #define DMATIMEBUGREG_STARTDSP0 0x100FA0
  92. #define DMATIMEBUGREG_ENDDSP0 0x100FAC
  93. #define DMACNTLMODFREG_STARTDSP0 0x100FA0
  94. #define DMACNTLMODFREG_ENDDSP0 0x100FAC
  95. #define DMAGLOBSTATSREGDSP0 0x100FEC
  96. #define DSP0XGPRAM_START 0x101000
  97. #define DSP0XGPRAM_END 0x1017FC
  98. #define DSP0YGPRAM_START 0x101800
  99. #define DSP0YGPRAM_END 0x101FFC
  100. #define AUDIORINGIPDSP1_START 0x102000
  101. #define AUDIORINGIPDSP1_END 0x1023FC
  102. #define AUDIORINGOPDSP1_START 0x102400
  103. #define AUDIORINGOPDSP1_END 0x1027FC
  104. #define AUDPARARINGIODSP1_START 0x102800
  105. #define AUDPARARINGIODSP1_END 0x102BFC
  106. #define DSP1LOCALHWREG_START 0x102C00
  107. #define DSP1LOCALHWREG_END 0x102C3C
  108. #define DSP1XYRAMAGINDEX_START 0x102C40
  109. #define DSP1XYRAMAGINDEX_END 0x102C5C
  110. #define DSP1XYRAMAGMDFR_START 0x102C60
  111. #define DSP1XYRAMAGMDFR_END 0x102C7C
  112. #define DSP1INTCONTLVEC_START 0x102C80
  113. #define DSP1INTCONTLVEC_END 0x102CD8
  114. #define HOSTINTFPORTADDRCONTDSP1 0x102D40
  115. #define HOSTINTFPORTDATADSP1 0x102D44
  116. #define TIME0PERENBDSP1 0x102D60
  117. #define TIME0COUNTERDSP1 0x102D64
  118. #define TIME1PERENBDSP1 0x102D68
  119. #define TIME1COUNTERDSP1 0x102D6C
  120. #define TIME2PERENBDSP1 0x102D70
  121. #define TIME2COUNTERDSP1 0x102D74
  122. #define TIME3PERENBDSP1 0x102D78
  123. #define TIME3COUNTERDSP1 0x102D7C
  124. #define XRAMINDOPERREFNOUP_STARTDSP1 0x102D80
  125. #define XRAMINDOPERREFNOUP_ENDDSP1 0x102D9C
  126. #define XRAMINDOPERREFUP_STARTDSP1 0x102DA0
  127. #define XRAMINDOPERREFUP_ENDDSP1 0x102DBC
  128. #define YRAMINDOPERREFNOUP_STARTDSP1 0x102DC0
  129. #define YRAMINDOPERREFNOUP_ENDDSP1 0x102DDC
  130. #define YRAMINDOPERREFUP_STARTDSP1 0x102DE0
  131. #define YRAMINDOPERREFUP_ENDDSP1 0x102DFC
  132. #define DSP1CONDCODE 0x102E00
  133. #define DSP1STACKFLAG 0x102E04
  134. #define DSP1PROGCOUNTSTACKPTREG 0x102E08
  135. #define DSP1PROGCOUNTSTACKDATAREG 0x102E0C
  136. #define DSP1CURLOOPADDRREG 0x102E10
  137. #define DSP1CURLOOPCOUNT 0x102E14
  138. #define DSP1TOPLOOPCOUNTSTACK 0x102E18
  139. #define DSP1TOPLOOPADDRSTACK 0x102E1C
  140. #define DSP1LOOPSTACKPTR 0x102E20
  141. #define DSP1STASSTACKDATAREG 0x102E24
  142. #define DSP1STASSTACKPTR 0x102E28
  143. #define DSP1PROGCOUNT 0x102E2C
  144. #define DSP1XYRAMBASE_START 0x102EA0
  145. #define DSP1XYRAMBASE_END 0x102EBC
  146. #define DSP1XYRAMLENG_START 0x102EC0
  147. #define DSP1XYRAMLENG_END 0x102EDC
  148. #define SEMAPHOREREGDSP1 0x102EE0
  149. #define DSP1INTCONTMASKREG 0x102EE4
  150. #define DSP1INTCONTPENDREG 0x102EE8
  151. #define DSP1INTCONTSERVINT 0x102EEC
  152. #define GPIODSP1 0x102EFC
  153. #define DMADSPBASEADDRREG_STARTDSP1 0x102F00
  154. #define DMADSPBASEADDRREG_ENDDSP1 0x102F1C
  155. #define DMAHOSTBASEADDRREG_STARTDSP1 0x102F20
  156. #define DMAHOSTBASEADDRREG_ENDDSP1 0x102F3C
  157. #define DMADSPCURADDRREG_STARTDSP1 0x102F40
  158. #define DMADSPCURADDRREG_ENDDSP1 0x102F5C
  159. #define DMAHOSTCURADDRREG_STARTDSP1 0x102F60
  160. #define DMAHOSTCURADDRREG_ENDDSP1 0x102F7C
  161. #define DMATANXCOUNTREG_STARTDSP1 0x102F80
  162. #define DMATANXCOUNTREG_ENDDSP1 0x102F9C
  163. #define DMATIMEBUGREG_STARTDSP1 0x102FA0
  164. #define DMATIMEBUGREG_ENDDSP1 0x102FAC
  165. #define DMACNTLMODFREG_STARTDSP1 0x102FA0
  166. #define DMACNTLMODFREG_ENDDSP1 0x102FAC
  167. #define DMAGLOBSTATSREGDSP1 0x102FEC
  168. #define DSP1XGPRAM_START 0x103000
  169. #define DSP1XGPRAM_END 0x1033FC
  170. #define DSP1YGPRAM_START 0x103400
  171. #define DSP1YGPRAM_END 0x1037FC
  172. #define AUDIORINGIPDSP2_START 0x104000
  173. #define AUDIORINGIPDSP2_END 0x1043FC
  174. #define AUDIORINGOPDSP2_START 0x104400
  175. #define AUDIORINGOPDSP2_END 0x1047FC
  176. #define AUDPARARINGIODSP2_START 0x104800
  177. #define AUDPARARINGIODSP2_END 0x104BFC
  178. #define DSP2LOCALHWREG_START 0x104C00
  179. #define DSP2LOCALHWREG_END 0x104C3C
  180. #define DSP2XYRAMAGINDEX_START 0x104C40
  181. #define DSP2XYRAMAGINDEX_END 0x104C5C
  182. #define DSP2XYRAMAGMDFR_START 0x104C60
  183. #define DSP2XYRAMAGMDFR_END 0x104C7C
  184. #define DSP2INTCONTLVEC_START 0x104C80
  185. #define DSP2INTCONTLVEC_END 0x104CD8
  186. #define HOSTINTFPORTADDRCONTDSP2 0x104D40
  187. #define HOSTINTFPORTDATADSP2 0x104D44
  188. #define TIME0PERENBDSP2 0x104D60
  189. #define TIME0COUNTERDSP2 0x104D64
  190. #define TIME1PERENBDSP2 0x104D68
  191. #define TIME1COUNTERDSP2 0x104D6C
  192. #define TIME2PERENBDSP2 0x104D70
  193. #define TIME2COUNTERDSP2 0x104D74
  194. #define TIME3PERENBDSP2 0x104D78
  195. #define TIME3COUNTERDSP2 0x104D7C
  196. #define XRAMINDOPERREFNOUP_STARTDSP2 0x104D80
  197. #define XRAMINDOPERREFNOUP_ENDDSP2 0x104D9C
  198. #define XRAMINDOPERREFUP_STARTDSP2 0x104DA0
  199. #define XRAMINDOPERREFUP_ENDDSP2 0x104DBC
  200. #define YRAMINDOPERREFNOUP_STARTDSP2 0x104DC0
  201. #define YRAMINDOPERREFNOUP_ENDDSP2 0x104DDC
  202. #define YRAMINDOPERREFUP_STARTDSP2 0x104DE0
  203. #define YRAMINDOPERREFUP_ENDDSP2 0x104DFC
  204. #define DSP2CONDCODE 0x104E00
  205. #define DSP2STACKFLAG 0x104E04
  206. #define DSP2PROGCOUNTSTACKPTREG 0x104E08
  207. #define DSP2PROGCOUNTSTACKDATAREG 0x104E0C
  208. #define DSP2CURLOOPADDRREG 0x104E10
  209. #define DSP2CURLOOPCOUNT 0x104E14
  210. #define DSP2TOPLOOPCOUNTSTACK 0x104E18
  211. #define DSP2TOPLOOPADDRSTACK 0x104E1C
  212. #define DSP2LOOPSTACKPTR 0x104E20
  213. #define DSP2STASSTACKDATAREG 0x104E24
  214. #define DSP2STASSTACKPTR 0x104E28
  215. #define DSP2PROGCOUNT 0x104E2C
  216. #define DSP2XYRAMBASE_START 0x104EA0
  217. #define DSP2XYRAMBASE_END 0x104EBC
  218. #define DSP2XYRAMLENG_START 0x104EC0
  219. #define DSP2XYRAMLENG_END 0x104EDC
  220. #define SEMAPHOREREGDSP2 0x104EE0
  221. #define DSP2INTCONTMASKREG 0x104EE4
  222. #define DSP2INTCONTPENDREG 0x104EE8
  223. #define DSP2INTCONTSERVINT 0x104EEC
  224. #define GPIODSP2 0x104EFC
  225. #define DMADSPBASEADDRREG_STARTDSP2 0x104F00
  226. #define DMADSPBASEADDRREG_ENDDSP2 0x104F1C
  227. #define DMAHOSTBASEADDRREG_STARTDSP2 0x104F20
  228. #define DMAHOSTBASEADDRREG_ENDDSP2 0x104F3C
  229. #define DMADSPCURADDRREG_STARTDSP2 0x104F40
  230. #define DMADSPCURADDRREG_ENDDSP2 0x104F5C
  231. #define DMAHOSTCURADDRREG_STARTDSP2 0x104F60
  232. #define DMAHOSTCURADDRREG_ENDDSP2 0x104F7C
  233. #define DMATANXCOUNTREG_STARTDSP2 0x104F80
  234. #define DMATANXCOUNTREG_ENDDSP2 0x104F9C
  235. #define DMATIMEBUGREG_STARTDSP2 0x104FA0
  236. #define DMATIMEBUGREG_ENDDSP2 0x104FAC
  237. #define DMACNTLMODFREG_STARTDSP2 0x104FA0
  238. #define DMACNTLMODFREG_ENDDSP2 0x104FAC
  239. #define DMAGLOBSTATSREGDSP2 0x104FEC
  240. #define DSP2XGPRAM_START 0x105000
  241. #define DSP2XGPRAM_END 0x1051FC
  242. #define DSP2YGPRAM_START 0x105800
  243. #define DSP2YGPRAM_END 0x1059FC
  244. #define AUDIORINGIPDSP3_START 0x106000
  245. #define AUDIORINGIPDSP3_END 0x1063FC
  246. #define AUDIORINGOPDSP3_START 0x106400
  247. #define AUDIORINGOPDSP3_END 0x1067FC
  248. #define AUDPARARINGIODSP3_START 0x106800
  249. #define AUDPARARINGIODSP3_END 0x106BFC
  250. #define DSP3LOCALHWREG_START 0x106C00
  251. #define DSP3LOCALHWREG_END 0x106C3C
  252. #define DSP3XYRAMAGINDEX_START 0x106C40
  253. #define DSP3XYRAMAGINDEX_END 0x106C5C
  254. #define DSP3XYRAMAGMDFR_START 0x106C60
  255. #define DSP3XYRAMAGMDFR_END 0x106C7C
  256. #define DSP3INTCONTLVEC_START 0x106C80
  257. #define DSP3INTCONTLVEC_END 0x106CD8
  258. #define HOSTINTFPORTADDRCONTDSP3 0x106D40
  259. #define HOSTINTFPORTDATADSP3 0x106D44
  260. #define TIME0PERENBDSP3 0x106D60
  261. #define TIME0COUNTERDSP3 0x106D64
  262. #define TIME1PERENBDSP3 0x106D68
  263. #define TIME1COUNTERDSP3 0x106D6C
  264. #define TIME2PERENBDSP3 0x106D70
  265. #define TIME2COUNTERDSP3 0x106D74
  266. #define TIME3PERENBDSP3 0x106D78
  267. #define TIME3COUNTERDSP3 0x106D7C
  268. #define XRAMINDOPERREFNOUP_STARTDSP3 0x106D80
  269. #define XRAMINDOPERREFNOUP_ENDDSP3 0x106D9C
  270. #define XRAMINDOPERREFUP_STARTDSP3 0x106DA0
  271. #define XRAMINDOPERREFUP_ENDDSP3 0x106DBC
  272. #define YRAMINDOPERREFNOUP_STARTDSP3 0x106DC0
  273. #define YRAMINDOPERREFNOUP_ENDDSP3 0x106DDC
  274. #define YRAMINDOPERREFUP_STARTDSP3 0x106DE0
  275. #define YRAMINDOPERREFUP_ENDDSP3 0x100DFC
  276. #define DSP3CONDCODE 0x106E00
  277. #define DSP3STACKFLAG 0x106E04
  278. #define DSP3PROGCOUNTSTACKPTREG 0x106E08
  279. #define DSP3PROGCOUNTSTACKDATAREG 0x106E0C
  280. #define DSP3CURLOOPADDRREG 0x106E10
  281. #define DSP3CURLOOPCOUNT 0x106E14
  282. #define DSP3TOPLOOPCOUNTSTACK 0x106E18
  283. #define DSP3TOPLOOPADDRSTACK 0x106E1C
  284. #define DSP3LOOPSTACKPTR 0x106E20
  285. #define DSP3STASSTACKDATAREG 0x106E24
  286. #define DSP3STASSTACKPTR 0x106E28
  287. #define DSP3PROGCOUNT 0x106E2C
  288. #define DSP3XYRAMBASE_START 0x106EA0
  289. #define DSP3XYRAMBASE_END 0x106EBC
  290. #define DSP3XYRAMLENG_START 0x106EC0
  291. #define DSP3XYRAMLENG_END 0x106EDC
  292. #define SEMAPHOREREGDSP3 0x106EE0
  293. #define DSP3INTCONTMASKREG 0x106EE4
  294. #define DSP3INTCONTPENDREG 0x106EE8
  295. #define DSP3INTCONTSERVINT 0x106EEC
  296. #define GPIODSP3 0x106EFC
  297. #define DMADSPBASEADDRREG_STARTDSP3 0x106F00
  298. #define DMADSPBASEADDRREG_ENDDSP3 0x106F1C
  299. #define DMAHOSTBASEADDRREG_STARTDSP3 0x106F20
  300. #define DMAHOSTBASEADDRREG_ENDDSP3 0x106F3C
  301. #define DMADSPCURADDRREG_STARTDSP3 0x106F40
  302. #define DMADSPCURADDRREG_ENDDSP3 0x106F5C
  303. #define DMAHOSTCURADDRREG_STARTDSP3 0x106F60
  304. #define DMAHOSTCURADDRREG_ENDDSP3 0x106F7C
  305. #define DMATANXCOUNTREG_STARTDSP3 0x106F80
  306. #define DMATANXCOUNTREG_ENDDSP3 0x106F9C
  307. #define DMATIMEBUGREG_STARTDSP3 0x106FA0
  308. #define DMATIMEBUGREG_ENDDSP3 0x106FAC
  309. #define DMACNTLMODFREG_STARTDSP3 0x106FA0
  310. #define DMACNTLMODFREG_ENDDSP3 0x106FAC
  311. #define DMAGLOBSTATSREGDSP3 0x106FEC
  312. #define DSP3XGPRAM_START 0x107000
  313. #define DSP3XGPRAM_END 0x1071FC
  314. #define DSP3YGPRAM_START 0x107800
  315. #define DSP3YGPRAM_END 0x1079FC
  316. /* end of DSP reg definitions */
  317. #define DSPAIMAP_START 0x108000
  318. #define DSPAIMAP_END 0x1083FC
  319. #define DSPPIMAP_START 0x108400
  320. #define DSPPIMAP_END 0x1087FC
  321. #define DSPPOMAP_START 0x108800
  322. #define DSPPOMAP_END 0x108BFC
  323. #define DSPPOCTL 0x108C00
  324. #define TKCTL_START 0x110000
  325. #define TKCTL_END 0x110FFC
  326. #define TKCC_START 0x111000
  327. #define TKCC_END 0x111FFC
  328. #define TKIMAP_START 0x112000
  329. #define TKIMAP_END 0x112FFC
  330. #define TKDCTR16 0x113000
  331. #define TKPB16 0x113004
  332. #define TKBS16 0x113008
  333. #define TKDCTR32 0x11300C
  334. #define TKPB32 0x113010
  335. #define TKBS32 0x113014
  336. #define ICDCTR16 0x113018
  337. #define ITBS16 0x11301C
  338. #define ICDCTR32 0x113020
  339. #define ITBS32 0x113024
  340. #define ITSTART 0x113028
  341. #define TKSQ 0x11302C
  342. #define TKSCCTL_START 0x114000
  343. #define TKSCCTL_END 0x11403C
  344. #define TKSCADR_START 0x114100
  345. #define TKSCADR_END 0x11413C
  346. #define TKSCDATAX_START 0x114800
  347. #define TKSCDATAX_END 0x1149FC
  348. #define TKPCDATAX_START 0x120000
  349. #define TKPCDATAX_END 0x12FFFC
  350. #define MALSA 0x130000
  351. #define MAPPHA 0x130004
  352. #define MAPPLA 0x130008
  353. #define MALSB 0x130010
  354. #define MAPPHB 0x130014
  355. #define MAPPLB 0x130018
  356. #define TANSPORTMAPABREGS_START 0x130020
  357. #define TANSPORTMAPABREGS_END 0x13A2FC
  358. #define PTPAHX 0x13B000
  359. #define PTPALX 0x13B004
  360. #define TANSPPAGETABLEPHYADDR015_START 0x13B008
  361. #define TANSPPAGETABLEPHYADDR015_END 0x13B07C
  362. #define TRNQADRX_START 0x13B100
  363. #define TRNQADRX_END 0x13B13C
  364. #define TRNQTIMX_START 0x13B200
  365. #define TRNQTIMX_END 0x13B23C
  366. #define TRNQAPARMX_START 0x13B300
  367. #define TRNQAPARMX_END 0x13B33C
  368. #define TRNQCNT 0x13B400
  369. #define TRNCTL 0x13B404
  370. #define TRNIS 0x13B408
  371. #define TRNCURTS 0x13B40C
  372. #define AMOP_START 0x140000
  373. #define AMOPLO 0x140000
  374. #define AMOPHI 0x140004
  375. #define AMOP_END 0x147FFC
  376. #define PMOP_START 0x148000
  377. #define PMOPLO 0x148000
  378. #define PMOPHI 0x148004
  379. #define PMOP_END 0x14FFFC
  380. #define PCURR_START 0x150000
  381. #define PCURR_END 0x153FFC
  382. #define PTRAG_START 0x154000
  383. #define PTRAG_END 0x157FFC
  384. #define PSR_START 0x158000
  385. #define PSR_END 0x15BFFC
  386. #define PFSTAT4SEG_START 0x160000
  387. #define PFSTAT4SEG_END 0x160BFC
  388. #define PFSTAT2SEG_START 0x160C00
  389. #define PFSTAT2SEG_END 0x1617FC
  390. #define PFTARG4SEG_START 0x164000
  391. #define PFTARG4SEG_END 0x164BFC
  392. #define PFTARG2SEG_START 0x164C00
  393. #define PFTARG2SEG_END 0x1657FC
  394. #define PFSR4SEG_START 0x168000
  395. #define PFSR4SEG_END 0x168BFC
  396. #define PFSR2SEG_START 0x168C00
  397. #define PFSR2SEG_END 0x1697FC
  398. #define PCURRMS4SEG_START 0x16C000
  399. #define PCURRMS4SEG_END 0x16CCFC
  400. #define PCURRMS2SEG_START 0x16CC00
  401. #define PCURRMS2SEG_END 0x16D7FC
  402. #define PTARGMS4SEG_START 0x170000
  403. #define PTARGMS4SEG_END 0x172FFC
  404. #define PTARGMS2SEG_START 0x173000
  405. #define PTARGMS2SEG_END 0x1747FC
  406. #define PSRMS4SEG_START 0x170000
  407. #define PSRMS4SEG_END 0x172FFC
  408. #define PSRMS2SEG_START 0x173000
  409. #define PSRMS2SEG_END 0x1747FC
  410. #define PRING_LO_START 0x190000
  411. #define PRING_LO_END 0x193FFC
  412. #define PRING_HI_START 0x194000
  413. #define PRING_HI_END 0x197FFC
  414. #define PRING_LO_HI_START 0x198000
  415. #define PRING_LO_HI 0x198000
  416. #define PRING_LO_HI_END 0x19BFFC
  417. #define PINTFIFO 0x1A0000
  418. #define SRCCTL 0x1B0000
  419. #define SRCCCR 0x1B0004
  420. #define SRCIMAP 0x1B0008
  421. #define SRCODDC 0x1B000C
  422. #define SRCCA 0x1B0010
  423. #define SRCCF 0x1B0014
  424. #define SRCSA 0x1B0018
  425. #define SRCLA 0x1B001C
  426. #define SRCCTLSWR 0x1B0020
  427. /* SRC HERE */
  428. #define SRCALBA 0x1B002C
  429. #define SRCMCTL 0x1B012C
  430. #define SRCCERR 0x1B022C
  431. #define SRCITB 0x1B032C
  432. #define SRCIPM 0x1B082C
  433. #define SRCIP 0x1B102C
  434. #define SRCENBSTAT 0x1B202C
  435. #define SRCENBLO 0x1B212C
  436. #define SRCENBHI 0x1B222C
  437. #define SRCENBS 0x1B232C
  438. #define SRCENB 0x1B282C
  439. #define SRCENB07 0x1B282C
  440. #define SRCENBS07 0x1B302C
  441. #define SRCDN0Z 0x1B0030
  442. #define SRCDN0Z0 0x1B0030
  443. #define SRCDN0Z1 0x1B0034
  444. #define SRCDN0Z2 0x1B0038
  445. #define SRCDN0Z3 0x1B003C
  446. #define SRCDN1Z 0x1B0040
  447. #define SRCDN1Z0 0x1B0040
  448. #define SRCDN1Z1 0x1B0044
  449. #define SRCDN1Z2 0x1B0048
  450. #define SRCDN1Z3 0x1B004C
  451. #define SRCDN1Z4 0x1B0050
  452. #define SRCDN1Z5 0x1B0054
  453. #define SRCDN1Z6 0x1B0058
  454. #define SRCDN1Z7 0x1B005C
  455. #define SRCUPZ 0x1B0060
  456. #define SRCUPZ0 0x1B0060
  457. #define SRCUPZ1 0x1B0064
  458. #define SRCUPZ2 0x1B0068
  459. #define SRCUPZ3 0x1B006C
  460. #define SRCUPZ4 0x1B0070
  461. #define SRCUPZ5 0x1B0074
  462. #define SRCUPZ6 0x1B0078
  463. #define SRCUPZ7 0x1B007C
  464. #define SRCCD0 0x1B0080
  465. #define SRCCD1 0x1B0084
  466. #define SRCCD2 0x1B0088
  467. #define SRCCD3 0x1B008C
  468. #define SRCCD4 0x1B0090
  469. #define SRCCD5 0x1B0094
  470. #define SRCCD6 0x1B0098
  471. #define SRCCD7 0x1B009C
  472. #define SRCCD8 0x1B00A0
  473. #define SRCCD9 0x1B00A4
  474. #define SRCCDA 0x1B00A8
  475. #define SRCCDB 0x1B00AC
  476. #define SRCCDC 0x1B00B0
  477. #define SRCCDD 0x1B00B4
  478. #define SRCCDE 0x1B00B8
  479. #define SRCCDF 0x1B00BC
  480. #define SRCCD10 0x1B00C0
  481. #define SRCCD11 0x1B00C4
  482. #define SRCCD12 0x1B00C8
  483. #define SRCCD13 0x1B00CC
  484. #define SRCCD14 0x1B00D0
  485. #define SRCCD15 0x1B00D4
  486. #define SRCCD16 0x1B00D8
  487. #define SRCCD17 0x1B00DC
  488. #define SRCCD18 0x1B00E0
  489. #define SRCCD19 0x1B00E4
  490. #define SRCCD1A 0x1B00E8
  491. #define SRCCD1B 0x1B00EC
  492. #define SRCCD1C 0x1B00F0
  493. #define SRCCD1D 0x1B00F4
  494. #define SRCCD1E 0x1B00F8
  495. #define SRCCD1F 0x1B00FC
  496. #define SRCCONTRBLOCK_START 0x1B0100
  497. #define SRCCONTRBLOCK_END 0x1BFFFC
  498. #define FILTOP_START 0x1C0000
  499. #define FILTOP_END 0x1C05FC
  500. #define FILTIMAP_START 0x1C0800
  501. #define FILTIMAP_END 0x1C0DFC
  502. #define FILTZ1_START 0x1C1000
  503. #define FILTZ1_END 0x1C15FC
  504. #define FILTZ2_START 0x1C1800
  505. #define FILTZ2_END 0x1C1DFC
  506. #define DAOIMAP_START 0x1C5000
  507. #define DAOIMAP 0x1C5000
  508. #define DAOIMAP_END 0x1C5124
  509. #define AC97D 0x1C5400
  510. #define AC97A 0x1C5404
  511. #define AC97CTL 0x1C5408
  512. #define I2SCTL 0x1C5420
  513. #define SPOS 0x1C5440
  514. #define SPOSA 0x1C5440
  515. #define SPOSB 0x1C5444
  516. #define SPOSC 0x1C5448
  517. #define SPOSD 0x1C544C
  518. #define SPISA 0x1C5450
  519. #define SPISB 0x1C5454
  520. #define SPISC 0x1C5458
  521. #define SPISD 0x1C545C
  522. #define SPFSCTL 0x1C5460
  523. #define SPFS0 0x1C5468
  524. #define SPFS1 0x1C546C
  525. #define SPFS2 0x1C5470
  526. #define SPFS3 0x1C5474
  527. #define SPFS4 0x1C5478
  528. #define SPFS5 0x1C547C
  529. #define SPOCTL 0x1C5480
  530. #define SPICTL 0x1C5484
  531. #define SPISTS 0x1C5488
  532. #define SPINTP 0x1C548C
  533. #define SPINTE 0x1C5490
  534. #define SPUTCTLAB 0x1C5494
  535. #define SPUTCTLCD 0x1C5498
  536. #define SRTSPA 0x1C54C0
  537. #define SRTSPB 0x1C54C4
  538. #define SRTSPC 0x1C54C8
  539. #define SRTSPD 0x1C54CC
  540. #define SRTSCTL 0x1C54D0
  541. #define SRTSCTLA 0x1C54D0
  542. #define SRTSCTLB 0x1C54D4
  543. #define SRTSCTLC 0x1C54D8
  544. #define SRTSCTLD 0x1C54DC
  545. #define SRTI2S 0x1C54E0
  546. #define SRTICTL 0x1C54F0
  547. #define WC 0x1C6000
  548. #define TIMR 0x1C6004
  549. # define TIMR_IE (1<<15)
  550. # define TIMR_IP (1<<14)
  551. #define GIP 0x1C6010
  552. #define GIE 0x1C6014
  553. #define DIE 0x1C6018
  554. #define DIC 0x1C601C
  555. #define GPIO 0x1C6020
  556. #define GPIOCTL 0x1C6024
  557. #define GPIP 0x1C6028
  558. #define GPIE 0x1C602C
  559. #define DSPINT0 0x1C6030
  560. #define DSPEIOC 0x1C6034
  561. #define MUADAT 0x1C6040
  562. #define MUACMD 0x1C6044
  563. #define MUASTAT 0x1C6044
  564. #define MUBDAT 0x1C6048
  565. #define MUBCMD 0x1C604C
  566. #define MUBSTAT 0x1C604C
  567. #define UARTCMA 0x1C6050
  568. #define UARTCMB 0x1C6054
  569. #define UARTIP 0x1C6058
  570. #define UARTIE 0x1C605C
  571. #define PLLCTL 0x1C6060
  572. #define PLLDCD 0x1C6064
  573. #define GCTL 0x1C6070
  574. #define ID0 0x1C6080
  575. #define ID1 0x1C6084
  576. #define ID2 0x1C6088
  577. #define ID3 0x1C608C
  578. #define SDRCTL 0x1C7000
  579. #define I2SA_L 0x0L
  580. #define I2SA_R 0x1L
  581. #define I2SB_L 0x8L
  582. #define I2SB_R 0x9L
  583. #define I2SC_L 0x10L
  584. #define I2SC_R 0x11L
  585. #define I2SD_L 0x18L
  586. #define I2SD_R 0x19L
  587. #endif /* CT20K1REG_H */