hw_apps_rcm.h 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506
  1. //*****************************************************************************
  2. //
  3. // Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
  4. //
  5. //
  6. // Redistribution and use in source and binary forms, with or without
  7. // modification, are permitted provided that the following conditions
  8. // are met:
  9. //
  10. // Redistributions of source code must retain the above copyright
  11. // notice, this list of conditions and the following disclaimer.
  12. //
  13. // Redistributions in binary form must reproduce the above copyright
  14. // notice, this list of conditions and the following disclaimer in the
  15. // documentation and/or other materials provided with the
  16. // distribution.
  17. //
  18. // Neither the name of Texas Instruments Incorporated nor the names of
  19. // its contributors may be used to endorse or promote products derived
  20. // from this software without specific prior written permission.
  21. //
  22. // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  23. // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  24. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  25. // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  26. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  27. // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  28. // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  29. // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  30. // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  31. // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  32. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  33. //
  34. //*****************************************************************************
  35. #ifndef __HW_APPS_RCM_H__
  36. #define __HW_APPS_RCM_H__
  37. //*****************************************************************************
  38. //
  39. // The following are defines for the APPS_RCM register offsets.
  40. //
  41. //*****************************************************************************
  42. #define APPS_RCM_O_CAMERA_CLK_GEN \
  43. 0x00000000
  44. #define APPS_RCM_O_CAMERA_CLK_GATING \
  45. 0x00000004
  46. #define APPS_RCM_O_CAMERA_SOFT_RESET \
  47. 0x00000008
  48. #define APPS_RCM_O_MCASP_CLK_GATING \
  49. 0x00000014
  50. #define APPS_RCM_O_MCASP_SOFT_RESET \
  51. 0x00000018
  52. #define APPS_RCM_O_MMCHS_CLK_GEN \
  53. 0x00000020
  54. #define APPS_RCM_O_MMCHS_CLK_GATING \
  55. 0x00000024
  56. #define APPS_RCM_O_MMCHS_SOFT_RESET \
  57. 0x00000028
  58. #define APPS_RCM_O_MCSPI_A1_CLK_GEN \
  59. 0x0000002C
  60. #define APPS_RCM_O_MCSPI_A1_CLK_GATING \
  61. 0x00000030
  62. #define APPS_RCM_O_MCSPI_A1_SOFT_RESET \
  63. 0x00000034
  64. #define APPS_RCM_O_MCSPI_A2_CLK_GEN \
  65. 0x00000038
  66. #define APPS_RCM_O_MCSPI_A2_CLK_GATING \
  67. 0x00000040
  68. #define APPS_RCM_O_MCSPI_A2_SOFT_RESET \
  69. 0x00000044
  70. #define APPS_RCM_O_UDMA_A_CLK_GATING \
  71. 0x00000048
  72. #define APPS_RCM_O_UDMA_A_SOFT_RESET \
  73. 0x0000004C
  74. #define APPS_RCM_O_GPIO_A_CLK_GATING \
  75. 0x00000050
  76. #define APPS_RCM_O_GPIO_A_SOFT_RESET \
  77. 0x00000054
  78. #define APPS_RCM_O_GPIO_B_CLK_GATING \
  79. 0x00000058
  80. #define APPS_RCM_O_GPIO_B_SOFT_RESET \
  81. 0x0000005C
  82. #define APPS_RCM_O_GPIO_C_CLK_GATING \
  83. 0x00000060
  84. #define APPS_RCM_O_GPIO_C_SOFT_RESET \
  85. 0x00000064
  86. #define APPS_RCM_O_GPIO_D_CLK_GATING \
  87. 0x00000068
  88. #define APPS_RCM_O_GPIO_D_SOFT_RESET \
  89. 0x0000006C
  90. #define APPS_RCM_O_GPIO_E_CLK_GATING \
  91. 0x00000070
  92. #define APPS_RCM_O_GPIO_E_SOFT_RESET \
  93. 0x00000074
  94. #define APPS_RCM_O_WDOG_A_CLK_GATING \
  95. 0x00000078
  96. #define APPS_RCM_O_WDOG_A_SOFT_RESET \
  97. 0x0000007C
  98. #define APPS_RCM_O_UART_A0_CLK_GATING \
  99. 0x00000080
  100. #define APPS_RCM_O_UART_A0_SOFT_RESET \
  101. 0x00000084
  102. #define APPS_RCM_O_UART_A1_CLK_GATING \
  103. 0x00000088
  104. #define APPS_RCM_O_UART_A1_SOFT_RESET \
  105. 0x0000008C
  106. #define APPS_RCM_O_GPT_A0_CLK_GATING \
  107. 0x00000090
  108. #define APPS_RCM_O_GPT_A0_SOFT_RESET \
  109. 0x00000094
  110. #define APPS_RCM_O_GPT_A1_CLK_GATING \
  111. 0x00000098
  112. #define APPS_RCM_O_GPT_A1_SOFT_RESET \
  113. 0x0000009C
  114. #define APPS_RCM_O_GPT_A2_CLK_GATING \
  115. 0x000000A0
  116. #define APPS_RCM_O_GPT_A2_SOFT_RESET \
  117. 0x000000A4
  118. #define APPS_RCM_O_GPT_A3_CLK_GATING \
  119. 0x000000A8
  120. #define APPS_RCM_O_GPT_A3_SOFT_RESET \
  121. 0x000000AC
  122. #define APPS_RCM_O_MCASP_FRAC_CLK_CONFIG0 \
  123. 0x000000B0
  124. #define APPS_RCM_O_MCASP_FRAC_CLK_CONFIG1 \
  125. 0x000000B4
  126. #define APPS_RCM_O_CRYPTO_CLK_GATING \
  127. 0x000000B8
  128. #define APPS_RCM_O_CRYPTO_SOFT_RESET \
  129. 0x000000BC
  130. #define APPS_RCM_O_MCSPI_S0_CLK_GATING \
  131. 0x000000C8
  132. #define APPS_RCM_O_MCSPI_S0_SOFT_RESET \
  133. 0x000000CC
  134. #define APPS_RCM_O_MCSPI_S0_CLKDIV_CFG \
  135. 0x000000D0
  136. #define APPS_RCM_O_I2C_CLK_GATING \
  137. 0x000000D8
  138. #define APPS_RCM_O_I2C_SOFT_RESET \
  139. 0x000000DC
  140. #define APPS_RCM_O_APPS_LPDS_REQ \
  141. 0x000000E4
  142. #define APPS_RCM_O_APPS_TURBO_REQ \
  143. 0x000000EC
  144. #define APPS_RCM_O_APPS_DSLP_WAKE_CONFIG \
  145. 0x00000108
  146. #define APPS_RCM_O_APPS_DSLP_WAKE_TIMER_CFG \
  147. 0x0000010C
  148. #define APPS_RCM_O_APPS_RCM_SLP_WAKE_ENABLE \
  149. 0x00000110
  150. #define APPS_RCM_O_APPS_SLP_WAKETIMER_CFG \
  151. 0x00000114
  152. #define APPS_RCM_O_APPS_TO_NWP_WAKE_REQUEST \
  153. 0x00000118
  154. #define APPS_RCM_O_APPS_RCM_INTERRUPT_STATUS \
  155. 0x00000120
  156. #define APPS_RCM_O_APPS_RCM_INTERRUPT_ENABLE \
  157. 0x00000124
  158. //******************************************************************************
  159. //
  160. // The following are defines for the bit fields in the
  161. // APPS_RCM_O_CAMERA_CLK_GEN register.
  162. //
  163. //******************************************************************************
  164. #define APPS_RCM_CAMERA_CLK_GEN_CAMERA_PLLCKDIV_OFF_TIME_M \
  165. 0x00000700 // Configuration of OFF-TIME for
  166. // dividing PLL clk (240 MHz) in
  167. // generation of Camera func-clk :
  168. // "000" - 1 "001" - 2 "010" - 3
  169. // "011" - 4 "100" - 5 "101" - 6
  170. // "110" - 7 "111" - 8
  171. #define APPS_RCM_CAMERA_CLK_GEN_CAMERA_PLLCKDIV_OFF_TIME_S 8
  172. #define APPS_RCM_CAMERA_CLK_GEN_NU1_M \
  173. 0x000000F8
  174. #define APPS_RCM_CAMERA_CLK_GEN_NU1_S 3
  175. #define APPS_RCM_CAMERA_CLK_GEN_CAMERA_PLLCKDIV_ON_TIME_M \
  176. 0x00000007 // Configuration of ON-TIME for
  177. // dividing PLL clk (240 MHz) in
  178. // generation of Camera func-clk :
  179. // "000" - 1 "001" - 2 "010" - 3
  180. // "011" - 4 "100" - 5 "101" - 6
  181. // "110" - 7 "111" - 8
  182. #define APPS_RCM_CAMERA_CLK_GEN_CAMERA_PLLCKDIV_ON_TIME_S 0
  183. //******************************************************************************
  184. //
  185. // The following are defines for the bit fields in the
  186. // APPS_RCM_O_CAMERA_CLK_GATING register.
  187. //
  188. //******************************************************************************
  189. #define APPS_RCM_CAMERA_CLK_GATING_NU1_M \
  190. 0x00FE0000
  191. #define APPS_RCM_CAMERA_CLK_GATING_NU1_S 17
  192. #define APPS_RCM_CAMERA_CLK_GATING_CAMERA_DSLP_CLK_ENABLE \
  193. 0x00010000 // 0 - Disable camera clk during
  194. // deep-sleep mode
  195. #define APPS_RCM_CAMERA_CLK_GATING_NU2_M \
  196. 0x0000FE00
  197. #define APPS_RCM_CAMERA_CLK_GATING_NU2_S 9
  198. #define APPS_RCM_CAMERA_CLK_GATING_CAMERA_SLP_CLK_ENABLE \
  199. 0x00000100 // 1- Enable camera clk during
  200. // sleep mode ; 0- Disable camera
  201. // clk during sleep mode
  202. #define APPS_RCM_CAMERA_CLK_GATING_NU3_M \
  203. 0x000000FE
  204. #define APPS_RCM_CAMERA_CLK_GATING_NU3_S 1
  205. #define APPS_RCM_CAMERA_CLK_GATING_CAMERA_RUN_CLK_ENABLE \
  206. 0x00000001 // 1- Enable camera clk during run
  207. // mode ; 0- Disable camera clk
  208. // during run mode
  209. //******************************************************************************
  210. //
  211. // The following are defines for the bit fields in the
  212. // APPS_RCM_O_CAMERA_SOFT_RESET register.
  213. //
  214. //******************************************************************************
  215. #define APPS_RCM_CAMERA_SOFT_RESET_CAMERA_ENABLED_STATUS \
  216. 0x00000002 // 1 - Camera clocks/resets are
  217. // enabled ; 0 - Camera
  218. // clocks/resets are disabled
  219. #define APPS_RCM_CAMERA_SOFT_RESET_CAMERA_SOFT_RESET \
  220. 0x00000001 // 1 - Assert reset for Camera-core
  221. // ; 0 - De-assert reset for
  222. // Camera-core
  223. //******************************************************************************
  224. //
  225. // The following are defines for the bit fields in the
  226. // APPS_RCM_O_MCASP_CLK_GATING register.
  227. //
  228. //******************************************************************************
  229. #define APPS_RCM_MCASP_CLK_GATING_NU1_M \
  230. 0x00FE0000
  231. #define APPS_RCM_MCASP_CLK_GATING_NU1_S 17
  232. #define APPS_RCM_MCASP_CLK_GATING_MCASP_DSLP_CLK_ENABLE \
  233. 0x00010000 // 0 - Disable MCASP clk during
  234. // deep-sleep mode
  235. #define APPS_RCM_MCASP_CLK_GATING_NU2_M \
  236. 0x0000FE00
  237. #define APPS_RCM_MCASP_CLK_GATING_NU2_S 9
  238. #define APPS_RCM_MCASP_CLK_GATING_MCASP_SLP_CLK_ENABLE \
  239. 0x00000100 // 1- Enable MCASP clk during sleep
  240. // mode ; 0- Disable MCASP clk
  241. // during sleep mode
  242. #define APPS_RCM_MCASP_CLK_GATING_NU3_M \
  243. 0x000000FE
  244. #define APPS_RCM_MCASP_CLK_GATING_NU3_S 1
  245. #define APPS_RCM_MCASP_CLK_GATING_MCASP_RUN_CLK_ENABLE \
  246. 0x00000001 // 1- Enable MCASP clk during run
  247. // mode ; 0- Disable MCASP clk
  248. // during run mode
  249. //******************************************************************************
  250. //
  251. // The following are defines for the bit fields in the
  252. // APPS_RCM_O_MCASP_SOFT_RESET register.
  253. //
  254. //******************************************************************************
  255. #define APPS_RCM_MCASP_SOFT_RESET_MCASP_ENABLED_STATUS \
  256. 0x00000002 // 1 - MCASP Clocks/resets are
  257. // enabled ; 0 - MCASP Clocks/resets
  258. // are disabled
  259. #define APPS_RCM_MCASP_SOFT_RESET_MCASP_SOFT_RESET \
  260. 0x00000001 // 1 - Assert reset for MCASP-core
  261. // ; 0 - De-assert reset for
  262. // MCASP-core
  263. //******************************************************************************
  264. //
  265. // The following are defines for the bit fields in the
  266. // APPS_RCM_O_MMCHS_CLK_GEN register.
  267. //
  268. //******************************************************************************
  269. #define APPS_RCM_MMCHS_CLK_GEN_MMCHS_PLLCKDIV_OFF_TIME_M \
  270. 0x00000700 // Configuration of OFF-TIME for
  271. // dividing PLL clk (240 MHz) in
  272. // generation of MMCHS func-clk :
  273. // "000" - 1 "001" - 2 "010" - 3
  274. // "011" - 4 "100" - 5 "101" - 6
  275. // "110" - 7 "111" - 8
  276. #define APPS_RCM_MMCHS_CLK_GEN_MMCHS_PLLCKDIV_OFF_TIME_S 8
  277. #define APPS_RCM_MMCHS_CLK_GEN_NU1_M \
  278. 0x000000F8
  279. #define APPS_RCM_MMCHS_CLK_GEN_NU1_S 3
  280. #define APPS_RCM_MMCHS_CLK_GEN_MMCHS_PLLCKDIV_ON_TIME_M \
  281. 0x00000007 // Configuration of ON-TIME for
  282. // dividing PLL clk (240 MHz) in
  283. // generation of MMCHS func-clk :
  284. // "000" - 1 "001" - 2 "010" - 3
  285. // "011" - 4 "100" - 5 "101" - 6
  286. // "110" - 7 "111" - 8
  287. #define APPS_RCM_MMCHS_CLK_GEN_MMCHS_PLLCKDIV_ON_TIME_S 0
  288. //******************************************************************************
  289. //
  290. // The following are defines for the bit fields in the
  291. // APPS_RCM_O_MMCHS_CLK_GATING register.
  292. //
  293. //******************************************************************************
  294. #define APPS_RCM_MMCHS_CLK_GATING_NU1_M \
  295. 0x00FE0000
  296. #define APPS_RCM_MMCHS_CLK_GATING_NU1_S 17
  297. #define APPS_RCM_MMCHS_CLK_GATING_MMCHS_DSLP_CLK_ENABLE \
  298. 0x00010000 // 0 - Disable MMCHS clk during
  299. // deep-sleep mode
  300. #define APPS_RCM_MMCHS_CLK_GATING_NU2_M \
  301. 0x0000FE00
  302. #define APPS_RCM_MMCHS_CLK_GATING_NU2_S 9
  303. #define APPS_RCM_MMCHS_CLK_GATING_MMCHS_SLP_CLK_ENABLE \
  304. 0x00000100 // 1- Enable MMCHS clk during sleep
  305. // mode ; 0- Disable MMCHS clk
  306. // during sleep mode
  307. #define APPS_RCM_MMCHS_CLK_GATING_NU3_M \
  308. 0x000000FE
  309. #define APPS_RCM_MMCHS_CLK_GATING_NU3_S 1
  310. #define APPS_RCM_MMCHS_CLK_GATING_MMCHS_RUN_CLK_ENABLE \
  311. 0x00000001 // 1- Enable MMCHS clk during run
  312. // mode ; 0- Disable MMCHS clk
  313. // during run mode
  314. //******************************************************************************
  315. //
  316. // The following are defines for the bit fields in the
  317. // APPS_RCM_O_MMCHS_SOFT_RESET register.
  318. //
  319. //******************************************************************************
  320. #define APPS_RCM_MMCHS_SOFT_RESET_MMCHS_ENABLED_STATUS \
  321. 0x00000002 // 1 - MMCHS Clocks/resets are
  322. // enabled ; 0 - MMCHS Clocks/resets
  323. // are disabled
  324. #define APPS_RCM_MMCHS_SOFT_RESET_MMCHS_SOFT_RESET \
  325. 0x00000001 // 1 - Assert reset for MMCHS-core
  326. // ; 0 - De-assert reset for
  327. // MMCHS-core
  328. //******************************************************************************
  329. //
  330. // The following are defines for the bit fields in the
  331. // APPS_RCM_O_MCSPI_A1_CLK_GEN register.
  332. //
  333. //******************************************************************************
  334. #define APPS_RCM_MCSPI_A1_CLK_GEN_MCSPI_A1_BAUD_CLK_SEL \
  335. 0x00010000 // 0 - XTAL clk is used as baud clk
  336. // for MCSPI_A1 ; 1 - PLL divclk is
  337. // used as baud clk for MCSPI_A1.
  338. #define APPS_RCM_MCSPI_A1_CLK_GEN_NU1_M \
  339. 0x0000F800
  340. #define APPS_RCM_MCSPI_A1_CLK_GEN_NU1_S 11
  341. #define APPS_RCM_MCSPI_A1_CLK_GEN_MCSPI_A1_PLLCLKDIV_OFF_TIME_M \
  342. 0x00000700 // Configuration of OFF-TIME for
  343. // dividing PLL clk (240 MHz) in
  344. // generation of MCSPI_A1 func-clk :
  345. // "000" - 1 "001" - 2 "010" - 3
  346. // "011" - 4 "100" - 5 "101" - 6
  347. // "110" - 7 "111" - 8
  348. #define APPS_RCM_MCSPI_A1_CLK_GEN_MCSPI_A1_PLLCLKDIV_OFF_TIME_S 8
  349. #define APPS_RCM_MCSPI_A1_CLK_GEN_NU2_M \
  350. 0x000000F8
  351. #define APPS_RCM_MCSPI_A1_CLK_GEN_NU2_S 3
  352. #define APPS_RCM_MCSPI_A1_CLK_GEN_MCSPI_A1_PLLCLKDIV_ON_TIME_M \
  353. 0x00000007 // Configuration of ON-TIME for
  354. // dividing PLL clk (240 MHz) in
  355. // generation of MCSPI_A1 func-clk :
  356. // "000" - 1 "001" - 2 "010" - 3
  357. // "011" - 4 "100" - 5 "101" - 6
  358. // "110" - 7 "111" - 8
  359. #define APPS_RCM_MCSPI_A1_CLK_GEN_MCSPI_A1_PLLCLKDIV_ON_TIME_S 0
  360. //******************************************************************************
  361. //
  362. // The following are defines for the bit fields in the
  363. // APPS_RCM_O_MCSPI_A1_CLK_GATING register.
  364. //
  365. //******************************************************************************
  366. #define APPS_RCM_MCSPI_A1_CLK_GATING_NU1_M \
  367. 0x00FE0000
  368. #define APPS_RCM_MCSPI_A1_CLK_GATING_NU1_S 17
  369. #define APPS_RCM_MCSPI_A1_CLK_GATING_MCSPI_A1_DSLP_CLK_ENABLE \
  370. 0x00010000 // 0 - Disable MCSPI_A1 clk during
  371. // deep-sleep mode
  372. #define APPS_RCM_MCSPI_A1_CLK_GATING_NU2_M \
  373. 0x0000FE00
  374. #define APPS_RCM_MCSPI_A1_CLK_GATING_NU2_S 9
  375. #define APPS_RCM_MCSPI_A1_CLK_GATING_MCSPI_A1_SLP_CLK_ENABLE \
  376. 0x00000100 // 1- Enable MCSPI_A1 clk during
  377. // sleep mode ; 0- Disable MCSPI_A1
  378. // clk during sleep mode
  379. #define APPS_RCM_MCSPI_A1_CLK_GATING_NU3_M \
  380. 0x000000FE
  381. #define APPS_RCM_MCSPI_A1_CLK_GATING_NU3_S 1
  382. #define APPS_RCM_MCSPI_A1_CLK_GATING_MCSPI_A1_RUN_CLK_ENABLE \
  383. 0x00000001 // 1- Enable MCSPI_A1 clk during
  384. // run mode ; 0- Disable MCSPI_A1
  385. // clk during run mode
  386. //******************************************************************************
  387. //
  388. // The following are defines for the bit fields in the
  389. // APPS_RCM_O_MCSPI_A1_SOFT_RESET register.
  390. //
  391. //******************************************************************************
  392. #define APPS_RCM_MCSPI_A1_SOFT_RESET_MCSPI_A1_ENABLED_STATUS \
  393. 0x00000002 // 1 - MCSPI_A1 Clocks/Resets are
  394. // enabled ; 0 - MCSPI_A1
  395. // Clocks/Resets are disabled
  396. #define APPS_RCM_MCSPI_A1_SOFT_RESET_MCSPI_A1_SOFT_RESET \
  397. 0x00000001 // 1 - Assert reset for
  398. // MCSPI_A1-core ; 0 - De-assert
  399. // reset for MCSPI_A1-core
  400. //******************************************************************************
  401. //
  402. // The following are defines for the bit fields in the
  403. // APPS_RCM_O_MCSPI_A2_CLK_GEN register.
  404. //
  405. //******************************************************************************
  406. #define APPS_RCM_MCSPI_A2_CLK_GEN_MCSPI_A2_BAUD_CLK_SEL \
  407. 0x00010000 // 0 - XTAL clk is used as baud-clk
  408. // for MCSPI_A2 ; 1 - PLL divclk is
  409. // used as baud-clk for MCSPI_A2
  410. #define APPS_RCM_MCSPI_A2_CLK_GEN_NU1_M \
  411. 0x0000F800
  412. #define APPS_RCM_MCSPI_A2_CLK_GEN_NU1_S 11
  413. #define APPS_RCM_MCSPI_A2_CLK_GEN_MCSPI_A2_PLLCKDIV_OFF_TIME_M \
  414. 0x00000700 // Configuration of OFF-TIME for
  415. // dividing PLL clk (240 MHz) in
  416. // generation of MCSPI_A2 func-clk :
  417. // "000" - 1 "001" - 2 "010" - 3
  418. // "011" - 4 "100" - 5 "101" - 6
  419. // "110" - 7 "111" - 8
  420. #define APPS_RCM_MCSPI_A2_CLK_GEN_MCSPI_A2_PLLCKDIV_OFF_TIME_S 8
  421. #define APPS_RCM_MCSPI_A2_CLK_GEN_NU2_M \
  422. 0x000000F8
  423. #define APPS_RCM_MCSPI_A2_CLK_GEN_NU2_S 3
  424. #define APPS_RCM_MCSPI_A2_CLK_GEN_MCSPI_A2_PLLCKDIV_ON_TIME_M \
  425. 0x00000007 // Configuration of OFF-TIME for
  426. // dividing PLL clk (240 MHz) in
  427. // generation of MCSPI_A2 func-clk :
  428. // "000" - 1 "001" - 2 "010" - 3
  429. // "011" - 4 "100" - 5 "101" - 6
  430. // "110" - 7 "111" - 8
  431. #define APPS_RCM_MCSPI_A2_CLK_GEN_MCSPI_A2_PLLCKDIV_ON_TIME_S 0
  432. //******************************************************************************
  433. //
  434. // The following are defines for the bit fields in the
  435. // APPS_RCM_O_MCSPI_A2_CLK_GATING register.
  436. //
  437. //******************************************************************************
  438. #define APPS_RCM_MCSPI_A2_CLK_GATING_NU1_M \
  439. 0x00FE0000
  440. #define APPS_RCM_MCSPI_A2_CLK_GATING_NU1_S 17
  441. #define APPS_RCM_MCSPI_A2_CLK_GATING_MCSPI_A2_DSLP_CLK_ENABLE \
  442. 0x00010000 // 0 - Disable MCSPI_A2 clk during
  443. // deep-sleep mode
  444. #define APPS_RCM_MCSPI_A2_CLK_GATING_NU2_M \
  445. 0x0000FE00
  446. #define APPS_RCM_MCSPI_A2_CLK_GATING_NU2_S 9
  447. #define APPS_RCM_MCSPI_A2_CLK_GATING_MCSPI_A2_SLP_CLK_ENABLE \
  448. 0x00000100 // 1- Enable MCSPI_A2 clk during
  449. // sleep mode ; 0- Disable MCSPI_A2
  450. // clk during sleep mode
  451. #define APPS_RCM_MCSPI_A2_CLK_GATING_NU3_M \
  452. 0x000000FE
  453. #define APPS_RCM_MCSPI_A2_CLK_GATING_NU3_S 1
  454. #define APPS_RCM_MCSPI_A2_CLK_GATING_MCSPI_A2_RUN_CLK_ENABLE \
  455. 0x00000001 // 1- Enable MCSPI_A2 clk during
  456. // run mode ; 0- Disable MCSPI_A2
  457. // clk during run mode
  458. //******************************************************************************
  459. //
  460. // The following are defines for the bit fields in the
  461. // APPS_RCM_O_MCSPI_A2_SOFT_RESET register.
  462. //
  463. //******************************************************************************
  464. #define APPS_RCM_MCSPI_A2_SOFT_RESET_MCSPI_A2_ENABLED_STATUS \
  465. 0x00000002 // 1 - MCSPI_A2 Clocks/Resets are
  466. // enabled ; 0 - MCSPI_A2
  467. // Clocks/Resets are disabled
  468. #define APPS_RCM_MCSPI_A2_SOFT_RESET_MCSPI_A2_SOFT_RESET \
  469. 0x00000001 // 1 - Assert reset for
  470. // MCSPI_A2-core ; 0 - De-assert
  471. // reset for MCSPI_A2-core
  472. //******************************************************************************
  473. //
  474. // The following are defines for the bit fields in the
  475. // APPS_RCM_O_UDMA_A_CLK_GATING register.
  476. //
  477. //******************************************************************************
  478. #define APPS_RCM_UDMA_A_CLK_GATING_UDMA_A_DSLP_CLK_ENABLE \
  479. 0x00010000 // 1 - Enable UDMA_A clk during
  480. // deep-sleep mode 0 - Disable
  481. // UDMA_A clk during deep-sleep mode
  482. // ;
  483. #define APPS_RCM_UDMA_A_CLK_GATING_NU1_M \
  484. 0x0000FE00
  485. #define APPS_RCM_UDMA_A_CLK_GATING_NU1_S 9
  486. #define APPS_RCM_UDMA_A_CLK_GATING_UDMA_A_SLP_CLK_ENABLE \
  487. 0x00000100 // 1 - Enable UDMA_A clk during
  488. // sleep mode 0 - Disable UDMA_A clk
  489. // during sleep mode ;
  490. #define APPS_RCM_UDMA_A_CLK_GATING_NU2_M \
  491. 0x000000FE
  492. #define APPS_RCM_UDMA_A_CLK_GATING_NU2_S 1
  493. #define APPS_RCM_UDMA_A_CLK_GATING_UDMA_A_RUN_CLK_ENABLE \
  494. 0x00000001 // 1 - Enable UDMA_A clk during run
  495. // mode 0 - Disable UDMA_A clk
  496. // during run mode ;
  497. //******************************************************************************
  498. //
  499. // The following are defines for the bit fields in the
  500. // APPS_RCM_O_UDMA_A_SOFT_RESET register.
  501. //
  502. //******************************************************************************
  503. #define APPS_RCM_UDMA_A_SOFT_RESET_UDMA_A_ENABLED_STATUS \
  504. 0x00000002 // 1 - UDMA_A Clocks/Resets are
  505. // enabled ; 0 - UDMA_A
  506. // Clocks/Resets are disabled
  507. #define APPS_RCM_UDMA_A_SOFT_RESET_UDMA_A_SOFT_RESET \
  508. 0x00000001 // 1 - Assert reset for DMA_A ; 0 -
  509. // De-assert reset for DMA_A
  510. //******************************************************************************
  511. //
  512. // The following are defines for the bit fields in the
  513. // APPS_RCM_O_GPIO_A_CLK_GATING register.
  514. //
  515. //******************************************************************************
  516. #define APPS_RCM_GPIO_A_CLK_GATING_GPIO_A_DSLP_CLK_ENABLE \
  517. 0x00010000 // 1 - Enable GPIO_A clk during
  518. // deep-sleep mode 0 - Disable
  519. // GPIO_A clk during deep-sleep mode
  520. // ;
  521. #define APPS_RCM_GPIO_A_CLK_GATING_NU1_M \
  522. 0x0000FE00
  523. #define APPS_RCM_GPIO_A_CLK_GATING_NU1_S 9
  524. #define APPS_RCM_GPIO_A_CLK_GATING_GPIO_A_SLP_CLK_ENABLE \
  525. 0x00000100 // 1 - Enable GPIO_A clk during
  526. // sleep mode 0 - Disable GPIO_A clk
  527. // during sleep mode ;
  528. #define APPS_RCM_GPIO_A_CLK_GATING_NU2_M \
  529. 0x000000FE
  530. #define APPS_RCM_GPIO_A_CLK_GATING_NU2_S 1
  531. #define APPS_RCM_GPIO_A_CLK_GATING_GPIO_A_RUN_CLK_ENABLE \
  532. 0x00000001 // 1 - Enable GPIO_A clk during run
  533. // mode 0 - Disable GPIO_A clk
  534. // during run mode ;
  535. //******************************************************************************
  536. //
  537. // The following are defines for the bit fields in the
  538. // APPS_RCM_O_GPIO_A_SOFT_RESET register.
  539. //
  540. //******************************************************************************
  541. #define APPS_RCM_GPIO_A_SOFT_RESET_GPIO_A_ENABLED_STATUS \
  542. 0x00000002 // 1 - GPIO_A Clocks/Resets are
  543. // enabled ; 0 - GPIO_A
  544. // Clocks/Resets are disabled
  545. #define APPS_RCM_GPIO_A_SOFT_RESET_GPIO_A_SOFT_RESET \
  546. 0x00000001 // 1 - Assert reset for GPIO_A ; 0
  547. // - De-assert reset for GPIO_A
  548. //******************************************************************************
  549. //
  550. // The following are defines for the bit fields in the
  551. // APPS_RCM_O_GPIO_B_CLK_GATING register.
  552. //
  553. //******************************************************************************
  554. #define APPS_RCM_GPIO_B_CLK_GATING_GPIO_B_DSLP_CLK_ENABLE \
  555. 0x00010000 // 1 - Enable GPIO_B clk during
  556. // deep-sleep mode 0 - Disable
  557. // GPIO_B clk during deep-sleep mode
  558. // ;
  559. #define APPS_RCM_GPIO_B_CLK_GATING_NU1_M \
  560. 0x0000FE00
  561. #define APPS_RCM_GPIO_B_CLK_GATING_NU1_S 9
  562. #define APPS_RCM_GPIO_B_CLK_GATING_GPIO_B_SLP_CLK_ENABLE \
  563. 0x00000100 // 1 - Enable GPIO_B clk during
  564. // sleep mode 0 - Disable GPIO_B clk
  565. // during sleep mode ;
  566. #define APPS_RCM_GPIO_B_CLK_GATING_NU2_M \
  567. 0x000000FE
  568. #define APPS_RCM_GPIO_B_CLK_GATING_NU2_S 1
  569. #define APPS_RCM_GPIO_B_CLK_GATING_GPIO_B_RUN_CLK_ENABLE \
  570. 0x00000001 // 1 - Enable GPIO_B clk during run
  571. // mode 0 - Disable GPIO_B clk
  572. // during run mode ;
  573. //******************************************************************************
  574. //
  575. // The following are defines for the bit fields in the
  576. // APPS_RCM_O_GPIO_B_SOFT_RESET register.
  577. //
  578. //******************************************************************************
  579. #define APPS_RCM_GPIO_B_SOFT_RESET_GPIO_B_ENABLED_STATUS \
  580. 0x00000002 // 1 - GPIO_B Clocks/Resets are
  581. // enabled ; 0 - GPIO_B
  582. // Clocks/Resets are disabled
  583. #define APPS_RCM_GPIO_B_SOFT_RESET_GPIO_B_SOFT_RESET \
  584. 0x00000001 // 1 - Assert reset for GPIO_B ; 0
  585. // - De-assert reset for GPIO_B
  586. //******************************************************************************
  587. //
  588. // The following are defines for the bit fields in the
  589. // APPS_RCM_O_GPIO_C_CLK_GATING register.
  590. //
  591. //******************************************************************************
  592. #define APPS_RCM_GPIO_C_CLK_GATING_GPIO_C_DSLP_CLK_ENABLE \
  593. 0x00010000 // 1 - Enable GPIO_C clk during
  594. // deep-sleep mode 0 - Disable
  595. // GPIO_C clk during deep-sleep mode
  596. // ;
  597. #define APPS_RCM_GPIO_C_CLK_GATING_NU1_M \
  598. 0x0000FE00
  599. #define APPS_RCM_GPIO_C_CLK_GATING_NU1_S 9
  600. #define APPS_RCM_GPIO_C_CLK_GATING_GPIO_C_SLP_CLK_ENABLE \
  601. 0x00000100 // 1 - Enable GPIO_C clk during
  602. // sleep mode 0 - Disable GPIO_C clk
  603. // during sleep mode ;
  604. #define APPS_RCM_GPIO_C_CLK_GATING_NU2_M \
  605. 0x000000FE
  606. #define APPS_RCM_GPIO_C_CLK_GATING_NU2_S 1
  607. #define APPS_RCM_GPIO_C_CLK_GATING_GPIO_C_RUN_CLK_ENABLE \
  608. 0x00000001 // 1 - Enable GPIO_C clk during run
  609. // mode 0 - Disable GPIO_C clk
  610. // during run mode ;
  611. //******************************************************************************
  612. //
  613. // The following are defines for the bit fields in the
  614. // APPS_RCM_O_GPIO_C_SOFT_RESET register.
  615. //
  616. //******************************************************************************
  617. #define APPS_RCM_GPIO_C_SOFT_RESET_GPIO_C_ENABLED_STATUS \
  618. 0x00000002 // 1 - GPIO_C Clocks/Resets are
  619. // enabled ; 0 - GPIO_C
  620. // Clocks/Resets are disabled
  621. #define APPS_RCM_GPIO_C_SOFT_RESET_GPIO_C_SOFT_RESET \
  622. 0x00000001 // 1 - Assert reset for GPIO_C ; 0
  623. // - De-assert reset for GPIO_C
  624. //******************************************************************************
  625. //
  626. // The following are defines for the bit fields in the
  627. // APPS_RCM_O_GPIO_D_CLK_GATING register.
  628. //
  629. //******************************************************************************
  630. #define APPS_RCM_GPIO_D_CLK_GATING_GPIO_D_DSLP_CLK_ENABLE \
  631. 0x00010000 // 1 - Enable GPIO_D clk during
  632. // deep-sleep mode 0 - Disable
  633. // GPIO_D clk during deep-sleep mode
  634. // ;
  635. #define APPS_RCM_GPIO_D_CLK_GATING_NU1_M \
  636. 0x0000FE00
  637. #define APPS_RCM_GPIO_D_CLK_GATING_NU1_S 9
  638. #define APPS_RCM_GPIO_D_CLK_GATING_GPIO_D_SLP_CLK_ENABLE \
  639. 0x00000100 // 1 - Enable GPIO_D clk during
  640. // sleep mode 0 - Disable GPIO_D clk
  641. // during sleep mode ;
  642. #define APPS_RCM_GPIO_D_CLK_GATING_NU2_M \
  643. 0x000000FE
  644. #define APPS_RCM_GPIO_D_CLK_GATING_NU2_S 1
  645. #define APPS_RCM_GPIO_D_CLK_GATING_GPIO_D_RUN_CLK_ENABLE \
  646. 0x00000001 // 1 - Enable GPIO_D clk during run
  647. // mode 0 - Disable GPIO_D clk
  648. // during run mode ;
  649. //******************************************************************************
  650. //
  651. // The following are defines for the bit fields in the
  652. // APPS_RCM_O_GPIO_D_SOFT_RESET register.
  653. //
  654. //******************************************************************************
  655. #define APPS_RCM_GPIO_D_SOFT_RESET_GPIO_D_ENABLED_STATUS \
  656. 0x00000002 // 1 - GPIO_D Clocks/Resets are
  657. // enabled ; 0 - GPIO_D
  658. // Clocks/Resets are disabled
  659. #define APPS_RCM_GPIO_D_SOFT_RESET_GPIO_D_SOFT_RESET \
  660. 0x00000001 // 1 - Assert reset for GPIO_D ; 0
  661. // - De-assert reset for GPIO_D
  662. //******************************************************************************
  663. //
  664. // The following are defines for the bit fields in the
  665. // APPS_RCM_O_GPIO_E_CLK_GATING register.
  666. //
  667. //******************************************************************************
  668. #define APPS_RCM_GPIO_E_CLK_GATING_GPIO_E_DSLP_CLK_ENABLE \
  669. 0x00010000 // 1 - Enable GPIO_E clk during
  670. // deep-sleep mode 0 - Disable
  671. // GPIO_E clk during deep-sleep mode
  672. // ;
  673. #define APPS_RCM_GPIO_E_CLK_GATING_NU1_M \
  674. 0x0000FE00
  675. #define APPS_RCM_GPIO_E_CLK_GATING_NU1_S 9
  676. #define APPS_RCM_GPIO_E_CLK_GATING_GPIO_E_SLP_CLK_ENABLE \
  677. 0x00000100 // 1 - Enable GPIO_E clk during
  678. // sleep mode 0 - Disable GPIO_E clk
  679. // during sleep mode ;
  680. #define APPS_RCM_GPIO_E_CLK_GATING_NU2_M \
  681. 0x000000FE
  682. #define APPS_RCM_GPIO_E_CLK_GATING_NU2_S 1
  683. #define APPS_RCM_GPIO_E_CLK_GATING_GPIO_E_RUN_CLK_ENABLE \
  684. 0x00000001 // 1 - Enable GPIO_E clk during run
  685. // mode 0 - Disable GPIO_E clk
  686. // during run mode ;
  687. //******************************************************************************
  688. //
  689. // The following are defines for the bit fields in the
  690. // APPS_RCM_O_GPIO_E_SOFT_RESET register.
  691. //
  692. //******************************************************************************
  693. #define APPS_RCM_GPIO_E_SOFT_RESET_GPIO_E_ENABLED_STATUS \
  694. 0x00000002 // 1 - GPIO_E Clocks/Resets are
  695. // enabled ; 0 - GPIO_E
  696. // Clocks/Resets are disabled
  697. #define APPS_RCM_GPIO_E_SOFT_RESET_GPIO_E_SOFT_RESET \
  698. 0x00000001 // 1 - Assert reset for GPIO_E ; 0
  699. // - De-assert reset for GPIO_E
  700. //******************************************************************************
  701. //
  702. // The following are defines for the bit fields in the
  703. // APPS_RCM_O_WDOG_A_CLK_GATING register.
  704. //
  705. //******************************************************************************
  706. #define APPS_RCM_WDOG_A_CLK_GATING_WDOG_A_BAUD_CLK_SEL_M \
  707. 0x03000000 // "00" - Sysclk ; "01" - REF_CLK
  708. // (38.4 MHz) ; "10/11" - Slow_clk
  709. #define APPS_RCM_WDOG_A_CLK_GATING_WDOG_A_BAUD_CLK_SEL_S 24
  710. #define APPS_RCM_WDOG_A_CLK_GATING_WDOG_A_DSLP_CLK_ENABLE \
  711. 0x00010000 // 1 - Enable WDOG_A clk during
  712. // deep-sleep mode 0 - Disable
  713. // WDOG_A clk during deep-sleep mode
  714. // ;
  715. #define APPS_RCM_WDOG_A_CLK_GATING_NU1_M \
  716. 0x0000FE00
  717. #define APPS_RCM_WDOG_A_CLK_GATING_NU1_S 9
  718. #define APPS_RCM_WDOG_A_CLK_GATING_WDOG_A_SLP_CLK_ENABLE \
  719. 0x00000100 // 1 - Enable WDOG_A clk during
  720. // sleep mode 0 - Disable WDOG_A clk
  721. // during sleep mode ;
  722. #define APPS_RCM_WDOG_A_CLK_GATING_NU2_M \
  723. 0x000000FE
  724. #define APPS_RCM_WDOG_A_CLK_GATING_NU2_S 1
  725. #define APPS_RCM_WDOG_A_CLK_GATING_WDOG_A_RUN_CLK_ENABLE \
  726. 0x00000001 // 1 - Enable WDOG_A clk during run
  727. // mode 0 - Disable WDOG_A clk
  728. // during run mode ;
  729. //******************************************************************************
  730. //
  731. // The following are defines for the bit fields in the
  732. // APPS_RCM_O_WDOG_A_SOFT_RESET register.
  733. //
  734. //******************************************************************************
  735. #define APPS_RCM_WDOG_A_SOFT_RESET_WDOG_A_ENABLED_STATUS \
  736. 0x00000002 // 1 - WDOG_A Clocks/Resets are
  737. // enabled ; 0 - WDOG_A
  738. // Clocks/Resets are disabled
  739. #define APPS_RCM_WDOG_A_SOFT_RESET_WDOG_A_SOFT_RESET \
  740. 0x00000001 // 1 - Assert reset for WDOG_A ; 0
  741. // - De-assert reset for WDOG_A
  742. //******************************************************************************
  743. //
  744. // The following are defines for the bit fields in the
  745. // APPS_RCM_O_UART_A0_CLK_GATING register.
  746. //
  747. //******************************************************************************
  748. #define APPS_RCM_UART_A0_CLK_GATING_UART_A0_DSLP_CLK_ENABLE \
  749. 0x00010000 // 1 - Enable UART_A0 clk during
  750. // deep-sleep mode 0 - Disable
  751. // UART_A0 clk during deep-sleep
  752. // mode ;
  753. #define APPS_RCM_UART_A0_CLK_GATING_NU1_M \
  754. 0x0000FE00
  755. #define APPS_RCM_UART_A0_CLK_GATING_NU1_S 9
  756. #define APPS_RCM_UART_A0_CLK_GATING_UART_A0_SLP_CLK_ENABLE \
  757. 0x00000100 // 1 - Enable UART_A0 clk during
  758. // sleep mode 0 - Disable UART_A0
  759. // clk during sleep mode ;
  760. #define APPS_RCM_UART_A0_CLK_GATING_NU2_M \
  761. 0x000000FE
  762. #define APPS_RCM_UART_A0_CLK_GATING_NU2_S 1
  763. #define APPS_RCM_UART_A0_CLK_GATING_UART_A0_RUN_CLK_ENABLE \
  764. 0x00000001 // 1 - Enable UART_A0 clk during
  765. // run mode 0 - Disable UART_A0 clk
  766. // during run mode ;
  767. //******************************************************************************
  768. //
  769. // The following are defines for the bit fields in the
  770. // APPS_RCM_O_UART_A0_SOFT_RESET register.
  771. //
  772. //******************************************************************************
  773. #define APPS_RCM_UART_A0_SOFT_RESET_UART_A0_ENABLED_STATUS \
  774. 0x00000002 // 1 - UART_A0 Clocks/Resets are
  775. // enabled ; 0 - UART_A0
  776. // Clocks/Resets are disabled
  777. #define APPS_RCM_UART_A0_SOFT_RESET_UART_A0_SOFT_RESET \
  778. 0x00000001 // 1 - Assert reset for UART_A0 ; 0
  779. // - De-assert reset for UART_A0
  780. //******************************************************************************
  781. //
  782. // The following are defines for the bit fields in the
  783. // APPS_RCM_O_UART_A1_CLK_GATING register.
  784. //
  785. //******************************************************************************
  786. #define APPS_RCM_UART_A1_CLK_GATING_UART_A1_DSLP_CLK_ENABLE \
  787. 0x00010000 // 1 - Enable UART_A1 clk during
  788. // deep-sleep mode 0 - Disable
  789. // UART_A1 clk during deep-sleep
  790. // mode ;
  791. #define APPS_RCM_UART_A1_CLK_GATING_NU1_M \
  792. 0x0000FE00
  793. #define APPS_RCM_UART_A1_CLK_GATING_NU1_S 9
  794. #define APPS_RCM_UART_A1_CLK_GATING_UART_A1_SLP_CLK_ENABLE \
  795. 0x00000100 // 1 - Enable UART_A1 clk during
  796. // sleep mode 0 - Disable UART_A1
  797. // clk during sleep mode ;
  798. #define APPS_RCM_UART_A1_CLK_GATING_NU2_M \
  799. 0x000000FE
  800. #define APPS_RCM_UART_A1_CLK_GATING_NU2_S 1
  801. #define APPS_RCM_UART_A1_CLK_GATING_UART_A1_RUN_CLK_ENABLE \
  802. 0x00000001 // 1 - Enable UART_A1 clk during
  803. // run mode 0 - Disable UART_A1 clk
  804. // during run mode ;
  805. //******************************************************************************
  806. //
  807. // The following are defines for the bit fields in the
  808. // APPS_RCM_O_UART_A1_SOFT_RESET register.
  809. //
  810. //******************************************************************************
  811. #define APPS_RCM_UART_A1_SOFT_RESET_UART_A1_ENABLED_STATUS \
  812. 0x00000002 // 1 - UART_A1 Clocks/Resets are
  813. // enabled ; 0 - UART_A1
  814. // Clocks/Resets are disabled
  815. #define APPS_RCM_UART_A1_SOFT_RESET_UART_A1_SOFT_RESET \
  816. 0x00000001 // 1 - Assert the soft reset for
  817. // UART_A1 ; 0 - De-assert the soft
  818. // reset for UART_A1
  819. //******************************************************************************
  820. //
  821. // The following are defines for the bit fields in the
  822. // APPS_RCM_O_GPT_A0_CLK_GATING register.
  823. //
  824. //******************************************************************************
  825. #define APPS_RCM_GPT_A0_CLK_GATING_GPT_A0_DSLP_CLK_ENABLE \
  826. 0x00010000 // 1 - Enable the GPT_A0 clock
  827. // during deep-sleep ; 0 - Disable
  828. // the GPT_A0 clock during
  829. // deep-sleep
  830. #define APPS_RCM_GPT_A0_CLK_GATING_NU1_M \
  831. 0x0000FE00
  832. #define APPS_RCM_GPT_A0_CLK_GATING_NU1_S 9
  833. #define APPS_RCM_GPT_A0_CLK_GATING_GPT_A0_SLP_CLK_ENABLE \
  834. 0x00000100 // 1 - Enable the GPT_A0 clock
  835. // during sleep ; 0 - Disable the
  836. // GPT_A0 clock during sleep
  837. #define APPS_RCM_GPT_A0_CLK_GATING_NU2_M \
  838. 0x000000FE
  839. #define APPS_RCM_GPT_A0_CLK_GATING_NU2_S 1
  840. #define APPS_RCM_GPT_A0_CLK_GATING_GPT_A0_RUN_CLK_ENABLE \
  841. 0x00000001 // 1 - Enable the GPT_A0 clock
  842. // during run ; 0 - Disable the
  843. // GPT_A0 clock during run
  844. //******************************************************************************
  845. //
  846. // The following are defines for the bit fields in the
  847. // APPS_RCM_O_GPT_A0_SOFT_RESET register.
  848. //
  849. //******************************************************************************
  850. #define APPS_RCM_GPT_A0_SOFT_RESET_GPT_A0_ENABLED_STATUS \
  851. 0x00000002 // 1 - GPT_A0 clocks/resets are
  852. // enabled ; 0 - GPT_A0
  853. // clocks/resets are disabled
  854. #define APPS_RCM_GPT_A0_SOFT_RESET_GPT_A0_SOFT_RESET \
  855. 0x00000001 // 1 - Assert the soft reset for
  856. // GPT_A0 ; 0 - De-assert the soft
  857. // reset for GPT_A0
  858. //******************************************************************************
  859. //
  860. // The following are defines for the bit fields in the
  861. // APPS_RCM_O_GPT_A1_CLK_GATING register.
  862. //
  863. //******************************************************************************
  864. #define APPS_RCM_GPT_A1_CLK_GATING_GPT_A1_DSLP_CLK_ENABLE \
  865. 0x00010000 // 1 - Enable the GPT_A1 clock
  866. // during deep-sleep ; 0 - Disable
  867. // the GPT_A1 clock during
  868. // deep-sleep
  869. #define APPS_RCM_GPT_A1_CLK_GATING_NU1_M \
  870. 0x0000FE00
  871. #define APPS_RCM_GPT_A1_CLK_GATING_NU1_S 9
  872. #define APPS_RCM_GPT_A1_CLK_GATING_GPT_A1_SLP_CLK_ENABLE \
  873. 0x00000100 // 1 - Enable the GPT_A1 clock
  874. // during sleep ; 0 - Disable the
  875. // GPT_A1 clock during sleep
  876. #define APPS_RCM_GPT_A1_CLK_GATING_NU2_M \
  877. 0x000000FE
  878. #define APPS_RCM_GPT_A1_CLK_GATING_NU2_S 1
  879. #define APPS_RCM_GPT_A1_CLK_GATING_GPT_A1_RUN_CLK_ENABLE \
  880. 0x00000001 // 1 - Enable the GPT_A1 clock
  881. // during run ; 0 - Disable the
  882. // GPT_A1 clock during run
  883. //******************************************************************************
  884. //
  885. // The following are defines for the bit fields in the
  886. // APPS_RCM_O_GPT_A1_SOFT_RESET register.
  887. //
  888. //******************************************************************************
  889. #define APPS_RCM_GPT_A1_SOFT_RESET_GPT_A1_ENABLED_STATUS \
  890. 0x00000002 // 1 - GPT_A1 clocks/resets are
  891. // enabled ; 0 - GPT_A1
  892. // clocks/resets are disabled
  893. #define APPS_RCM_GPT_A1_SOFT_RESET_GPT_A1_SOFT_RESET \
  894. 0x00000001 // 1 - Assert the soft reset for
  895. // GPT_A1 ; 0 - De-assert the soft
  896. // reset for GPT_A1
  897. //******************************************************************************
  898. //
  899. // The following are defines for the bit fields in the
  900. // APPS_RCM_O_GPT_A2_CLK_GATING register.
  901. //
  902. //******************************************************************************
  903. #define APPS_RCM_GPT_A2_CLK_GATING_GPT_A2_DSLP_CLK_ENABLE \
  904. 0x00010000 // 1 - Enable the GPT_A2 clock
  905. // during deep-sleep ; 0 - Disable
  906. // the GPT_A2 clock during
  907. // deep-sleep
  908. #define APPS_RCM_GPT_A2_CLK_GATING_NU1_M \
  909. 0x0000FE00
  910. #define APPS_RCM_GPT_A2_CLK_GATING_NU1_S 9
  911. #define APPS_RCM_GPT_A2_CLK_GATING_GPT_A2_SLP_CLK_ENABLE \
  912. 0x00000100 // 1 - Enable the GPT_A2 clock
  913. // during sleep ; 0 - Disable the
  914. // GPT_A2 clock during sleep
  915. #define APPS_RCM_GPT_A2_CLK_GATING_NU2_M \
  916. 0x000000FE
  917. #define APPS_RCM_GPT_A2_CLK_GATING_NU2_S 1
  918. #define APPS_RCM_GPT_A2_CLK_GATING_GPT_A2_RUN_CLK_ENABLE \
  919. 0x00000001 // 1 - Enable the GPT_A2 clock
  920. // during run ; 0 - Disable the
  921. // GPT_A2 clock during run
  922. //******************************************************************************
  923. //
  924. // The following are defines for the bit fields in the
  925. // APPS_RCM_O_GPT_A2_SOFT_RESET register.
  926. //
  927. //******************************************************************************
  928. #define APPS_RCM_GPT_A2_SOFT_RESET_GPT_A2_ENABLED_STATUS \
  929. 0x00000002 // 1 - GPT_A2 clocks/resets are
  930. // enabled ; 0 - GPT_A2
  931. // clocks/resets are disabled
  932. #define APPS_RCM_GPT_A2_SOFT_RESET_GPT_A2_SOFT_RESET \
  933. 0x00000001 // 1 - Assert the soft reset for
  934. // GPT_A2 ; 0 - De-assert the soft
  935. // reset for GPT_A2
  936. //******************************************************************************
  937. //
  938. // The following are defines for the bit fields in the
  939. // APPS_RCM_O_GPT_A3_CLK_GATING register.
  940. //
  941. //******************************************************************************
  942. #define APPS_RCM_GPT_A3_CLK_GATING_GPT_A3_DSLP_CLK_ENABLE \
  943. 0x00010000 // 1 - Enable the GPT_A3 clock
  944. // during deep-sleep ; 0 - Disable
  945. // the GPT_A3 clock during
  946. // deep-sleep
  947. #define APPS_RCM_GPT_A3_CLK_GATING_NU1_M \
  948. 0x0000FE00
  949. #define APPS_RCM_GPT_A3_CLK_GATING_NU1_S 9
  950. #define APPS_RCM_GPT_A3_CLK_GATING_GPT_A3_SLP_CLK_ENABLE \
  951. 0x00000100 // 1 - Enable the GPT_A3 clock
  952. // during sleep ; 0 - Disable the
  953. // GPT_A3 clock during sleep
  954. #define APPS_RCM_GPT_A3_CLK_GATING_NU2_M \
  955. 0x000000FE
  956. #define APPS_RCM_GPT_A3_CLK_GATING_NU2_S 1
  957. #define APPS_RCM_GPT_A3_CLK_GATING_GPT_A3_RUN_CLK_ENABLE \
  958. 0x00000001 // 1 - Enable the GPT_A3 clock
  959. // during run ; 0 - Disable the
  960. // GPT_A3 clock during run
  961. //******************************************************************************
  962. //
  963. // The following are defines for the bit fields in the
  964. // APPS_RCM_O_GPT_A3_SOFT_RESET register.
  965. //
  966. //******************************************************************************
  967. #define APPS_RCM_GPT_A3_SOFT_RESET_GPT_A3_ENABLED_STATUS \
  968. 0x00000002 // 1 - GPT_A3 Clocks/resets are
  969. // enabled ; 0 - GPT_A3
  970. // Clocks/resets are disabled
  971. #define APPS_RCM_GPT_A3_SOFT_RESET_GPT_A3_SOFT_RESET \
  972. 0x00000001 // 1 - Assert the soft reset for
  973. // GPT_A3 ; 0 - De-assert the soft
  974. // reset for GPT_A3
  975. //******************************************************************************
  976. //
  977. // The following are defines for the bit fields in the
  978. // APPS_RCM_O_MCASP_FRAC_CLK_CONFIG0 register.
  979. //
  980. //******************************************************************************
  981. #define APPS_RCM_MCASP_FRAC_CLK_CONFIG0_MCASP_FRAC_DIV_DIVISOR_M \
  982. 0x03FF0000
  983. #define APPS_RCM_MCASP_FRAC_CLK_CONFIG0_MCASP_FRAC_DIV_DIVISOR_S 16
  984. #define APPS_RCM_MCASP_FRAC_CLK_CONFIG0_MCASP_FRAC_DIV_FRACTION_M \
  985. 0x0000FFFF
  986. #define APPS_RCM_MCASP_FRAC_CLK_CONFIG0_MCASP_FRAC_DIV_FRACTION_S 0
  987. //******************************************************************************
  988. //
  989. // The following are defines for the bit fields in the
  990. // APPS_RCM_O_MCASP_FRAC_CLK_CONFIG1 register.
  991. //
  992. //******************************************************************************
  993. #define APPS_RCM_MCASP_FRAC_CLK_CONFIG1_MCASP_FRAC_DIV_SOFT_RESET \
  994. 0x00010000 // 1 - Assert the reset for MCASP
  995. // Frac-clk div; 0 - Donot assert
  996. // the reset for MCASP frac clk-div
  997. #define APPS_RCM_MCASP_FRAC_CLK_CONFIG1_MCASP_FRAC_DIV_PERIOD_M \
  998. 0x000003FF
  999. #define APPS_RCM_MCASP_FRAC_CLK_CONFIG1_MCASP_FRAC_DIV_PERIOD_S 0
  1000. //******************************************************************************
  1001. //
  1002. // The following are defines for the bit fields in the
  1003. // APPS_RCM_O_CRYPTO_CLK_GATING register.
  1004. //
  1005. //******************************************************************************
  1006. #define APPS_RCM_CRYPTO_CLK_GATING_CRYPTO_DSLP_CLK_ENABLE \
  1007. 0x00010000 // 0 - Disable the Crypto clock
  1008. // during deep-sleep
  1009. #define APPS_RCM_CRYPTO_CLK_GATING_NU1_M \
  1010. 0x0000FE00
  1011. #define APPS_RCM_CRYPTO_CLK_GATING_NU1_S 9
  1012. #define APPS_RCM_CRYPTO_CLK_GATING_CRYPTO_SLP_CLK_ENABLE \
  1013. 0x00000100 // 1 - Enable the Crypto clock
  1014. // during sleep ; 0 - Disable the
  1015. // Crypto clock during sleep
  1016. #define APPS_RCM_CRYPTO_CLK_GATING_NU2_M \
  1017. 0x000000FE
  1018. #define APPS_RCM_CRYPTO_CLK_GATING_NU2_S 1
  1019. #define APPS_RCM_CRYPTO_CLK_GATING_CRYPTO_RUN_CLK_ENABLE \
  1020. 0x00000001 // 1 - Enable the Crypto clock
  1021. // during run ; 0 - Disable the
  1022. // Crypto clock during run
  1023. //******************************************************************************
  1024. //
  1025. // The following are defines for the bit fields in the
  1026. // APPS_RCM_O_CRYPTO_SOFT_RESET register.
  1027. //
  1028. //******************************************************************************
  1029. #define APPS_RCM_CRYPTO_SOFT_RESET_CRYPTO_ENABLED_STATUS \
  1030. 0x00000002 // 1 - Crypto clocks/resets are
  1031. // enabled ; 0 - Crypto
  1032. // clocks/resets are disabled
  1033. #define APPS_RCM_CRYPTO_SOFT_RESET_CRYPTO_SOFT_RESET \
  1034. 0x00000001 // 1 - Assert the soft reset for
  1035. // Crypto ; 0 - De-assert the soft
  1036. // reset for Crypto
  1037. //******************************************************************************
  1038. //
  1039. // The following are defines for the bit fields in the
  1040. // APPS_RCM_O_MCSPI_S0_CLK_GATING register.
  1041. //
  1042. //******************************************************************************
  1043. #define APPS_RCM_MCSPI_S0_CLK_GATING_MCSPI_S0_DSLP_CLK_ENABLE \
  1044. 0x00010000 // 0 - Disable the MCSPI_S0 clock
  1045. // during deep-sleep
  1046. #define APPS_RCM_MCSPI_S0_CLK_GATING_NU1_M \
  1047. 0x0000FE00
  1048. #define APPS_RCM_MCSPI_S0_CLK_GATING_NU1_S 9
  1049. #define APPS_RCM_MCSPI_S0_CLK_GATING_MCSPI_S0_SLP_CLK_ENABLE \
  1050. 0x00000100 // 1 - Enable the MCSPI_S0 clock
  1051. // during sleep ; 0 - Disable the
  1052. // MCSPI_S0 clock during sleep
  1053. #define APPS_RCM_MCSPI_S0_CLK_GATING_NU2_M \
  1054. 0x000000FE
  1055. #define APPS_RCM_MCSPI_S0_CLK_GATING_NU2_S 1
  1056. #define APPS_RCM_MCSPI_S0_CLK_GATING_MCSPI_S0_RUN_CLK_ENABLE \
  1057. 0x00000001 // 1 - Enable the MCSPI_S0 clock
  1058. // during run ; 0 - Disable the
  1059. // MCSPI_S0 clock during run
  1060. //******************************************************************************
  1061. //
  1062. // The following are defines for the bit fields in the
  1063. // APPS_RCM_O_MCSPI_S0_SOFT_RESET register.
  1064. //
  1065. //******************************************************************************
  1066. #define APPS_RCM_MCSPI_S0_SOFT_RESET_MCSPI_S0_ENABLED_STATUS \
  1067. 0x00000002 // 1 - MCSPI_S0 Clocks/Resets are
  1068. // enabled ; 0 - MCSPI_S0
  1069. // Clocks/resets are disabled
  1070. #define APPS_RCM_MCSPI_S0_SOFT_RESET_MCSPI_S0_SOFT_RESET \
  1071. 0x00000001 // 1 - Assert the soft reset for
  1072. // MCSPI_S0 ; 0 - De-assert the soft
  1073. // reset for MCSPI_S0
  1074. //******************************************************************************
  1075. //
  1076. // The following are defines for the bit fields in the
  1077. // APPS_RCM_O_MCSPI_S0_CLKDIV_CFG register.
  1078. //
  1079. //******************************************************************************
  1080. #define APPS_RCM_MCSPI_S0_CLKDIV_CFG_MCSPI_S0_BAUD_CLK_SEL \
  1081. 0x00010000 // 0 - XTAL clk is used as baud-clk
  1082. // for MCSPI_S0 ; 1 - PLL divclk is
  1083. // used as buad-clk for MCSPI_S0
  1084. #define APPS_RCM_MCSPI_S0_CLKDIV_CFG_NU1_M \
  1085. 0x0000F800
  1086. #define APPS_RCM_MCSPI_S0_CLKDIV_CFG_NU1_S 11
  1087. #define APPS_RCM_MCSPI_S0_CLKDIV_CFG_MCSPI_S0_PLLCLKDIV_OFF_TIME_M \
  1088. 0x00000700 // Configuration of OFF-TIME for
  1089. // dividing PLL clk (240 MHz) in
  1090. // generation of MCSPI_S0 func-clk :
  1091. // "000" - 1 "001" - 2 "010" - 3
  1092. // "011" - 4 "100" - 5 "101" - 6
  1093. // "110" - 7 "111" - 8
  1094. #define APPS_RCM_MCSPI_S0_CLKDIV_CFG_MCSPI_S0_PLLCLKDIV_OFF_TIME_S 8
  1095. #define APPS_RCM_MCSPI_S0_CLKDIV_CFG_NU2_M \
  1096. 0x000000F8
  1097. #define APPS_RCM_MCSPI_S0_CLKDIV_CFG_NU2_S 3
  1098. #define APPS_RCM_MCSPI_S0_CLKDIV_CFG_MCSPI_S0_PLLCLKDIV_ON_TIME_M \
  1099. 0x00000007 // Configuration of ON-TIME for
  1100. // dividing PLL clk (240 MHz) in
  1101. // generation of MCSPI_S0 func-clk :
  1102. // "000" - 1 "001" - 2 "010" - 3
  1103. // "011" - 4 "100" - 5 "101" - 6
  1104. // "110" - 7 "111" - 8
  1105. #define APPS_RCM_MCSPI_S0_CLKDIV_CFG_MCSPI_S0_PLLCLKDIV_ON_TIME_S 0
  1106. //******************************************************************************
  1107. //
  1108. // The following are defines for the bit fields in the
  1109. // APPS_RCM_O_I2C_CLK_GATING register.
  1110. //
  1111. //******************************************************************************
  1112. #define APPS_RCM_I2C_CLK_GATING_I2C_DSLP_CLK_ENABLE \
  1113. 0x00010000 // 1 - Enable the I2C Clock during
  1114. // deep-sleep 0 - Disable the I2C
  1115. // clock during deep-sleep
  1116. #define APPS_RCM_I2C_CLK_GATING_NU1_M \
  1117. 0x0000FE00
  1118. #define APPS_RCM_I2C_CLK_GATING_NU1_S 9
  1119. #define APPS_RCM_I2C_CLK_GATING_I2C_SLP_CLK_ENABLE \
  1120. 0x00000100 // 1 - Enable the I2C clock during
  1121. // sleep ; 0 - Disable the I2C clock
  1122. // during sleep
  1123. #define APPS_RCM_I2C_CLK_GATING_NU2_M \
  1124. 0x000000FE
  1125. #define APPS_RCM_I2C_CLK_GATING_NU2_S 1
  1126. #define APPS_RCM_I2C_CLK_GATING_I2C_RUN_CLK_ENABLE \
  1127. 0x00000001 // 1 - Enable the I2C clock during
  1128. // run ; 0 - Disable the I2C clock
  1129. // during run
  1130. //******************************************************************************
  1131. //
  1132. // The following are defines for the bit fields in the
  1133. // APPS_RCM_O_I2C_SOFT_RESET register.
  1134. //
  1135. //******************************************************************************
  1136. #define APPS_RCM_I2C_SOFT_RESET_I2C_ENABLED_STATUS \
  1137. 0x00000002 // 1 - I2C Clocks/Resets are
  1138. // enabled ; 0 - I2C clocks/resets
  1139. // are disabled
  1140. #define APPS_RCM_I2C_SOFT_RESET_I2C_SOFT_RESET \
  1141. 0x00000001 // 1 - Assert the soft reset for
  1142. // Shared-I2C ; 0 - De-assert the
  1143. // soft reset for Shared-I2C
  1144. //******************************************************************************
  1145. //
  1146. // The following are defines for the bit fields in the
  1147. // APPS_RCM_O_APPS_LPDS_REQ register.
  1148. //
  1149. //******************************************************************************
  1150. #define APPS_RCM_APPS_LPDS_REQ_APPS_LPDS_REQ \
  1151. 0x00000001 // 1 - Request for LPDS
  1152. //******************************************************************************
  1153. //
  1154. // The following are defines for the bit fields in the
  1155. // APPS_RCM_O_APPS_TURBO_REQ register.
  1156. //
  1157. //******************************************************************************
  1158. #define APPS_RCM_APPS_TURBO_REQ_APPS_TURBO_REQ \
  1159. 0x00000001 // 1 - Request for TURBO
  1160. //******************************************************************************
  1161. //
  1162. // The following are defines for the bit fields in the
  1163. // APPS_RCM_O_APPS_DSLP_WAKE_CONFIG register.
  1164. //
  1165. //******************************************************************************
  1166. #define APPS_RCM_APPS_DSLP_WAKE_CONFIG_DSLP_WAKE_FROM_NWP_ENABLE \
  1167. 0x00000002 // 1 - Enable the NWP to wake APPS
  1168. // from deep-sleep ; 0 - Disable NWP
  1169. // to wake APPS from deep-sleep
  1170. #define APPS_RCM_APPS_DSLP_WAKE_CONFIG_DSLP_WAKE_TIMER_ENABLE \
  1171. 0x00000001 // 1 - Enable deep-sleep wake timer
  1172. // in APPS RCM for deep-sleep; 0 -
  1173. // Disable deep-sleep wake timer in
  1174. // APPS RCM
  1175. //******************************************************************************
  1176. //
  1177. // The following are defines for the bit fields in the
  1178. // APPS_RCM_O_APPS_DSLP_WAKE_TIMER_CFG register.
  1179. //
  1180. //******************************************************************************
  1181. #define APPS_RCM_APPS_DSLP_WAKE_TIMER_CFG_DSLP_WAKE_TIMER_OPP_CFG_M \
  1182. 0xFFFF0000 // Configuration (in slow_clks)
  1183. // which says when to request for
  1184. // OPP during deep-sleep exit
  1185. #define APPS_RCM_APPS_DSLP_WAKE_TIMER_CFG_DSLP_WAKE_TIMER_OPP_CFG_S 16
  1186. #define APPS_RCM_APPS_DSLP_WAKE_TIMER_CFG_DSLP_WAKE_TIMER_WAKE_CFG_M \
  1187. 0x0000FFFF // Configuration (in slow_clks)
  1188. // which says when to request for
  1189. // WAKE during deep-sleep exit
  1190. #define APPS_RCM_APPS_DSLP_WAKE_TIMER_CFG_DSLP_WAKE_TIMER_WAKE_CFG_S 0
  1191. //******************************************************************************
  1192. //
  1193. // The following are defines for the bit fields in the
  1194. // APPS_RCM_O_APPS_RCM_SLP_WAKE_ENABLE register.
  1195. //
  1196. //******************************************************************************
  1197. #define APPS_RCM_APPS_RCM_SLP_WAKE_ENABLE_SLP_WAKE_FROM_NWP_ENABLE \
  1198. 0x00000002 // 1- Enable the sleep wakeup due
  1199. // to NWP request. 0- Disable the
  1200. // sleep wakeup due to NWP request
  1201. #define APPS_RCM_APPS_RCM_SLP_WAKE_ENABLE_SLP_WAKE_TIMER_ENABLE \
  1202. 0x00000001 // 1- Enable the sleep wakeup due
  1203. // to sleep-timer; 0-Disable the
  1204. // sleep wakeup due to sleep-timer
  1205. //******************************************************************************
  1206. //
  1207. // The following are defines for the bit fields in the
  1208. // APPS_RCM_O_APPS_SLP_WAKETIMER_CFG register.
  1209. //
  1210. //******************************************************************************
  1211. #define APPS_RCM_APPS_SLP_WAKETIMER_CFG_SLP_WAKE_TIMER_CFG_M \
  1212. 0xFFFFFFFF // Configuration (number of
  1213. // sysclks-80MHz) for the Sleep
  1214. // wakeup timer
  1215. #define APPS_RCM_APPS_SLP_WAKETIMER_CFG_SLP_WAKE_TIMER_CFG_S 0
  1216. //******************************************************************************
  1217. //
  1218. // The following are defines for the bit fields in the
  1219. // APPS_RCM_O_APPS_TO_NWP_WAKE_REQUEST register.
  1220. //
  1221. //******************************************************************************
  1222. #define APPS_RCM_APPS_TO_NWP_WAKE_REQUEST_APPS_TO_NWP_WAKEUP_REQUEST \
  1223. 0x00000001 // When 1 => APPS generated a wake
  1224. // request to NWP (When NWP is in
  1225. // any of its low-power modes :
  1226. // SLP/DSLP/LPDS)
  1227. //******************************************************************************
  1228. //
  1229. // The following are defines for the bit fields in the
  1230. // APPS_RCM_O_APPS_RCM_INTERRUPT_STATUS register.
  1231. //
  1232. //******************************************************************************
  1233. #define APPS_RCM_APPS_RCM_INTERRUPT_STATUS_apps_deep_sleep_timer_wake \
  1234. 0x00000008 // 1 - Indicates that deep-sleep
  1235. // timer expiry had caused the
  1236. // wakeup from deep-sleep
  1237. #define APPS_RCM_APPS_RCM_INTERRUPT_STATUS_apps_sleep_timer_wake \
  1238. 0x00000004 // 1 - Indicates that sleep timer
  1239. // expiry had caused the wakeup from
  1240. // sleep
  1241. #define APPS_RCM_APPS_RCM_INTERRUPT_STATUS_apps_deep_sleep_wake_from_nwp \
  1242. 0x00000002 // 1 - Indicates that NWP had
  1243. // caused the wakeup from deep-sleep
  1244. #define APPS_RCM_APPS_RCM_INTERRUPT_STATUS_apps_sleep_wake_from_nwp \
  1245. 0x00000001 // 1 - Indicates that NWP had
  1246. // caused the wakeup from Sleep
  1247. #endif // __HW_APPS_RCM_H__