mt_spm_reg.h 136 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249
  1. /*
  2. * Copyright (c) 2023, MediaTek Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. /****************************************************************
  7. * Auto generated by DE, please DO NOT modify this file directly.
  8. ****************************************************************/
  9. #ifndef MT_SPM_REG_H
  10. #define MT_SPM_REG_H
  11. #include "pcm_def.h"
  12. #include "sleep_def.h"
  13. #include <spm_reg.h>
  14. /* Define and Declare */
  15. /* POWERON_CONFIG_EN (0x10006000+0x000) */
  16. #define BCLK_CG_EN_LSB (1U << 0) /* 1b */
  17. #define PROJECT_CODE_LSB (1U << 16) /* 16b */
  18. /* SPM_POWER_ON_VAL0 (0x10006000+0x004) */
  19. #define POWER_ON_VAL0_LSB (1U << 0) /* 32b */
  20. /* SPM_POWER_ON_VAL1 (0x10006000+0x008) */
  21. #define POWER_ON_VAL1_LSB (1U << 0) /* 32b */
  22. /* SPM_CLK_CON (0x10006000+0x00C) */
  23. #define REG_SRCCLKEN0_CTL_LSB (1U << 0) /* 2b */
  24. #define REG_SRCCLKEN1_CTL_LSB (1U << 2) /* 2b */
  25. #define SYS_SETTLE_SEL_LSB (1U << 4) /* 1b */
  26. #define REG_SPM_LOCK_INFRA_DCM_LSB (1U << 5) /* 1b */
  27. #define REG_SRCCLKEN_MASK_LSB (1U << 6) /* 3b */
  28. #define REG_MD1_C32RM_EN_LSB (1U << 9) /* 1b */
  29. #define REG_MD2_C32RM_EN_LSB (1U << 10) /* 1b */
  30. #define REG_CLKSQ0_SEL_CTRL_LSB (1U << 11) /* 1b */
  31. #define REG_CLKSQ1_SEL_CTRL_LSB (1U << 12) /* 1b */
  32. #define REG_SRCCLKEN0_EN_LSB (1U << 13) /* 1b */
  33. #define REG_SRCCLKEN1_EN_LSB (1U << 14) /* 1b */
  34. #define SCP_DCM_EN_LSB (1U << 15) /* 1b */
  35. #define REG_SYSCLK0_SRC_MASK_B_LSB (1U << 16) /* 8b */
  36. #define REG_SYSCLK1_SRC_MASK_B_LSB (1U << 24) /* 8b */
  37. /* SPM_CLK_SETTLE (0x10006000+0x010) */
  38. #define SYSCLK_SETTLE_LSB (1U << 0) /* 28b */
  39. /* SPM_AP_STANDBY_CON (0x10006000+0x014) */
  40. #define REG_WFI_OP_LSB (1U << 0) /* 1b */
  41. #define REG_WFI_TYPE_LSB (1U << 1) /* 1b */
  42. #define REG_MP0_CPUTOP_IDLE_MASK_LSB (1U << 2) /* 1b */
  43. #define REG_MP1_CPUTOP_IDLE_MASK_LSB (1U << 3) /* 1b */
  44. #define REG_MCUSYS_IDLE_MASK_LSB (1U << 4) /* 1b */
  45. #define REG_MD_APSRC_1_SEL_LSB (1U << 25) /* 1b */
  46. #define REG_MD_APSRC_0_SEL_LSB (1U << 26) /* 1b */
  47. #define REG_CONN_APSRC_SEL_LSB (1U << 29) /* 1b */
  48. /* PCM_CON0 (0x10006000+0x018) */
  49. #define PCM_CK_EN_LSB (1U << 2) /* 1b */
  50. #define RG_EN_IM_SLEEP_DVS_LSB (1U << 3) /* 1b */
  51. #define PCM_CK_FROM_CKSYS_LSB (1U << 4) /* 1b */
  52. #define PCM_SW_RESET_LSB (1U << 15) /* 1b */
  53. #define PCM_CON0_PROJECT_CODE_LSB (1U << 16) /* 16b */
  54. /* PCM_CON1 (0x10006000+0x01C) */
  55. #define RG_IM_SLAVE_LSB (1U << 0) /* 1b */
  56. #define RG_IM_SLEEP_LSB (1U << 1) /* 1b */
  57. #define REG_SPM_SRAM_CTRL_MUX_LSB (1U << 2) /* 1b */
  58. #define RG_AHBMIF_APBEN_LSB (1U << 3) /* 1b */
  59. #define RG_IM_PDN_LSB (1U << 4) /* 1b */
  60. #define RG_PCM_TIMER_EN_LSB (1U << 5) /* 1b */
  61. #define SPM_EVENT_COUNTER_CLR_LSB (1U << 6) /* 1b */
  62. #define RG_DIS_MIF_PROT_LSB (1U << 7) /* 1b */
  63. #define RG_PCM_WDT_EN_LSB (1U << 8) /* 1b */
  64. #define RG_PCM_WDT_WAKE_LSB (1U << 9) /* 1b */
  65. #define REG_SPM_SRAM_SLEEP_B_LSB (1U << 10) /* 1b */
  66. #define REG_SPM_SRAM_ISOINT_B_LSB (1U << 11) /* 1b */
  67. #define REG_EVENT_LOCK_EN_LSB (1U << 12) /* 1b */
  68. #define REG_SRCCLKEN_FAST_RESP_LSB (1U << 13) /* 1b */
  69. #define REG_MD32_APB_INTERNAL_EN_LSB (1U << 14) /* 1b */
  70. #define RG_PCM_IRQ_MSK_LSB (1U << 15) /* 1b */
  71. #define PCM_CON1_PROJECT_CODE_LSB (1U << 16) /* 16b */
  72. /* SPM_POWER_ON_VAL2 (0x10006000+0x020) */
  73. #define POWER_ON_VAL2_LSB (1U << 0) /* 32b */
  74. /* SPM_POWER_ON_VAL3 (0x10006000+0x024) */
  75. #define POWER_ON_VAL3_LSB (1U << 0) /* 32b */
  76. /* PCM_REG_DATA_INI (0x10006000+0x028) */
  77. #define PCM_REG_DATA_INI_LSB (1U << 0) /* 32b */
  78. /* PCM_PWR_IO_EN (0x10006000+0x02C) */
  79. #define PCM_PWR_IO_EN_LSB (1U << 0) /* 8b */
  80. #define RG_RF_SYNC_EN_LSB (1U << 16) /* 8b */
  81. /* PCM_TIMER_VAL (0x10006000+0x030) */
  82. #define REG_PCM_TIMER_VAL_LSB (1U << 0) /* 32b */
  83. /* PCM_WDT_VAL (0x10006000+0x034) */
  84. #define RG_PCM_WDT_VAL_LSB (1U << 0) /* 32b */
  85. /* SPM_SW_RST_CON (0x10006000+0x040) */
  86. #define SPM_SW_RST_CON_LSB (1U << 0) /* 16b */
  87. #define SPM_SW_RST_CON_PROJECT_CODE_LSB (1U << 16) /* 16b */
  88. /* SPM_SW_RST_CON_SET (0x10006000+0x044) */
  89. #define SPM_SW_RST_CON_SET_LSB (1U << 0) /* 16b */
  90. #define SPM_SW_RST_CON_SET_PROJECT_CODE_LSB (1U << 16) /* 16b */
  91. /* SPM_SW_RST_CON_CLR (0x10006000+0x048) */
  92. #define SPM_SW_RST_CON_CLR_LSB (1U << 0) /* 16b */
  93. #define SPM_SW_RST_CON_CLR_PROJECT_CODE_LSB (1U << 16) /* 16b */
  94. /* VS1_PSR_MASK_B (0x10006000+0x04C) */
  95. #define VS1_OPP0_PSR_MASK_B_LSB (1U << 0) /* 8b */
  96. #define VS1_OPP1_PSR_MASK_B_LSB (1U << 8) /* 8b */
  97. /* VS2_PSR_MASK_B (0x10006000+0x050) */
  98. #define VS2_OPP0_PSR_MASK_B_LSB (1U << 0) /* 8b */
  99. #define VS2_OPP1_PSR_MASK_B_LSB (1U << 8) /* 8b */
  100. #define VS2_OPP2_PSR_MASK_B_LSB (1U << 16) /* 8b */
  101. /* MD32_CLK_CON (0x10006000+0x084) */
  102. #define REG_MD32_26M_CK_SEL_LSB (1U << 0) /* 1b */
  103. #define REG_MD32_DCM_EN_LSB (1U << 1) /* 1b */
  104. /* SPM_SRAM_RSV_CON (0x10006000+0x088) */
  105. #define SPM_SRAM_SLEEP_B_ECO_EN_LSB (1U << 0) /* 1b */
  106. /* SPM_SWINT (0x10006000+0x08C) */
  107. #define SPM_SWINT_LSB (1U << 0) /* 32b */
  108. /* SPM_SWINT_SET (0x10006000+0x090) */
  109. #define SPM_SWINT_SET_LSB (1U << 0) /* 32b */
  110. /* SPM_SWINT_CLR (0x10006000+0x094) */
  111. #define SPM_SWINT_CLR_LSB (1U << 0) /* 32b */
  112. /* SPM_SCP_MAILBOX (0x10006000+0x098) */
  113. #define SPM_SCP_MAILBOX_LSB (1U << 0) /* 32b */
  114. /* SCP_SPM_MAILBOX (0x10006000+0x09C) */
  115. #define SCP_SPM_MAILBOX_LSB (1U << 0) /* 32b */
  116. /* SPM_TWAM_CON (0x10006000+0x0A0) */
  117. #define REG_TWAM_ENABLE_LSB (1U << 0) /* 1b */
  118. #define REG_TWAM_SPEED_MODE_EN_LSB (1U << 1) /* 1b */
  119. #define REG_TWAM_SW_RST_LSB (1U << 2) /* 1b */
  120. #define REG_TWAM_IRQ_MASK_LSB (1U << 3) /* 1b */
  121. #define REG_TWAM_MON_TYPE_0_LSB (1U << 4) /* 2b */
  122. #define REG_TWAM_MON_TYPE_1_LSB (1U << 6) /* 2b */
  123. #define REG_TWAM_MON_TYPE_2_LSB (1U << 8) /* 2b */
  124. #define REG_TWAM_MON_TYPE_3_LSB (1U << 10) /* 2b */
  125. /* SPM_TWAM_WINDOW_LEN (0x10006000+0x0A4) */
  126. #define REG_TWAM_WINDOW_LEN_LSB (1U << 0) /* 32b */
  127. /* SPM_TWAM_IDLE_SEL (0x10006000+0x0A8) */
  128. #define REG_TWAM_SIG_SEL_0_LSB (1U << 0) /* 7b */
  129. #define REG_TWAM_SIG_SEL_1_LSB (1U << 8) /* 7b */
  130. #define REG_TWAM_SIG_SEL_2_LSB (1U << 16) /* 7b */
  131. #define REG_TWAM_SIG_SEL_3_LSB (1U << 24) /* 7b */
  132. /* SPM_SCP_IRQ (0x10006000+0x0AC) */
  133. #define SC_SPM2SCP_WAKEUP_LSB (1U << 0) /* 1b */
  134. #define SC_SCP2SPM_WAKEUP_LSB (1U << 4) /* 1b */
  135. /* SPM_CPU_WAKEUP_EVENT (0x10006000+0x0B0) */
  136. #define REG_CPU_WAKEUP_LSB (1U << 0) /* 1b */
  137. /* SPM_IRQ_MASK (0x10006000+0x0B4) */
  138. #define REG_SPM_IRQ_MASK_LSB (1U << 0) /* 32b */
  139. /* DDR_EN_DBC (0x10006000+0x0B4) */
  140. #define REG_ALL_DDR_EN_DBC_EN_LSB (1U << 16) /* 1b */
  141. /* SPM_SRC_REQ (0x10006000+0x0B8) */
  142. #define REG_SPM_APSRC_REQ_LSB (1U << 0) /* 1b */
  143. #define REG_SPM_F26M_REQ_LSB (1U << 1) /* 1b */
  144. #define REG_SPM_INFRA_REQ_LSB (1U << 3) /* 1b */
  145. #define REG_SPM_VRF18_REQ_LSB (1U << 4) /* 1b */
  146. #define REG_SPM_DDR_EN_REQ_LSB (1U << 7) /* 1b */
  147. #define REG_SPM_DVFS_REQ_LSB (1U << 8) /* 1b */
  148. #define REG_SPM_SW_MAILBOX_REQ_LSB (1U << 9) /* 1b */
  149. #define REG_SPM_SSPM_MAILBOX_REQ_LSB (1U << 10) /* 1b */
  150. #define REG_SPM_ADSP_MAILBOX_REQ_LSB (1U << 11) /* 1b */
  151. #define REG_SPM_SCP_MAILBOX_REQ_LSB (1U << 12) /* 1b */
  152. /* SPM_SRC_MASK (0x10006000+0x0BC) */
  153. #define REG_MD_SRCCLKENA_0_MASK_B_LSB (1U << 0) /* 1b */
  154. #define REG_MD_SRCCLKENA2INFRA_REQ_0_MASK_B_LSB (1U << 1) /* 1b */
  155. #define REG_MD_APSRC2INFRA_REQ_0_MASK_B_LSB (1U << 2) /* 1b */
  156. #define REG_MD_APSRC_REQ_0_MASK_B_LSB (1U << 3) /* 1b */
  157. #define REG_MD_VRF18_REQ_0_MASK_B_LSB (1U << 4) /* 1b */
  158. #define REG_MD_DDR_EN_0_MASK_B_LSB (1U << 5) /* 1b */
  159. #define REG_MD_SRCCLKENA_1_MASK_B_LSB (1U << 6) /* 1b */
  160. #define REG_MD_SRCCLKENA2INFRA_REQ_1_MASK_B_LSB (1U << 7) /* 1b */
  161. #define REG_MD_APSRC2INFRA_REQ_1_MASK_B_LSB (1U << 8) /* 1b */
  162. #define REG_MD_APSRC_REQ_1_MASK_B_LSB (1U << 9) /* 1b */
  163. #define REG_MD_VRF18_REQ_1_MASK_B_LSB (1U << 10) /* 1b */
  164. #define REG_MD_DDR_EN_1_MASK_B_LSB (1U << 11) /* 1b */
  165. #define REG_CONN_SRCCLKENA_MASK_B_LSB (1U << 12) /* 1b */
  166. #define REG_CONN_SRCCLKENB_MASK_B_LSB (1U << 13) /* 1b */
  167. #define REG_CONN_INFRA_REQ_MASK_B_LSB (1U << 14) /* 1b */
  168. #define REG_CONN_APSRC_REQ_MASK_B_LSB (1U << 15) /* 1b */
  169. #define REG_CONN_VRF18_REQ_MASK_B_LSB (1U << 16) /* 1b */
  170. #define REG_CONN_DDR_EN_MASK_B_LSB (1U << 17) /* 1b */
  171. #define REG_CONN_VFE28_MASK_B_LSB (1U << 18) /* 1b */
  172. #define REG_SRCCLKENI0_SRCCLKENA_MASK_B_LSB (1U << 19) /* 1b */
  173. #define REG_SRCCLKENI0_INFRA_REQ_MASK_B_LSB (1U << 20) /* 1b */
  174. #define REG_SRCCLKENI1_SRCCLKENA_MASK_B_LSB (1U << 21) /* 1b */
  175. #define REG_SRCCLKENI1_INFRA_REQ_MASK_B_LSB (1U << 22) /* 1b */
  176. #define REG_SRCCLKENI2_SRCCLKENA_MASK_B_LSB (1U << 23) /* 1b */
  177. #define REG_SRCCLKENI2_INFRA_REQ_MASK_B_LSB (1U << 24) /* 1b */
  178. #define REG_INFRASYS_APSRC_REQ_MASK_B_LSB (1U << 25) /* 1b */
  179. #define REG_INFRASYS_DDR_EN_MASK_B_LSB (1U << 26) /* 1b */
  180. #define REG_MD32_SRCCLKENA_MASK_B_LSB (1U << 27) /* 1b */
  181. #define REG_MD32_INFRA_REQ_MASK_B_LSB (1U << 28) /* 1b */
  182. #define REG_MD32_APSRC_REQ_MASK_B_LSB (1U << 29) /* 1b */
  183. #define REG_MD32_VRF18_REQ_MASK_B_LSB (1U << 30) /* 1b */
  184. #define REG_MD32_DDR_EN_MASK_B_LSB (1U << 31) /* 1b */
  185. /* SPM_SRC2_MASK (0x10006000+0x0C0) */
  186. #define REG_SCP_SRCCLKENA_MASK_B_LSB (1U << 0) /* 1b */
  187. #define REG_SCP_INFRA_REQ_MASK_B_LSB (1U << 1) /* 1b */
  188. #define REG_SCP_APSRC_REQ_MASK_B_LSB (1U << 2) /* 1b */
  189. #define REG_SCP_VRF18_REQ_MASK_B_LSB (1U << 3) /* 1b */
  190. #define REG_SCP_DDR_EN_MASK_B_LSB (1U << 4) /* 1b */
  191. #define REG_AUDIO_DSP_SRCCLKENA_MASK_B_LSB (1U << 5) /* 1b */
  192. #define REG_AUDIO_DSP_INFRA_REQ_MASK_B_LSB (1U << 6) /* 1b */
  193. #define REG_AUDIO_DSP_APSRC_REQ_MASK_B_LSB (1U << 7) /* 1b */
  194. #define REG_AUDIO_DSP_VRF18_REQ_MASK_B_LSB (1U << 8) /* 1b */
  195. #define REG_AUDIO_DSP_DDR_EN_MASK_B_LSB (1U << 9) /* 1b */
  196. #define REG_UFS_SRCCLKENA_MASK_B_LSB (1U << 10) /* 1b */
  197. #define REG_UFS_INFRA_REQ_MASK_B_LSB (1U << 11) /* 1b */
  198. #define REG_UFS_APSRC_REQ_MASK_B_LSB (1U << 12) /* 1b */
  199. #define REG_UFS_VRF18_REQ_MASK_B_LSB (1U << 13) /* 1b */
  200. #define REG_UFS_DDR_EN_MASK_B_LSB (1U << 14) /* 1b */
  201. #define REG_DISP0_APSRC_REQ_MASK_B_LSB (1U << 15) /* 1b */
  202. #define REG_DISP0_DDR_EN_MASK_B_LSB (1U << 16) /* 1b */
  203. #define REG_DISP1_APSRC_REQ_MASK_B_LSB (1U << 17) /* 1b */
  204. #define REG_DISP1_DDR_EN_MASK_B_LSB (1U << 18) /* 1b */
  205. #define REG_GCE_INFRA_REQ_MASK_B_LSB (1U << 19) /* 1b */
  206. #define REG_GCE_APSRC_REQ_MASK_B_LSB (1U << 20) /* 1b */
  207. #define REG_GCE_VRF18_REQ_MASK_B_LSB (1U << 21) /* 1b */
  208. #define REG_GCE_DDR_EN_MASK_B_LSB (1U << 22) /* 1b */
  209. #define REG_APU_SRCCLKENA_MASK_B_LSB (1U << 23) /* 1b */
  210. #define REG_APU_INFRA_REQ_MASK_B_LSB (1U << 24) /* 1b */
  211. #define REG_APU_APSRC_REQ_MASK_B_LSB (1U << 25) /* 1b */
  212. #define REG_APU_VRF18_REQ_MASK_B_LSB (1U << 26) /* 1b */
  213. #define REG_APU_DDR_EN_MASK_B_LSB (1U << 27) /* 1b */
  214. #define REG_CG_CHECK_SRCCLKENA_MASK_B_LSB (1U << 28) /* 1b */
  215. #define REG_CG_CHECK_APSRC_REQ_MASK_B_LSB (1U << 29) /* 1b */
  216. #define REG_CG_CHECK_VRF18_REQ_MASK_B_LSB (1U << 30) /* 1b */
  217. #define REG_CG_CHECK_DDR_EN_MASK_B_LSB (1U << 31) /* 1b */
  218. /* SPM_SRC3_MASK (0x10006000+0x0C4) */
  219. #define REG_DVFSRC_EVENT_TRIGGER_MASK_B_LSB (1U << 0) /* 1b */
  220. #define REG_SW2SPM_INT0_MASK_B_LSB (1U << 1) /* 1b */
  221. #define REG_SW2SPM_INT1_MASK_B_LSB (1U << 2) /* 1b */
  222. #define REG_SW2SPM_INT2_MASK_B_LSB (1U << 3) /* 1b */
  223. #define REG_SW2SPM_INT3_MASK_B_LSB (1U << 4) /* 1b */
  224. #define REG_SC_ADSP2SPM_WAKEUP_MASK_B_LSB (1U << 5) /* 1b */
  225. #define REG_SC_SSPM2SPM_WAKEUP_MASK_B_LSB (1U << 6) /* 4b */
  226. #define REG_SC_SCP2SPM_WAKEUP_MASK_B_LSB (1U << 10) /* 1b */
  227. #define REG_CSYSPWRREQ_MASK_LSB (1U << 11) /* 1b */
  228. #define REG_SPM_SRCCLKENA_RESERVED_MASK_B_LSB (1U << 12) /* 1b */
  229. #define REG_SPM_INFRA_REQ_RESERVED_MASK_B_LSB (1U << 13) /* 1b */
  230. #define REG_SPM_APSRC_REQ_RESERVED_MASK_B_LSB (1U << 14) /* 1b */
  231. #define REG_SPM_VRF18_REQ_RESERVED_MASK_B_LSB (1U << 15) /* 1b */
  232. #define REG_SPM_DDR_EN_RESERVED_MASK_B_LSB (1U << 16) /* 1b */
  233. #define REG_MCUPM_SRCCLKENA_MASK_B_LSB (1U << 17) /* 1b */
  234. #define REG_MCUPM_INFRA_REQ_MASK_B_LSB (1U << 18) /* 1b */
  235. #define REG_MCUPM_APSRC_REQ_MASK_B_LSB (1U << 19) /* 1b */
  236. #define REG_MCUPM_VRF18_REQ_MASK_B_LSB (1U << 20) /* 1b */
  237. #define REG_MCUPM_DDR_EN_MASK_B_LSB (1U << 21) /* 1b */
  238. #define REG_MSDC0_SRCCLKENA_MASK_B_LSB (1U << 22) /* 1b */
  239. #define REG_MSDC0_INFRA_REQ_MASK_B_LSB (1U << 23) /* 1b */
  240. #define REG_MSDC0_APSRC_REQ_MASK_B_LSB (1U << 24) /* 1b */
  241. #define REG_MSDC0_VRF18_REQ_MASK_B_LSB (1U << 25) /* 1b */
  242. #define REG_MSDC0_DDR_EN_MASK_B_LSB (1U << 26) /* 1b */
  243. #define REG_MSDC1_SRCCLKENA_MASK_B_LSB (1U << 27) /* 1b */
  244. #define REG_MSDC1_INFRA_REQ_MASK_B_LSB (1U << 28) /* 1b */
  245. #define REG_MSDC1_APSRC_REQ_MASK_B_LSB (1U << 29) /* 1b */
  246. #define REG_MSDC1_VRF18_REQ_MASK_B_LSB (1U << 30) /* 1b */
  247. #define REG_MSDC1_DDR_EN_MASK_B_LSB (1U << 31) /* 1b */
  248. /* SPM_SRC4_MASK (0x10006000+0x0C8) */
  249. #define CCIF_EVENT_MASK_B_LSB (1U << 0) /* 16b */
  250. #define REG_BAK_PSRI_SRCCLKENA_MASK_B_LSB (1U << 16) /* 1b */
  251. #define REG_BAK_PSRI_INFRA_REQ_MASK_B_LSB (1U << 17) /* 1b */
  252. #define REG_BAK_PSRI_APSRC_REQ_MASK_B_LSB (1U << 18) /* 1b */
  253. #define REG_BAK_PSRI_VRF18_REQ_MASK_B_LSB (1U << 19) /* 1b */
  254. #define REG_BAK_PSRI_DDR_EN_MASK_B_LSB (1U << 20) /* 1b */
  255. #define REG_DRAMC0_MD32_INFRA_REQ_MASK_B_LSB (1U << 21) /* 1b */
  256. #define REG_DRAMC0_MD32_VRF18_REQ_MASK_B_LSB (1U << 22) /* 1b */
  257. #define REG_DRAMC1_MD32_INFRA_REQ_MASK_B_LSB (1U << 23) /* 1b */
  258. #define REG_DRAMC1_MD32_VRF18_REQ_MASK_B_LSB (1U << 24) /* 1b */
  259. #define REG_CONN_SRCCLKENB2PWRAP_MASK_B_LSB (1U << 25) /* 1b */
  260. #define REG_DRAMC0_MD32_WAKEUP_MASK_LSB (1U << 26) /* 1b */
  261. #define REG_DRAMC1_MD32_WAKEUP_MASK_LSB (1U << 27) /* 1b */
  262. /* SPM_SRC5_MASK (0x10006000+0x0CC) */
  263. #define REG_MCUSYS_MERGE_APSRC_REQ_MASK_B_LSB (1U << 0) /* 9b */
  264. #define REG_MCUSYS_MERGE_DDR_EN_MASK_B_LSB (1U << 9) /* 9b */
  265. /* SPM_WAKEUP_EVENT_MASK (0x10006000+0x0D0) */
  266. #define REG_WAKEUP_EVENT_MASK_LSB (1U << 0) /* 32b */
  267. /* SPM_WAKEUP_EVENT_EXT_MASK (0x10006000+0x0D4) */
  268. #define REG_EXT_WAKEUP_EVENT_MASK_LSB (1U << 0) /* 32b */
  269. /* SPM_TWAM_EVENT_CLEAR (0x10006000+0x0D8) */
  270. #define SPM_TWAM_EVENT_CLEAR_LSB (1U << 0) /* 1b */
  271. /* SCP_CLK_CON (0x10006000+0x0DC) */
  272. #define REG_SCP_26M_CK_SEL_LSB (1U << 0) /* 1b */
  273. #define REG_SCP_DCM_EN_LSB (1U << 1) /* 1b */
  274. #define SCP_SECURE_V_REQ_MASK_LSB (1U << 2) /* 1b */
  275. #define SCP_SLP_REQ_LSB (1U << 3) /* 1b */
  276. #define SCP_SLP_ACK_LSB (1U << 4) /* 1b */
  277. /* SPM_RESOURCE_ACK_CON0 (0x10006000+0x0F0) */
  278. #define REG_MD_SRCCLKENA_ACK_0_MASK_LSB (1U << 0) /* 1b */
  279. #define REG_MD_INFRA_ACK_0_MASK_LSB (1U << 1) /* 1b */
  280. #define REG_MD_APSRC_ACK_0_MASK_LSB (1U << 2) /* 1b */
  281. #define REG_MD_VRF18_ACK_0_MASK_LSB (1U << 3) /* 1b */
  282. #define REG_MD_DDR_EN_ACK_0_MASK_LSB (1U << 4) /* 1b */
  283. #define REG_MD_SRCCLKENA_ACK_1_MASK_LSB (1U << 5) /* 1b */
  284. #define REG_MD_INFRA_ACK_1_MASK_LSB (1U << 6) /* 1b */
  285. #define REG_MD_APSRC_ACK_1_MASK_LSB (1U << 7) /* 1b */
  286. #define REG_MD_VRF18_ACK_1_MASK_LSB (1U << 8) /* 1b */
  287. #define REG_MD_DDR_EN_ACK_1_MASK_LSB (1U << 9) /* 1b */
  288. #define REG_CONN_SRCCLKENA_ACK_MASK_LSB (1U << 10) /* 1b */
  289. #define REG_CONN_INFRA_ACK_MASK_LSB (1U << 11) /* 1b */
  290. #define REG_CONN_APSRC_ACK_MASK_LSB (1U << 12) /* 1b */
  291. #define REG_CONN_VRF18_ACK_MASK_LSB (1U << 13) /* 1b */
  292. #define REG_CONN_DDR_EN_ACK_MASK_LSB (1U << 14) /* 1b */
  293. #define REG_MD32_SRCCLKENA_ACK_MASK_LSB (1U << 15) /* 1b */
  294. #define REG_MD32_INFRA_ACK_MASK_LSB (1U << 16) /* 1b */
  295. #define REG_MD32_APSRC_ACK_MASK_LSB (1U << 17) /* 1b */
  296. #define REG_MD32_VRF18_ACK_MASK_LSB (1U << 18) /* 1b */
  297. #define REG_MD32_DDR_EN_ACK_MASK_LSB (1U << 19) /* 1b */
  298. #define REG_SCP_SRCCLKENA_ACK_MASK_LSB (1U << 20) /* 1b */
  299. #define REG_SCP_INFRA_ACK_MASK_LSB (1U << 21) /* 1b */
  300. #define REG_SCP_APSRC_ACK_MASK_LSB (1U << 22) /* 1b */
  301. #define REG_SCP_VRF18_ACK_MASK_LSB (1U << 23) /* 1b */
  302. #define REG_SCP_DDR_EN_ACK_MASK_LSB (1U << 24) /* 1b */
  303. #define REG_AUDIO_DSP_SRCCLKENA_ACK_MASK_LSB (1U << 25) /* 1b */
  304. #define REG_AUDIO_DSP_INFRA_ACK_MASK_LSB (1U << 26) /* 1b */
  305. #define REG_AUDIO_DSP_APSRC_ACK_MASK_LSB (1U << 27) /* 1b */
  306. #define REG_AUDIO_DSP_VRF18_ACK_MASK_LSB (1U << 28) /* 1b */
  307. #define REG_AUDIO_DSP_DDR_EN_ACK_MASK_LSB (1U << 29) /* 1b */
  308. #define REG_DISP0_DDR_EN_ACK_MASK_LSB (1U << 30) /* 1b */
  309. #define REG_DISP1_APSRC_ACK_MASK_LSB (1U << 31) /* 1b */
  310. /* SPM_RESOURCE_ACK_CON1 (0x10006000+0x0F4) */
  311. #define REG_UFS_SRCCLKENA_ACK_MASK_LSB (1U << 0) /* 1b */
  312. #define REG_UFS_INFRA_ACK_MASK_LSB (1U << 1) /* 1b */
  313. #define REG_UFS_APSRC_ACK_MASK_LSB (1U << 2) /* 1b */
  314. #define REG_UFS_VRF18_ACK_MASK_LSB (1U << 3) /* 1b */
  315. #define REG_UFS_DDR_EN_ACK_MASK_LSB (1U << 4) /* 1b */
  316. #define REG_APU_SRCCLKENA_ACK_MASK_LSB (1U << 5) /* 1b */
  317. #define REG_APU_INFRA_ACK_MASK_LSB (1U << 6) /* 1b */
  318. #define REG_APU_APSRC_ACK_MASK_LSB (1U << 7) /* 1b */
  319. #define REG_APU_VRF18_ACK_MASK_LSB (1U << 8) /* 1b */
  320. #define REG_APU_DDR_EN_ACK_MASK_LSB (1U << 9) /* 1b */
  321. #define REG_MCUPM_SRCCLKENA_ACK_MASK_LSB (1U << 10) /* 1b */
  322. #define REG_MCUPM_INFRA_ACK_MASK_LSB (1U << 11) /* 1b */
  323. #define REG_MCUPM_APSRC_ACK_MASK_LSB (1U << 12) /* 1b */
  324. #define REG_MCUPM_VRF18_ACK_MASK_LSB (1U << 13) /* 1b */
  325. #define REG_MCUPM_DDR_EN_ACK_MASK_LSB (1U << 14) /* 1b */
  326. #define REG_MSDC0_SRCCLKENA_ACK_MASK_LSB (1U << 15) /* 1b */
  327. #define REG_MSDC0_INFRA_ACK_MASK_LSB (1U << 16) /* 1b */
  328. #define REG_MSDC0_APSRC_ACK_MASK_LSB (1U << 17) /* 1b */
  329. #define REG_MSDC0_VRF18_ACK_MASK_LSB (1U << 18) /* 1b */
  330. #define REG_MSDC0_DDR_EN_ACK_MASK_LSB (1U << 19) /* 1b */
  331. #define REG_MSDC1_SRCCLKENA_ACK_MASK_LSB (1U << 20) /* 1b */
  332. #define REG_MSDC1_INFRA_ACK_MASK_LSB (1U << 21) /* 1b */
  333. #define REG_MSDC1_APSRC_ACK_MASK_LSB (1U << 22) /* 1b */
  334. #define REG_MSDC1_VRF18_ACK_MASK_LSB (1U << 23) /* 1b */
  335. #define REG_MSDC1_DDR_EN_ACK_MASK_LSB (1U << 24) /* 1b */
  336. #define REG_DISP0_APSRC_ACK_MASK_LSB (1U << 25) /* 1b */
  337. #define REG_DISP1_DDR_EN_ACK_MASK_LSB (1U << 26) /* 1b */
  338. #define REG_GCE_INFRA_ACK_MASK_LSB (1U << 27) /* 1b */
  339. #define REG_GCE_APSRC_ACK_MASK_LSB (1U << 28) /* 1b */
  340. #define REG_GCE_VRF18_ACK_MASK_LSB (1U << 29) /* 1b */
  341. #define REG_GCE_DDR_EN_ACK_MASK_LSB (1U << 30) /* 1b */
  342. /* SPM_RESOURCE_ACK_CON2 (0x10006000+0x0F8) */
  343. #define SPM_F26M_ACK_WAIT_CYCLE_LSB (1U << 0) /* 8b */
  344. #define SPM_INFRA_ACK_WAIT_CYCLE_LSB (1U << 8) /* 8b */
  345. #define SPM_APSRC_ACK_WAIT_CYCLE_LSB (1U << 16) /* 8b */
  346. #define SPM_VRF18_ACK_WAIT_CYCLE_LSB (1U << 24) /* 8b */
  347. /* SPM_RESOURCE_ACK_CON3 (0x10006000+0x0FC) */
  348. #define SPM_DDR_EN_ACK_WAIT_CYCLE_LSB (1U << 0) /* 8b */
  349. #define REG_BAK_PSRI_SRCCLKENA_ACK_MASK_LSB (1U << 8) /* 1b */
  350. #define REG_BAK_PSRI_INFRA_ACK_MASK_LSB (1U << 9) /* 1b */
  351. #define REG_BAK_PSRI_APSRC_ACK_MASK_LSB (1U << 10) /* 1b */
  352. #define REG_BAK_PSRI_VRF18_ACK_MASK_LSB (1U << 11) /* 1b */
  353. #define REG_BAK_PSRI_DDR_EN_ACK_MASK_LSB (1U << 12) /* 1b */
  354. /* PCM_REG0_DATA (0x10006000+0x100) */
  355. #define PCM_REG0_RF_LSB (1U << 0) /* 32b */
  356. /* PCM_REG2_DATA (0x10006000+0x104) */
  357. #define PCM_REG2_RF_LSB (1U << 0) /* 32b */
  358. /* PCM_REG6_DATA (0x10006000+0x108) */
  359. #define PCM_REG6_RF_LSB (1U << 0) /* 32b */
  360. /* PCM_REG7_DATA (0x10006000+0x10C) */
  361. #define PCM_REG7_RF_LSB (1U << 0) /* 32b */
  362. /* PCM_REG13_DATA (0x10006000+0x110) */
  363. #define PCM_REG13_RF_LSB (1U << 0) /* 32b */
  364. /* SRC_REQ_STA_0 (0x10006000+0x114) */
  365. #define MD_SRCCLKENA_0_LSB (1U << 0) /* 1b */
  366. #define MD_SRCCLKENA2INFRA_REQ_0_LSB (1U << 1) /* 1b */
  367. #define MD_APSRC2INFRA_REQ_0_LSB (1U << 2) /* 1b */
  368. #define MD_APSRC_REQ_0_LSB (1U << 3) /* 1b */
  369. #define MD_VRF18_REQ_0_LSB (1U << 4) /* 1b */
  370. #define MD_DDR_EN_0_LSB (1U << 5) /* 1b */
  371. #define MD_SRCCLKENA_1_LSB (1U << 6) /* 1b */
  372. #define MD_SRCCLKENA2INFRA_REQ_1_LSB (1U << 7) /* 1b */
  373. #define MD_APSRC2INFRA_REQ_1_LSB (1U << 8) /* 1b */
  374. #define MD_APSRC_REQ_1_LSB (1U << 9) /* 1b */
  375. #define MD_VRF18_REQ_1_LSB (1U << 10) /* 1b */
  376. #define MD_DDR_EN_1_LSB (1U << 11) /* 1b */
  377. #define CONN_SRCCLKENA_LSB (1U << 12) /* 1b */
  378. #define CONN_SRCCLKENB_LSB (1U << 13) /* 1b */
  379. #define CONN_INFRA_REQ_LSB (1U << 14) /* 1b */
  380. #define CONN_APSRC_REQ_LSB (1U << 15) /* 1b */
  381. #define CONN_VRF18_REQ_LSB (1U << 16) /* 1b */
  382. #define CONN_DDR_EN_LSB (1U << 17) /* 1b */
  383. #define SRCCLKENI_LSB (1U << 18) /* 3b */
  384. #define MD32_SRCCLKENA_LSB (1U << 21) /* 1b */
  385. #define MD32_INFRA_REQ_LSB (1U << 22) /* 1b */
  386. #define MD32_APSRC_REQ_LSB (1U << 23) /* 1b */
  387. #define MD32_VRF18_REQ_LSB (1U << 24) /* 1b */
  388. #define MD32_DDR_EN_LSB (1U << 25) /* 1b */
  389. #define DISP0_APSRC_REQ_LSB (1U << 26) /* 1b */
  390. #define DISP0_DDR_EN_LSB (1U << 27) /* 1b */
  391. #define DISP1_APSRC_REQ_LSB (1U << 28) /* 1b */
  392. #define DISP1_DDR_EN_LSB (1U << 29) /* 1b */
  393. #define DVFSRC_EVENT_TRIGGER_LSB (1U << 30) /* 1b */
  394. /* SRC_REQ_STA_1 (0x10006000+0x118) */
  395. #define SCP_SRCCLKENA_LSB (1U << 0) /* 1b */
  396. #define SCP_INFRA_REQ_LSB (1U << 1) /* 1b */
  397. #define SCP_APSRC_REQ_LSB (1U << 2) /* 1b */
  398. #define SCP_VRF18_REQ_LSB (1U << 3) /* 1b */
  399. #define SCP_DDR_EN_LSB (1U << 4) /* 1b */
  400. #define AUDIO_DSP_SRCCLKENA_LSB (1U << 5) /* 1b */
  401. #define AUDIO_DSP_INFRA_REQ_LSB (1U << 6) /* 1b */
  402. #define AUDIO_DSP_APSRC_REQ_LSB (1U << 7) /* 1b */
  403. #define AUDIO_DSP_VRF18_REQ_LSB (1U << 8) /* 1b */
  404. #define AUDIO_DSP_DDR_EN_LSB (1U << 9) /* 1b */
  405. #define UFS_SRCCLKENA_LSB (1U << 10) /* 1b */
  406. #define UFS_INFRA_REQ_LSB (1U << 11) /* 1b */
  407. #define UFS_APSRC_REQ_LSB (1U << 12) /* 1b */
  408. #define UFS_VRF18_REQ_LSB (1U << 13) /* 1b */
  409. #define UFS_DDR_EN_LSB (1U << 14) /* 1b */
  410. #define GCE_INFRA_REQ_LSB (1U << 15) /* 1b */
  411. #define GCE_APSRC_REQ_LSB (1U << 16) /* 1b */
  412. #define GCE_VRF18_REQ_LSB (1U << 17) /* 1b */
  413. #define GCE_DDR_EN_LSB (1U << 18) /* 1b */
  414. #define INFRASYS_APSRC_REQ_LSB (1U << 19) /* 1b */
  415. #define INFRASYS_DDR_EN_LSB (1U << 20) /* 1b */
  416. #define MSDC0_SRCCLKENA_LSB (1U << 21) /* 1b */
  417. #define MSDC0_INFRA_REQ_LSB (1U << 22) /* 1b */
  418. #define MSDC0_APSRC_REQ_LSB (1U << 23) /* 1b */
  419. #define MSDC0_VRF18_REQ_LSB (1U << 24) /* 1b */
  420. #define MSDC0_DDR_EN_LSB (1U << 25) /* 1b */
  421. #define MSDC1_SRCCLKENA_LSB (1U << 26) /* 1b */
  422. #define MSDC1_INFRA_REQ_LSB (1U << 27) /* 1b */
  423. #define MSDC1_APSRC_REQ_LSB (1U << 28) /* 1b */
  424. #define MSDC1_VRF18_REQ_LSB (1U << 29) /* 1b */
  425. #define MSDC1_DDR_EN_LSB (1U << 30) /* 1b */
  426. /* SRC_REQ_STA_2 (0x10006000+0x11C) */
  427. #define MCUSYS_MERGE_DDR_EN_LSB (1U << 0) /* 9b */
  428. #define EMI_SELF_REFRESH_CH_LSB (1U << 9) /* 2b */
  429. #define SW2SPM_INT_LSB (1U << 11) /* 4b */
  430. #define SC_ADSP2SPM_WAKEUP_LSB (1U << 15) /* 1b */
  431. #define SC_SSPM2SPM_WAKEUP_LSB (1U << 16) /* 4b */
  432. #define SRC_REQ_STA_2_SC_SCP2SPM_WAKEUP_LSB (1U << 20) /* 1b */
  433. #define SPM_SRCCLKENA_RESERVED_LSB (1U << 21) /* 1b */
  434. #define SPM_INFRA_REQ_RESERVED_LSB (1U << 22) /* 1b */
  435. #define SPM_APSRC_REQ_RESERVED_LSB (1U << 23) /* 1b */
  436. #define SPM_VRF18_REQ_RESERVED_LSB (1U << 24) /* 1b */
  437. #define SPM_DDR_EN_RESERVED_LSB (1U << 25) /* 1b */
  438. #define MCUPM_SRCCLKENA_LSB (1U << 26) /* 1b */
  439. #define MCUPM_INFRA_REQ_LSB (1U << 27) /* 1b */
  440. #define MCUPM_APSRC_REQ_LSB (1U << 28) /* 1b */
  441. #define MCUPM_VRF18_REQ_LSB (1U << 29) /* 1b */
  442. #define MCUPM_DDR_EN_LSB (1U << 30) /* 1b */
  443. /* PCM_TIMER_OUT (0x10006000+0x120) */
  444. #define PCM_TIMER_LSB (1U << 0) /* 32b */
  445. /* PCM_WDT_OUT (0x10006000+0x124) */
  446. #define PCM_WDT_TIMER_VAL_OUT_LSB (1U << 0) /* 32b */
  447. /* SPM_IRQ_STA (0x10006000+0x128) */
  448. #define TWAM_IRQ_LSB (1U << 2) /* 1b */
  449. #define PCM_IRQ_LSB (1U << 3) /* 1b */
  450. /* SRC_REQ_STA_4 (0x10006000+0x12C) */
  451. #define APU_SRCCLKENA_LSB (1U << 0) /* 1b */
  452. #define APU_INFRA_REQ_LSB (1U << 1) /* 1b */
  453. #define APU_APSRC_REQ_LSB (1U << 2) /* 1b */
  454. #define APU_VRF18_REQ_LSB (1U << 3) /* 1b */
  455. #define APU_DDR_EN_LSB (1U << 4) /* 1b */
  456. #define BAK_PSRI_SRCCLKENA_LSB (1U << 5) /* 1b */
  457. #define BAK_PSRI_INFRA_REQ_LSB (1U << 6) /* 1b */
  458. #define BAK_PSRI_APSRC_REQ_LSB (1U << 7) /* 1b */
  459. #define BAK_PSRI_VRF18_REQ_LSB (1U << 8) /* 1b */
  460. #define BAK_PSRI_DDR_EN_LSB (1U << 9) /* 1b */
  461. /* MD32PCM_WAKEUP_STA (0x10006000+0x130) */
  462. #define MD32PCM_WAKEUP_STA_LSB (1U << 0) /* 32b */
  463. /* MD32PCM_EVENT_STA (0x10006000+0x134) */
  464. #define MD32PCM_EVENT_STA_LSB (1U << 0) /* 32b */
  465. /* SPM_WAKEUP_STA (0x10006000+0x138) */
  466. #define F32K_WAKEUP_EVENT_L_LSB (1U << 0) /* 16b */
  467. #define ASYN_WAKEUP_EVENT_L_LSB (1U << 16) /* 16b */
  468. /* SPM_WAKEUP_EXT_STA (0x10006000+0x13C) */
  469. #define EXT_WAKEUP_EVENT_LSB (1U << 0) /* 32b */
  470. /* SPM_WAKEUP_MISC (0x10006000+0x140) */
  471. #define GIC_WAKEUP_LSB (1U << 0) /* 10b */
  472. #define DVFSRC_IRQ_LSB (1U << 16) /* 1b */
  473. #define SPM_WAKEUP_MISC_REG_CPU_WAKEUP_LSB (1U << 17) /* 1b */
  474. #define PCM_TIMER_EVENT_LSB (1U << 18) /* 1b */
  475. #define PMIC_EINT_OUT_B_LSB (1U << 19) /* 2b */
  476. #define TWAM_IRQ_B_LSB (1U << 21) /* 1b */
  477. #define PMSR_IRQ_B_SET0_LSB (1U << 22) /* 1b */
  478. #define PMSR_IRQ_B_SET1_LSB (1U << 23) /* 1b */
  479. #define PMSR_IRQ_B_SET2_LSB (1U << 24) /* 1b */
  480. #define SPM_ACK_CHK_WAKEUP_0_LSB (1U << 25) /* 1b */
  481. #define SPM_ACK_CHK_WAKEUP_1_LSB (1U << 26) /* 1b */
  482. #define SPM_ACK_CHK_WAKEUP_2_LSB (1U << 27) /* 1b */
  483. #define SPM_ACK_CHK_WAKEUP_3_LSB (1U << 28) /* 1b */
  484. #define SPM_ACK_CHK_WAKEUP_ALL_LSB (1U << 29) /* 1b */
  485. #define PMIC_IRQ_ACK_LSB (1U << 30) /* 1b */
  486. #define PMIC_SCP_IRQ_LSB (1U << 31) /* 1b */
  487. /* MM_DVFS_HALT (0x10006000+0x144) */
  488. #define MM_DVFS_HALT_LSB (1U << 0) /* 5b */
  489. /* BUS_PROTECT_RDY (0x10006000+0x150) */
  490. #define PROTECT_READY_LSB (1U << 0) /* 32b */
  491. /* BUS_PROTECT1_RDY (0x10006000+0x154) */
  492. #define PROTECT1_READY_LSB (1U << 0) /* 32b */
  493. /* BUS_PROTECT2_RDY (0x10006000+0x158) */
  494. #define PROTECT2_READY_LSB (1U << 0) /* 32b */
  495. /* BUS_PROTECT3_RDY (0x10006000+0x15C) */
  496. #define PROTECT3_READY_LSB (1U << 0) /* 32b */
  497. /* SUBSYS_IDLE_STA (0x10006000+0x160) */
  498. #define SUBSYS_IDLE_SIGNALS_LSB (1U << 0) /* 32b */
  499. /* PCM_STA (0x10006000+0x164) */
  500. #define PCM_CK_SEL_O_LSB (1U << 0) /* 4b */
  501. #define EXT_SRC_STA_LSB (1U << 4) /* 3b */
  502. /* SRC_REQ_STA_3 (0x10006000+0x168) */
  503. #define CCIF_EVENT_RAW_STATUS_LSB (1U << 0) /* 16b */
  504. #define F26M_STATE_LSB (1U << 16) /* 1b */
  505. #define INFRA_STATE_LSB (1U << 17) /* 1b */
  506. #define APSRC_STATE_LSB (1U << 18) /* 1b */
  507. #define VRF18_STATE_LSB (1U << 19) /* 1b */
  508. #define DDR_EN_STATE_LSB (1U << 20) /* 1b */
  509. #define DVFS_STATE_LSB (1U << 21) /* 1b */
  510. #define SW_MAILBOX_STATE_LSB (1U << 22) /* 1b */
  511. #define SSPM_MAILBOX_STATE_LSB (1U << 23) /* 1b */
  512. #define ADSP_MAILBOX_STATE_LSB (1U << 24) /* 1b */
  513. #define SCP_MAILBOX_STATE_LSB (1U << 25) /* 1b */
  514. /* PWR_STATUS (0x10006000+0x16C) */
  515. #define PWR_STATUS_LSB (1U << 0) /* 32b */
  516. /* PWR_STATUS_2ND (0x10006000+0x170) */
  517. #define PWR_STATUS_2ND_LSB (1U << 0) /* 32b */
  518. /* CPU_PWR_STATUS (0x10006000+0x174) */
  519. #define MP0_SPMC_PWR_ON_ACK_CPU0_LSB (1U << 0) /* 1b */
  520. #define MP0_SPMC_PWR_ON_ACK_CPU1_LSB (1U << 1) /* 1b */
  521. #define MP0_SPMC_PWR_ON_ACK_CPU2_LSB (1U << 2) /* 1b */
  522. #define MP0_SPMC_PWR_ON_ACK_CPU3_LSB (1U << 3) /* 1b */
  523. #define MP0_SPMC_PWR_ON_ACK_CPU4_LSB (1U << 4) /* 1b */
  524. #define MP0_SPMC_PWR_ON_ACK_CPU5_LSB (1U << 5) /* 1b */
  525. #define MP0_SPMC_PWR_ON_ACK_CPU6_LSB (1U << 6) /* 1b */
  526. #define MP0_SPMC_PWR_ON_ACK_CPU7_LSB (1U << 7) /* 1b */
  527. #define MP0_SPMC_PWR_ON_ACK_CPUTOP_LSB (1U << 8) /* 1b */
  528. #define MCUSYS_SPMC_PWR_ON_ACK_LSB (1U << 9) /* 1b */
  529. /* OTHER_PWR_STATUS (0x10006000+0x178) */
  530. #define OTHER_PWR_STATUS_LSB (1U << 0) /* 32b */
  531. /* SPM_VTCXO_EVENT_COUNT_STA (0x10006000+0x17C) */
  532. #define SPM_VTCXO_SLEEP_COUNT_LSB (1U << 0) /* 16b */
  533. #define SPM_VTCXO_WAKE_COUNT_LSB (1U << 16) /* 16b */
  534. /* SPM_INFRA_EVENT_COUNT_STA (0x10006000+0x180) */
  535. #define SPM_INFRA_SLEEP_COUNT_LSB (1U << 0) /* 16b */
  536. #define SPM_INFRA_WAKE_COUNT_LSB (1U << 16) /* 16b */
  537. /* SPM_VRF18_EVENT_COUNT_STA (0x10006000+0x184) */
  538. #define SPM_VRF18_SLEEP_COUNT_LSB (1U << 0) /* 16b */
  539. #define SPM_VRF18_WAKE_COUNT_LSB (1U << 16) /* 16b */
  540. /* SPM_APSRC_EVENT_COUNT_STA (0x10006000+0x188) */
  541. #define SPM_APSRC_SLEEP_COUNT_LSB (1U << 0) /* 16b */
  542. #define SPM_APSRC_WAKE_COUNT_LSB (1U << 16) /* 16b */
  543. /* SPM_DDREN_EVENT_COUNT_STA (0x10006000+0x18C) */
  544. #define SPM_DDREN_SLEEP_COUNT_LSB (1U << 0) /* 16b */
  545. #define SPM_DDREN_WAKE_COUNT_LSB (1U << 16) /* 16b */
  546. /* MD32PCM_STA (0x10006000+0x190) */
  547. #define MD32PCM_HALT_LSB (1U << 0) /* 1b */
  548. #define MD32PCM_GATED_LSB (1U << 1) /* 1b */
  549. /* MD32PCM_PC (0x10006000+0x194) */
  550. #define MON_PC_LSB (1U << 0) /* 32b */
  551. /* DVFSRC_EVENT_STA (0x10006000+0x1A4) */
  552. #define DVFSRC_EVENT_LSB (1U << 0) /* 32b */
  553. /* BUS_PROTECT4_RDY (0x10006000+0x1A8) */
  554. #define PROTECT4_READY_LSB (1U << 0) /* 32b */
  555. /* BUS_PROTECT5_RDY (0x10006000+0x1AC) */
  556. #define PROTECT5_READY_LSB (1U << 0) /* 32b */
  557. /* BUS_PROTECT6_RDY (0x10006000+0x1B0) */
  558. #define PROTECT6_READY_LSB (1U << 0) /* 32b */
  559. /* BUS_PROTECT7_RDY (0x10006000+0x1B4) */
  560. #define PROTECT7_READY_LSB (1U << 0) /* 32b */
  561. /* BUS_PROTECT8_RDY (0x10006000+0x1B8) */
  562. #define PROTECT8_READY_LSB (1U << 0) /* 32b */
  563. /* SPM_TWAM_LAST_STA0 (0x10006000+0x1D0) */
  564. #define LAST_IDLE_CNT_0_LSB (1U << 0) /* 32b */
  565. /* SPM_TWAM_LAST_STA1 (0x10006000+0x1D4) */
  566. #define LAST_IDLE_CNT_1_LSB (1U << 0) /* 32b */
  567. /* SPM_TWAM_LAST_STA2 (0x10006000+0x1D8) */
  568. #define LAST_IDLE_CNT_2_LSB (1U << 0) /* 32b */
  569. /* SPM_TWAM_LAST_STA3 (0x10006000+0x1DC) */
  570. #define LAST_IDLE_CNT_3_LSB (1U << 0) /* 32b */
  571. /* SPM_TWAM_CURR_STA0 (0x10006000+0x1E0) */
  572. #define CURRENT_IDLE_CNT_0_LSB (1U << 0) /* 32b */
  573. /* SPM_TWAM_CURR_STA1 (0x10006000+0x1E4) */
  574. #define CURRENT_IDLE_CNT_1_LSB (1U << 0) /* 32b */
  575. /* SPM_TWAM_CURR_STA2 (0x10006000+0x1E8) */
  576. #define CURRENT_IDLE_CNT_2_LSB (1U << 0) /* 32b */
  577. /* SPM_TWAM_CURR_STA3 (0x10006000+0x1EC) */
  578. #define CURRENT_IDLE_CNT_3_LSB (1U << 0) /* 32b */
  579. /* SPM_TWAM_TIMER_OUT (0x10006000+0x1F0) */
  580. #define TWAM_TIMER_LSB (1U << 0) /* 32b */
  581. /* SPM_CG_CHECK_STA (0x10006000+0x1F4) */
  582. #define SPM_CG_CHECK_SLEEP_REQ_0_LSB (1U << 0) /* 1b */
  583. #define SPM_CG_CHECK_SLEEP_REQ_1_LSB (1U << 1) /* 1b */
  584. #define SPM_CG_CHECK_SLEEP_REQ_2_LSB (1U << 2) /* 1b */
  585. /* SPM_DVFS_STA (0x10006000+0x1F8) */
  586. #define TARGET_DVFS_LEVEL_LSB (1U << 0) /* 32b */
  587. /* SPM_DVFS_OPP_STA (0x10006000+0x1FC) */
  588. #define TARGET_DVFS_OPP_LSB (1U << 0) /* 5b */
  589. #define CURRENT_DVFS_OPP_LSB (1U << 5) /* 5b */
  590. #define RELAY_DVFS_OPP_LSB (1U << 10) /* 5b */
  591. /* SPM_MCUSYS_PWR_CON (0x10006000+0x200) */
  592. #define MCUSYS_SPMC_PWR_RST_B_LSB (1U << 0) /* 1b */
  593. #define MCUSYS_SPMC_PWR_ON_LSB (1U << 2) /* 1b */
  594. #define MCUSYS_SPMC_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  595. #define MCUSYS_SPMC_RESETPWRON_CONFIG_LSB (1U << 5) /* 1b */
  596. #define MCUSYS_SPMC_DORMANT_EN_LSB (1U << 6) /* 1b */
  597. #define MCUSYS_VPROC_EXT_OFF_LSB (1U << 7) /* 1b */
  598. #define SPM_MCUSYS_PWR_CON_MCUSYS_SPMC_PWR_ON_ACK_LSB (1U << 31) /* 1b */
  599. /* SPM_CPUTOP_PWR_CON (0x10006000+0x204) */
  600. #define MP0_SPMC_PWR_RST_B_CPUTOP_LSB (1U << 0) /* 1b */
  601. #define MP0_SPMC_PWR_ON_CPUTOP_LSB (1U << 2) /* 1b */
  602. #define MP0_SPMC_PWR_CLK_DIS_CPUTOP_LSB (1U << 4) /* 1b */
  603. #define MP0_SPMC_RESETPWRON_CONFIG_CPUTOP_LSB (1U << 5) /* 1b */
  604. #define MP0_SPMC_DORMANT_EN_CPUTOP_LSB (1U << 6) /* 1b */
  605. #define MP0_VPROC_EXT_OFF_LSB (1U << 7) /* 1b */
  606. #define MP0_VSRAM_EXT_OFF_LSB (1U << 8) /* 1b */
  607. #define SPM_CPUTOP_PWR_CON_MP0_SPMC_PWR_ON_ACK_CPUTOP_LSB (1U << 31) /* 1b */
  608. /* SPM_CPU0_PWR_CON (0x10006000+0x208) */
  609. #define MP0_SPMC_PWR_RST_B_CPU0_LSB (1U << 0) /* 1b */
  610. #define MP0_SPMC_PWR_ON_CPU0_LSB (1U << 2) /* 1b */
  611. #define MP0_SPMC_RESETPWRON_CONFIG_CPU0_LSB (1U << 5) /* 1b */
  612. #define MP0_VPROC_EXT_OFF_CPU0_LSB (1U << 7) /* 1b */
  613. #define SPM_CPU0_PWR_CON_MP0_SPMC_PWR_ON_ACK_CPU0_LSB (1U << 31) /* 1b */
  614. /* SPM_CPU1_PWR_CON (0x10006000+0x20C) */
  615. #define MP0_SPMC_PWR_RST_B_CPU1_LSB (1U << 0) /* 1b */
  616. #define MP0_SPMC_PWR_ON_CPU1_LSB (1U << 2) /* 1b */
  617. #define MP0_SPMC_RESETPWRON_CONFIG_CPU1_LSB (1U << 5) /* 1b */
  618. #define MP0_VPROC_EXT_OFF_CPU1_LSB (1U << 7) /* 1b */
  619. #define SPM_CPU1_PWR_CON_MP0_SPMC_PWR_ON_ACK_CPU1_LSB (1U << 31) /* 1b */
  620. /* SPM_CPU2_PWR_CON (0x10006000+0x210) */
  621. #define MP0_SPMC_PWR_RST_B_CPU2_LSB (1U << 0) /* 1b */
  622. #define MP0_SPMC_PWR_ON_CPU2_LSB (1U << 2) /* 1b */
  623. #define MP0_SPMC_RESETPWRON_CONFIG_CPU2_LSB (1U << 5) /* 1b */
  624. #define MP0_VPROC_EXT_OFF_CPU2_LSB (1U << 7) /* 1b */
  625. #define SPM_CPU2_PWR_CON_MP0_SPMC_PWR_ON_ACK_CPU2_LSB (1U << 31) /* 1b */
  626. /* SPM_CPU3_PWR_CON (0x10006000+0x214) */
  627. #define MP0_SPMC_PWR_RST_B_CPU3_LSB (1U << 0) /* 1b */
  628. #define MP0_SPMC_PWR_ON_CPU3_LSB (1U << 2) /* 1b */
  629. #define MP0_SPMC_RESETPWRON_CONFIG_CPU3_LSB (1U << 5) /* 1b */
  630. #define MP0_VPROC_EXT_OFF_CPU3_LSB (1U << 7) /* 1b */
  631. #define SPM_CPU3_PWR_CON_MP0_SPMC_PWR_ON_ACK_CPU3_LSB (1U << 31) /* 1b */
  632. /* SPM_CPU4_PWR_CON (0x10006000+0x218) */
  633. #define MP0_SPMC_PWR_RST_B_CPU4_LSB (1U << 0) /* 1b */
  634. #define MP0_SPMC_PWR_ON_CPU4_LSB (1U << 2) /* 1b */
  635. #define MP0_SPMC_RESETPWRON_CONFIG_CPU4_LSB (1U << 5) /* 1b */
  636. #define MP0_VPROC_EXT_OFF_CPU4_LSB (1U << 7) /* 1b */
  637. #define SPM_CPU4_PWR_CON_MP0_SPMC_PWR_ON_ACK_CPU4_LSB (1U << 31) /* 1b */
  638. /* SPM_CPU5_PWR_CON (0x10006000+0x21C) */
  639. #define MP0_SPMC_PWR_RST_B_CPU5_LSB (1U << 0) /* 1b */
  640. #define MP0_SPMC_PWR_ON_CPU5_LSB (1U << 2) /* 1b */
  641. #define MP0_SPMC_RESETPWRON_CONFIG_CPU5_LSB (1U << 5) /* 1b */
  642. #define MP0_VPROC_EXT_OFF_CPU5_LSB (1U << 7) /* 1b */
  643. #define SPM_CPU5_PWR_CON_MP0_SPMC_PWR_ON_ACK_CPU5_LSB (1U << 31) /* 1b */
  644. /* SPM_CPU6_PWR_CON (0x10006000+0x220) */
  645. #define MP0_SPMC_PWR_RST_B_CPU6_LSB (1U << 0) /* 1b */
  646. #define MP0_SPMC_PWR_ON_CPU6_LSB (1U << 2) /* 1b */
  647. #define MP0_SPMC_RESETPWRON_CONFIG_CPU6_LSB (1U << 5) /* 1b */
  648. #define MP0_VPROC_EXT_OFF_CPU6_LSB (1U << 7) /* 1b */
  649. #define SPM_CPU6_PWR_CON_MP0_SPMC_PWR_ON_ACK_CPU6_LSB (1U << 31) /* 1b */
  650. /* SPM_CPU7_PWR_CON (0x10006000+0x224) */
  651. #define MP0_SPMC_PWR_RST_B_CPU7_LSB (1U << 0) /* 1b */
  652. #define MP0_SPMC_PWR_ON_CPU7_LSB (1U << 2) /* 1b */
  653. #define MP0_SPMC_RESETPWRON_CONFIG_CPU7_LSB (1U << 5) /* 1b */
  654. #define MP0_VPROC_EXT_OFF_CPU7_LSB (1U << 7) /* 1b */
  655. #define SPM_CPU7_PWR_CON_MP0_SPMC_PWR_ON_ACK_CPU7_LSB (1U << 31) /* 1b */
  656. /* ARMPLL_CLK_CON (0x10006000+0x22C) */
  657. #define SC_ARM_FHC_PAUSE_LSB (1U << 0) /* 6b */
  658. #define SC_ARM_CK_OFF_LSB (1U << 6) /* 6b */
  659. #define SC_ARMPLL_OFF_LSB (1U << 12) /* 1b */
  660. #define SC_ARMBPLL_OFF_LSB (1U << 13) /* 1b */
  661. #define SC_ARMBPLL1_OFF_LSB (1U << 14) /* 1b */
  662. #define SC_ARMBPLL2_OFF_LSB (1U << 15) /* 1b */
  663. #define SC_ARMBPLL3_OFF_LSB (1U << 16) /* 1b */
  664. #define SC_CCIPLL_CKOFF_LSB (1U << 17) /* 1b */
  665. #define SC_ARMDDS_OFF_LSB (1U << 18) /* 1b */
  666. #define SC_ARMBPLL_S_OFF_LSB (1U << 19) /* 1b */
  667. #define SC_ARMBPLL1_S_OFF_LSB (1U << 20) /* 1b */
  668. #define SC_ARMBPLL2_S_OFF_LSB (1U << 21) /* 1b */
  669. #define SC_ARMBPLL3_S_OFF_LSB (1U << 22) /* 1b */
  670. #define SC_CCIPLL_PWROFF_LSB (1U << 23) /* 1b */
  671. #define SC_ARMPLLOUT_OFF_LSB (1U << 24) /* 1b */
  672. #define SC_ARMBPLLOUT_OFF_LSB (1U << 25) /* 1b */
  673. #define SC_ARMBPLLOUT1_OFF_LSB (1U << 26) /* 1b */
  674. #define SC_ARMBPLLOUT2_OFF_LSB (1U << 27) /* 1b */
  675. #define SC_ARMBPLLOUT3_OFF_LSB (1U << 28) /* 1b */
  676. #define SC_CCIPLL_OUT_OFF_LSB (1U << 29) /* 1b */
  677. /* MCUSYS_IDLE_STA (0x10006000+0x230) */
  678. #define ARMBUS_IDLE_TO_26M_LSB (1U << 0) /* 1b */
  679. #define MP0_CLUSTER_IDLE_TO_PWR_OFF_LSB (1U << 1) /* 1b */
  680. #define MCUSYS_DDR_EN_0_LSB (1U << 2) /* 1b */
  681. #define MCUSYS_DDR_EN_1_LSB (1U << 3) /* 1b */
  682. #define MCUSYS_DDR_EN_2_LSB (1U << 4) /* 1b */
  683. #define MCUSYS_DDR_EN_3_LSB (1U << 5) /* 1b */
  684. #define MCUSYS_DDR_EN_4_LSB (1U << 6) /* 1b */
  685. #define MCUSYS_DDR_EN_5_LSB (1U << 7) /* 1b */
  686. #define MCUSYS_DDR_EN_6_LSB (1U << 8) /* 1b */
  687. #define MCUSYS_DDR_EN_7_LSB (1U << 9) /* 1b */
  688. #define MP0_CPU_IDLE_TO_PWR_OFF_LSB (1U << 16) /* 8b */
  689. #define WFI_AF_SEL_LSB (1U << 24) /* 8b */
  690. /* GIC_WAKEUP_STA (0x10006000+0x234) */
  691. #define GIC_WAKEUP_STA_GIC_WAKEUP_LSB (1U << 10) /* 10b */
  692. /* CPU_SPARE_CON (0x10006000+0x238) */
  693. #define CPU_SPARE_CON_LSB (1U << 0) /* 32b */
  694. /* CPU_SPARE_CON_SET (0x10006000+0x23C) */
  695. #define CPU_SPARE_CON_SET_LSB (1U << 0) /* 32b */
  696. /* CPU_SPARE_CON_CLR (0x10006000+0x240) */
  697. #define CPU_SPARE_CON_CLR_LSB (1U << 0) /* 32b */
  698. /* ARMPLL_CLK_SEL (0x10006000+0x244) */
  699. #define ARMPLL_CLK_SEL_LSB (1U << 0) /* 15b */
  700. /* EXT_INT_WAKEUP_REQ (0x10006000+0x248) */
  701. #define EXT_INT_WAKEUP_REQ_LSB (1U << 0) /* 10b */
  702. /* EXT_INT_WAKEUP_REQ_SET (0x10006000+0x24C) */
  703. #define EXT_INT_WAKEUP_REQ_SET_LSB (1U << 0) /* 10b */
  704. /* EXT_INT_WAKEUP_REQ_CLR (0x10006000+0x250) */
  705. #define EXT_INT_WAKEUP_REQ_CLR_LSB (1U << 0) /* 10b */
  706. /* MP0_CPU0_IRQ_MASK (0x10006000+0x260) */
  707. #define MP0_CPU0_IRQ_MASK_LSB (1U << 0) /* 1b */
  708. #define MP0_CPU0_AUX_LSB (1U << 8) /* 11b */
  709. /* MP0_CPU1_IRQ_MASK (0x10006000+0x264) */
  710. #define MP0_CPU1_IRQ_MASK_LSB (1U << 0) /* 1b */
  711. #define MP0_CPU1_AUX_LSB (1U << 8) /* 11b */
  712. /* MP0_CPU2_IRQ_MASK (0x10006000+0x268) */
  713. #define MP0_CPU2_IRQ_MASK_LSB (1U << 0) /* 1b */
  714. #define MP0_CPU2_AUX_LSB (1U << 8) /* 11b */
  715. /* MP0_CPU3_IRQ_MASK (0x10006000+0x26C) */
  716. #define MP0_CPU3_IRQ_MASK_LSB (1U << 0) /* 1b */
  717. #define MP0_CPU3_AUX_LSB (1U << 8) /* 11b */
  718. /* MP1_CPU0_IRQ_MASK (0x10006000+0x270) */
  719. #define MP1_CPU0_IRQ_MASK_LSB (1U << 0) /* 1b */
  720. #define MP1_CPU0_AUX_LSB (1U << 8) /* 11b */
  721. /* MP1_CPU1_IRQ_MASK (0x10006000+0x274) */
  722. #define MP1_CPU1_IRQ_MASK_LSB (1U << 0) /* 1b */
  723. #define MP1_CPU1_AUX_LSB (1U << 8) /* 11b */
  724. /* MP1_CPU2_IRQ_MASK (0x10006000+0x278) */
  725. #define MP1_CPU2_IRQ_MASK_LSB (1U << 0) /* 1b */
  726. #define MP1_CPU2_AUX_LSB (1U << 8) /* 11b */
  727. /* MP1_CPU3_IRQ_MASK (0x10006000+0x27C) */
  728. #define MP1_CPU3_IRQ_MASK_LSB (1U << 0) /* 1b */
  729. #define MP1_CPU3_AUX_LSB (1U << 8) /* 11b */
  730. /* MP0_CPU0_WFI_EN (0x10006000+0x280) */
  731. #define MP0_CPU0_WFI_EN_LSB (1U << 0) /* 1b */
  732. /* MP0_CPU1_WFI_EN (0x10006000+0x284) */
  733. #define MP0_CPU1_WFI_EN_LSB (1U << 0) /* 1b */
  734. /* MP0_CPU2_WFI_EN (0x10006000+0x288) */
  735. #define MP0_CPU2_WFI_EN_LSB (1U << 0) /* 1b */
  736. /* MP0_CPU3_WFI_EN (0x10006000+0x28C) */
  737. #define MP0_CPU3_WFI_EN_LSB (1U << 0) /* 1b */
  738. /* MP0_CPU4_WFI_EN (0x10006000+0x290) */
  739. #define MP0_CPU4_WFI_EN_LSB (1U << 0) /* 1b */
  740. /* MP0_CPU5_WFI_EN (0x10006000+0x294) */
  741. #define MP0_CPU5_WFI_EN_LSB (1U << 0) /* 1b */
  742. /* MP0_CPU6_WFI_EN (0x10006000+0x298) */
  743. #define MP0_CPU6_WFI_EN_LSB (1U << 0) /* 1b */
  744. /* MP0_CPU7_WFI_EN (0x10006000+0x29C) */
  745. #define MP0_CPU7_WFI_EN_LSB (1U << 0) /* 1b */
  746. /* ROOT_CPUTOP_ADDR (0x10006000+0x2A0) */
  747. #define ROOT_CPUTOP_ADDR_LSB (1U << 0) /* 32b */
  748. /* ROOT_CORE_ADDR (0x10006000+0x2A4) */
  749. #define ROOT_CORE_ADDR_LSB (1U << 0) /* 32b */
  750. /* SPM2SW_MAILBOX_0 (0x10006000+0x2D0) */
  751. #define SPM2SW_MAILBOX_0_LSB (1U << 0) /* 32b */
  752. /* SPM2SW_MAILBOX_1 (0x10006000+0x2D4) */
  753. #define SPM2SW_MAILBOX_1_LSB (1U << 0) /* 32b */
  754. /* SPM2SW_MAILBOX_2 (0x10006000+0x2D8) */
  755. #define SPM2SW_MAILBOX_2_LSB (1U << 0) /* 32b */
  756. /* SPM2SW_MAILBOX_3 (0x10006000+0x2DC) */
  757. #define SPM2SW_MAILBOX_3_LSB (1U << 0) /* 32b */
  758. /* SW2SPM_INT (0x10006000+0x2E0) */
  759. #define SW2SPM_INT_SW2SPM_INT_LSB (1U << 0) /* 4b */
  760. /* SW2SPM_INT_SET (0x10006000+0x2E4) */
  761. #define SW2SPM_INT_SET_LSB (1U << 0) /* 4b */
  762. /* SW2SPM_INT_CLR (0x10006000+0x2E8) */
  763. #define SW2SPM_INT_CLR_LSB (1U << 0) /* 4b */
  764. /* SW2SPM_MAILBOX_0 (0x10006000+0x2EC) */
  765. #define SW2SPM_MAILBOX_0_LSB (1U << 0) /* 32b */
  766. /* SW2SPM_MAILBOX_1 (0x10006000+0x2F0) */
  767. #define SW2SPM_MAILBOX_1_LSB (1U << 0) /* 32b */
  768. /* SW2SPM_MAILBOX_2 (0x10006000+0x2F4) */
  769. #define SW2SPM_MAILBOX_2_LSB (1U << 0) /* 32b */
  770. /* SW2SPM_MAILBOX_3 (0x10006000+0x2F8) */
  771. #define SW2SPM_MAILBOX_3_LSB (1U << 0) /* 32b */
  772. /* SW2SPM_CFG (0x10006000+0x2FC) */
  773. #define SWU2SPM_INT_MASK_B_LSB (1U << 0) /* 4b */
  774. /* MD1_PWR_CON (0x10006000+0x300) */
  775. #define MD1_PWR_RST_B_LSB (1U << 0) /* 1b */
  776. #define MD1_PWR_ISO_LSB (1U << 1) /* 1b */
  777. #define MD1_PWR_ON_LSB (1U << 2) /* 1b */
  778. #define MD1_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  779. #define MD1_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  780. #define MD1_SRAM_PDN_LSB (1U << 8) /* 1b */
  781. #define SC_MD1_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  782. /* CONN_PWR_CON (0x10006000+0x304) */
  783. #define CONN_PWR_RST_B_LSB (1U << 0) /* 1b */
  784. #define CONN_PWR_ISO_LSB (1U << 1) /* 1b */
  785. #define CONN_PWR_ON_LSB (1U << 2) /* 1b */
  786. #define CONN_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  787. #define CONN_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  788. /* MFG0_PWR_CON (0x10006000+0x308) */
  789. #define MFG0_PWR_RST_B_LSB (1U << 0) /* 1b */
  790. #define MFG0_PWR_ISO_LSB (1U << 1) /* 1b */
  791. #define MFG0_PWR_ON_LSB (1U << 2) /* 1b */
  792. #define MFG0_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  793. #define MFG0_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  794. #define MFG0_SRAM_PDN_LSB (1U << 8) /* 1b */
  795. #define SC_MFG0_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  796. /* MFG1_PWR_CON (0x10006000+0x30C) */
  797. #define MFG1_PWR_RST_B_LSB (1U << 0) /* 1b */
  798. #define MFG1_PWR_ISO_LSB (1U << 1) /* 1b */
  799. #define MFG1_PWR_ON_LSB (1U << 2) /* 1b */
  800. #define MFG1_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  801. #define MFG1_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  802. #define MFG1_SRAM_PDN_LSB (1U << 8) /* 1b */
  803. #define SC_MFG1_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  804. /* MFG2_PWR_CON (0x10006000+0x310) */
  805. #define MFG2_PWR_RST_B_LSB (1U << 0) /* 1b */
  806. #define MFG2_PWR_ISO_LSB (1U << 1) /* 1b */
  807. #define MFG2_PWR_ON_LSB (1U << 2) /* 1b */
  808. #define MFG2_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  809. #define MFG2_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  810. #define MFG2_SRAM_PDN_LSB (1U << 8) /* 1b */
  811. #define SC_MFG2_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  812. /* MFG3_PWR_CON (0x10006000+0x314) */
  813. #define MFG3_PWR_RST_B_LSB (1U << 0) /* 1b */
  814. #define MFG3_PWR_ISO_LSB (1U << 1) /* 1b */
  815. #define MFG3_PWR_ON_LSB (1U << 2) /* 1b */
  816. #define MFG3_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  817. #define MFG3_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  818. #define MFG3_SRAM_PDN_LSB (1U << 8) /* 1b */
  819. #define SC_MFG3_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  820. /* MFG4_PWR_CON (0x10006000+0x318) */
  821. #define MFG4_PWR_RST_B_LSB (1U << 0) /* 1b */
  822. #define MFG4_PWR_ISO_LSB (1U << 1) /* 1b */
  823. #define MFG4_PWR_ON_LSB (1U << 2) /* 1b */
  824. #define MFG4_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  825. #define MFG4_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  826. #define MFG4_SRAM_PDN_LSB (1U << 8) /* 1b */
  827. #define SC_MFG4_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  828. /* MFG5_PWR_CON (0x10006000+0x31C) */
  829. #define MFG5_PWR_RST_B_LSB (1U << 0) /* 1b */
  830. #define MFG5_PWR_ISO_LSB (1U << 1) /* 1b */
  831. #define MFG5_PWR_ON_LSB (1U << 2) /* 1b */
  832. #define MFG5_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  833. #define MFG5_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  834. #define MFG5_SRAM_PDN_LSB (1U << 8) /* 1b */
  835. #define SC_MFG5_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  836. /* MFG6_PWR_CON (0x10006000+0x320) */
  837. #define MFG6_PWR_RST_B_LSB (1U << 0) /* 1b */
  838. #define MFG6_PWR_ISO_LSB (1U << 1) /* 1b */
  839. #define MFG6_PWR_ON_LSB (1U << 2) /* 1b */
  840. #define MFG6_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  841. #define MFG6_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  842. #define MFG6_SRAM_PDN_LSB (1U << 8) /* 1b */
  843. #define SC_MFG6_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  844. /* IFR_PWR_CON (0x10006000+0x324) */
  845. #define IFR_PWR_RST_B_LSB (1U << 0) /* 1b */
  846. #define IFR_PWR_ISO_LSB (1U << 1) /* 1b */
  847. #define IFR_PWR_ON_LSB (1U << 2) /* 1b */
  848. #define IFR_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  849. #define IFR_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  850. #define IFR_SRAM_PDN_LSB (1U << 8) /* 1b */
  851. #define SC_IFR_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  852. /* IFR_SUB_PWR_CON (0x10006000+0x328) */
  853. #define IFR_SUB_PWR_RST_B_LSB (1U << 0) /* 1b */
  854. #define IFR_SUB_PWR_ISO_LSB (1U << 1) /* 1b */
  855. #define IFR_SUB_PWR_ON_LSB (1U << 2) /* 1b */
  856. #define IFR_SUB_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  857. #define IFR_SUB_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  858. #define IFR_SUB_SRAM_PDN_LSB (1U << 8) /* 1b */
  859. #define SC_IFR_SUB_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  860. /* DPY_PWR_CON (0x10006000+0x32C) */
  861. #define DPY_PWR_RST_B_LSB (1U << 0) /* 1b */
  862. #define DPY_PWR_ISO_LSB (1U << 1) /* 1b */
  863. #define DPY_PWR_ON_LSB (1U << 2) /* 1b */
  864. #define DPY_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  865. #define DPY_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  866. #define DPY_SRAM_PDN_LSB (1U << 8) /* 1b */
  867. #define SC_DPY_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  868. /* ISP_PWR_CON (0x10006000+0x330) */
  869. #define ISP_PWR_RST_B_LSB (1U << 0) /* 1b */
  870. #define ISP_PWR_ISO_LSB (1U << 1) /* 1b */
  871. #define ISP_PWR_ON_LSB (1U << 2) /* 1b */
  872. #define ISP_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  873. #define ISP_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  874. #define ISP_SRAM_PDN_LSB (1U << 8) /* 1b */
  875. #define SC_ISP_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  876. /* ISP2_PWR_CON (0x10006000+0x334) */
  877. #define ISP2_PWR_RST_B_LSB (1U << 0) /* 1b */
  878. #define ISP2_PWR_ISO_LSB (1U << 1) /* 1b */
  879. #define ISP2_PWR_ON_LSB (1U << 2) /* 1b */
  880. #define ISP2_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  881. #define ISP2_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  882. #define ISP2_SRAM_PDN_LSB (1U << 8) /* 1b */
  883. #define SC_ISP2_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  884. /* IPE_PWR_CON (0x10006000+0x338) */
  885. #define IPE_PWR_RST_B_LSB (1U << 0) /* 1b */
  886. #define IPE_PWR_ISO_LSB (1U << 1) /* 1b */
  887. #define IPE_PWR_ON_LSB (1U << 2) /* 1b */
  888. #define IPE_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  889. #define IPE_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  890. #define IPE_SRAM_PDN_LSB (1U << 8) /* 1b */
  891. #define SC_IPE_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  892. /* VDE_PWR_CON (0x10006000+0x33C) */
  893. #define VDE_PWR_RST_B_LSB (1U << 0) /* 1b */
  894. #define VDE_PWR_ISO_LSB (1U << 1) /* 1b */
  895. #define VDE_PWR_ON_LSB (1U << 2) /* 1b */
  896. #define VDE_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  897. #define VDE_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  898. #define VDE_SRAM_PDN_LSB (1U << 8) /* 1b */
  899. #define SC_VDE_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  900. /* VDE2_PWR_CON (0x10006000+0x340) */
  901. #define VDE2_PWR_RST_B_LSB (1U << 0) /* 1b */
  902. #define VDE2_PWR_ISO_LSB (1U << 1) /* 1b */
  903. #define VDE2_PWR_ON_LSB (1U << 2) /* 1b */
  904. #define VDE2_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  905. #define VDE2_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  906. #define VDE2_SRAM_PDN_LSB (1U << 8) /* 1b */
  907. #define SC_VDE2_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  908. /* VEN_PWR_CON (0x10006000+0x344) */
  909. #define VEN_PWR_RST_B_LSB (1U << 0) /* 1b */
  910. #define VEN_PWR_ISO_LSB (1U << 1) /* 1b */
  911. #define VEN_PWR_ON_LSB (1U << 2) /* 1b */
  912. #define VEN_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  913. #define VEN_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  914. #define VEN_SRAM_PDN_LSB (1U << 8) /* 1b */
  915. #define SC_VEN_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  916. /* VEN_CORE1_PWR_CON (0x10006000+0x348) */
  917. #define VEN_CORE1_PWR_RST_B_LSB (1U << 0) /* 1b */
  918. #define VEN_CORE1_PWR_ISO_LSB (1U << 1) /* 1b */
  919. #define VEN_CORE1_PWR_ON_LSB (1U << 2) /* 1b */
  920. #define VEN_CORE1_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  921. #define VEN_CORE1_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  922. #define VEN_CORE1_SRAM_PDN_LSB (1U << 8) /* 1b */
  923. #define SC_VEN_CORE1_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  924. /* MDP_PWR_CON (0x10006000+0x34C) */
  925. #define MDP_PWR_RST_B_LSB (1U << 0) /* 1b */
  926. #define MDP_PWR_ISO_LSB (1U << 1) /* 1b */
  927. #define MDP_PWR_ON_LSB (1U << 2) /* 1b */
  928. #define MDP_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  929. #define MDP_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  930. #define MDP_SRAM_PDN_LSB (1U << 8) /* 1b */
  931. #define SC_MDP_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  932. /* DIS_PWR_CON (0x10006000+0x350) */
  933. #define DIS_PWR_RST_B_LSB (1U << 0) /* 1b */
  934. #define DIS_PWR_ISO_LSB (1U << 1) /* 1b */
  935. #define DIS_PWR_ON_LSB (1U << 2) /* 1b */
  936. #define DIS_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  937. #define DIS_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  938. #define DIS_SRAM_PDN_LSB (1U << 8) /* 1b */
  939. #define SC_DIS_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  940. /* AUDIO_PWR_CON (0x10006000+0x354) */
  941. #define AUDIO_PWR_RST_B_LSB (1U << 0) /* 1b */
  942. #define AUDIO_PWR_ISO_LSB (1U << 1) /* 1b */
  943. #define AUDIO_PWR_ON_LSB (1U << 2) /* 1b */
  944. #define AUDIO_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  945. #define AUDIO_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  946. #define AUDIO_SRAM_PDN_LSB (1U << 8) /* 1b */
  947. #define SC_AUDIO_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  948. /* ADSP_PWR_CON (0x10006000+0x358) */
  949. #define ADSP_PWR_RST_B_LSB (1U << 0) /* 1b */
  950. #define ADSP_PWR_ISO_LSB (1U << 1) /* 1b */
  951. #define ADSP_PWR_ON_LSB (1U << 2) /* 1b */
  952. #define ADSP_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  953. #define ADSP_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  954. #define ADSP_SRAM_CKISO_LSB (1U << 5) /* 1b */
  955. #define ADSP_SRAM_ISOINT_B_LSB (1U << 6) /* 1b */
  956. #define ADSP_SRAM_PDN_LSB (1U << 8) /* 1b */
  957. #define ADSP_SRAM_SLEEP_B_LSB (1U << 9) /* 1b */
  958. #define SC_ADSP_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  959. #define SC_ADSP_SRAM_SLEEP_B_ACK_LSB (1U << 13) /* 1b */
  960. /* CAM_PWR_CON (0x10006000+0x35C) */
  961. #define CAM_PWR_RST_B_LSB (1U << 0) /* 1b */
  962. #define CAM_PWR_ISO_LSB (1U << 1) /* 1b */
  963. #define CAM_PWR_ON_LSB (1U << 2) /* 1b */
  964. #define CAM_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  965. #define CAM_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  966. #define CAM_SRAM_PDN_LSB (1U << 8) /* 1b */
  967. #define SC_CAM_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  968. /* CAM_RAWA_PWR_CON (0x10006000+0x360) */
  969. #define CAM_RAWA_PWR_RST_B_LSB (1U << 0) /* 1b */
  970. #define CAM_RAWA_PWR_ISO_LSB (1U << 1) /* 1b */
  971. #define CAM_RAWA_PWR_ON_LSB (1U << 2) /* 1b */
  972. #define CAM_RAWA_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  973. #define CAM_RAWA_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  974. #define CAM_RAWA_SRAM_PDN_LSB (1U << 8) /* 1b */
  975. #define SC_CAM_RAWA_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  976. /* CAM_RAWB_PWR_CON (0x10006000+0x364) */
  977. #define CAM_RAWB_PWR_RST_B_LSB (1U << 0) /* 1b */
  978. #define CAM_RAWB_PWR_ISO_LSB (1U << 1) /* 1b */
  979. #define CAM_RAWB_PWR_ON_LSB (1U << 2) /* 1b */
  980. #define CAM_RAWB_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  981. #define CAM_RAWB_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  982. #define CAM_RAWB_SRAM_PDN_LSB (1U << 8) /* 1b */
  983. #define SC_CAM_RAWB_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  984. /* CAM_RAWC_PWR_CON (0x10006000+0x368) */
  985. #define CAM_RAWC_PWR_RST_B_LSB (1U << 0) /* 1b */
  986. #define CAM_RAWC_PWR_ISO_LSB (1U << 1) /* 1b */
  987. #define CAM_RAWC_PWR_ON_LSB (1U << 2) /* 1b */
  988. #define CAM_RAWC_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  989. #define CAM_RAWC_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  990. #define CAM_RAWC_SRAM_PDN_LSB (1U << 8) /* 1b */
  991. #define SC_CAM_RAWC_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  992. /* SYSRAM_CON (0x10006000+0x36C) */
  993. #define SYSRAM_SRAM_CKISO_LSB (1U << 0) /* 1b */
  994. #define SYSRAM_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  995. #define SYSRAM_SRAM_SLEEP_B_LSB (1U << 4) /* 4b */
  996. #define SYSRAM_SRAM_PDN_LSB (1U << 16) /* 4b */
  997. /* SYSROM_CON (0x10006000+0x370) */
  998. #define SYSROM_SRAM_PDN_LSB (1U << 0) /* 6b */
  999. /* SSPM_SRAM_CON (0x10006000+0x374) */
  1000. #define SSPM_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1001. #define SSPM_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1002. #define SSPM_SRAM_SLEEP_B_LSB (1U << 4) /* 1b */
  1003. #define SSPM_SRAM_PDN_LSB (1U << 16) /* 1b */
  1004. /* SCP_SRAM_CON (0x10006000+0x378) */
  1005. #define SCP_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1006. #define SCP_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1007. #define SCP_SRAM_SLEEP_B_LSB (1U << 4) /* 1b */
  1008. #define SCP_SRAM_PDN_LSB (1U << 16) /* 1b */
  1009. /* DPY_SHU_SRAM_CON (0x10006000+0x37C) */
  1010. #define DPY_SHU_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1011. #define DPY_SHU_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1012. #define DPY_SHU_SRAM_SLEEP_B_LSB (1U << 4) /* 2b */
  1013. #define DPY_SHU_SRAM_PDN_LSB (1U << 16) /* 2b */
  1014. /* UFS_SRAM_CON (0x10006000+0x380) */
  1015. #define UFS_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1016. #define UFS_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1017. #define UFS_SRAM_SLEEP_B_LSB (1U << 4) /* 5b */
  1018. #define UFS_SRAM_PDN_LSB (1U << 16) /* 5b */
  1019. /* DEVAPC_IFR_SRAM_CON (0x10006000+0x384) */
  1020. #define DEVAPC_IFR_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1021. #define DEVAPC_IFR_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1022. #define DEVAPC_IFR_SRAM_SLEEP_B_LSB (1U << 4) /* 6b */
  1023. #define DEVAPC_IFR_SRAM_PDN_LSB (1U << 16) /* 6b */
  1024. /* DEVAPC_SUBIFR_SRAM_CON (0x10006000+0x388) */
  1025. #define DEVAPC_SUBIFR_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1026. #define DEVAPC_SUBIFR_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1027. #define DEVAPC_SUBIFR_SRAM_SLEEP_B_LSB (1U << 4) /* 6b */
  1028. #define DEVAPC_SUBIFR_SRAM_PDN_LSB (1U << 16) /* 6b */
  1029. /* DEVAPC_ACP_SRAM_CON (0x10006000+0x38C) */
  1030. #define DEVAPC_ACP_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1031. #define DEVAPC_ACP_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1032. #define DEVAPC_ACP_SRAM_SLEEP_B_LSB (1U << 4) /* 6b */
  1033. #define DEVAPC_ACP_SRAM_PDN_LSB (1U << 16) /* 6b */
  1034. /* USB_SRAM_CON (0x10006000+0x390) */
  1035. #define USB_SRAM_PDN_LSB (1U << 0) /* 7b */
  1036. /* DUMMY_SRAM_CON (0x10006000+0x394) */
  1037. #define DUMMY_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1038. #define DUMMY_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1039. #define DUMMY_SRAM_SLEEP_B_LSB (1U << 4) /* 8b */
  1040. #define DUMMY_SRAM_PDN_LSB (1U << 16) /* 8b */
  1041. /* MD_EXT_BUCK_ISO_CON (0x10006000+0x398) */
  1042. #define VMODEM_EXT_BUCK_ISO_LSB (1U << 0) /* 1b */
  1043. #define VMD_EXT_BUCK_ISO_LSB (1U << 1) /* 1b */
  1044. /* EXT_BUCK_ISO (0x10006000+0x39C) */
  1045. #define VIMVO_EXT_BUCK_ISO_LSB (1U << 0) /* 1b */
  1046. #define GPU_EXT_BUCK_ISO_LSB (1U << 1) /* 1b */
  1047. #define IPU_EXT_BUCK_ISO_LSB (1U << 5) /* 3b */
  1048. /* DXCC_SRAM_CON (0x10006000+0x3A0) */
  1049. #define DXCC_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1050. #define DXCC_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1051. #define DXCC_SRAM_SLEEP_B_LSB (1U << 4) /* 1b */
  1052. #define DXCC_SRAM_PDN_LSB (1U << 16) /* 1b */
  1053. /* MSDC_SRAM_CON (0x10006000+0x3A4) */
  1054. #define MSDC_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1055. #define MSDC_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1056. #define MSDC_SRAM_SLEEP_B_LSB (1U << 4) /* 5b */
  1057. #define MSDC_SRAM_PDN_LSB (1U << 16) /* 5b */
  1058. /* DEBUGTOP_SRAM_CON (0x10006000+0x3A8) */
  1059. #define DEBUGTOP_SRAM_PDN_LSB (1U << 0) /* 1b */
  1060. /* DP_TX_PWR_CON (0x10006000+0x3AC) */
  1061. #define DP_TX_PWR_RST_B_LSB (1U << 0) /* 1b */
  1062. #define DP_TX_PWR_ISO_LSB (1U << 1) /* 1b */
  1063. #define DP_TX_PWR_ON_LSB (1U << 2) /* 1b */
  1064. #define DP_TX_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  1065. #define DP_TX_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  1066. #define DP_TX_SRAM_PDN_LSB (1U << 8) /* 1b */
  1067. #define SC_DP_TX_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  1068. /* DPMAIF_SRAM_CON (0x10006000+0x3B0) */
  1069. #define DPMAIF_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1070. #define DPMAIF_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1071. #define DPMAIF_SRAM_SLEEP_B_LSB (1U << 4) /* 1b */
  1072. #define DPMAIF_SRAM_PDN_LSB (1U << 16) /* 1b */
  1073. /* DPY_SHU2_SRAM_CON (0x10006000+0x3B4) */
  1074. #define DPY_SHU2_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1075. #define DPY_SHU2_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1076. #define DPY_SHU2_SRAM_SLEEP_B_LSB (1U << 4) /* 2b */
  1077. #define DPY_SHU2_SRAM_PDN_LSB (1U << 16) /* 2b */
  1078. /* DRAMC_MCU2_SRAM_CON (0x10006000+0x3B8) */
  1079. #define DRAMC_MCU2_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1080. #define DRAMC_MCU2_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1081. #define DRAMC_MCU2_SRAM_SLEEP_B_LSB (1U << 4) /* 1b */
  1082. #define DRAMC_MCU2_SRAM_PDN_LSB (1U << 16) /* 1b */
  1083. /* DRAMC_MCU_SRAM_CON (0x10006000+0x3BC) */
  1084. #define DRAMC_MCU_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1085. #define DRAMC_MCU_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1086. #define DRAMC_MCU_SRAM_SLEEP_B_LSB (1U << 4) /* 1b */
  1087. #define DRAMC_MCU_SRAM_PDN_LSB (1U << 16) /* 1b */
  1088. /* MCUPM_SRAM_CON (0x10006000+0x3C0) */
  1089. #define MCUPM_SRAM_CKISO_LSB (1U << 0) /* 1b */
  1090. #define MCUPM_SRAM_ISOINT_B_LSB (1U << 1) /* 1b */
  1091. #define MCUPM_SRAM_SLEEP_B_LSB (1U << 4) /* 8b */
  1092. #define MCUPM_SRAM_PDN_LSB (1U << 16) /* 8b */
  1093. /* DPY2_PWR_CON (0x10006000+0x3C4) */
  1094. #define DPY2_PWR_RST_B_LSB (1U << 0) /* 1b */
  1095. #define DPY2_PWR_ISO_LSB (1U << 1) /* 1b */
  1096. #define DPY2_PWR_ON_LSB (1U << 2) /* 1b */
  1097. #define DPY2_PWR_ON_2ND_LSB (1U << 3) /* 1b */
  1098. #define DPY2_PWR_CLK_DIS_LSB (1U << 4) /* 1b */
  1099. #define DPY2_SRAM_PDN_LSB (1U << 8) /* 1b */
  1100. #define SC_DPY2_SRAM_PDN_ACK_LSB (1U << 12) /* 1b */
  1101. /* SPM_MEM_CK_SEL (0x10006000+0x400) */
  1102. #define SC_MEM_CK_SEL_LSB (1U << 0) /* 1b */
  1103. #define SPM2CKSYS_MEM_CK_MUX_UPDATE_LSB (1U << 1) /* 1b */
  1104. /* SPM_BUS_PROTECT_MASK_B (0x10006000+0X404) */
  1105. #define SPM_BUS_PROTECT_MASK_B_LSB (1U << 0) /* 32b */
  1106. /* SPM_BUS_PROTECT1_MASK_B (0x10006000+0x408) */
  1107. #define SPM_BUS_PROTECT1_MASK_B_LSB (1U << 0) /* 32b */
  1108. /* SPM_BUS_PROTECT2_MASK_B (0x10006000+0x40C) */
  1109. #define SPM_BUS_PROTECT2_MASK_B_LSB (1U << 0) /* 32b */
  1110. /* SPM_BUS_PROTECT3_MASK_B (0x10006000+0x410) */
  1111. #define SPM_BUS_PROTECT3_MASK_B_LSB (1U << 0) /* 32b */
  1112. /* SPM_BUS_PROTECT4_MASK_B (0x10006000+0x414) */
  1113. #define SPM_BUS_PROTECT4_MASK_B_LSB (1U << 0) /* 32b */
  1114. /* SPM_EMI_BW_MODE (0x10006000+0x418) */
  1115. #define EMI_BW_MODE_LSB (1U << 0) /* 1b */
  1116. #define EMI_BOOST_MODE_LSB (1U << 1) /* 1b */
  1117. #define EMI_BW_MODE_2_LSB (1U << 2) /* 1b */
  1118. #define EMI_BOOST_MODE_2_LSB (1U << 3) /* 1b */
  1119. /* AP2MD_PEER_WAKEUP (0x10006000+0x41C) */
  1120. #define AP2MD_PEER_WAKEUP_LSB (1U << 0) /* 1b */
  1121. /* ULPOSC_CON (0x10006000+0x420) */
  1122. #define ULPOSC_EN_LSB (1U << 0) /* 1b */
  1123. #define ULPOSC_RST_LSB (1U << 1) /* 1b */
  1124. #define ULPOSC_CG_EN_LSB (1U << 2) /* 1b */
  1125. #define ULPOSC_CLK_SEL_LSB (1U << 3) /* 1b */
  1126. /* SPM2MM_CON (0x10006000+0x424) */
  1127. #define SPM2MM_FORCE_ULTRA_LSB (1U << 0) /* 1b */
  1128. #define SPM2MM_DBL_OSTD_ACT_LSB (1U << 1) /* 1b */
  1129. #define SPM2MM_ULTRAREQ_LSB (1U << 2) /* 1b */
  1130. #define SPM2MD_ULTRAREQ_LSB (1U << 3) /* 1b */
  1131. #define SPM2ISP_ULTRAREQ_LSB (1U << 4) /* 1b */
  1132. #define MM2SPM_FORCE_ULTRA_ACK_D2T_LSB (1U << 16) /* 1b */
  1133. #define MM2SPM_DBL_OSTD_ACT_ACK_D2T_LSB (1U << 17) /* 1b */
  1134. #define SPM2ISP_ULTRAACK_D2T_LSB (1U << 18) /* 1b */
  1135. #define SPM2MM_ULTRAACK_D2T_LSB (1U << 19) /* 1b */
  1136. #define SPM2MD_ULTRAACK_D2T_LSB (1U << 20) /* 1b */
  1137. /* SPM_BUS_PROTECT5_MASK_B (0x10006000+0x428) */
  1138. #define SPM_BUS_PROTECT5_MASK_B_LSB (1U << 0) /* 32b */
  1139. /* SPM2MCUPM_CON (0x10006000+0x42C) */
  1140. #define SPM2MCUPM_SW_RST_B_LSB (1U << 0) /* 1b */
  1141. #define SPM2MCUPM_SW_INT_LSB (1U << 1) /* 1b */
  1142. /* AP_MDSRC_REQ (0x10006000+0x430) */
  1143. #define AP_MDSMSRC_REQ_LSB (1U << 0) /* 1b */
  1144. #define AP_L1SMSRC_REQ_LSB (1U << 1) /* 1b */
  1145. #define AP_MD2SRC_REQ_LSB (1U << 2) /* 1b */
  1146. #define AP_MDSMSRC_ACK_LSB (1U << 4) /* 1b */
  1147. #define AP_L1SMSRC_ACK_LSB (1U << 5) /* 1b */
  1148. #define AP_MD2SRC_ACK_LSB (1U << 6) /* 1b */
  1149. /* SPM2EMI_ENTER_ULPM (0x10006000+0x434) */
  1150. #define SPM2EMI_ENTER_ULPM_LSB (1U << 0) /* 1b */
  1151. /* SPM2MD_DVFS_CON (0x10006000+0x438) */
  1152. #define SPM2MD_DVFS_CON_LSB (1U << 0) /* 32b */
  1153. /* MD2SPM_DVFS_CON (0x10006000+0x43C) */
  1154. #define MD2SPM_DVFS_CON_LSB (1U << 0) /* 32b */
  1155. /* SPM_BUS_PROTECT6_MASK_B (0x10006000+0X440) */
  1156. #define SPM_BUS_PROTECT6_MASK_B_LSB (1U << 0) /* 32b */
  1157. /* SPM_BUS_PROTECT7_MASK_B (0x10006000+0x444) */
  1158. #define SPM_BUS_PROTECT7_MASK_B_LSB (1U << 0) /* 32b */
  1159. /* SPM_BUS_PROTECT8_MASK_B (0x10006000+0x448) */
  1160. #define SPM_BUS_PROTECT8_MASK_B_LSB (1U << 0) /* 32b */
  1161. /* SPM_PLL_CON (0x10006000+0x44C) */
  1162. #define SC_MAINPLLOUT_OFF_LSB (1U << 0) /* 1b */
  1163. #define SC_UNIPLLOUT_OFF_LSB (1U << 1) /* 1b */
  1164. #define SC_MAINPLL_OFF_LSB (1U << 4) /* 1b */
  1165. #define SC_UNIPLL_OFF_LSB (1U << 5) /* 1b */
  1166. #define SC_MAINPLL_S_OFF_LSB (1U << 8) /* 1b */
  1167. #define SC_UNIPLL_S_OFF_LSB (1U << 9) /* 1b */
  1168. #define SC_SMI_CK_OFF_LSB (1U << 16) /* 1b */
  1169. #define SC_MD32K_CK_OFF_LSB (1U << 17) /* 1b */
  1170. #define SC_CKSQ1_OFF_LSB (1U << 18) /* 1b */
  1171. #define SC_AXI_MEM_CK_OFF_LSB (1U << 19) /* 1b */
  1172. /* CPU_DVFS_REQ (0x10006000+0x450) */
  1173. #define CPU_DVFS_REQ_LSB (1U << 0) /* 32b */
  1174. /* SPM_DRAM_MCU_SW_CON_0 (0x10006000+0x454) */
  1175. #define SW_DDR_PST_REQ_LSB (1U << 0) /* 2b */
  1176. #define SW_DDR_PST_ABORT_REQ_LSB (1U << 2) /* 2b */
  1177. /* SPM_DRAM_MCU_SW_CON_1 (0x10006000+0x458) */
  1178. #define SW_DDR_PST_CH0_LSB (1U << 0) /* 32b */
  1179. /* SPM_DRAM_MCU_SW_CON_2 (0x10006000+0x45C) */
  1180. #define SW_DDR_PST_CH1_LSB (1U << 0) /* 32b */
  1181. /* SPM_DRAM_MCU_SW_CON_3 (0x10006000+0x460) */
  1182. #define SW_DDR_RESERVED_CH0_LSB (1U << 0) /* 32b */
  1183. /* SPM_DRAM_MCU_SW_CON_4 (0x10006000+0x464) */
  1184. #define SW_DDR_RESERVED_CH1_LSB (1U << 0) /* 32b */
  1185. /* SPM_DRAM_MCU_STA_0 (0x10006000+0x468) */
  1186. #define SC_DDR_PST_ACK_LSB (1U << 0) /* 2b */
  1187. #define SC_DDR_PST_ABORT_ACK_LSB (1U << 2) /* 2b */
  1188. /* SPM_DRAM_MCU_STA_1 (0x10006000+0x46C) */
  1189. #define SC_DDR_CUR_PST_STA_CH0_LSB (1U << 0) /* 32b */
  1190. /* SPM_DRAM_MCU_STA_2 (0x10006000+0x470) */
  1191. #define SC_DDR_CUR_PST_STA_CH1_LSB (1U << 0) /* 32b */
  1192. /* SPM_DRAM_MCU_SW_SEL_0 (0x10006000+0x474) */
  1193. #define SW_DDR_PST_REQ_SEL_LSB (1U << 0) /* 2b */
  1194. #define SW_DDR_PST_SEL_LSB (1U << 2) /* 2b */
  1195. #define SW_DDR_PST_ABORT_REQ_SEL_LSB (1U << 4) /* 2b */
  1196. #define SW_DDR_RESERVED_SEL_LSB (1U << 6) /* 2b */
  1197. #define SW_DDR_PST_ACK_SEL_LSB (1U << 8) /* 2b */
  1198. #define SW_DDR_PST_ABORT_ACK_SEL_LSB (1U << 10) /* 2b */
  1199. /* RELAY_DVFS_LEVEL (0x10006000+0x478) */
  1200. #define RELAY_DVFS_LEVEL_LSB (1U << 0) /* 32b */
  1201. /* DRAMC_DPY_CLK_SW_CON_0 (0x10006000+0x480) */
  1202. #define SW_PHYPLL_EN_LSB (1U << 0) /* 2b */
  1203. #define SW_DPY_VREF_EN_LSB (1U << 2) /* 2b */
  1204. #define SW_DPY_DLL_CK_EN_LSB (1U << 4) /* 2b */
  1205. #define SW_DPY_DLL_EN_LSB (1U << 6) /* 2b */
  1206. #define SW_DPY_2ND_DLL_EN_LSB (1U << 8) /* 2b */
  1207. #define SW_MEM_CK_OFF_LSB (1U << 10) /* 2b */
  1208. #define SW_DMSUS_OFF_LSB (1U << 12) /* 2b */
  1209. #define SW_DPY_MODE_SW_LSB (1U << 14) /* 2b */
  1210. #define SW_EMI_CLK_OFF_LSB (1U << 16) /* 2b */
  1211. #define SW_DDRPHY_FB_CK_EN_LSB (1U << 18) /* 2b */
  1212. #define SW_DR_GATE_RETRY_EN_LSB (1U << 20) /* 2b */
  1213. #define SW_DPHY_PRECAL_UP_LSB (1U << 24) /* 2b */
  1214. #define SW_DPY_BCLK_ENABLE_LSB (1U << 26) /* 2b */
  1215. #define SW_TX_TRACKING_DIS_LSB (1U << 28) /* 2b */
  1216. #define SW_DPHY_RXDLY_TRACKING_EN_LSB (1U << 30) /* 2b */
  1217. /* DRAMC_DPY_CLK_SW_CON_1 (0x10006000+0x484) */
  1218. #define SW_SHU_RESTORE_LSB (1U << 0) /* 2b */
  1219. #define SW_DMYRD_MOD_LSB (1U << 2) /* 2b */
  1220. #define SW_DMYRD_INTV_LSB (1U << 4) /* 2b */
  1221. #define SW_DMYRD_EN_LSB (1U << 6) /* 2b */
  1222. #define SW_DRS_DIS_REQ_LSB (1U << 8) /* 2b */
  1223. #define SW_DR_SRAM_LOAD_LSB (1U << 10) /* 2b */
  1224. #define SW_DR_SRAM_RESTORE_LSB (1U << 12) /* 2b */
  1225. #define SW_DR_SHU_LEVEL_SRAM_LATCH_LSB (1U << 14) /* 2b */
  1226. #define SW_TX_TRACK_RETRY_EN_LSB (1U << 16) /* 2b */
  1227. #define SW_DPY_MIDPI_EN_LSB (1U << 18) /* 2b */
  1228. #define SW_DPY_PI_RESETB_EN_LSB (1U << 20) /* 2b */
  1229. #define SW_DPY_MCK8X_EN_LSB (1U << 22) /* 2b */
  1230. #define SW_DR_SHU_LEVEL_SRAM_CH0_LSB (1U << 24) /* 4b */
  1231. #define SW_DR_SHU_LEVEL_SRAM_CH1_LSB (1U << 28) /* 4b */
  1232. /* DRAMC_DPY_CLK_SW_CON_2 (0x10006000+0x488) */
  1233. #define SW_DR_SHU_LEVEL_LSB (1U << 0) /* 2b */
  1234. #define SW_DR_SHU_EN_LSB (1U << 2) /* 1b */
  1235. #define SW_DR_SHORT_QUEUE_LSB (1U << 3) /* 1b */
  1236. #define SW_PHYPLL_MODE_SW_LSB (1U << 4) /* 1b */
  1237. #define SW_PHYPLL2_MODE_SW_LSB (1U << 5) /* 1b */
  1238. #define SW_PHYPLL_SHU_EN_LSB (1U << 6) /* 1b */
  1239. #define SW_PHYPLL2_SHU_EN_LSB (1U << 7) /* 1b */
  1240. #define SW_DR_RESERVED_0_LSB (1U << 24) /* 2b */
  1241. #define SW_DR_RESERVED_1_LSB (1U << 26) /* 2b */
  1242. #define SW_DR_RESERVED_2_LSB (1U << 28) /* 2b */
  1243. #define SW_DR_RESERVED_3_LSB (1U << 30) /* 2b */
  1244. /* DRAMC_DPY_CLK_SW_CON_3 (0x10006000+0x48C) */
  1245. #define SC_DR_SHU_EN_ACK_LSB (1U << 0) /* 4b */
  1246. #define SC_EMI_CLK_OFF_ACK_LSB (1U << 4) /* 4b */
  1247. #define SC_DR_SHORT_QUEUE_ACK_LSB (1U << 8) /* 4b */
  1248. #define SC_DRAMC_DFS_STA_LSB (1U << 12) /* 4b */
  1249. #define SC_DRS_DIS_ACK_LSB (1U << 16) /* 4b */
  1250. #define SC_DR_SRAM_LOAD_ACK_LSB (1U << 20) /* 4b */
  1251. #define SC_DR_SRAM_PLL_LOAD_ACK_LSB (1U << 24) /* 4b */
  1252. #define SC_DR_SRAM_RESTORE_ACK_LSB (1U << 28) /* 4b */
  1253. /* DRAMC_DPY_CLK_SW_SEL_0 (0x10006000+0x490) */
  1254. #define SW_PHYPLL_EN_SEL_LSB (1U << 0) /* 2b */
  1255. #define SW_DPY_VREF_EN_SEL_LSB (1U << 2) /* 2b */
  1256. #define SW_DPY_DLL_CK_EN_SEL_LSB (1U << 4) /* 2b */
  1257. #define SW_DPY_DLL_EN_SEL_LSB (1U << 6) /* 2b */
  1258. #define SW_DPY_2ND_DLL_EN_SEL_LSB (1U << 8) /* 2b */
  1259. #define SW_MEM_CK_OFF_SEL_LSB (1U << 10) /* 2b */
  1260. #define SW_DMSUS_OFF_SEL_LSB (1U << 12) /* 2b */
  1261. #define SW_DPY_MODE_SW_SEL_LSB (1U << 14) /* 2b */
  1262. #define SW_EMI_CLK_OFF_SEL_LSB (1U << 16) /* 2b */
  1263. #define SW_DDRPHY_FB_CK_EN_SEL_LSB (1U << 18) /* 2b */
  1264. #define SW_DR_GATE_RETRY_EN_SEL_LSB (1U << 20) /* 2b */
  1265. #define SW_DPHY_PRECAL_UP_SEL_LSB (1U << 24) /* 2b */
  1266. #define SW_DPY_BCLK_ENABLE_SEL_LSB (1U << 26) /* 2b */
  1267. #define SW_TX_TRACKING_DIS_SEL_LSB (1U << 28) /* 2b */
  1268. #define SW_DPHY_RXDLY_TRACKING_EN_SEL_LSB (1U << 30) /* 2b */
  1269. /* DRAMC_DPY_CLK_SW_SEL_1 (0x10006000+0x494) */
  1270. #define SW_SHU_RESTORE_SEL_LSB (1U << 0) /* 2b */
  1271. #define SW_DMYRD_MOD_SEL_LSB (1U << 2) /* 2b */
  1272. #define SW_DMYRD_INTV_SEL_LSB (1U << 4) /* 2b */
  1273. #define SW_DMYRD_EN_SEL_LSB (1U << 6) /* 2b */
  1274. #define SW_DRS_DIS_REQ_SEL_LSB (1U << 8) /* 2b */
  1275. #define SW_DR_SRAM_LOAD_SEL_LSB (1U << 10) /* 2b */
  1276. #define SW_DR_SRAM_RESTORE_SEL_LSB (1U << 12) /* 2b */
  1277. #define SW_DR_SHU_LEVEL_SRAM_LATCH_SEL_LSB (1U << 14) /* 2b */
  1278. #define SW_TX_TRACK_RETRY_EN_SEL_LSB (1U << 16) /* 2b */
  1279. #define SW_DPY_MIDPI_EN_SEL_LSB (1U << 18) /* 2b */
  1280. #define SW_DPY_PI_RESETB_EN_SEL_LSB (1U << 20) /* 2b */
  1281. #define SW_DPY_MCK8X_EN_SEL_LSB (1U << 22) /* 2b */
  1282. #define SW_DR_SHU_LEVEL_SRAM_SEL_LSB (1U << 24) /* 2b */
  1283. /* DRAMC_DPY_CLK_SW_SEL_2 (0x10006000+0x498) */
  1284. #define SW_DR_SHU_LEVEL_SEL_LSB (1U << 0) /* 1b */
  1285. #define SW_DR_SHU_EN_SEL_LSB (1U << 2) /* 1b */
  1286. #define SW_DR_SHORT_QUEUE_SEL_LSB (1U << 3) /* 1b */
  1287. #define SW_PHYPLL_MODE_SW_SEL_LSB (1U << 4) /* 1b */
  1288. #define SW_PHYPLL2_MODE_SW_SEL_LSB (1U << 5) /* 1b */
  1289. #define SW_PHYPLL_SHU_EN_SEL_LSB (1U << 6) /* 1b */
  1290. #define SW_PHYPLL2_SHU_EN_SEL_LSB (1U << 7) /* 1b */
  1291. #define SW_DR_RESERVED_0_SEL_LSB (1U << 24) /* 2b */
  1292. #define SW_DR_RESERVED_1_SEL_LSB (1U << 26) /* 2b */
  1293. #define SW_DR_RESERVED_2_SEL_LSB (1U << 28) /* 2b */
  1294. #define SW_DR_RESERVED_3_SEL_LSB (1U << 30) /* 2b */
  1295. /* DRAMC_DPY_CLK_SW_SEL_3 (0x10006000+0x49C) */
  1296. #define SC_DR_SHU_EN_ACK_SEL_LSB (1U << 0) /* 4b */
  1297. #define SC_EMI_CLK_OFF_ACK_SEL_LSB (1U << 4) /* 4b */
  1298. #define SC_DR_SHORT_QUEUE_ACK_SEL_LSB (1U << 8) /* 4b */
  1299. #define SC_DRAMC_DFS_STA_SEL_LSB (1U << 12) /* 4b */
  1300. #define SC_DRS_DIS_ACK_SEL_LSB (1U << 16) /* 4b */
  1301. #define SC_DR_SRAM_LOAD_ACK_SEL_LSB (1U << 20) /* 4b */
  1302. #define SC_DR_SRAM_PLL_LOAD_ACK_SEL_LSB (1U << 24) /* 4b */
  1303. #define SC_DR_SRAM_RESTORE_ACK_SEL_LSB (1U << 28) /* 4b */
  1304. /* DRAMC_DPY_CLK_SPM_CON (0x10006000+0x4A0) */
  1305. #define SC_DMYRD_EN_MOD_SEL_PCM_LSB (1U << 0) /* 1b */
  1306. #define SC_DMYRD_INTV_SEL_PCM_LSB (1U << 1) /* 1b */
  1307. #define SC_DMYRD_EN_PCM_LSB (1U << 2) /* 1b */
  1308. #define SC_DRS_DIS_REQ_PCM_LSB (1U << 3) /* 1b */
  1309. #define SC_DR_SHU_LEVEL_SRAM_PCM_LSB (1U << 4) /* 4b */
  1310. #define SC_DR_GATE_RETRY_EN_PCM_LSB (1U << 8) /* 1b */
  1311. #define SC_DR_SHORT_QUEUE_PCM_LSB (1U << 9) /* 1b */
  1312. #define SC_DPY_MIDPI_EN_PCM_LSB (1U << 10) /* 1b */
  1313. #define SC_DPY_PI_RESETB_EN_PCM_LSB (1U << 11) /* 1b */
  1314. #define SC_DPY_MCK8X_EN_PCM_LSB (1U << 12) /* 1b */
  1315. #define SC_DR_RESERVED_0_PCM_LSB (1U << 13) /* 1b */
  1316. #define SC_DR_RESERVED_1_PCM_LSB (1U << 14) /* 1b */
  1317. #define SC_DR_RESERVED_2_PCM_LSB (1U << 15) /* 1b */
  1318. #define SC_DR_RESERVED_3_PCM_LSB (1U << 16) /* 1b */
  1319. #define SC_DMDRAMCSHU_ACK_ALL_LSB (1U << 24) /* 1b */
  1320. #define SC_EMI_CLK_OFF_ACK_ALL_LSB (1U << 25) /* 1b */
  1321. #define SC_DR_SHORT_QUEUE_ACK_ALL_LSB (1U << 26) /* 1b */
  1322. #define SC_DRAMC_DFS_STA_ALL_LSB (1U << 27) /* 1b */
  1323. #define SC_DRS_DIS_ACK_ALL_LSB (1U << 28) /* 1b */
  1324. #define SC_DR_SRAM_LOAD_ACK_ALL_LSB (1U << 29) /* 1b */
  1325. #define SC_DR_SRAM_PLL_LOAD_ACK_ALL_LSB (1U << 30) /* 1b */
  1326. #define SC_DR_SRAM_RESTORE_ACK_ALL_LSB (1U << 31) /* 1b */
  1327. /* SPM_DVFS_LEVEL (0x10006000+0x4A4) */
  1328. #define SPM_DVFS_LEVEL_LSB (1U << 0) /* 32b */
  1329. /* SPM_CIRQ_CON (0x10006000+0x4A8) */
  1330. #define CIRQ_CLK_SEL_LSB (1U << 0) /* 1b */
  1331. /* SPM_DVFS_MISC (0x10006000+0x4AC) */
  1332. #define MSDC_DVFS_REQUEST_LSB (1U << 0) /* 1b */
  1333. #define SPM2EMI_SLP_PROT_EN_LSB (1U << 1) /* 1b */
  1334. #define SPM_DVFS_FORCE_ENABLE_LSB (1U << 2) /* 1b */
  1335. #define FORCE_DVFS_WAKE_LSB (1U << 3) /* 1b */
  1336. #define SPM_DVFSRC_ENABLE_LSB (1U << 4) /* 1b */
  1337. #define SPM_DVFS_DONE_LSB (1U << 5) /* 1b */
  1338. #define DVFSRC_IRQ_WAKEUP_EVENT_MASK_LSB (1U << 6) /* 1b */
  1339. #define SPM2RC_EVENT_ABORT_LSB (1U << 7) /* 1b */
  1340. #define EMI_SLP_IDLE_LSB (1U << 14) /* 1b */
  1341. #define SDIO_READY_TO_SPM_LSB (1U << 15) /* 1b */
  1342. /* SPM_VS1_VS2_RC_CON (0x10006000+0x4B0) */
  1343. #define VS1_INIT_LEVEL_LSB (1U << 0) /* 2b */
  1344. #define VS1_INIT_LSB (1U << 2) /* 1b */
  1345. #define VS1_CURR_LEVEL_LSB (1U << 3) /* 2b */
  1346. #define VS1_NEXT_LEVEL_LSB (1U << 5) /* 2b */
  1347. #define VS1_VOTE_LEVEL_LSB (1U << 7) /* 2b */
  1348. #define VS1_TRIGGER_LSB (1U << 9) /* 1b */
  1349. #define VS2_INIT_LEVEL_LSB (1U << 10) /* 3b */
  1350. #define VS2_INIT_LSB (1U << 13) /* 1b */
  1351. #define VS2_CURR_LEVEL_LSB (1U << 14) /* 3b */
  1352. #define VS2_NEXT_LEVEL_LSB (1U << 17) /* 3b */
  1353. #define VS2_VOTE_LEVEL_LSB (1U << 20) /* 3b */
  1354. #define VS2_TRIGGER_LSB (1U << 23) /* 1b */
  1355. #define VS1_FORCE_LSB (1U << 24) /* 1b */
  1356. #define VS2_FORCE_LSB (1U << 25) /* 1b */
  1357. #define VS1_VOTE_LEVEL_FORCE_LSB (1U << 26) /* 2b */
  1358. #define VS2_VOTE_LEVEL_FORCE_LSB (1U << 28) /* 3b */
  1359. /* RG_MODULE_SW_CG_0_MASK_REQ_0 (0x10006000+0x4B4) */
  1360. #define RG_MODULE_SW_CG_0_MASK_REQ_0_LSB (1U << 0) /* 32b */
  1361. /* RG_MODULE_SW_CG_0_MASK_REQ_1 (0x10006000+0x4B8) */
  1362. #define RG_MODULE_SW_CG_0_MASK_REQ_1_LSB (1U << 0) /* 32b */
  1363. /* RG_MODULE_SW_CG_0_MASK_REQ_2 (0x10006000+0x4BC) */
  1364. #define RG_MODULE_SW_CG_0_MASK_REQ_2_LSB (1U << 0) /* 32b */
  1365. /* RG_MODULE_SW_CG_1_MASK_REQ_0 (0x10006000+0x4C0) */
  1366. #define RG_MODULE_SW_CG_1_MASK_REQ_0_LSB (1U << 0) /* 32b */
  1367. /* RG_MODULE_SW_CG_1_MASK_REQ_1 (0x10006000+0x4C4) */
  1368. #define RG_MODULE_SW_CG_1_MASK_REQ_1_LSB (1U << 0) /* 32b */
  1369. /* RG_MODULE_SW_CG_1_MASK_REQ_2 (0x10006000+0x4C8) */
  1370. #define RG_MODULE_SW_CG_1_MASK_REQ_2_LSB (1U << 0) /* 32b */
  1371. /* RG_MODULE_SW_CG_2_MASK_REQ_0 (0x10006000+0x4CC) */
  1372. #define RG_MODULE_SW_CG_2_MASK_REQ_0_LSB (1U << 0) /* 32b */
  1373. /* RG_MODULE_SW_CG_2_MASK_REQ_1 (0x10006000+0x4D0) */
  1374. #define RG_MODULE_SW_CG_2_MASK_REQ_1_LSB (1U << 0) /* 32b */
  1375. /* RG_MODULE_SW_CG_2_MASK_REQ_2 (0x10006000+0x4D4) */
  1376. #define RG_MODULE_SW_CG_2_MASK_REQ_2_LSB (1U << 0) /* 32b */
  1377. /* RG_MODULE_SW_CG_3_MASK_REQ_0 (0x10006000+0x4D8) */
  1378. #define RG_MODULE_SW_CG_3_MASK_REQ_0_LSB (1U << 0) /* 32b */
  1379. /* RG_MODULE_SW_CG_3_MASK_REQ_1 (0x10006000+0x4DC) */
  1380. #define RG_MODULE_SW_CG_3_MASK_REQ_1_LSB (1U << 0) /* 32b */
  1381. /* RG_MODULE_SW_CG_3_MASK_REQ_2 (0x10006000+0x4E0) */
  1382. #define RG_MODULE_SW_CG_3_MASK_REQ_2_LSB (1U << 0) /* 32b */
  1383. /* PWR_STATUS_MASK_REQ_0 (0x10006000+0x4E4) */
  1384. #define PWR_STATUS_MASK_REQ_0_LSB (1U << 0) /* 32b */
  1385. /* PWR_STATUS_MASK_REQ_1 (0x10006000+0x4E8) */
  1386. #define PWR_STATUS_MASK_REQ_1_LSB (1U << 0) /* 32b */
  1387. /* PWR_STATUS_MASK_REQ_2 (0x10006000+0x4EC) */
  1388. #define PWR_STATUS_MASK_REQ_2_LSB (1U << 0) /* 32b */
  1389. /* SPM_CG_CHECK_CON (0x10006000+0x4F0) */
  1390. #define APMIXEDSYS_BUSY_MASK_REQ_0_LSB (1U << 0) /* 5b */
  1391. #define APMIXEDSYS_BUSY_MASK_REQ_1_LSB (1U << 8) /* 5b */
  1392. #define APMIXEDSYS_BUSY_MASK_REQ_2_LSB (1U << 16) /* 5b */
  1393. #define AUDIOSYS_BUSY_MASK_REQ_0_LSB (1U << 24) /* 1b */
  1394. #define AUDIOSYS_BUSY_MASK_REQ_1_LSB (1U << 25) /* 1b */
  1395. #define AUDIOSYS_BUSY_MASK_REQ_2_LSB (1U << 26) /* 1b */
  1396. #define SSUSB_BUSY_MASK_REQ_0_LSB (1U << 27) /* 1b */
  1397. #define SSUSB_BUSY_MASK_REQ_1_LSB (1U << 28) /* 1b */
  1398. #define SSUSB_BUSY_MASK_REQ_2_LSB (1U << 29) /* 1b */
  1399. /* SPM_SRC_RDY_STA (0x10006000+0x4F4) */
  1400. #define SPM_INFRA_INTERNAL_ACK_LSB (1U << 0) /* 1b */
  1401. #define SPM_VRF18_INTERNAL_ACK_LSB (1U << 1) /* 1b */
  1402. /* SPM_DVS_DFS_LEVEL (0x10006000+0x4F8) */
  1403. #define SPM_DFS_LEVEL_LSB (1U << 0) /* 16b */
  1404. #define SPM_DVS_LEVEL_LSB (1U << 16) /* 16b */
  1405. /* SPM_FORCE_DVFS (0x10006000+0x4FC) */
  1406. #define FORCE_DVFS_LEVEL_LSB (1U << 0) /* 32b */
  1407. /* SRCLKEN_RC_CFG (0x10006000+0x500) */
  1408. #define SRCLKEN_RC_CFG_LSB (1U << 0) /* 32b */
  1409. /* RC_CENTRAL_CFG1 (0x10006000+0x504) */
  1410. #define RC_CENTRAL_CFG1_LSB (1U << 0) /* 32b */
  1411. /* RC_CENTRAL_CFG2 (0x10006000+0x508) */
  1412. #define RC_CENTRAL_CFG2_LSB (1U << 0) /* 32b */
  1413. /* RC_CMD_ARB_CFG (0x10006000+0x50C) */
  1414. #define RC_CMD_ARB_CFG_LSB (1U << 0) /* 32b */
  1415. /* RC_PMIC_RCEN_ADDR (0x10006000+0x510) */
  1416. #define RC_PMIC_RCEN_ADDR_LSB (1U << 0) /* 16b */
  1417. #define RC_PMIC_RCEN_RESERVE_LSB (1U << 16) /* 16b */
  1418. /* RC_PMIC_RCEN_SET_CLR_ADDR (0x10006000+0x514) */
  1419. #define RC_PMIC_RCEN_SET_ADDR_LSB (1U << 0) /* 16b */
  1420. #define RC_PMIC_RCEN_CLR_ADDR_LSB (1U << 16) /* 16b */
  1421. /* RC_DCXO_FPM_CFG (0x10006000+0x518) */
  1422. #define RC_DCXO_FPM_CFG_LSB (1U << 0) /* 32b */
  1423. /* RC_CENTRAL_CFG3 (0x10006000+0x51C) */
  1424. #define RC_CENTRAL_CFG3_LSB (1U << 0) /* 32b */
  1425. /* RC_M00_SRCLKEN_CFG (0x10006000+0x520) */
  1426. #define RC_M00_SRCLKEN_CFG_LSB (1U << 0) /* 32b */
  1427. /* RC_M01_SRCLKEN_CFG (0x10006000+0x524) */
  1428. #define RC_M01_SRCLKEN_CFG_LSB (1U << 0) /* 32b */
  1429. /* RC_M02_SRCLKEN_CFG (0x10006000+0x528) */
  1430. #define RC_M02_SRCLKEN_CFG_LSB (1U << 0) /* 32b */
  1431. /* RC_M03_SRCLKEN_CFG (0x10006000+0x52C) */
  1432. #define RC_M03_SRCLKEN_CFG_LSB (1U << 0) /* 32b */
  1433. /* RC_M04_SRCLKEN_CFG (0x10006000+0x530) */
  1434. #define RC_M04_SRCLKEN_CFG_LSB (1U << 0) /* 32b */
  1435. /* RC_M05_SRCLKEN_CFG (0x10006000+0x534) */
  1436. #define RC_M05_SRCLKEN_CFG_LSB (1U << 0) /* 32b */
  1437. /* RC_M06_SRCLKEN_CFG (0x10006000+0x538) */
  1438. #define RC_M06_SRCLKEN_CFG_LSB (1U << 0) /* 32b */
  1439. /* RC_M07_SRCLKEN_CFG (0x10006000+0x53C) */
  1440. #define RC_M07_SRCLKEN_CFG_LSB (1U << 0) /* 32b */
  1441. /* RC_M08_SRCLKEN_CFG (0x10006000+0x540) */
  1442. #define RC_M08_SRCLKEN_CFG_LSB (1U << 0) /* 32b */
  1443. /* RC_M09_SRCLKEN_CFG (0x10006000+0x544) */
  1444. #define RC_M09_SRCLKEN_CFG_LSB (1U << 0) /* 32b */
  1445. /* RC_M10_SRCLKEN_CFG (0x10006000+0x548) */
  1446. #define RC_M10_SRCLKEN_CFG_LSB (1U << 0) /* 32b */
  1447. /* RC_M11_SRCLKEN_CFG (0x10006000+0x54C) */
  1448. #define RC_M11_SRCLKEN_CFG_LSB (1U << 0) /* 32b */
  1449. /* RC_M12_SRCLKEN_CFG (0x10006000+0x550) */
  1450. #define RC_M12_SRCLKEN_CFG_LSB (1U << 0) /* 32b */
  1451. /* RC_SRCLKEN_SW_CON_CFG (0x10006000+0x554) */
  1452. #define RC_SRCLKEN_SW_CON_CFG_LSB (1U << 0) /* 32b */
  1453. /* RC_CENTRAL_CFG4 (0x10006000+0x558) */
  1454. #define RC_CENTRAL_CFG4_LSB (1U << 0) /* 32b */
  1455. /* RC_PROTOCOL_CHK_CFG (0x10006000+0x560) */
  1456. #define RC_PROTOCOL_CHK_CFG_LSB (1U << 0) /* 32b */
  1457. /* RC_DEBUG_CFG (0x10006000+0x564) */
  1458. #define RC_DEBUG_CFG_LSB (1U << 0) /* 32b */
  1459. /* RC_MISC_0 (0x10006000+0x5B4) */
  1460. #define SRCCLKENO_LSB (1U << 0) /* 2b */
  1461. #define PCM_SRCCLKENO_LSB (1U << 3) /* 2b */
  1462. #define RC_VREQ_LSB (1U << 5) /* 1b */
  1463. #define RC_SPM_SRCCLKENO_0_ACK_LSB (1U << 6) /* 1b */
  1464. /* RC_SPM_CTRL (0x10006000+0x448) */
  1465. #define SPM_AP_26M_RDY_LSB (1U << 0) /* 1b */
  1466. #define KEEP_RC_SPI_ACTIVE_LSB (1U << 1) /* 1b */
  1467. #define SPM2RC_DMY_CTRL_LSB (1U << 2) /* 6b */
  1468. /* SUBSYS_INTF_CFG (0x10006000+0x5BC) */
  1469. #define SRCLKEN_FPM_MASK_B_LSB (1U << 0) /* 13b */
  1470. #define SRCLKEN_BBLPM_MASK_B_LSB (1U << 16) /* 13b */
  1471. /* PCM_WDT_LATCH_25 (0x10006000+0x5C0) */
  1472. #define PCM_WDT_LATCH_25_LSB (1U << 0) /* 32b */
  1473. /* PCM_WDT_LATCH_26 (0x10006000+0x5C4) */
  1474. #define PCM_WDT_LATCH_26_LSB (1U << 0) /* 32b */
  1475. /* PCM_WDT_LATCH_27 (0x10006000+0x5C8) */
  1476. #define PCM_WDT_LATCH_27_LSB (1U << 0) /* 32b */
  1477. /* PCM_WDT_LATCH_28 (0x10006000+0x5CC) */
  1478. #define PCM_WDT_LATCH_28_LSB (1U << 0) /* 32b */
  1479. /* PCM_WDT_LATCH_29 (0x10006000+0x5D0) */
  1480. #define PCM_WDT_LATCH_29_LSB (1U << 0) /* 32b */
  1481. /* PCM_WDT_LATCH_30 (0x10006000+0x5D4) */
  1482. #define PCM_WDT_LATCH_30_LSB (1U << 0) /* 32b */
  1483. /* PCM_WDT_LATCH_31 (0x10006000+0x5D8) */
  1484. #define PCM_WDT_LATCH_31_LSB (1U << 0) /* 32b */
  1485. /* PCM_WDT_LATCH_32 (0x10006000+0x5DC) */
  1486. #define PCM_WDT_LATCH_32_LSB (1U << 0) /* 32b */
  1487. /* PCM_WDT_LATCH_33 (0x10006000+0x5E0) */
  1488. #define PCM_WDT_LATCH_33_LSB (1U << 0) /* 32b */
  1489. /* PCM_WDT_LATCH_34 (0x10006000+0x5E4) */
  1490. #define PCM_WDT_LATCH_34_LSB (1U << 0) /* 32b */
  1491. /* PCM_WDT_LATCH_35 (0x10006000+0x5EC) */
  1492. #define PCM_WDT_LATCH_35_LSB (1U << 0) /* 32b */
  1493. /* PCM_WDT_LATCH_36 (0x10006000+0x5F0) */
  1494. #define PCM_WDT_LATCH_36_LSB (1U << 0) /* 32b */
  1495. /* PCM_WDT_LATCH_37 (0x10006000+0x5F4) */
  1496. #define PCM_WDT_LATCH_37_LSB (1U << 0) /* 32b */
  1497. /* PCM_WDT_LATCH_38 (0x10006000+0x5F8) */
  1498. #define PCM_WDT_LATCH_38_LSB (1U << 0) /* 32b */
  1499. /* PCM_WDT_LATCH_39 (0x10006000+0x5FC) */
  1500. #define PCM_WDT_LATCH_39_LSB (1U << 0) /* 32b */
  1501. /* SPM_SW_FLAG_0 (0x10006000+0x600) */
  1502. #define SPM_SW_FLAG_LSB (1U << 0) /* 32b */
  1503. /* SPM_SW_DEBUG_0 (0x10006000+0x604) */
  1504. #define SPM_SW_DEBUG_0_LSB (1U << 0) /* 32b */
  1505. /* SPM_SW_FLAG_1 (0x10006000+0x608) */
  1506. #define SPM_SW_FLAG_1_LSB (1U << 0) /* 32b */
  1507. /* SPM_SW_DEBUG_1 (0x10006000+0x60C) */
  1508. #define SPM_SW_DEBUG_1_LSB (1U << 0) /* 32b */
  1509. /* SPM_SW_RSV_0 (0x10006000+0x610) */
  1510. #define SPM_SW_RSV_0_LSB (1U << 0) /* 32b */
  1511. /* SPM_SW_RSV_1 (0x10006000+0x614) */
  1512. #define SPM_SW_RSV_1_LSB (1U << 0) /* 32b */
  1513. /* SPM_SW_RSV_2 (0x10006000+0x618) */
  1514. #define SPM_SW_RSV_2_LSB (1U << 0) /* 32b */
  1515. /* SPM_SW_RSV_3 (0x10006000+0x61C) */
  1516. #define SPM_SW_RSV_3_LSB (1U << 0) /* 32b */
  1517. /* SPM_SW_RSV_4 (0x10006000+0x620) */
  1518. #define SPM_SW_RSV_4_LSB (1U << 0) /* 32b */
  1519. /* SPM_SW_RSV_5 (0x10006000+0x624) */
  1520. #define SPM_SW_RSV_5_LSB (1U << 0) /* 32b */
  1521. /* SPM_SW_RSV_6 (0x10006000+0x628) */
  1522. #define SPM_SW_RSV_6_LSB (1U << 0) /* 32b */
  1523. /* SPM_SW_RSV_7 (0x10006000+0x62C) */
  1524. #define SPM_SW_RSV_7_LSB (1U << 0) /* 32b */
  1525. /* SPM_SW_RSV_8 (0x10006000+0x630) */
  1526. #define SPM_SW_RSV_8_LSB (1U << 0) /* 32b */
  1527. /* SPM_BK_WAKE_EVENT (0x10006000+0x634) */
  1528. #define SPM_BK_WAKE_EVENT_LSB (1U << 0) /* 32b */
  1529. /* SPM_BK_VTCXO_DUR (0x10006000+0x638) */
  1530. #define SPM_BK_VTCXO_DUR_LSB (1U << 0) /* 32b */
  1531. /* SPM_BK_WAKE_MISC (0x10006000+0x63C) */
  1532. #define SPM_BK_WAKE_MISC_LSB (1U << 0) /* 32b */
  1533. /* SPM_BK_PCM_TIMER (0x10006000+0x640) */
  1534. #define SPM_BK_PCM_TIMER_LSB (1U << 0) /* 32b */
  1535. /* SPM_RSV_CON_0 (0x10006000+0x650) */
  1536. #define SPM_RSV_CON_0_LSB (1U << 0) /* 32b */
  1537. /* SPM_RSV_CON_1 (0x10006000+0x654) */
  1538. #define SPM_RSV_CON_1_LSB (1U << 0) /* 32b */
  1539. /* SPM_RSV_STA_0 (0x10006000+0x658) */
  1540. #define SPM_RSV_STA_0_LSB (1U << 0) /* 32b */
  1541. /* SPM_RSV_STA_1 (0x10006000+0x65C) */
  1542. #define SPM_RSV_STA_1_LSB (1U << 0) /* 32b */
  1543. /* SPM_SPARE_CON (0x10006000+0x660) */
  1544. #define SPM_SPARE_CON_LSB (1U << 0) /* 32b */
  1545. /* SPM_SPARE_CON_SET (0x10006000+0x664) */
  1546. #define SPM_SPARE_CON_SET_LSB (1U << 0) /* 32b */
  1547. /* SPM_SPARE_CON_CLR (0x10006000+0x668) */
  1548. #define SPM_SPARE_CON_CLR_LSB (1U << 0) /* 32b */
  1549. /* SPM_CROSS_WAKE_M00_REQ (0x10006000+0x66C) */
  1550. #define SPM_CROSS_WAKE_M00_REQ_LSB (1U << 0) /* 4b */
  1551. #define SPM_CROSS_WAKE_M00_CHK_LSB (1U << 4) /* 4b */
  1552. /* SPM_CROSS_WAKE_M01_REQ (0x10006000+0x670) */
  1553. #define SPM_CROSS_WAKE_M01_REQ_LSB (1U << 0) /* 4b */
  1554. #define SPM_CROSS_WAKE_M01_CHK_LSB (1U << 4) /* 4b */
  1555. /* SPM_CROSS_WAKE_M02_REQ (0x10006000+0x674) */
  1556. #define SPM_CROSS_WAKE_M02_REQ_LSB (1U << 0) /* 4b */
  1557. #define SPM_CROSS_WAKE_M02_CHK_LSB (1U << 4) /* 4b */
  1558. /* SPM_CROSS_WAKE_M03_REQ (0x10006000+0x678) */
  1559. #define SPM_CROSS_WAKE_M03_REQ_LSB (1U << 0) /* 4b */
  1560. #define SPM_CROSS_WAKE_M03_CHK_LSB (1U << 4) /* 4b */
  1561. /* SCP_VCORE_LEVEL (0x10006000+0x67C) */
  1562. #define SCP_VCORE_LEVEL_LSB (1U << 0) /* 16b */
  1563. /* SC_MM_CK_SEL_CON (0x10006000+0x680) */
  1564. #define SC_MM_CK_SEL_LSB (1U << 0) /* 4b */
  1565. #define SC_MM_CK_SEL_EN_LSB (1U << 4) /* 1b */
  1566. /* SPARE_ACK_MASK (0x10006000+0x684) */
  1567. #define SPARE_ACK_MASK_B_LSB (1U << 0) /* 32b */
  1568. /* SPM_DV_CON_0 (0x10006000+0x68C) */
  1569. #define SPM_DV_CON_0_LSB (1U << 0) /* 32b */
  1570. /* SPM_DV_CON_1 (0x10006000+0x690) */
  1571. #define SPM_DV_CON_1_LSB (1U << 0) /* 32b */
  1572. /* SPM_DV_STA (0x10006000+0x694) */
  1573. #define SPM_DV_STA_LSB (1U << 0) /* 32b */
  1574. /* CONN_XOWCN_DEBUG_EN (0x10006000+0x698) */
  1575. #define CONN_XOWCN_DEBUG_EN_LSB (1U << 0) /* 1b */
  1576. /* SPM_SEMA_M0 (0x10006000+0x69C) */
  1577. #define SPM_SEMA_M0_LSB (1U << 0) /* 8b */
  1578. /* SPM_SEMA_M1 (0x10006000+0x6A0) */
  1579. #define SPM_SEMA_M1_LSB (1U << 0) /* 8b */
  1580. /* SPM_SEMA_M2 (0x10006000+0x6A4) */
  1581. #define SPM_SEMA_M2_LSB (1U << 0) /* 8b */
  1582. /* SPM_SEMA_M3 (0x10006000+0x6A8) */
  1583. #define SPM_SEMA_M3_LSB (1U << 0) /* 8b */
  1584. /* SPM_SEMA_M4 (0x10006000+0x6AC) */
  1585. #define SPM_SEMA_M4_LSB (1U << 0) /* 8b */
  1586. /* SPM_SEMA_M5 (0x10006000+0x6B0) */
  1587. #define SPM_SEMA_M5_LSB (1U << 0) /* 8b */
  1588. /* SPM_SEMA_M6 (0x10006000+0x6B4) */
  1589. #define SPM_SEMA_M6_LSB (1U << 0) /* 8b */
  1590. /* SPM_SEMA_M7 (0x10006000+0x6B8) */
  1591. #define SPM_SEMA_M7_LSB (1U << 0) /* 8b */
  1592. /* SPM2ADSP_MAILBOX (0x10006000+0x6BC) */
  1593. #define SPM2ADSP_MAILBOX_LSB (1U << 0) /* 32b */
  1594. /* ADSP2SPM_MAILBOX (0x10006000+0x6C0) */
  1595. #define ADSP2SPM_MAILBOX_LSB (1U << 0) /* 32b */
  1596. /* SPM_ADSP_IRQ (0x10006000+0x6C4) */
  1597. #define SC_SPM2ADSP_WAKEUP_LSB (1U << 0) /* 1b */
  1598. #define SPM_ADSP_IRQ_SC_ADSP2SPM_WAKEUP_LSB (1U << 4) /* 1b */
  1599. /* SPM_MD32_IRQ (0x10006000+0x6C8) */
  1600. #define SC_SPM2SSPM_WAKEUP_LSB (1U << 0) /* 4b */
  1601. #define SPM_MD32_IRQ_SC_SSPM2SPM_WAKEUP_LSB (1U << 4) /* 4b */
  1602. /* SPM2PMCU_MAILBOX_0 (0x10006000+0x6CC) */
  1603. #define SPM2PMCU_MAILBOX_0_LSB (1U << 0) /* 32b */
  1604. /* SPM2PMCU_MAILBOX_1 (0x10006000+0x6D0) */
  1605. #define SPM2PMCU_MAILBOX_1_LSB (1U << 0) /* 32b */
  1606. /* SPM2PMCU_MAILBOX_2 (0x10006000+0x6D4) */
  1607. #define SPM2PMCU_MAILBOX_2_LSB (1U << 0) /* 32b */
  1608. /* SPM2PMCU_MAILBOX_3 (0x10006000+0x6D8) */
  1609. #define SPM2PMCU_MAILBOX_3_LSB (1U << 0) /* 32b */
  1610. /* PMCU2SPM_MAILBOX_0 (0x10006000+0x6DC) */
  1611. #define PMCU2SPM_MAILBOX_0_LSB (1U << 0) /* 32b */
  1612. /* PMCU2SPM_MAILBOX_1 (0x10006000+0x6E0) */
  1613. #define PMCU2SPM_MAILBOX_1_LSB (1U << 0) /* 32b */
  1614. /* PMCU2SPM_MAILBOX_2 (0x10006000+0x6E4) */
  1615. #define PMCU2SPM_MAILBOX_2_LSB (1U << 0) /* 32b */
  1616. /* PMCU2SPM_MAILBOX_3 (0x10006000+0x6E8) */
  1617. #define PMCU2SPM_MAILBOX_3_LSB (1U << 0) /* 32b */
  1618. /* UFS_PSRI_SW (0x10006000+0x6EC) */
  1619. #define UFS_PSRI_SW_LSB (1U << 0) /* 1b */
  1620. /* UFS_PSRI_SW_SET (0x10006000+0x6F0) */
  1621. #define UFS_PSRI_SW_SET_LSB (1U << 0) /* 1b */
  1622. /* UFS_PSRI_SW_CLR (0x10006000+0x6F4) */
  1623. #define UFS_PSRI_SW_CLR_LSB (1U << 0) /* 1b */
  1624. /* SPM_AP_SEMA (0x10006000+0x6F8) */
  1625. #define SPM_AP_SEMA_LSB (1U << 0) /* 1b */
  1626. /* SPM_SPM_SEMA (0x10006000+0x6FC) */
  1627. #define SPM_SPM_SEMA_LSB (1U << 0) /* 1b */
  1628. /* SPM_DVFS_CON (0x10006000+0x700) */
  1629. #define SPM_DVFS_CON_LSB (1U << 0) /* 32b */
  1630. /* SPM_DVFS_CON_STA (0x10006000+0x704) */
  1631. #define SPM_DVFS_CON_STA_LSB (1U << 0) /* 32b */
  1632. /* SPM_PMIC_SPMI_CON (0x10006000+0x708) */
  1633. #define SPM_PMIC_SPMI_CMD_LSB (1U << 0) /* 2b */
  1634. #define SPM_PMIC_SPMI_SLAVEID_LSB (1U << 2) /* 4b */
  1635. #define SPM_PMIC_SPMI_PMIFID_LSB (1U << 6) /* 1b */
  1636. #define SPM_PMIC_SPMI_DBCNT_LSB (1U << 7) /* 1b */
  1637. /* SPM_DVFS_CMD0 (0x10006000+0x710) */
  1638. #define SPM_DVFS_CMD0_LSB (1U << 0) /* 32b */
  1639. /* SPM_DVFS_CMD1 (0x10006000+0x714) */
  1640. #define SPM_DVFS_CMD1_LSB (1U << 0) /* 32b */
  1641. /* SPM_DVFS_CMD2 (0x10006000+0x718) */
  1642. #define SPM_DVFS_CMD2_LSB (1U << 0) /* 32b */
  1643. /* SPM_DVFS_CMD3 (0x10006000+0x71C) */
  1644. #define SPM_DVFS_CMD3_LSB (1U << 0) /* 32b */
  1645. /* SPM_DVFS_CMD4 (0x10006000+0x720) */
  1646. #define SPM_DVFS_CMD4_LSB (1U << 0) /* 32b */
  1647. /* SPM_DVFS_CMD5 (0x10006000+0x724) */
  1648. #define SPM_DVFS_CMD5_LSB (1U << 0) /* 32b */
  1649. /* SPM_DVFS_CMD6 (0x10006000+0x728) */
  1650. #define SPM_DVFS_CMD6_LSB (1U << 0) /* 32b */
  1651. /* SPM_DVFS_CMD7 (0x10006000+0x72C) */
  1652. #define SPM_DVFS_CMD7_LSB (1U << 0) /* 32b */
  1653. /* SPM_DVFS_CMD8 (0x10006000+0x730) */
  1654. #define SPM_DVFS_CMD8_LSB (1U << 0) /* 32b */
  1655. /* SPM_DVFS_CMD9 (0x10006000+0x734) */
  1656. #define SPM_DVFS_CMD9_LSB (1U << 0) /* 32b */
  1657. /* SPM_DVFS_CMD10 (0x10006000+0x738) */
  1658. #define SPM_DVFS_CMD10_LSB (1U << 0) /* 32b */
  1659. /* SPM_DVFS_CMD11 (0x10006000+0x73C) */
  1660. #define SPM_DVFS_CMD11_LSB (1U << 0) /* 32b */
  1661. /* SPM_DVFS_CMD12 (0x10006000+0x740) */
  1662. #define SPM_DVFS_CMD12_LSB (1U << 0) /* 32b */
  1663. /* SPM_DVFS_CMD13 (0x10006000+0x744) */
  1664. #define SPM_DVFS_CMD13_LSB (1U << 0) /* 32b */
  1665. /* SPM_DVFS_CMD14 (0x10006000+0x748) */
  1666. #define SPM_DVFS_CMD14_LSB (1U << 0) /* 32b */
  1667. /* SPM_DVFS_CMD15 (0x10006000+0x74C) */
  1668. #define SPM_DVFS_CMD15_LSB (1U << 0) /* 32b */
  1669. /* SPM_DVFS_CMD16 (0x10006000+0x750) */
  1670. #define SPM_DVFS_CMD16_LSB (1U << 0) /* 32b */
  1671. /* SPM_DVFS_CMD17 (0x10006000+0x754) */
  1672. #define SPM_DVFS_CMD17_LSB (1U << 0) /* 32b */
  1673. /* SPM_DVFS_CMD18 (0x10006000+0x758) */
  1674. #define SPM_DVFS_CMD18_LSB (1U << 0) /* 32b */
  1675. /* SPM_DVFS_CMD19 (0x10006000+0x75C) */
  1676. #define SPM_DVFS_CMD19_LSB (1U << 0) /* 32b */
  1677. /* SPM_DVFS_CMD20 (0x10006000+0x760) */
  1678. #define SPM_DVFS_CMD20_LSB (1U << 0) /* 32b */
  1679. /* SPM_DVFS_CMD21 (0x10006000+0x764) */
  1680. #define SPM_DVFS_CMD21_LSB (1U << 0) /* 32b */
  1681. /* SPM_DVFS_CMD22 (0x10006000+0x768) */
  1682. #define SPM_DVFS_CMD22_LSB (1U << 0) /* 32b */
  1683. /* SPM_DVFS_CMD23 (0x10006000+0x76C) */
  1684. #define SPM_DVFS_CMD23_LSB (1U << 0) /* 32b */
  1685. /* SYS_TIMER_VALUE_L (0x10006000+0x770) */
  1686. #define SYS_TIMER_VALUE_L_LSB (1U << 0) /* 32b */
  1687. /* SYS_TIMER_VALUE_H (0x10006000+0x774) */
  1688. #define SYS_TIMER_VALUE_H_LSB (1U << 0) /* 32b */
  1689. /* SYS_TIMER_START_L (0x10006000+0x778) */
  1690. #define SYS_TIMER_START_L_LSB (1U << 0) /* 32b */
  1691. /* SYS_TIMER_START_H (0x10006000+0x77C) */
  1692. #define SYS_TIMER_START_H_LSB (1U << 0) /* 32b */
  1693. /* SYS_TIMER_LATCH_L_00 (0x10006000+0x780) */
  1694. #define SYS_TIMER_LATCH_L_00_LSB (1U << 0) /* 32b */
  1695. /* SYS_TIMER_LATCH_H_00 (0x10006000+0x784) */
  1696. #define SYS_TIMER_LATCH_H_00_LSB (1U << 0) /* 32b */
  1697. /* SYS_TIMER_LATCH_L_01 (0x10006000+0x788) */
  1698. #define SYS_TIMER_LATCH_L_01_LSB (1U << 0) /* 32b */
  1699. /* SYS_TIMER_LATCH_H_01 (0x10006000+0x78C) */
  1700. #define SYS_TIMER_LATCH_H_01_LSB (1U << 0) /* 32b */
  1701. /* SYS_TIMER_LATCH_L_02 (0x10006000+0x790) */
  1702. #define SYS_TIMER_LATCH_L_02_LSB (1U << 0) /* 32b */
  1703. /* SYS_TIMER_LATCH_H_02 (0x10006000+0x794) */
  1704. #define SYS_TIMER_LATCH_H_02_LSB (1U << 0) /* 32b */
  1705. /* SYS_TIMER_LATCH_L_03 (0x10006000+0x798) */
  1706. #define SYS_TIMER_LATCH_L_03_LSB (1U << 0) /* 32b */
  1707. /* SYS_TIMER_LATCH_H_03 (0x10006000+0x79C) */
  1708. #define SYS_TIMER_LATCH_H_03_LSB (1U << 0) /* 32b */
  1709. /* SYS_TIMER_LATCH_L_04 (0x10006000+0x7A0) */
  1710. #define SYS_TIMER_LATCH_L_04_LSB (1U << 0) /* 32b */
  1711. /* SYS_TIMER_LATCH_H_04 (0x10006000+0x7A4) */
  1712. #define SYS_TIMER_LATCH_H_04_LSB (1U << 0) /* 32b */
  1713. /* SYS_TIMER_LATCH_L_05 (0x10006000+0x7A8) */
  1714. #define SYS_TIMER_LATCH_L_05_LSB (1U << 0) /* 32b */
  1715. /* SYS_TIMER_LATCH_H_05 (0x10006000+0x7AC) */
  1716. #define SYS_TIMER_LATCH_H_05_LSB (1U << 0) /* 32b */
  1717. /* SYS_TIMER_LATCH_L_06 (0x10006000+0x7B0) */
  1718. #define SYS_TIMER_LATCH_L_06_LSB (1U << 0) /* 32b */
  1719. /* SYS_TIMER_LATCH_H_06 (0x10006000+0x7B4) */
  1720. #define SYS_TIMER_LATCH_H_06_LSB (1U << 0) /* 32b */
  1721. /* SYS_TIMER_LATCH_L_07 (0x10006000+0x7B8) */
  1722. #define SYS_TIMER_LATCH_L_07_LSB (1U << 0) /* 32b */
  1723. /* SYS_TIMER_LATCH_H_07 (0x10006000+0x7BC) */
  1724. #define SYS_TIMER_LATCH_H_07_LSB (1U << 0) /* 32b */
  1725. /* SYS_TIMER_LATCH_L_08 (0x10006000+0x7C0) */
  1726. #define SYS_TIMER_LATCH_L_08_LSB (1U << 0) /* 32b */
  1727. /* SYS_TIMER_LATCH_H_08 (0x10006000+0x7C4) */
  1728. #define SYS_TIMER_LATCH_H_08_LSB (1U << 0) /* 32b */
  1729. /* SYS_TIMER_LATCH_L_09 (0x10006000+0x7C8) */
  1730. #define SYS_TIMER_LATCH_L_09_LSB (1U << 0) /* 32b */
  1731. /* SYS_TIMER_LATCH_H_09 (0x10006000+0x7CC) */
  1732. #define SYS_TIMER_LATCH_H_09_LSB (1U << 0) /* 32b */
  1733. /* SYS_TIMER_LATCH_L_10 (0x10006000+0x7D0) */
  1734. #define SYS_TIMER_LATCH_L_10_LSB (1U << 0) /* 32b */
  1735. /* SYS_TIMER_LATCH_H_10 (0x10006000+0x7D4) */
  1736. #define SYS_TIMER_LATCH_H_10_LSB (1U << 0) /* 32b */
  1737. /* SYS_TIMER_LATCH_L_11 (0x10006000+0x7D8) */
  1738. #define SYS_TIMER_LATCH_L_11_LSB (1U << 0) /* 32b */
  1739. /* SYS_TIMER_LATCH_H_11 (0x10006000+0x7DC) */
  1740. #define SYS_TIMER_LATCH_H_11_LSB (1U << 0) /* 32b */
  1741. /* SYS_TIMER_LATCH_L_12 (0x10006000+0x7E0) */
  1742. #define SYS_TIMER_LATCH_L_12_LSB (1U << 0) /* 32b */
  1743. /* SYS_TIMER_LATCH_H_12 (0x10006000+0x7E4) */
  1744. #define SYS_TIMER_LATCH_H_12_LSB (1U << 0) /* 32b */
  1745. /* SYS_TIMER_LATCH_L_13 (0x10006000+0x7E8) */
  1746. #define SYS_TIMER_LATCH_L_13_LSB (1U << 0) /* 32b */
  1747. /* SYS_TIMER_LATCH_H_13 (0x10006000+0x7EC) */
  1748. #define SYS_TIMER_LATCH_H_13_LSB (1U << 0) /* 32b */
  1749. /* SYS_TIMER_LATCH_L_14 (0x10006000+0x7F0) */
  1750. #define SYS_TIMER_LATCH_L_14_LSB (1U << 0) /* 32b */
  1751. /* SYS_TIMER_LATCH_H_14 (0x10006000+0x7F4) */
  1752. #define SYS_TIMER_LATCH_H_14_LSB (1U << 0) /* 32b */
  1753. /* SYS_TIMER_LATCH_L_15 (0x10006000+0x7F8) */
  1754. #define SYS_TIMER_LATCH_L_15_LSB (1U << 0) /* 32b */
  1755. /* SYS_TIMER_LATCH_H_15 (0x10006000+0x7FC) */
  1756. #define SYS_TIMER_LATCH_H_15_LSB (1U << 0) /* 32b */
  1757. /* PCM_WDT_LATCH_0 (0x10006000+0x800) */
  1758. #define PCM_WDT_LATCH_0_LSB (1U << 0) /* 32b */
  1759. /* PCM_WDT_LATCH_1 (0x10006000+0x804) */
  1760. #define PCM_WDT_LATCH_1_LSB (1U << 0) /* 32b */
  1761. /* PCM_WDT_LATCH_2 (0x10006000+0x808) */
  1762. #define PCM_WDT_LATCH_2_LSB (1U << 0) /* 32b */
  1763. /* PCM_WDT_LATCH_3 (0x10006000+0x80C) */
  1764. #define PCM_WDT_LATCH_3_LSB (1U << 0) /* 32b */
  1765. /* PCM_WDT_LATCH_4 (0x10006000+0x810) */
  1766. #define PCM_WDT_LATCH_4_LSB (1U << 0) /* 32b */
  1767. /* PCM_WDT_LATCH_5 (0x10006000+0x814) */
  1768. #define PCM_WDT_LATCH_5_LSB (1U << 0) /* 32b */
  1769. /* PCM_WDT_LATCH_6 (0x10006000+0x818) */
  1770. #define PCM_WDT_LATCH_6_LSB (1U << 0) /* 32b */
  1771. /* PCM_WDT_LATCH_7 (0x10006000+0x81C) */
  1772. #define PCM_WDT_LATCH_7_LSB (1U << 0) /* 32b */
  1773. /* PCM_WDT_LATCH_8 (0x10006000+0x820) */
  1774. #define PCM_WDT_LATCH_8_LSB (1U << 0) /* 32b */
  1775. /* PCM_WDT_LATCH_9 (0x10006000+0x824) */
  1776. #define PCM_WDT_LATCH_9_LSB (1U << 0) /* 32b */
  1777. /* PCM_WDT_LATCH_10 (0x10006000+0x828) */
  1778. #define PCM_WDT_LATCH_10_LSB (1U << 0) /* 32b */
  1779. /* PCM_WDT_LATCH_11 (0x10006000+0x82C) */
  1780. #define PCM_WDT_LATCH_11_LSB (1U << 0) /* 32b */
  1781. /* PCM_WDT_LATCH_12 (0x10006000+0x830) */
  1782. #define PCM_WDT_LATCH_12_LSB (1U << 0) /* 32b */
  1783. /* PCM_WDT_LATCH_13 (0x10006000+0x834) */
  1784. #define PCM_WDT_LATCH_13_LSB (1U << 0) /* 32b */
  1785. /* PCM_WDT_LATCH_14 (0x10006000+0x838) */
  1786. #define PCM_WDT_LATCH_14_LSB (1U << 0) /* 32b */
  1787. /* PCM_WDT_LATCH_15 (0x10006000+0x83C) */
  1788. #define PCM_WDT_LATCH_15_LSB (1U << 0) /* 32b */
  1789. /* PCM_WDT_LATCH_16 (0x10006000+0x840) */
  1790. #define PCM_WDT_LATCH_16_LSB (1U << 0) /* 32b */
  1791. /* PCM_WDT_LATCH_17 (0x10006000+0x844) */
  1792. #define PCM_WDT_LATCH_17_LSB (1U << 0) /* 32b */
  1793. /* PCM_WDT_LATCH_18 (0x10006000+0x848) */
  1794. #define PCM_WDT_LATCH_18_LSB (1U << 0) /* 32b */
  1795. /* PCM_WDT_LATCH_SPARE_0 (0x10006000+0x84C) */
  1796. #define PCM_WDT_LATCH_SPARE_0_LSB (1U << 0) /* 32b */
  1797. /* PCM_WDT_LATCH_SPARE_1 (0x10006000+0x850) */
  1798. #define PCM_WDT_LATCH_SPARE_1_LSB (1U << 0) /* 32b */
  1799. /* PCM_WDT_LATCH_SPARE_2 (0x10006000+0x854) */
  1800. #define PCM_WDT_LATCH_SPARE_2_LSB (1U << 0) /* 32b */
  1801. /* PCM_WDT_LATCH_CONN_0 (0x10006000+0x870) */
  1802. #define PCM_WDT_LATCH_CONN_0_LSB (1U << 0) /* 32b */
  1803. /* PCM_WDT_LATCH_CONN_1 (0x10006000+0x874) */
  1804. #define PCM_WDT_LATCH_CONN_1_LSB (1U << 0) /* 32b */
  1805. /* PCM_WDT_LATCH_CONN_2 (0x10006000+0x878) */
  1806. #define PCM_WDT_LATCH_CONN_2_LSB (1U << 0) /* 32b */
  1807. /* DRAMC_GATING_ERR_LATCH_CH0_0 (0x10006000+0x8A0) */
  1808. #define DRAMC_GATING_ERR_LATCH_CH0_0_LSB (1U << 0) /* 32b */
  1809. /* DRAMC_GATING_ERR_LATCH_CH0_1 (0x10006000+0x8A4) */
  1810. #define DRAMC_GATING_ERR_LATCH_CH0_1_LSB (1U << 0) /* 32b */
  1811. /* DRAMC_GATING_ERR_LATCH_CH0_2 (0x10006000+0x8A8) */
  1812. #define DRAMC_GATING_ERR_LATCH_CH0_2_LSB (1U << 0) /* 32b */
  1813. /* DRAMC_GATING_ERR_LATCH_CH0_3 (0x10006000+0x8AC) */
  1814. #define DRAMC_GATING_ERR_LATCH_CH0_3_LSB (1U << 0) /* 32b */
  1815. /* DRAMC_GATING_ERR_LATCH_CH0_4 (0x10006000+0x8B0) */
  1816. #define DRAMC_GATING_ERR_LATCH_CH0_4_LSB (1U << 0) /* 32b */
  1817. /* DRAMC_GATING_ERR_LATCH_CH0_5 (0x10006000+0x8B4) */
  1818. #define DRAMC_GATING_ERR_LATCH_CH0_5_LSB (1U << 0) /* 32b */
  1819. /* DRAMC_GATING_ERR_LATCH_CH0_6 (0x10006000+0x8B8) */
  1820. #define DRAMC_GATING_ERR_LATCH_CH0_6_LSB (1U << 0) /* 32b */
  1821. /* DRAMC_GATING_ERR_LATCH_SPARE_0 (0x10006000+0x8F4) */
  1822. #define DRAMC_GATING_ERR_LATCH_SPARE_0_LSB (1U << 0) /* 32b */
  1823. /* SPM_ACK_CHK_CON_0 (0x10006000+0x900) */
  1824. #define SPM_ACK_CHK_SW_EN_0_LSB (1U << 0) /* 1b */
  1825. #define SPM_ACK_CHK_CLR_ALL_0_LSB (1U << 1) /* 1b */
  1826. #define SPM_ACK_CHK_CLR_TIMER_0_LSB (1U << 2) /* 1b */
  1827. #define SPM_ACK_CHK_CLR_IRQ_0_LSB (1U << 3) /* 1b */
  1828. #define SPM_ACK_CHK_STA_EN_0_LSB (1U << 4) /* 1b */
  1829. #define SPM_ACK_CHK_WAKEUP_EN_0_LSB (1U << 5) /* 1b */
  1830. #define SPM_ACK_CHK_WDT_EN_0_LSB (1U << 6) /* 1b */
  1831. #define SPM_ACK_CHK_LOCK_PC_TRACE_EN_0_LSB (1U << 7) /* 1b */
  1832. #define SPM_ACK_CHK_HW_EN_0_LSB (1U << 8) /* 1b */
  1833. #define SPM_ACK_CHK_HW_MODE_0_LSB (1U << 9) /* 3b */
  1834. #define SPM_ACK_CHK_FAIL_0_LSB (1U << 15) /* 1b */
  1835. /* SPM_ACK_CHK_PC_0 (0x10006000+0x904) */
  1836. #define SPM_ACK_CHK_HW_TRIG_PC_VAL_0_LSB (1U << 0) /* 16b */
  1837. #define SPM_ACK_CHK_HW_TARG_PC_VAL_0_LSB (1U << 16) /* 16b */
  1838. /* SPM_ACK_CHK_SEL_0 (0x10006000+0x908) */
  1839. #define SPM_ACK_CHK_HW_TRIG_SIGNAL_SEL_0_LSB (1U << 0) /* 5b */
  1840. #define SPM_ACK_CHK_HW_TRIG_GROUP_SEL_0_LSB (1U << 5) /* 3b */
  1841. #define SPM_ACK_CHK_HW_TARG_SIGNAL_SEL_0_LSB (1U << 16) /* 5b */
  1842. #define SPM_ACK_CHK_HW_TARG_GROUP_SEL_0_LSB (1U << 21) /* 3b */
  1843. /* SPM_ACK_CHK_TIMER_0 (0x10006000+0x90C) */
  1844. #define SPM_ACK_CHK_TIMER_VAL_0_LSB (1U << 0) /* 16b */
  1845. #define SPM_ACK_CHK_TIMER_0_LSB (1U << 16) /* 16b */
  1846. /* SPM_ACK_CHK_STA_0 (0x10006000+0x910) */
  1847. #define SPM_ACK_CHK_STA_0_LSB (1U << 0) /* 32b */
  1848. /* SPM_ACK_CHK_SWINT_0 (0x10006000+0x914) */
  1849. #define SPM_ACK_CHK_SWINT_EN_0_LSB (1U << 0) /* 32b */
  1850. /* SPM_ACK_CHK_CON_1 (0x10006000+0x920) */
  1851. #define SPM_ACK_CHK_SW_EN_1_LSB (1U << 0) /* 1b */
  1852. #define SPM_ACK_CHK_CLR_ALL_1_LSB (1U << 1) /* 1b */
  1853. #define SPM_ACK_CHK_CLR_TIMER_1_LSB (1U << 2) /* 1b */
  1854. #define SPM_ACK_CHK_CLR_IRQ_1_LSB (1U << 3) /* 1b */
  1855. #define SPM_ACK_CHK_STA_EN_1_LSB (1U << 4) /* 1b */
  1856. #define SPM_ACK_CHK_WAKEUP_EN_1_LSB (1U << 5) /* 1b */
  1857. #define SPM_ACK_CHK_WDT_EN_1_LSB (1U << 6) /* 1b */
  1858. #define SPM_ACK_CHK_LOCK_PC_TRACE_EN_1_LSB (1U << 7) /* 1b */
  1859. #define SPM_ACK_CHK_HW_EN_1_LSB (1U << 8) /* 1b */
  1860. #define SPM_ACK_CHK_HW_MODE_1_LSB (1U << 9) /* 3b */
  1861. #define SPM_ACK_CHK_FAIL_1_LSB (1U << 15) /* 1b */
  1862. /* SPM_ACK_CHK_PC_1 (0x10006000+0x924) */
  1863. #define SPM_ACK_CHK_HW_TRIG_PC_VAL_1_LSB (1U << 0) /* 16b */
  1864. #define SPM_ACK_CHK_HW_TARG_PC_VAL_1_LSB (1U << 16) /* 16b */
  1865. /* SPM_ACK_CHK_SEL_1 (0x10006000+0x928) */
  1866. #define SPM_ACK_CHK_HW_TRIG_SIGNAL_SEL_1_LSB (1U << 0) /* 5b */
  1867. #define SPM_ACK_CHK_HW_TRIG_GROUP_SEL_1_LSB (1U << 5) /* 3b */
  1868. #define SPM_ACK_CHK_HW_TARG_SIGNAL_SEL_1_LSB (1U << 16) /* 5b */
  1869. #define SPM_ACK_CHK_HW_TARG_GROUP_SEL_1_LSB (1U << 21) /* 3b */
  1870. /* SPM_ACK_CHK_TIMER_1 (0x10006000+0x92C) */
  1871. #define SPM_ACK_CHK_TIMER_VAL_1_LSB (1U << 0) /* 16b */
  1872. #define SPM_ACK_CHK_TIMER_1_LSB (1U << 16) /* 16b */
  1873. /* SPM_ACK_CHK_STA_1 (0x10006000+0x930) */
  1874. #define SPM_ACK_CHK_STA_1_LSB (1U << 0) /* 32b */
  1875. /* SPM_ACK_CHK_SWINT_1 (0x10006000+0x934) */
  1876. #define SPM_ACK_CHK_SWINT_EN_1_LSB (1U << 0) /* 32b */
  1877. /* SPM_ACK_CHK_CON_2 (0x10006000+0x940) */
  1878. #define SPM_ACK_CHK_SW_EN_2_LSB (1U << 0) /* 1b */
  1879. #define SPM_ACK_CHK_CLR_ALL_2_LSB (1U << 1) /* 1b */
  1880. #define SPM_ACK_CHK_CLR_TIMER_2_LSB (1U << 2) /* 1b */
  1881. #define SPM_ACK_CHK_CLR_IRQ_2_LSB (1U << 3) /* 1b */
  1882. #define SPM_ACK_CHK_STA_EN_2_LSB (1U << 4) /* 1b */
  1883. #define SPM_ACK_CHK_WAKEUP_EN_2_LSB (1U << 5) /* 1b */
  1884. #define SPM_ACK_CHK_WDT_EN_2_LSB (1U << 6) /* 1b */
  1885. #define SPM_ACK_CHK_LOCK_PC_TRACE_EN_2_LSB (1U << 7) /* 1b */
  1886. #define SPM_ACK_CHK_HW_EN_2_LSB (1U << 8) /* 1b */
  1887. #define SPM_ACK_CHK_HW_MODE_2_LSB (1U << 9) /* 3b */
  1888. #define SPM_ACK_CHK_FAIL_2_LSB (1U << 15) /* 1b */
  1889. /* SPM_ACK_CHK_PC_2 (0x10006000+0x944) */
  1890. #define SPM_ACK_CHK_HW_TRIG_PC_VAL_2_LSB (1U << 0) /* 16b */
  1891. #define SPM_ACK_CHK_HW_TARG_PC_VAL_2_LSB (1U << 16) /* 16b */
  1892. /* SPM_ACK_CHK_SEL_2 (0x10006000+0x948) */
  1893. #define SPM_ACK_CHK_HW_TRIG_SIGNAL_SEL_2_LSB (1U << 0) /* 5b */
  1894. #define SPM_ACK_CHK_HW_TRIG_GROUP_SEL_2_LSB (1U << 5) /* 3b */
  1895. #define SPM_ACK_CHK_HW_TARG_SIGNAL_SEL_2_LSB (1U << 16) /* 5b */
  1896. #define SPM_ACK_CHK_HW_TARG_GROUP_SEL_2_LSB (1U << 21) /* 3b */
  1897. /* SPM_ACK_CHK_TIMER_2 (0x10006000+0x94C) */
  1898. #define SPM_ACK_CHK_TIMER_VAL_2_LSB (1U << 0) /* 16b */
  1899. #define SPM_ACK_CHK_TIMER_2_LSB (1U << 16) /* 16b */
  1900. /* SPM_ACK_CHK_STA_2 (0x10006000+0x950) */
  1901. #define SPM_ACK_CHK_STA_2_LSB (1U << 0) /* 32b */
  1902. /* SPM_ACK_CHK_SWINT_2 (0x10006000+0x954) */
  1903. #define SPM_ACK_CHK_SWINT_EN_2_LSB (1U << 0) /* 32b */
  1904. /* SPM_ACK_CHK_CON_3 (0x10006000+0x960) */
  1905. #define SPM_ACK_CHK_SW_EN_3_LSB (1U << 0) /* 1b */
  1906. #define SPM_ACK_CHK_CLR_ALL_3_LSB (1U << 1) /* 1b */
  1907. #define SPM_ACK_CHK_CLR_TIMER_3_LSB (1U << 2) /* 1b */
  1908. #define SPM_ACK_CHK_CLR_IRQ_3_LSB (1U << 3) /* 1b */
  1909. #define SPM_ACK_CHK_STA_EN_3_LSB (1U << 4) /* 1b */
  1910. #define SPM_ACK_CHK_WAKEUP_EN_3_LSB (1U << 5) /* 1b */
  1911. #define SPM_ACK_CHK_WDT_EN_3_LSB (1U << 6) /* 1b */
  1912. #define SPM_ACK_CHK_LOCK_PC_TRACE_EN_3_LSB (1U << 7) /* 1b */
  1913. #define SPM_ACK_CHK_HW_EN_3_LSB (1U << 8) /* 1b */
  1914. #define SPM_ACK_CHK_HW_MODE_3_LSB (1U << 9) /* 3b */
  1915. #define SPM_ACK_CHK_FAIL_3_LSB (1U << 15) /* 1b */
  1916. /* SPM_ACK_CHK_PC_3 (0x10006000+0x964) */
  1917. #define SPM_ACK_CHK_HW_TRIG_PC_VAL_3_LSB (1U << 0) /* 16b */
  1918. #define SPM_ACK_CHK_HW_TARG_PC_VAL_3_LSB (1U << 16) /* 16b */
  1919. /* SPM_ACK_CHK_SEL_3 (0x10006000+0x968) */
  1920. #define SPM_ACK_CHK_HW_TRIG_SIGNAL_SEL_3_LSB (1U << 0) /* 5b */
  1921. #define SPM_ACK_CHK_HW_TRIG_GROUP_SEL_3_LSB (1U << 5) /* 3b */
  1922. #define SPM_ACK_CHK_HW_TARG_SIGNAL_SEL_3_LSB (1U << 16) /* 5b */
  1923. #define SPM_ACK_CHK_HW_TARG_GROUP_SEL_3_LSB (1U << 21) /* 3b */
  1924. /* SPM_ACK_CHK_TIMER_3 (0x10006000+0x96C) */
  1925. #define SPM_ACK_CHK_TIMER_VAL_3_LSB (1U << 0) /* 16b */
  1926. #define SPM_ACK_CHK_TIMER_3_LSB (1U << 16) /* 16b */
  1927. /* SPM_ACK_CHK_STA_3 (0x10006000+0x970) */
  1928. #define SPM_ACK_CHK_STA_3_LSB (1U << 0) /* 32b */
  1929. /* SPM_ACK_CHK_SWINT_3 (0x10006000+0x974) */
  1930. #define SPM_ACK_CHK_SWINT_EN_3_LSB (1U << 0) /* 32b */
  1931. /* SPM_COUNTER_0 (0x10006000+0x978) */
  1932. #define SPM_COUNTER_VAL_0_LSB (1U << 0) /* 14b */
  1933. #define SPM_COUNTER_OUT_0_LSB (1U << 14) /* 14b */
  1934. #define SPM_COUNTER_EN_0_LSB (1U << 28) /* 1b */
  1935. #define SPM_COUNTER_CLR_0_LSB (1U << 29) /* 1b */
  1936. #define SPM_COUNTER_TIMEOUT_0_LSB (1U << 30) /* 1b */
  1937. #define SPM_COUNTER_WAKEUP_EN_0_LSB (1U << 31) /* 1b */
  1938. /* SPM_COUNTER_1 (0x10006000+0x97C) */
  1939. #define SPM_COUNTER_VAL_1_LSB (1U << 0) /* 14b */
  1940. #define SPM_COUNTER_OUT_1_LSB (1U << 14) /* 14b */
  1941. #define SPM_COUNTER_EN_1_LSB (1U << 28) /* 1b */
  1942. #define SPM_COUNTER_CLR_1_LSB (1U << 29) /* 1b */
  1943. #define SPM_COUNTER_TIMEOUT_1_LSB (1U << 30) /* 1b */
  1944. #define SPM_COUNTER_WAKEUP_EN_1_LSB (1U << 31) /* 1b */
  1945. /* SPM_COUNTER_2 (0x10006000+0x980) */
  1946. #define SPM_COUNTER_VAL_2_LSB (1U << 0) /* 14b */
  1947. #define SPM_COUNTER_OUT_2_LSB (1U << 14) /* 14b */
  1948. #define SPM_COUNTER_EN_2_LSB (1U << 28) /* 1b */
  1949. #define SPM_COUNTER_CLR_2_LSB (1U << 29) /* 1b */
  1950. #define SPM_COUNTER_TIMEOUT_2_LSB (1U << 30) /* 1b */
  1951. #define SPM_COUNTER_WAKEUP_EN_2_LSB (1U << 31) /* 1b */
  1952. /* SYS_TIMER_CON (0x10006000+0x98C) */
  1953. #define SYS_TIMER_START_EN_LSB (1U << 0) /* 1b */
  1954. #define SYS_TIMER_LATCH_EN_LSB (1U << 1) /* 1b */
  1955. #define SYS_TIMER_ID_LSB (1U << 8) /* 8b */
  1956. #define SYS_TIMER_VALID_LSB (1U << 31) /* 1b */
  1957. /* RC_FSM_STA_0 (0x10006000+0xE00) */
  1958. #define RC_FSM_STA_0_LSB (1U << 0) /* 32b */
  1959. /* RC_CMD_STA_0 (0x10006000+0xE04) */
  1960. #define RC_CMD_STA_0_LSB (1U << 0) /* 32b */
  1961. /* RC_CMD_STA_1 (0x10006000+0xE08) */
  1962. #define RC_CMD_STA_1_LSB (1U << 0) /* 32b */
  1963. /* RC_SPI_STA_0 (0x10006000+0xE0C) */
  1964. #define RC_SPI_STA_0_LSB (1U << 0) /* 32b */
  1965. /* RC_PI_PO_STA_0 (0x10006000+0xE10) */
  1966. #define RC_PI_PO_STA_0_LSB (1U << 0) /* 32b */
  1967. /* RC_M00_REQ_STA_0 (0x10006000+0xE14) */
  1968. #define RC_M00_REQ_STA_0_LSB (1U << 0) /* 32b */
  1969. /* RC_M01_REQ_STA_0 (0x10006000+0xE1C) */
  1970. #define RC_M01_REQ_STA_0_LSB (1U << 0) /* 32b */
  1971. /* RC_M02_REQ_STA_0 (0x10006000+0xE20) */
  1972. #define RC_M02_REQ_STA_0_LSB (1U << 0) /* 32b */
  1973. /* RC_M03_REQ_STA_0 (0x10006000+0xE24) */
  1974. #define RC_M03_REQ_STA_0_LSB (1U << 0) /* 32b */
  1975. /* RC_M04_REQ_STA_0 (0x10006000+0xE28) */
  1976. #define RC_M04_REQ_STA_0_LSB (1U << 0) /* 32b */
  1977. /* RC_M05_REQ_STA_0 (0x10006000+0xE2C) */
  1978. #define RC_M05_REQ_STA_0_LSB (1U << 0) /* 32b */
  1979. /* RC_M06_REQ_STA_0 (0x10006000+0xE30) */
  1980. #define RC_M06_REQ_STA_0_LSB (1U << 0) /* 32b */
  1981. /* RC_M07_REQ_STA_0 (0x10006000+0xE34) */
  1982. #define RC_M07_REQ_STA_0_LSB (1U << 0) /* 32b */
  1983. /* RC_M08_REQ_STA_0 (0x10006000+0xE38) */
  1984. #define RC_M08_REQ_STA_0_LSB (1U << 0) /* 32b */
  1985. /* RC_M09_REQ_STA_0 (0x10006000+0xE3C) */
  1986. #define RC_M09_REQ_STA_0_LSB (1U << 0) /* 32b */
  1987. /* RC_M10_REQ_STA_0 (0x10006000+0xE40) */
  1988. #define RC_M10_REQ_STA_0_LSB (1U << 0) /* 32b */
  1989. /* RC_M11_REQ_STA_0 (0x10006000+0xE44) */
  1990. #define RC_M11_REQ_STA_0_LSB (1U << 0) /* 32b */
  1991. /* RC_M12_REQ_STA_0 (0x10006000+0xE48) */
  1992. #define RC_M12_REQ_STA_0_LSB (1U << 0) /* 32b */
  1993. /* RC_DEBUG_STA_0 (0x10006000+0xE4C) */
  1994. #define RC_DEBUG_STA_0_LSB (1U << 0) /* 32b */
  1995. /* RC_DEBUG_TRACE_0_LSB (0x10006000+0xE50) */
  1996. #define RO_PMRC_TRACE_00_LSB_LSB (1U << 0) /* 32b */
  1997. /* RC_DEBUG_TRACE_0_MSB (0x10006000+0xE54) */
  1998. #define RO_PMRC_TRACE_00_MSB_LSB (1U << 0) /* 32b */
  1999. /* RC_DEBUG_TRACE_1_LSB (0x10006000+0xE5C) */
  2000. #define RO_PMRC_TRACE_01_LSB_LSB (1U << 0) /* 32b */
  2001. /* RC_DEBUG_TRACE_1_MSB (0x10006000+0xE60) */
  2002. #define RO_PMRC_TRACE_01_MSB_LSB (1U << 0) /* 32b */
  2003. /* RC_DEBUG_TRACE_2_LSB (0x10006000+0xE64) */
  2004. #define RO_PMRC_TRACE_02_LSB_LSB (1U << 0) /* 32b */
  2005. /* RC_DEBUG_TRACE_2_MSB (0x10006000+0xE6C) */
  2006. #define RO_PMRC_TRACE_02_MSB_LSB (1U << 0) /* 32b */
  2007. /* RC_DEBUG_TRACE_3_LSB (0x10006000+0xE70) */
  2008. #define RO_PMRC_TRACE_03_LSB_LSB (1U << 0) /* 32b */
  2009. /* RC_DEBUG_TRACE_3_MSB (0x10006000+0xE74) */
  2010. #define RO_PMRC_TRACE_03_MSB_LSB (1U << 0) /* 32b */
  2011. /* RC_DEBUG_TRACE_4_LSB (0x10006000+0xE78) */
  2012. #define RO_PMRC_TRACE_04_LSB_LSB (1U << 0) /* 32b */
  2013. /* RC_DEBUG_TRACE_4_MSB (0x10006000+0xE7C) */
  2014. #define RO_PMRC_TRACE_04_MSB_LSB (1U << 0) /* 32b */
  2015. /* RC_DEBUG_TRACE_5_LSB (0x10006000+0xE80) */
  2016. #define RO_PMRC_TRACE_05_LSB_LSB (1U << 0) /* 32b */
  2017. /* RC_DEBUG_TRACE_5_MSB (0x10006000+0xE84) */
  2018. #define RO_PMRC_TRACE_05_MSB_LSB (1U << 0) /* 32b */
  2019. /* RC_DEBUG_TRACE_6_LSB (0x10006000+0xE88) */
  2020. #define RO_PMRC_TRACE_06_LSB_LSB (1U << 0) /* 32b */
  2021. /* RC_DEBUG_TRACE_6_MSB (0x10006000+0xE8C) */
  2022. #define RO_PMRC_TRACE_06_MSB_LSB (1U << 0) /* 32b */
  2023. /* RC_DEBUG_TRACE_7_LSB (0x10006000+0xE90) */
  2024. #define RO_PMRC_TRACE_07_LSB_LSB (1U << 0) /* 32b */
  2025. /* RC_DEBUG_TRACE_7_MSB (0x10006000+0xE94) */
  2026. #define RO_PMRC_TRACE_07_MSB_LSB (1U << 0) /* 32b */
  2027. /* RC_SYS_TIMER_LATCH_0_LSB (0x10006000+0xE98) */
  2028. #define RC_SYS_TIMER_LATCH_L_00_LSB (1U << 0) /* 32b */
  2029. /* RC_SYS_TIMER_LATCH_0_MSB (0x10006000+0xE9C) */
  2030. #define RC_SYS_TIMER_LATCH_H_00_LSB (1U << 0) /* 32b */
  2031. /* RC_SYS_TIMER_LATCH_1_LSB (0x10006000+0xEA0) */
  2032. #define RC_SYS_TIMER_LATCH_L_01_LSB (1U << 0) /* 32b */
  2033. /* RC_SYS_TIMER_LATCH_1_MSB (0x10006000+0xEA4) */
  2034. #define RC_SYS_TIMER_LATCH_H_01_LSB (1U << 0) /* 32b */
  2035. /* RC_SYS_TIMER_LATCH_2_LSB (0x10006000+0xEA8) */
  2036. #define RC_SYS_TIMER_LATCH_L_02_LSB (1U << 0) /* 32b */
  2037. /* RC_SYS_TIMER_LATCH_2_MSB (0x10006000+0xEAC) */
  2038. #define RC_SYS_TIMER_LATCH_H_02_LSB (1U << 0) /* 32b */
  2039. /* RC_SYS_TIMER_LATCH_3_LSB (0x10006000+0xEB0) */
  2040. #define RC_SYS_TIMER_LATCH_L_03_LSB (1U << 0) /* 32b */
  2041. /* RC_SYS_TIMER_LATCH_3_MSB (0x10006000+0xEB4) */
  2042. #define RC_SYS_TIMER_LATCH_H_03_LSB (1U << 0) /* 32b */
  2043. /* RC_SYS_TIMER_LATCH_4_LSB (0x10006000+0xEB8) */
  2044. #define RC_SYS_TIMER_LATCH_L_04_LSB (1U << 0) /* 32b */
  2045. /* RC_SYS_TIMER_LATCH_4_MSB (0x10006000+0xEBC) */
  2046. #define RC_SYS_TIMER_LATCH_H_04_LSB (1U << 0) /* 32b */
  2047. /* RC_SYS_TIMER_LATCH_5_LSB (0x10006000+0xEC0) */
  2048. #define RC_SYS_TIMER_LATCH_L_05_LSB (1U << 0) /* 32b */
  2049. /* RC_SYS_TIMER_LATCH_5_MSB (0x10006000+0xEC4) */
  2050. #define RC_SYS_TIMER_LATCH_H_05_LSB (1U << 0) /* 32b */
  2051. /* RC_SYS_TIMER_LATCH_6_LSB (0x10006000+0xEC8) */
  2052. #define RC_SYS_TIMER_LATCH_L_06_LSB (1U << 0) /* 32b */
  2053. /* RC_SYS_TIMER_LATCH_6_MSB (0x10006000+0xECC) */
  2054. #define RC_SYS_TIMER_LATCH_H_06_LSB (1U << 0) /* 32b */
  2055. /* RC_SYS_TIMER_LATCH_7_LSB (0x10006000+0xED0) */
  2056. #define RC_SYS_TIMER_LATCH_L_07_LSB (1U << 0) /* 32b */
  2057. /* RC_SYS_TIMER_LATCH_7_MSB (0x10006000+0xED4) */
  2058. #define RC_SYS_TIMER_LATCH_H_07_LSB (1U << 0) /* 32b */
  2059. /* PCM_WDT_LATCH_19 (0x10006000+0xED8) */
  2060. #define PCM_WDT_LATCH_19_LSB (1U << 0) /* 32b */
  2061. /* PCM_WDT_LATCH_20 (0x10006000+0xEDC) */
  2062. #define PCM_WDT_LATCH_20_LSB (1U << 0) /* 32b */
  2063. /* PCM_WDT_LATCH_21 (0x10006000+0xEE0) */
  2064. #define PCM_WDT_LATCH_21_LSB (1U << 0) /* 32b */
  2065. /* PCM_WDT_LATCH_22 (0x10006000+0xEE4) */
  2066. #define PCM_WDT_LATCH_22_LSB (1U << 0) /* 32b */
  2067. /* PCM_WDT_LATCH_23 (0x10006000+0xEE8) */
  2068. #define PCM_WDT_LATCH_23_LSB (1U << 0) /* 32b */
  2069. /* PCM_WDT_LATCH_24 (0x10006000+0xEEC) */
  2070. #define PCM_WDT_LATCH_24_LSB (1U << 0) /* 32b */
  2071. /* PMSR_LAST_DAT (0x10006000+0xF00) */
  2072. #define PMSR_LAST_DAT_LSB (1U << 0) /* 32b */
  2073. /* PMSR_LAST_CNT (0x10006000+0xF04) */
  2074. #define PMSR_LAST_CMD_LSB (1U << 0) /* 30b */
  2075. #define PMSR_LAST_REQ_LSB (1U << 30) /* 1b */
  2076. /* PMSR_LAST_ACK (0x10006000+0xF08) */
  2077. #define PMSR_LAST_ACK_LSB (1U << 0) /* 1b */
  2078. /* SPM_PMSR_SEL_CON0 (0x10006000+0xF10) */
  2079. #define REG_PMSR_SIG_SEL_0_LSB (1U << 0) /* 8b */
  2080. #define REG_PMSR_SIG_SEL_1_LSB (1U << 8) /* 8b */
  2081. #define REG_PMSR_SIG_SEL_2_LSB (1U << 16) /* 8b */
  2082. #define REG_PMSR_SIG_SEL_3_LSB (1U << 24) /* 8b */
  2083. /* SPM_PMSR_SEL_CON1 (0x10006000+0xF14) */
  2084. #define REG_PMSR_SIG_SEL_4_LSB (1U << 0) /* 8b */
  2085. #define REG_PMSR_SIG_SEL_5_LSB (1U << 8) /* 8b */
  2086. #define REG_PMSR_SIG_SEL_6_LSB (1U << 16) /* 8b */
  2087. #define REG_PMSR_SIG_SEL_7_LSB (1U << 24) /* 8b */
  2088. /* SPM_PMSR_SEL_CON2 (0x10006000+0xF18) */
  2089. #define REG_PMSR_SIG_SEL_8_LSB (1U << 0) /* 8b */
  2090. #define REG_PMSR_SIG_SEL_9_LSB (1U << 8) /* 8b */
  2091. #define REG_PMSR_SIG_SEL_10_LSB (1U << 16) /* 8b */
  2092. #define REG_PMSR_SIG_SEL_11_LSB (1U << 24) /* 8b */
  2093. /* SPM_PMSR_SEL_CON3 (0x10006000+0xF1C) */
  2094. #define REG_PMSR_SIG_SEL_12_LSB (1U << 0) /* 8b */
  2095. #define REG_PMSR_SIG_SEL_13_LSB (1U << 8) /* 8b */
  2096. #define REG_PMSR_SIG_SEL_14_LSB (1U << 16) /* 8b */
  2097. #define REG_PMSR_SIG_SEL_15_LSB (1U << 24) /* 8b */
  2098. /* SPM_PMSR_SEL_CON4 (0x10006000+0xF20) */
  2099. #define REG_PMSR_SIG_SEL_16_LSB (1U << 0) /* 8b */
  2100. #define REG_PMSR_SIG_SEL_17_LSB (1U << 8) /* 8b */
  2101. #define REG_PMSR_SIG_SEL_18_LSB (1U << 16) /* 8b */
  2102. #define REG_PMSR_SIG_SEL_19_LSB (1U << 24) /* 8b */
  2103. /* SPM_PMSR_SEL_CON5 (0x10006000+0xF24) */
  2104. #define REG_PMSR_SIG_SEL_20_LSB (1U << 0) /* 8b */
  2105. #define REG_PMSR_SIG_SEL_21_LSB (1U << 8) /* 8b */
  2106. #define REG_PMSR_SIG_SEL_22_LSB (1U << 16) /* 8b */
  2107. #define REG_PMSR_SIG_SEL_23_LSB (1U << 24) /* 8b */
  2108. /* SPM_PMSR_SEL_CON6 (0x10006000+0xF28) */
  2109. #define REG_PMSR_SIG_SEL_24_LSB (1U << 0) /* 8b */
  2110. #define REG_PMSR_SIG_SEL_25_LSB (1U << 8) /* 8b */
  2111. #define REG_PMSR_SIG_SEL_26_LSB (1U << 16) /* 8b */
  2112. #define REG_PMSR_SIG_SEL_27_LSB (1U << 24) /* 8b */
  2113. /* SPM_PMSR_SEL_CON7 (0x10006000+0xF2C) */
  2114. #define REG_PMSR_SIG_SEL_28_LSB (1U << 0) /* 8b */
  2115. #define REG_PMSR_SIG_SEL_29_LSB (1U << 8) /* 8b */
  2116. #define REG_PMSR_SIG_SEL_30_LSB (1U << 16) /* 8b */
  2117. #define REG_PMSR_SIG_SEL_31_LSB (1U << 24) /* 8b */
  2118. /* SPM_PMSR_SEL_CON8 (0x10006000+0xF30) */
  2119. #define REG_PMSR_SIG_SEL_32_LSB (1U << 0) /* 8b */
  2120. #define REG_PMSR_SIG_SEL_33_LSB (1U << 8) /* 8b */
  2121. #define REG_PMSR_SIG_SEL_34_LSB (1U << 16) /* 8b */
  2122. #define REG_PMSR_SIG_SEL_35_LSB (1U << 24) /* 8b */
  2123. /* SPM_PMSR_SEL_CON9 (0x10006000+0xF34) */
  2124. #define REG_PMSR_SIG_SEL_36_LSB (1U << 0) /* 8b */
  2125. #define REG_PMSR_SIG_SEL_37_LSB (1U << 8) /* 8b */
  2126. #define REG_PMSR_SIG_SEL_38_LSB (1U << 16) /* 8b */
  2127. #define REG_PMSR_SIG_SEL_39_LSB (1U << 24) /* 8b */
  2128. /* SPM_PMSR_SEL_CON10 (0x10006000+0xF3C) */
  2129. #define REG_PMSR_SIG_SEL_40_LSB (1U << 0) /* 8b */
  2130. #define REG_PMSR_SIG_SEL_41_LSB (1U << 8) /* 8b */
  2131. #define REG_PMSR_SIG_SEL_42_LSB (1U << 16) /* 8b */
  2132. #define REG_PMSR_SIG_SEL_43_LSB (1U << 24) /* 8b */
  2133. /* SPM_PMSR_SEL_CON11 (0x10006000+0xF40) */
  2134. #define REG_PMSR_SIG_SEL_44_LSB (1U << 0) /* 8b */
  2135. #define REG_PMSR_SIG_SEL_45_LSB (1U << 8) /* 8b */
  2136. #define REG_PMSR_SIG_SEL_46_LSB (1U << 16) /* 8b */
  2137. #define REG_PMSR_SIG_SEL_47_LSB (1U << 24) /* 8b */
  2138. /* SPM_PMSR_TIEMR_STA0 (0x10006000+0xFB8) */
  2139. #define PMSR_TIMER_SET0_LSB (1U << 0) /* 32b */
  2140. /* SPM_PMSR_TIEMR_STA1 (0x10006000+0xFBC) */
  2141. #define PMSR_TIMER_SET1_LSB (1U << 0) /* 32b */
  2142. /* SPM_PMSR_TIEMR_STA2 (0x10006000+0xFC0) */
  2143. #define PMSR_TIMER_SET2_LSB (1U << 0) /* 32b */
  2144. /* SPM_PMSR_GENERAL_CON0 (0x10006000+0xFC4) */
  2145. #define PMSR_ENABLE_SET0_LSB (1U << 0) /* 1b */
  2146. #define PMSR_ENABLE_SET1_LSB (1U << 1) /* 1b */
  2147. #define PMSR_ENABLE_SET2_LSB (1U << 2) /* 1b */
  2148. #define PMSR_IRQ_CLR_SET0_LSB (1U << 3) /* 1b */
  2149. #define PMSR_IRQ_CLR_SET1_LSB (1U << 4) /* 1b */
  2150. #define PMSR_IRQ_CLR_SET2_LSB (1U << 5) /* 1b */
  2151. #define PMSR_SPEED_MODE_EN_SET0_LSB (1U << 6) /* 1b */
  2152. #define PMSR_SPEED_MODE_EN_SET1_LSB (1U << 7) /* 1b */
  2153. #define PMSR_SPEED_MODE_EN_SET2_LSB (1U << 8) /* 1b */
  2154. #define PMSR_EVENT_CLR_SET0_LSB (1U << 9) /* 1b */
  2155. #define PMSR_EVENT_CLR_SET1_LSB (1U << 10) /* 1b */
  2156. #define PMSR_EVENT_CLR_SET2_LSB (1U << 11) /* 1b */
  2157. #define REG_PMSR_IRQ_MASK_SET0_LSB (1U << 12) /* 1b */
  2158. #define REG_PMSR_IRQ_MASK_SET1_LSB (1U << 13) /* 1b */
  2159. #define REG_PMSR_IRQ_MASK_SET2_LSB (1U << 14) /* 1b */
  2160. #define REG_PMSR_IRQ_WAKEUP_EVENT_MASK_SET0_LSB (1U << 15) /* 1b */
  2161. #define REG_PMSR_IRQ_WAKEUP_EVENT_MASK_SET1_LSB (1U << 16) /* 1b */
  2162. #define REG_PMSR_IRQ_WAKEUP_EVENT_MASK_SET2_LSB (1U << 17) /* 1b */
  2163. #define PMSR_GEN_SW_RST_EN_LSB (1U << 18) /* 1b */
  2164. #define PMSR_MODULE_ENABLE_LSB (1U << 19) /* 1b */
  2165. #define PMSR_MODE_LSB (1U << 20) /* 2b */
  2166. #define SPM_PMSR_GENERAL_CON0_PMSR_IRQ_B_SET0_LSB (1U << 29) /* 1b */
  2167. #define SPM_PMSR_GENERAL_CON0_PMSR_IRQ_B_SET1_LSB (1U << 30) /* 1b */
  2168. #define SPM_PMSR_GENERAL_CON0_PMSR_IRQ_B_SET2_LSB (1U << 31) /* 1b */
  2169. /* SPM_PMSR_GENERAL_CON1 (0x10006000+0xFC8) */
  2170. #define PMSR_COUNTER_THRES_LSB (1U << 0) /* 32b */
  2171. /* SPM_PMSR_GENERAL_CON2 (0x10006000+0xFCC) */
  2172. #define PMSR_DEBUG_IN_0_MASK_B_LSB (1U << 0) /* 32b */
  2173. /* SPM_PMSR_GENERAL_CON3 (0x10006000+0xFD0) */
  2174. #define PMSR_DEBUG_IN_1_MASK_B_LSB (1U << 0) /* 32b */
  2175. /* SPM_PMSR_GENERAL_CON4 (0x10006000+0xFD4) */
  2176. #define PMSR_DEBUG_IN_2_MASK_B_LSB (1U << 0) /* 32b */
  2177. /* SPM_PMSR_GENERAL_CON5 (0x10006000+0xFD8) */
  2178. #define PMSR_DEBUG_IN_3_MASK_B_LSB (1U << 0) /* 32b */
  2179. /* SPM_PMSR_SW_RESET (0x10006000+0xFDC) */
  2180. #define PMSR_SW_RST_EN_SET0_LSB (1U << 0) /* 1b */
  2181. #define PMSR_SW_RST_EN_SET1_LSB (1U << 1) /* 1b */
  2182. #define PMSR_SW_RST_EN_SET2_LSB (1U << 2) /* 1b */
  2183. /* SPM_PMSR_MON_CON0 (0x10006000+0xFE0) */
  2184. #define REG_PMSR_MON_TYPE_0_LSB (1U << 0) /* 2b */
  2185. #define REG_PMSR_MON_TYPE_1_LSB (1U << 2) /* 2b */
  2186. #define REG_PMSR_MON_TYPE_2_LSB (1U << 4) /* 2b */
  2187. #define REG_PMSR_MON_TYPE_3_LSB (1U << 6) /* 2b */
  2188. #define REG_PMSR_MON_TYPE_4_LSB (1U << 8) /* 2b */
  2189. #define REG_PMSR_MON_TYPE_5_LSB (1U << 10) /* 2b */
  2190. #define REG_PMSR_MON_TYPE_6_LSB (1U << 12) /* 2b */
  2191. #define REG_PMSR_MON_TYPE_7_LSB (1U << 14) /* 2b */
  2192. #define REG_PMSR_MON_TYPE_8_LSB (1U << 16) /* 2b */
  2193. #define REG_PMSR_MON_TYPE_9_LSB (1U << 18) /* 2b */
  2194. #define REG_PMSR_MON_TYPE_10_LSB (1U << 20) /* 2b */
  2195. #define REG_PMSR_MON_TYPE_11_LSB (1U << 22) /* 2b */
  2196. #define REG_PMSR_MON_TYPE_12_LSB (1U << 24) /* 2b */
  2197. #define REG_PMSR_MON_TYPE_13_LSB (1U << 26) /* 2b */
  2198. #define REG_PMSR_MON_TYPE_14_LSB (1U << 28) /* 2b */
  2199. #define REG_PMSR_MON_TYPE_15_LSB (1U << 30) /* 2b */
  2200. /* SPM_PMSR_MON_CON1 (0x10006000+0xFE4) */
  2201. #define REG_PMSR_MON_TYPE_16_LSB (1U << 0) /* 2b */
  2202. #define REG_PMSR_MON_TYPE_17_LSB (1U << 2) /* 2b */
  2203. #define REG_PMSR_MON_TYPE_18_LSB (1U << 4) /* 2b */
  2204. #define REG_PMSR_MON_TYPE_19_LSB (1U << 6) /* 2b */
  2205. #define REG_PMSR_MON_TYPE_20_LSB (1U << 8) /* 2b */
  2206. #define REG_PMSR_MON_TYPE_21_LSB (1U << 10) /* 2b */
  2207. #define REG_PMSR_MON_TYPE_22_LSB (1U << 12) /* 2b */
  2208. #define REG_PMSR_MON_TYPE_23_LSB (1U << 14) /* 2b */
  2209. #define REG_PMSR_MON_TYPE_24_LSB (1U << 16) /* 2b */
  2210. #define REG_PMSR_MON_TYPE_25_LSB (1U << 18) /* 2b */
  2211. #define REG_PMSR_MON_TYPE_26_LSB (1U << 20) /* 2b */
  2212. #define REG_PMSR_MON_TYPE_27_LSB (1U << 22) /* 2b */
  2213. #define REG_PMSR_MON_TYPE_28_LSB (1U << 24) /* 2b */
  2214. #define REG_PMSR_MON_TYPE_29_LSB (1U << 26) /* 2b */
  2215. #define REG_PMSR_MON_TYPE_30_LSB (1U << 28) /* 2b */
  2216. #define REG_PMSR_MON_TYPE_31_LSB (1U << 30) /* 2b */
  2217. /* SPM_PMSR_MON_CON2 (0x10006000+0xFE8) */
  2218. #define REG_PMSR_MON_TYPE_32_LSB (1U << 0) /* 2b */
  2219. #define REG_PMSR_MON_TYPE_33_LSB (1U << 2) /* 2b */
  2220. #define REG_PMSR_MON_TYPE_34_LSB (1U << 4) /* 2b */
  2221. #define REG_PMSR_MON_TYPE_35_LSB (1U << 6) /* 2b */
  2222. #define REG_PMSR_MON_TYPE_36_LSB (1U << 8) /* 2b */
  2223. #define REG_PMSR_MON_TYPE_37_LSB (1U << 10) /* 2b */
  2224. #define REG_PMSR_MON_TYPE_38_LSB (1U << 12) /* 2b */
  2225. #define REG_PMSR_MON_TYPE_39_LSB (1U << 14) /* 2b */
  2226. #define REG_PMSR_MON_TYPE_40_LSB (1U << 16) /* 2b */
  2227. #define REG_PMSR_MON_TYPE_41_LSB (1U << 18) /* 2b */
  2228. #define REG_PMSR_MON_TYPE_42_LSB (1U << 20) /* 2b */
  2229. #define REG_PMSR_MON_TYPE_43_LSB (1U << 22) /* 2b */
  2230. #define REG_PMSR_MON_TYPE_44_LSB (1U << 24) /* 2b */
  2231. #define REG_PMSR_MON_TYPE_45_LSB (1U << 26) /* 2b */
  2232. #define REG_PMSR_MON_TYPE_46_LSB (1U << 28) /* 2b */
  2233. #define REG_PMSR_MON_TYPE_47_LSB (1U << 30) /* 2b */
  2234. /* SPM_PMSR_LEN_CON0 (0x10006000+0xFEC) */
  2235. #define REG_PMSR_WINDOW_LEN_SET0_LSB (1U << 0) /* 32b */
  2236. /* SPM_PMSR_LEN_CON1 (0x10006000+0xFF0) */
  2237. #define REG_PMSR_WINDOW_LEN_SET1_LSB (1U << 0) /* 32b */
  2238. /* SPM_PMSR_LEN_CON2 (0x10006000+0xFF4) */
  2239. #define REG_PMSR_WINDOW_LEN_SET2_LSB (1U << 0) /* 32b */
  2240. #define SPM_PROJECT_CODE (0xb16)
  2241. #define SPM_REGWR_CFG_KEY (SPM_PROJECT_CODE << 16)
  2242. #endif /* MT_SPM_REG_H */