mt_spm_reg.h 171 KB

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