cslr_unicache_mmu.h 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994
  1. /********************************************************************
  2. * Copyright (C) 2013-2014 Texas Instruments Incorporated.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions
  6. * are met:
  7. *
  8. * Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. *
  11. * Redistributions in binary form must reproduce the above copyright
  12. * notice, this list of conditions and the following disclaimer in the
  13. * documentation and/or other materials provided with the
  14. * distribution.
  15. *
  16. * Neither the name of Texas Instruments Incorporated nor the names of
  17. * its contributors may be used to endorse or promote products derived
  18. * from this software without specific prior written permission.
  19. *
  20. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  21. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  22. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  23. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  24. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  25. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  26. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  27. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  28. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  29. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  30. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. *
  32. */
  33. #ifndef CSLR_UNICACHEMMU_H_
  34. #define CSLR_UNICACHEMMU_H_
  35. #ifdef __cplusplus
  36. extern "C"
  37. {
  38. #endif
  39. #include <ti/csl/cslr.h>
  40. #include <ti/csl/tistdtypes.h>
  41. /**************************************************************************
  42. * Register Overlay Structure for __ALL__
  43. **************************************************************************/
  44. typedef struct {
  45. volatile Uint32 LARGE_ADDR[8];
  46. volatile Uint32 LARGE_XLTE[8];
  47. volatile Uint32 LARGE_POLICY[8];
  48. volatile Uint32 MED_ADDR[8];
  49. volatile Uint8 RSVD0[32];
  50. volatile Uint32 MED_XLTE[8];
  51. volatile Uint8 RSVD1[32];
  52. volatile Uint32 MED_POLICY[8];
  53. volatile Uint8 RSVD2[32];
  54. volatile Uint32 SMALL_ADDR0;
  55. volatile Uint32 SMALL_ADDR1;
  56. volatile Uint32 SMALL_ADDR[30];
  57. volatile Uint32 SMALL_XLTE0;
  58. volatile Uint32 SMALL_XLTE1;
  59. volatile Uint32 SMALL_XLTE[30];
  60. volatile Uint32 SMALL_POLICY0;
  61. volatile Uint32 SMALL_POLICY1;
  62. volatile Uint32 SMALL_POLICY[30];
  63. volatile Uint32 SMALL_MAINT[32];
  64. volatile Uint32 LINE_ADDR[32];
  65. volatile Uint32 LINE_XLTE[32];
  66. volatile Uint32 LINE_POLICY[32];
  67. volatile Uint32 DEBUG_XLTE;
  68. volatile Uint32 DEBUG_POLICY;
  69. volatile Uint32 MAINT;
  70. volatile Uint32 MTSTART;
  71. volatile Uint32 MTEND;
  72. volatile Uint32 MAINTST;
  73. volatile Uint32 MMUCONFIG;
  74. } CSL_UnicacheMmuRegs;
  75. /**************************************************************************
  76. * Register Macros
  77. **************************************************************************/
  78. /* LARGE_ADDR */
  79. #define CSL_UNICACHEMMU_LARGE_ADDR(i) (0x0U + ((i) * (0x4U)))
  80. /* LARGE_XLTE */
  81. #define CSL_UNICACHEMMU_LARGE_XLTE(i) (0x20U + ((i) * (0x4U)))
  82. /* LARGE_POLICY */
  83. #define CSL_UNICACHEMMU_LARGE_POLICY(i) (0x40U + ((i) * (0x4U)))
  84. /* MED_ADDR */
  85. #define CSL_UNICACHEMMU_MED_ADDR(i) (0x60U + ((i) * (0x4U)))
  86. /* MED_XLTE */
  87. #define CSL_UNICACHEMMU_MED_XLTE(i) (0xA0U + ((i) * (0x4U)))
  88. /* MED_POLICY */
  89. #define CSL_UNICACHEMMU_MED_POLICY(i) (0xE0U + ((i) * (0x4U)))
  90. /* Small Page0 Address */
  91. #define CSL_UNICACHEMMU_SMALL_ADDR0 (0x120U)
  92. /* Small Page0 Address */
  93. #define CSL_UNICACHEMMU_SMALL_ADDR1 (0x124U)
  94. /* SMALL_ADDR */
  95. #define CSL_UNICACHEMMU_SMALL_ADDR(i) (0x128U + ((i) * (0x4U)))
  96. /* Small Page0 translation */
  97. #define CSL_UNICACHEMMU_SMALL_XLTE0 (0x1A0U)
  98. /* Small Page1 translation */
  99. #define CSL_UNICACHEMMU_SMALL_XLTE1 (0x1A4U)
  100. /* SMALL_XLTE */
  101. #define CSL_UNICACHEMMU_SMALL_XLTE(i) (0x1A8U + ((i) * (0x4U)))
  102. /* Small page0 policy */
  103. #define CSL_UNICACHEMMU_SMALL_POLICY0 (0x220U)
  104. /* Small page1 policy */
  105. #define CSL_UNICACHEMMU_SMALL_POLICY1 (0x224U)
  106. /* SMALL_POLICY */
  107. #define CSL_UNICACHEMMU_SMALL_POLICY(i) (0x228U + ((i) * (0x4U)))
  108. /* SMALL_MAINT */
  109. #define CSL_UNICACHEMMU_SMALL_MAINT(i) (0x2A0U + ((i) * (0x4U)))
  110. /* LINE_ADDR */
  111. #define CSL_UNICACHEMMU_LINE_ADDR(i) (0x320U + ((i) * (0x4U)))
  112. /* LINE_XLTE */
  113. #define CSL_UNICACHEMMU_LINE_XLTE(i) (0x3A0U + ((i) * (0x4U)))
  114. /* LINE_POLICY */
  115. #define CSL_UNICACHEMMU_LINE_POLICY(i) (0x420U + ((i) * (0x4U)))
  116. /* DEBUG_XLTE */
  117. #define CSL_UNICACHEMMU_DEBUG_XLTE (0x4A0U)
  118. /* DEBUG_POLICY */
  119. #define CSL_UNICACHEMMU_DEBUG_POLICY (0x4A4U)
  120. /* Maintenance Configuration Register */
  121. #define CSL_UNICACHEMMU_MAINT (0x4A8U)
  122. /* Maintenance Start Configuratoin Register */
  123. #define CSL_UNICACHEMMU_MTSTART (0x4ACU)
  124. /* Maintenance End Configuration Register */
  125. #define CSL_UNICACHEMMU_MTEND (0x4B0U)
  126. /* Maintenance Status Register */
  127. #define CSL_UNICACHEMMU_MAINTST (0x4B4U)
  128. /* MMU Configuration Register */
  129. #define CSL_UNICACHEMMU_MMUCONFIG (0x4B8U)
  130. /**************************************************************************
  131. * Field Definition Macros
  132. **************************************************************************/
  133. /* LARGE_ADDR */
  134. #define CSL_UNICACHEMMU_LARGE_ADDR_ADDRESS_MASK (0xF0000000U)
  135. #define CSL_UNICACHEMMU_LARGE_ADDR_ADDRESS_SHIFT (28U)
  136. #define CSL_UNICACHEMMU_LARGE_ADDR_ADDRESS_RESETVAL (0x00000000U)
  137. #define CSL_UNICACHEMMU_LARGE_ADDR_ADDRESS_MAX (0x0000000fU)
  138. #define CSL_UNICACHEMMU_LARGE_ADDR_RESETVAL (0x00000000U)
  139. /* LARGE_XLTE */
  140. #define CSL_UNICACHEMMU_LARGE_XLTE_IGNORE_MASK (0x00000001U)
  141. #define CSL_UNICACHEMMU_LARGE_XLTE_IGNORE_SHIFT (0U)
  142. #define CSL_UNICACHEMMU_LARGE_XLTE_IGNORE_RESETVAL (0x00000000U)
  143. #define CSL_UNICACHEMMU_LARGE_XLTE_IGNORE_MAX (0x00000001U)
  144. #define CSL_UNICACHEMMU_LARGE_XLTE_TRANSLATE_MASK (0xFFE00000U)
  145. #define CSL_UNICACHEMMU_LARGE_XLTE_TRANSLATE_SHIFT (21U)
  146. #define CSL_UNICACHEMMU_LARGE_XLTE_TRANSLATE_RESETVAL (0x00000000U)
  147. #define CSL_UNICACHEMMU_LARGE_XLTE_TRANSLATE_MAX (0x000007ffU)
  148. #define CSL_UNICACHEMMU_LARGE_XLTE_RESETVAL (0x00000000U)
  149. /* LARGE_POLICY */
  150. #define CSL_UNICACHEMMU_LARGE_POLICY_ENABLE_MASK (0x00000001U)
  151. #define CSL_UNICACHEMMU_LARGE_POLICY_ENABLE_SHIFT (0U)
  152. #define CSL_UNICACHEMMU_LARGE_POLICY_ENABLE_RESETVAL (0x00000000U)
  153. #define CSL_UNICACHEMMU_LARGE_POLICY_ENABLE_DISABLE (0x00000000U)
  154. #define CSL_UNICACHEMMU_LARGE_POLICY_ENABLE_ENABLE (0x00000001U)
  155. #define CSL_UNICACHEMMU_LARGE_POLICY_SIZE_MASK (0x00000002U)
  156. #define CSL_UNICACHEMMU_LARGE_POLICY_SIZE_SHIFT (1U)
  157. #define CSL_UNICACHEMMU_LARGE_POLICY_SIZE_RESETVAL (0x00000000U)
  158. #define CSL_UNICACHEMMU_LARGE_POLICY_SIZE_32MB (0x00000000U)
  159. #define CSL_UNICACHEMMU_LARGE_POLICY_SIZE_512MB (0x00000001U)
  160. #define CSL_UNICACHEMMU_LARGE_POLICY_ENDIANISM_MASK (0x00000004U)
  161. #define CSL_UNICACHEMMU_LARGE_POLICY_ENDIANISM_SHIFT (2U)
  162. #define CSL_UNICACHEMMU_LARGE_POLICY_ENDIANISM_RESETVAL (0x00000000U)
  163. #define CSL_UNICACHEMMU_LARGE_POLICY_ENDIANISM_BIG_ENDIAN (0x00000000U)
  164. #define CSL_UNICACHEMMU_LARGE_POLICY_ENDIANISM_LITTLE_ENDIAN (0x00000001U)
  165. #define CSL_UNICACHEMMU_LARGE_POLICY_VOLATILE_MASK (0x00000008U)
  166. #define CSL_UNICACHEMMU_LARGE_POLICY_VOLATILE_SHIFT (3U)
  167. #define CSL_UNICACHEMMU_LARGE_POLICY_VOLATILE_RESETVAL (0x00000000U)
  168. #define CSL_UNICACHEMMU_LARGE_POLICY_VOLATILE_DISABLE (0x00000000U)
  169. #define CSL_UNICACHEMMU_LARGE_POLICY_VOLATILE_ENABLE (0x00000001U)
  170. #define CSL_UNICACHEMMU_LARGE_POLICY_EXECUTE_MASK (0x00000010U)
  171. #define CSL_UNICACHEMMU_LARGE_POLICY_EXECUTE_SHIFT (4U)
  172. #define CSL_UNICACHEMMU_LARGE_POLICY_EXECUTE_RESETVAL (0x00000000U)
  173. #define CSL_UNICACHEMMU_LARGE_POLICY_EXECUTE_MAX (0x00000001U)
  174. #define CSL_UNICACHEMMU_LARGE_POLICY_READ_MASK (0x00000020U)
  175. #define CSL_UNICACHEMMU_LARGE_POLICY_READ_SHIFT (5U)
  176. #define CSL_UNICACHEMMU_LARGE_POLICY_READ_RESETVAL (0x00000000U)
  177. #define CSL_UNICACHEMMU_LARGE_POLICY_READ_MAX (0x00000001U)
  178. #define CSL_UNICACHEMMU_LARGE_POLICY_PRELOAD_MASK (0x00000040U)
  179. #define CSL_UNICACHEMMU_LARGE_POLICY_PRELOAD_SHIFT (6U)
  180. #define CSL_UNICACHEMMU_LARGE_POLICY_PRELOAD_RESETVAL (0x00000000U)
  181. #define CSL_UNICACHEMMU_LARGE_POLICY_PRELOAD_DISABLE (0x00000000U)
  182. #define CSL_UNICACHEMMU_LARGE_POLICY_PRELOAD_ENABLE (0x00000001U)
  183. #define CSL_UNICACHEMMU_LARGE_POLICY_EXCLUSION_MASK (0x00000080U)
  184. #define CSL_UNICACHEMMU_LARGE_POLICY_EXCLUSION_SHIFT (7U)
  185. #define CSL_UNICACHEMMU_LARGE_POLICY_EXCLUSION_RESETVAL (0x00000000U)
  186. #define CSL_UNICACHEMMU_LARGE_POLICY_EXCLUSION_DISABLE (0x00000000U)
  187. #define CSL_UNICACHEMMU_LARGE_POLICY_EXCLUSION_ENABLE (0x00000001U)
  188. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_CACHEABLE_MASK (0x00010000U)
  189. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_CACHEABLE_SHIFT (16U)
  190. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_CACHEABLE_RESETVAL (0x00000000U)
  191. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_CACHEABLE_DISABLE (0x00000000U)
  192. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_CACHEABLE_ENABLE (0x00000001U)
  193. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_POSTED_MASK (0x00020000U)
  194. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_POSTED_SHIFT (17U)
  195. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_POSTED_RESETVAL (0x00000000U)
  196. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_POSTED_NON_POSTED (0x00000000U)
  197. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_POSTED_POSTED (0x00000001U)
  198. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_ALLOCATE_MASK (0x00040000U)
  199. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_ALLOCATE_SHIFT (18U)
  200. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_ALLOCATE_RESETVAL (0x00000000U)
  201. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_ALLOCATE_NON_ALLOCATE (0x00000000U)
  202. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_ALLOCATE_ALLOCATE (0x00000001U)
  203. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_WR_POLICY_MASK (0x00080000U)
  204. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_WR_POLICY_SHIFT (19U)
  205. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_WR_POLICY_RESETVAL (0x00000000U)
  206. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_WR_POLICY_WT (0x00000000U)
  207. #define CSL_UNICACHEMMU_LARGE_POLICY_L1_WR_POLICY_WB (0x00000001U)
  208. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_CACHEABLE_MASK (0x00100000U)
  209. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_CACHEABLE_SHIFT (20U)
  210. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_CACHEABLE_RESETVAL (0x00000000U)
  211. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_CACHEABLE_NON_CACHEABLE (0x00000000U)
  212. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_CACHEABLE_CACHEABLE (0x00000001U)
  213. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_ALLOCATE_MASK (0x00400000U)
  214. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_ALLOCATE_SHIFT (22U)
  215. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_ALLOCATE_RESETVAL (0x00000000U)
  216. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_ALLOCATE_NON_ALLOCATE (0x00000000U)
  217. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_ALLOCATE_ALLOCATE (0x00000001U)
  218. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_WR_POLICY_MASK (0x00800000U)
  219. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_WR_POLICY_SHIFT (23U)
  220. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_WR_POLICY_RESETVAL (0x00000000U)
  221. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_WR_POLICY_WT (0x00000000U)
  222. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_WR_POLICY_WB (0x00000001U)
  223. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_POSTED_MASK (0x00200000U)
  224. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_POSTED_SHIFT (21U)
  225. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_POSTED_RESETVAL (0x00000000U)
  226. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_POSTED_NON_POSTED (0x00000000U)
  227. #define CSL_UNICACHEMMU_LARGE_POLICY_L2_POSTED_POSTED (0x00000001U)
  228. #define CSL_UNICACHEMMU_LARGE_POLICY_RESETVAL (0x00000000U)
  229. /* MED_ADDR */
  230. #define CSL_UNICACHEMMU_MED_ADDR_ADDRESS_MASK (0xFFFE0000U)
  231. #define CSL_UNICACHEMMU_MED_ADDR_ADDRESS_SHIFT (17U)
  232. #define CSL_UNICACHEMMU_MED_ADDR_ADDRESS_RESETVAL (0x00000000U)
  233. #define CSL_UNICACHEMMU_MED_ADDR_ADDRESS_MAX (0x00007fffU)
  234. #define CSL_UNICACHEMMU_MED_ADDR_RESETVAL (0x00000000U)
  235. /* MED_XLTE */
  236. #define CSL_UNICACHEMMU_MED_XLTE_IGNORE_MASK (0x00000001U)
  237. #define CSL_UNICACHEMMU_MED_XLTE_IGNORE_SHIFT (0U)
  238. #define CSL_UNICACHEMMU_MED_XLTE_IGNORE_RESETVAL (0x00000000U)
  239. #define CSL_UNICACHEMMU_MED_XLTE_IGNORE_MAX (0x00000001U)
  240. #define CSL_UNICACHEMMU_MED_XLTE_TRANSLATE_MASK (0xFFFFFFFEU)
  241. #define CSL_UNICACHEMMU_MED_XLTE_TRANSLATE_SHIFT (1U)
  242. #define CSL_UNICACHEMMU_MED_XLTE_TRANSLATE_RESETVAL (0x00000000U)
  243. #define CSL_UNICACHEMMU_MED_XLTE_TRANSLATE_MAX (0x7fffffffU)
  244. #define CSL_UNICACHEMMU_MED_XLTE_RESETVAL (0x00000000U)
  245. /* MED_POLICY */
  246. #define CSL_UNICACHEMMU_MED_POLICY_ENABLE_MASK (0x00000001U)
  247. #define CSL_UNICACHEMMU_MED_POLICY_ENABLE_SHIFT (0U)
  248. #define CSL_UNICACHEMMU_MED_POLICY_ENABLE_RESETVAL (0x00000000U)
  249. #define CSL_UNICACHEMMU_MED_POLICY_ENABLE_DISABLE (0x00000000U)
  250. #define CSL_UNICACHEMMU_MED_POLICY_ENABLE_ENABLE (0x00000001U)
  251. #define CSL_UNICACHEMMU_MED_POLICY_SIZE_MASK (0x00000002U)
  252. #define CSL_UNICACHEMMU_MED_POLICY_SIZE_SHIFT (1U)
  253. #define CSL_UNICACHEMMU_MED_POLICY_SIZE_RESETVAL (0x00000000U)
  254. #define CSL_UNICACHEMMU_MED_POLICY_SIZE_128KB (0x00000000U)
  255. #define CSL_UNICACHEMMU_MED_POLICY_SIZE_256KB (0x00000001U)
  256. #define CSL_UNICACHEMMU_MED_POLICY_ENDIANISM_MASK (0x00000004U)
  257. #define CSL_UNICACHEMMU_MED_POLICY_ENDIANISM_SHIFT (2U)
  258. #define CSL_UNICACHEMMU_MED_POLICY_ENDIANISM_RESETVAL (0x00000000U)
  259. #define CSL_UNICACHEMMU_MED_POLICY_ENDIANISM_BIG_ENDIAN (0x00000000U)
  260. #define CSL_UNICACHEMMU_MED_POLICY_ENDIANISM_LITTLE_ENDIAN (0x00000001U)
  261. #define CSL_UNICACHEMMU_MED_POLICY_VOLATILE_MASK (0x00000008U)
  262. #define CSL_UNICACHEMMU_MED_POLICY_VOLATILE_SHIFT (3U)
  263. #define CSL_UNICACHEMMU_MED_POLICY_VOLATILE_RESETVAL (0x00000000U)
  264. #define CSL_UNICACHEMMU_MED_POLICY_VOLATILE_DISABLE (0x00000000U)
  265. #define CSL_UNICACHEMMU_MED_POLICY_VOLATILE_ENABLE (0x00000001U)
  266. #define CSL_UNICACHEMMU_MED_POLICY_EXECUTE_MASK (0x00000010U)
  267. #define CSL_UNICACHEMMU_MED_POLICY_EXECUTE_SHIFT (4U)
  268. #define CSL_UNICACHEMMU_MED_POLICY_EXECUTE_RESETVAL (0x00000000U)
  269. #define CSL_UNICACHEMMU_MED_POLICY_EXECUTE_MAX (0x00000001U)
  270. #define CSL_UNICACHEMMU_MED_POLICY_READ_MASK (0x00000020U)
  271. #define CSL_UNICACHEMMU_MED_POLICY_READ_SHIFT (5U)
  272. #define CSL_UNICACHEMMU_MED_POLICY_READ_RESETVAL (0x00000000U)
  273. #define CSL_UNICACHEMMU_MED_POLICY_READ_MAX (0x00000001U)
  274. #define CSL_UNICACHEMMU_MED_POLICY_PRELOAD_MASK (0x00000040U)
  275. #define CSL_UNICACHEMMU_MED_POLICY_PRELOAD_SHIFT (6U)
  276. #define CSL_UNICACHEMMU_MED_POLICY_PRELOAD_RESETVAL (0x00000000U)
  277. #define CSL_UNICACHEMMU_MED_POLICY_PRELOAD_DISABLE (0x00000000U)
  278. #define CSL_UNICACHEMMU_MED_POLICY_PRELOAD_ENABLE (0x00000001U)
  279. #define CSL_UNICACHEMMU_MED_POLICY_EXCLUSION_MASK (0x00000080U)
  280. #define CSL_UNICACHEMMU_MED_POLICY_EXCLUSION_SHIFT (7U)
  281. #define CSL_UNICACHEMMU_MED_POLICY_EXCLUSION_RESETVAL (0x00000000U)
  282. #define CSL_UNICACHEMMU_MED_POLICY_EXCLUSION_DISABLE (0x00000000U)
  283. #define CSL_UNICACHEMMU_MED_POLICY_EXCLUSION_ENABLE (0x00000001U)
  284. #define CSL_UNICACHEMMU_MED_POLICY_L1_CACHEABLE_MASK (0x00010000U)
  285. #define CSL_UNICACHEMMU_MED_POLICY_L1_CACHEABLE_SHIFT (16U)
  286. #define CSL_UNICACHEMMU_MED_POLICY_L1_CACHEABLE_RESETVAL (0x00000000U)
  287. #define CSL_UNICACHEMMU_MED_POLICY_L1_CACHEABLE_DISABLE (0x00000000U)
  288. #define CSL_UNICACHEMMU_MED_POLICY_L1_CACHEABLE_ENABLE (0x00000001U)
  289. #define CSL_UNICACHEMMU_MED_POLICY_L1_POSTED_MASK (0x00020000U)
  290. #define CSL_UNICACHEMMU_MED_POLICY_L1_POSTED_SHIFT (17U)
  291. #define CSL_UNICACHEMMU_MED_POLICY_L1_POSTED_RESETVAL (0x00000000U)
  292. #define CSL_UNICACHEMMU_MED_POLICY_L1_POSTED_NON_POSTED (0x00000000U)
  293. #define CSL_UNICACHEMMU_MED_POLICY_L1_POSTED_POSTED (0x00000001U)
  294. #define CSL_UNICACHEMMU_MED_POLICY_L1_ALLOCATE_MASK (0x00040000U)
  295. #define CSL_UNICACHEMMU_MED_POLICY_L1_ALLOCATE_SHIFT (18U)
  296. #define CSL_UNICACHEMMU_MED_POLICY_L1_ALLOCATE_RESETVAL (0x00000000U)
  297. #define CSL_UNICACHEMMU_MED_POLICY_L1_ALLOCATE_NON_ALLOCATE (0x00000000U)
  298. #define CSL_UNICACHEMMU_MED_POLICY_L1_ALLOCATE_ALLOCATE (0x00000001U)
  299. #define CSL_UNICACHEMMU_MED_POLICY_L1_WR_POLICY_MASK (0x00080000U)
  300. #define CSL_UNICACHEMMU_MED_POLICY_L1_WR_POLICY_SHIFT (19U)
  301. #define CSL_UNICACHEMMU_MED_POLICY_L1_WR_POLICY_RESETVAL (0x00000000U)
  302. #define CSL_UNICACHEMMU_MED_POLICY_L1_WR_POLICY_WT (0x00000000U)
  303. #define CSL_UNICACHEMMU_MED_POLICY_L1_WR_POLICY_WB (0x00000001U)
  304. #define CSL_UNICACHEMMU_MED_POLICY_L2_CACHEABLE_MASK (0x00100000U)
  305. #define CSL_UNICACHEMMU_MED_POLICY_L2_CACHEABLE_SHIFT (20U)
  306. #define CSL_UNICACHEMMU_MED_POLICY_L2_CACHEABLE_RESETVAL (0x00000000U)
  307. #define CSL_UNICACHEMMU_MED_POLICY_L2_CACHEABLE_NON_CACHEABLE (0x00000000U)
  308. #define CSL_UNICACHEMMU_MED_POLICY_L2_CACHEABLE_CACHEABLE (0x00000001U)
  309. #define CSL_UNICACHEMMU_MED_POLICY_L2_POSTED_MASK (0x00200000U)
  310. #define CSL_UNICACHEMMU_MED_POLICY_L2_POSTED_SHIFT (21U)
  311. #define CSL_UNICACHEMMU_MED_POLICY_L2_POSTED_RESETVAL (0x00000000U)
  312. #define CSL_UNICACHEMMU_MED_POLICY_L2_POSTED_NON_POSTED (0x00000000U)
  313. #define CSL_UNICACHEMMU_MED_POLICY_L2_POSTED_POSTED (0x00000001U)
  314. #define CSL_UNICACHEMMU_MED_POLICY_L2_ALLOCATE_MASK (0x00400000U)
  315. #define CSL_UNICACHEMMU_MED_POLICY_L2_ALLOCATE_SHIFT (22U)
  316. #define CSL_UNICACHEMMU_MED_POLICY_L2_ALLOCATE_RESETVAL (0x00000000U)
  317. #define CSL_UNICACHEMMU_MED_POLICY_L2_ALLOCATE_NON_ALLOCATE (0x00000000U)
  318. #define CSL_UNICACHEMMU_MED_POLICY_L2_ALLOCATE_ALLOCATE (0x00000001U)
  319. #define CSL_UNICACHEMMU_MED_POLICY_L2_WR_POLICY_MASK (0x00800000U)
  320. #define CSL_UNICACHEMMU_MED_POLICY_L2_WR_POLICY_SHIFT (23U)
  321. #define CSL_UNICACHEMMU_MED_POLICY_L2_WR_POLICY_RESETVAL (0x00000000U)
  322. #define CSL_UNICACHEMMU_MED_POLICY_L2_WR_POLICY_WT (0x00000000U)
  323. #define CSL_UNICACHEMMU_MED_POLICY_L2_WR_POLICY_WB (0x00000001U)
  324. #define CSL_UNICACHEMMU_MED_POLICY_RESETVAL (0x00000000U)
  325. /* SMALL_ADDR0 */
  326. #define CSL_UNICACHEMMU_SMALL_ADDR0_ADDRESS_MASK (0xFFFFF000U)
  327. #define CSL_UNICACHEMMU_SMALL_ADDR0_ADDRESS_SHIFT (12U)
  328. #define CSL_UNICACHEMMU_SMALL_ADDR0_ADDRESS_RESETVAL (0x00000000U)
  329. #define CSL_UNICACHEMMU_SMALL_ADDR0_ADDRESS_MAX (0x000fffffU)
  330. #define CSL_UNICACHEMMU_SMALL_ADDR0_RESETVAL (0x00000000U)
  331. /* SMALL_ADDR1 */
  332. #define CSL_UNICACHEMMU_SMALL_ADDR1_ADDRESS_MASK (0xFFFFF000U)
  333. #define CSL_UNICACHEMMU_SMALL_ADDR1_ADDRESS_SHIFT (12U)
  334. #define CSL_UNICACHEMMU_SMALL_ADDR1_ADDRESS_RESETVAL (0x00040000U)
  335. #define CSL_UNICACHEMMU_SMALL_ADDR1_ADDRESS_MAX (0x000fffffU)
  336. #define CSL_UNICACHEMMU_SMALL_ADDR1_RESETVAL (0x40000000U)
  337. /* SMALL_ADDR */
  338. #define CSL_UNICACHEMMU_SMALL_ADDR_ADDRESS_MASK (0xFFFFF000U)
  339. #define CSL_UNICACHEMMU_SMALL_ADDR_ADDRESS_SHIFT (12U)
  340. #define CSL_UNICACHEMMU_SMALL_ADDR_ADDRESS_RESETVAL (0x00000000U)
  341. #define CSL_UNICACHEMMU_SMALL_ADDR_ADDRESS_MAX (0x000fffffU)
  342. #define CSL_UNICACHEMMU_SMALL_ADDR_RESETVAL (0x00000000U)
  343. /* SMALL_XLTE0 */
  344. #define CSL_UNICACHEMMU_SMALL_XLTE0_IGNORE_MASK (0x00000001U)
  345. #define CSL_UNICACHEMMU_SMALL_XLTE0_IGNORE_SHIFT (0U)
  346. #define CSL_UNICACHEMMU_SMALL_XLTE0_IGNORE_RESETVAL (0x00000000U)
  347. #define CSL_UNICACHEMMU_SMALL_XLTE0_IGNORE_MAX (0x00000001U)
  348. #define CSL_UNICACHEMMU_SMALL_XLTE0_TRANSLATE_MASK (0xFFFFF000U)
  349. #define CSL_UNICACHEMMU_SMALL_XLTE0_TRANSLATE_SHIFT (12U)
  350. #define CSL_UNICACHEMMU_SMALL_XLTE0_TRANSLATE_RESETVAL (0x00055000U)
  351. #define CSL_UNICACHEMMU_SMALL_XLTE0_TRANSLATE_MAX (0x000fffffU)
  352. #define CSL_UNICACHEMMU_SMALL_XLTE0_RESETVAL (0x55000000U)
  353. /* SMALL_XLTE1 */
  354. #define CSL_UNICACHEMMU_SMALL_XLTE1_IGNORE_MASK (0x00000001U)
  355. #define CSL_UNICACHEMMU_SMALL_XLTE1_IGNORE_SHIFT (0U)
  356. #define CSL_UNICACHEMMU_SMALL_XLTE1_IGNORE_RESETVAL (0x00000000U)
  357. #define CSL_UNICACHEMMU_SMALL_XLTE1_IGNORE_MAX (0x00000001U)
  358. #define CSL_UNICACHEMMU_SMALL_XLTE1_TRANSLATE_MASK (0xFFFFF000U)
  359. #define CSL_UNICACHEMMU_SMALL_XLTE1_TRANSLATE_SHIFT (12U)
  360. #define CSL_UNICACHEMMU_SMALL_XLTE1_TRANSLATE_RESETVAL (0x00055080U)
  361. #define CSL_UNICACHEMMU_SMALL_XLTE1_TRANSLATE_MAX (0x000fffffU)
  362. #define CSL_UNICACHEMMU_SMALL_XLTE1_RESETVAL (0x55080000U)
  363. /* SMALL_XLTE */
  364. #define CSL_UNICACHEMMU_SMALL_XLTE_IGNORE_MASK (0x00000001U)
  365. #define CSL_UNICACHEMMU_SMALL_XLTE_IGNORE_SHIFT (0U)
  366. #define CSL_UNICACHEMMU_SMALL_XLTE_IGNORE_RESETVAL (0x00000000U)
  367. #define CSL_UNICACHEMMU_SMALL_XLTE_IGNORE_MAX (0x00000001U)
  368. #define CSL_UNICACHEMMU_SMALL_XLTE_TRANSLATE_MASK (0xFFFFF000U)
  369. #define CSL_UNICACHEMMU_SMALL_XLTE_TRANSLATE_SHIFT (12U)
  370. #define CSL_UNICACHEMMU_SMALL_XLTE_TRANSLATE_RESETVAL (0x00000000U)
  371. #define CSL_UNICACHEMMU_SMALL_XLTE_TRANSLATE_MAX (0x000fffffU)
  372. #define CSL_UNICACHEMMU_SMALL_XLTE_RESETVAL (0x00000000U)
  373. /* SMALL_POLICY0 */
  374. #define CSL_UNICACHEMMU_SMALL_POLICY0_ENABLE_MASK (0x00000001U)
  375. #define CSL_UNICACHEMMU_SMALL_POLICY0_ENABLE_SHIFT (0U)
  376. #define CSL_UNICACHEMMU_SMALL_POLICY0_ENABLE_RESETVAL (0x00000001U)
  377. #define CSL_UNICACHEMMU_SMALL_POLICY0_ENABLE_DISABLE (0x00000000U)
  378. #define CSL_UNICACHEMMU_SMALL_POLICY0_ENABLE_ENABLE (0x00000001U)
  379. #define CSL_UNICACHEMMU_SMALL_POLICY0_SIZE_MASK (0x00000002U)
  380. #define CSL_UNICACHEMMU_SMALL_POLICY0_SIZE_SHIFT (1U)
  381. #define CSL_UNICACHEMMU_SMALL_POLICY0_SIZE_RESETVAL (0x00000000U)
  382. #define CSL_UNICACHEMMU_SMALL_POLICY0_SIZE_MAX (0x00000001U)
  383. #define CSL_UNICACHEMMU_SMALL_POLICY0_ENDIANISM_MASK (0x00000004U)
  384. #define CSL_UNICACHEMMU_SMALL_POLICY0_ENDIANISM_SHIFT (2U)
  385. #define CSL_UNICACHEMMU_SMALL_POLICY0_ENDIANISM_RESETVAL (0x00000001U)
  386. #define CSL_UNICACHEMMU_SMALL_POLICY0_ENDIANISM_BIG_ENDIAN (0x00000000U)
  387. #define CSL_UNICACHEMMU_SMALL_POLICY0_ENDIANISM_LITTLE_ENDIAN (0x00000001U)
  388. #define CSL_UNICACHEMMU_SMALL_POLICY0_VOLATILE_MASK (0x00000008U)
  389. #define CSL_UNICACHEMMU_SMALL_POLICY0_VOLATILE_SHIFT (3U)
  390. #define CSL_UNICACHEMMU_SMALL_POLICY0_VOLATILE_RESETVAL (0x00000001U)
  391. #define CSL_UNICACHEMMU_SMALL_POLICY0_VOLATILE_DISABLE (0x00000000U)
  392. #define CSL_UNICACHEMMU_SMALL_POLICY0_VOLATILE_ENABLE (0x00000001U)
  393. #define CSL_UNICACHEMMU_SMALL_POLICY0_EXECUTE_MASK (0x00000010U)
  394. #define CSL_UNICACHEMMU_SMALL_POLICY0_EXECUTE_SHIFT (4U)
  395. #define CSL_UNICACHEMMU_SMALL_POLICY0_EXECUTE_RESETVAL (0x00000000U)
  396. #define CSL_UNICACHEMMU_SMALL_POLICY0_EXECUTE_MAX (0x00000001U)
  397. #define CSL_UNICACHEMMU_SMALL_POLICY0_READ_MASK (0x00000020U)
  398. #define CSL_UNICACHEMMU_SMALL_POLICY0_READ_SHIFT (5U)
  399. #define CSL_UNICACHEMMU_SMALL_POLICY0_READ_RESETVAL (0x00000000U)
  400. #define CSL_UNICACHEMMU_SMALL_POLICY0_READ_MAX (0x00000001U)
  401. #define CSL_UNICACHEMMU_SMALL_POLICY0_PRELOAD_MASK (0x00000040U)
  402. #define CSL_UNICACHEMMU_SMALL_POLICY0_PRELOAD_SHIFT (6U)
  403. #define CSL_UNICACHEMMU_SMALL_POLICY0_PRELOAD_RESETVAL (0x00000000U)
  404. #define CSL_UNICACHEMMU_SMALL_POLICY0_PRELOAD_DISABLE (0x00000000U)
  405. #define CSL_UNICACHEMMU_SMALL_POLICY0_PRELOAD_ENABLE (0x00000001U)
  406. #define CSL_UNICACHEMMU_SMALL_POLICY0_EXCLUSION_MASK (0x00000080U)
  407. #define CSL_UNICACHEMMU_SMALL_POLICY0_EXCLUSION_SHIFT (7U)
  408. #define CSL_UNICACHEMMU_SMALL_POLICY0_EXCLUSION_RESETVAL (0x00000000U)
  409. #define CSL_UNICACHEMMU_SMALL_POLICY0_EXCLUSION_DISABLE (0x00000000U)
  410. #define CSL_UNICACHEMMU_SMALL_POLICY0_EXCLUSION_ENABLE (0x00000001U)
  411. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_CACHEABLE_MASK (0x00010000U)
  412. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_CACHEABLE_SHIFT (16U)
  413. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_CACHEABLE_RESETVAL (0x00000000U)
  414. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_CACHEABLE_DISABLE (0x00000000U)
  415. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_CACHEABLE_ENABLE (0x00000001U)
  416. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_POSTED_MASK (0x00020000U)
  417. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_POSTED_SHIFT (17U)
  418. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_POSTED_RESETVAL (0x00000000U)
  419. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_POSTED_NON_POSTED (0x00000000U)
  420. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_POSTED_POSTED (0x00000001U)
  421. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_ALLOCATE_MASK (0x00040000U)
  422. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_ALLOCATE_SHIFT (18U)
  423. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_ALLOCATE_RESETVAL (0x00000000U)
  424. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_ALLOCATE_NON_ALLOCATE (0x00000000U)
  425. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_ALLOCATE_ALLOCATE (0x00000001U)
  426. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_WR_POLICY_MASK (0x00080000U)
  427. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_WR_POLICY_SHIFT (19U)
  428. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_WR_POLICY_RESETVAL (0x00000000U)
  429. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_WR_POLICY_WT (0x00000000U)
  430. #define CSL_UNICACHEMMU_SMALL_POLICY0_L1_WR_POLICY_WB (0x00000001U)
  431. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_CACHEABLE_MASK (0x00100000U)
  432. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_CACHEABLE_SHIFT (20U)
  433. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_CACHEABLE_RESETVAL (0x00000000U)
  434. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_CACHEABLE_NON_CACHEABLE (0x00000000U)
  435. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_CACHEABLE_CACHEABLE (0x00000001U)
  436. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_POSTED_MASK (0x00200000U)
  437. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_POSTED_SHIFT (21U)
  438. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_POSTED_RESETVAL (0x00000000U)
  439. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_POSTED_NON_POSTED (0x00000000U)
  440. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_POSTED_POSTED (0x00000001U)
  441. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_ALLOCATE_MASK (0x00400000U)
  442. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_ALLOCATE_SHIFT (22U)
  443. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_ALLOCATE_RESETVAL (0x00000000U)
  444. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_ALLOCATE_NON_ALLOCATE (0x00000000U)
  445. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_ALLOCATE_ALLOCATE (0x00000001U)
  446. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_WR_POLICY_MASK (0x00800000U)
  447. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_WR_POLICY_SHIFT (23U)
  448. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_WR_POLICY_RESETVAL (0x00000000U)
  449. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_WR_POLICY_WT (0x00000000U)
  450. #define CSL_UNICACHEMMU_SMALL_POLICY0_L2_WR_POLICY_WB (0x00000001U)
  451. #define CSL_UNICACHEMMU_SMALL_POLICY0_COHERENCY_MASK (0x00000100U)
  452. #define CSL_UNICACHEMMU_SMALL_POLICY0_COHERENCY_SHIFT (8U)
  453. #define CSL_UNICACHEMMU_SMALL_POLICY0_COHERENCY_RESETVAL (0x00000001U)
  454. #define CSL_UNICACHEMMU_SMALL_POLICY0_COHERENCY_MAX (0x00000001U)
  455. #define CSL_UNICACHEMMU_SMALL_POLICY0_RESETVAL (0x0000010dU)
  456. /* SMALL_POLICY1 */
  457. #define CSL_UNICACHEMMU_SMALL_POLICY1_ENABLE_MASK (0x00000001U)
  458. #define CSL_UNICACHEMMU_SMALL_POLICY1_ENABLE_SHIFT (0U)
  459. #define CSL_UNICACHEMMU_SMALL_POLICY1_ENABLE_RESETVAL (0x00000001U)
  460. #define CSL_UNICACHEMMU_SMALL_POLICY1_ENABLE_DISABLE (0x00000000U)
  461. #define CSL_UNICACHEMMU_SMALL_POLICY1_ENABLE_ENABLE (0x00000001U)
  462. #define CSL_UNICACHEMMU_SMALL_POLICY1_SIZE_MASK (0x00000002U)
  463. #define CSL_UNICACHEMMU_SMALL_POLICY1_SIZE_SHIFT (1U)
  464. #define CSL_UNICACHEMMU_SMALL_POLICY1_SIZE_RESETVAL (0x00000000U)
  465. #define CSL_UNICACHEMMU_SMALL_POLICY1_SIZE_MAX (0x00000001U)
  466. #define CSL_UNICACHEMMU_SMALL_POLICY1_ENDIANISM_MASK (0x00000004U)
  467. #define CSL_UNICACHEMMU_SMALL_POLICY1_ENDIANISM_SHIFT (2U)
  468. #define CSL_UNICACHEMMU_SMALL_POLICY1_ENDIANISM_RESETVAL (0x00000000U)
  469. #define CSL_UNICACHEMMU_SMALL_POLICY1_ENDIANISM_BIG_ENDIAN (0x00000000U)
  470. #define CSL_UNICACHEMMU_SMALL_POLICY1_ENDIANISM_LITTLE_ENDIAN (0x00000001U)
  471. #define CSL_UNICACHEMMU_SMALL_POLICY1_VOLATILE_MASK (0x00000008U)
  472. #define CSL_UNICACHEMMU_SMALL_POLICY1_VOLATILE_SHIFT (3U)
  473. #define CSL_UNICACHEMMU_SMALL_POLICY1_VOLATILE_RESETVAL (0x00000001U)
  474. #define CSL_UNICACHEMMU_SMALL_POLICY1_VOLATILE_DISABLE (0x00000000U)
  475. #define CSL_UNICACHEMMU_SMALL_POLICY1_VOLATILE_ENABLE (0x00000001U)
  476. #define CSL_UNICACHEMMU_SMALL_POLICY1_EXECUTE_MASK (0x00000010U)
  477. #define CSL_UNICACHEMMU_SMALL_POLICY1_EXECUTE_SHIFT (4U)
  478. #define CSL_UNICACHEMMU_SMALL_POLICY1_EXECUTE_RESETVAL (0x00000000U)
  479. #define CSL_UNICACHEMMU_SMALL_POLICY1_EXECUTE_MAX (0x00000001U)
  480. #define CSL_UNICACHEMMU_SMALL_POLICY1_READ_MASK (0x00000020U)
  481. #define CSL_UNICACHEMMU_SMALL_POLICY1_READ_SHIFT (5U)
  482. #define CSL_UNICACHEMMU_SMALL_POLICY1_READ_RESETVAL (0x00000000U)
  483. #define CSL_UNICACHEMMU_SMALL_POLICY1_READ_MAX (0x00000001U)
  484. #define CSL_UNICACHEMMU_SMALL_POLICY1_PRELOAD_MASK (0x00000040U)
  485. #define CSL_UNICACHEMMU_SMALL_POLICY1_PRELOAD_SHIFT (6U)
  486. #define CSL_UNICACHEMMU_SMALL_POLICY1_PRELOAD_RESETVAL (0x00000000U)
  487. #define CSL_UNICACHEMMU_SMALL_POLICY1_PRELOAD_DISABLE (0x00000000U)
  488. #define CSL_UNICACHEMMU_SMALL_POLICY1_PRELOAD_ENABLE (0x00000001U)
  489. #define CSL_UNICACHEMMU_SMALL_POLICY1_EXCLUSION_MASK (0x00000080U)
  490. #define CSL_UNICACHEMMU_SMALL_POLICY1_EXCLUSION_SHIFT (7U)
  491. #define CSL_UNICACHEMMU_SMALL_POLICY1_EXCLUSION_RESETVAL (0x00000000U)
  492. #define CSL_UNICACHEMMU_SMALL_POLICY1_EXCLUSION_DISABLE (0x00000000U)
  493. #define CSL_UNICACHEMMU_SMALL_POLICY1_EXCLUSION_ENABLE (0x00000001U)
  494. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_CACHEABLE_MASK (0x00010000U)
  495. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_CACHEABLE_SHIFT (16U)
  496. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_CACHEABLE_RESETVAL (0x00000000U)
  497. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_CACHEABLE_DISABLE (0x00000000U)
  498. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_CACHEABLE_ENABLE (0x00000001U)
  499. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_POSTED_MASK (0x00020000U)
  500. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_POSTED_SHIFT (17U)
  501. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_POSTED_RESETVAL (0x00000000U)
  502. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_POSTED_NON_POSTED (0x00000000U)
  503. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_POSTED_POSTED (0x00000001U)
  504. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_ALLOCATE_MASK (0x00040000U)
  505. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_ALLOCATE_SHIFT (18U)
  506. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_ALLOCATE_RESETVAL (0x00000000U)
  507. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_ALLOCATE_NON_ALLOCATE (0x00000000U)
  508. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_ALLOCATE_ALLOCATE (0x00000001U)
  509. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_WR_POLICY_MASK (0x00080000U)
  510. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_WR_POLICY_SHIFT (19U)
  511. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_WR_POLICY_RESETVAL (0x00000000U)
  512. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_WR_POLICY_WT (0x00000000U)
  513. #define CSL_UNICACHEMMU_SMALL_POLICY1_L1_WR_POLICY_WB (0x00000001U)
  514. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_CACHEABLE_MASK (0x00100000U)
  515. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_CACHEABLE_SHIFT (20U)
  516. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_CACHEABLE_RESETVAL (0x00000000U)
  517. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_CACHEABLE_NON_CACHEABLE (0x00000000U)
  518. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_CACHEABLE_CACHEABLE (0x00000001U)
  519. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_POSTED_MASK (0x00200000U)
  520. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_POSTED_SHIFT (21U)
  521. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_POSTED_RESETVAL (0x00000000U)
  522. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_POSTED_NON_POSTED (0x00000000U)
  523. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_POSTED_POSTED (0x00000001U)
  524. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_ALLOCATE_MASK (0x00400000U)
  525. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_ALLOCATE_SHIFT (22U)
  526. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_ALLOCATE_RESETVAL (0x00000000U)
  527. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_ALLOCATE_NON_ALLOCATE (0x00000000U)
  528. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_ALLOCATE_ALLOCATE (0x00000001U)
  529. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_WR_POLICY_MASK (0x00800000U)
  530. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_WR_POLICY_SHIFT (23U)
  531. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_WR_POLICY_RESETVAL (0x00000000U)
  532. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_WR_POLICY_WT (0x00000000U)
  533. #define CSL_UNICACHEMMU_SMALL_POLICY1_L2_WR_POLICY_WB (0x00000001U)
  534. #define CSL_UNICACHEMMU_SMALL_POLICY1_COHERENCY_MASK (0x00000100U)
  535. #define CSL_UNICACHEMMU_SMALL_POLICY1_COHERENCY_SHIFT (8U)
  536. #define CSL_UNICACHEMMU_SMALL_POLICY1_COHERENCY_RESETVAL (0x00000001U)
  537. #define CSL_UNICACHEMMU_SMALL_POLICY1_COHERENCY_MAX (0x00000001U)
  538. #define CSL_UNICACHEMMU_SMALL_POLICY1_RESETVAL (0x00000109U)
  539. /* SMALL_POLICY */
  540. #define CSL_UNICACHEMMU_SMALL_POLICY_ENABLE_MASK (0x00000001U)
  541. #define CSL_UNICACHEMMU_SMALL_POLICY_ENABLE_SHIFT (0U)
  542. #define CSL_UNICACHEMMU_SMALL_POLICY_ENABLE_RESETVAL (0x00000000U)
  543. #define CSL_UNICACHEMMU_SMALL_POLICY_ENABLE_DISABLE (0x00000000U)
  544. #define CSL_UNICACHEMMU_SMALL_POLICY_ENABLE_ENABLE (0x00000001U)
  545. #define CSL_UNICACHEMMU_SMALL_POLICY_SIZE_MASK (0x00000002U)
  546. #define CSL_UNICACHEMMU_SMALL_POLICY_SIZE_SHIFT (1U)
  547. #define CSL_UNICACHEMMU_SMALL_POLICY_SIZE_RESETVAL (0x00000000U)
  548. #define CSL_UNICACHEMMU_SMALL_POLICY_SIZE_4KB (0x00000000U)
  549. #define CSL_UNICACHEMMU_SMALL_POLICY_SIZE_16KB (0x00000001U)
  550. #define CSL_UNICACHEMMU_SMALL_POLICY_ENDIANISM_MASK (0x00000004U)
  551. #define CSL_UNICACHEMMU_SMALL_POLICY_ENDIANISM_SHIFT (2U)
  552. #define CSL_UNICACHEMMU_SMALL_POLICY_ENDIANISM_RESETVAL (0x00000000U)
  553. #define CSL_UNICACHEMMU_SMALL_POLICY_ENDIANISM_BIG_ENDIAN (0x00000000U)
  554. #define CSL_UNICACHEMMU_SMALL_POLICY_ENDIANISM_LITTLE_ENDIAN (0x00000001U)
  555. #define CSL_UNICACHEMMU_SMALL_POLICY_VOLATILE_MASK (0x00000008U)
  556. #define CSL_UNICACHEMMU_SMALL_POLICY_VOLATILE_SHIFT (3U)
  557. #define CSL_UNICACHEMMU_SMALL_POLICY_VOLATILE_RESETVAL (0x00000000U)
  558. #define CSL_UNICACHEMMU_SMALL_POLICY_VOLATILE_DISABLE (0x00000000U)
  559. #define CSL_UNICACHEMMU_SMALL_POLICY_VOLATILE_ENABLE (0x00000001U)
  560. #define CSL_UNICACHEMMU_SMALL_POLICY_EXECUTE_MASK (0x00000010U)
  561. #define CSL_UNICACHEMMU_SMALL_POLICY_EXECUTE_SHIFT (4U)
  562. #define CSL_UNICACHEMMU_SMALL_POLICY_EXECUTE_RESETVAL (0x00000000U)
  563. #define CSL_UNICACHEMMU_SMALL_POLICY_EXECUTE_MAX (0x00000001U)
  564. #define CSL_UNICACHEMMU_SMALL_POLICY_READ_MASK (0x00000020U)
  565. #define CSL_UNICACHEMMU_SMALL_POLICY_READ_SHIFT (5U)
  566. #define CSL_UNICACHEMMU_SMALL_POLICY_READ_RESETVAL (0x00000000U)
  567. #define CSL_UNICACHEMMU_SMALL_POLICY_READ_MAX (0x00000001U)
  568. #define CSL_UNICACHEMMU_SMALL_POLICY_PRELOAD_MASK (0x00000040U)
  569. #define CSL_UNICACHEMMU_SMALL_POLICY_PRELOAD_SHIFT (6U)
  570. #define CSL_UNICACHEMMU_SMALL_POLICY_PRELOAD_RESETVAL (0x00000000U)
  571. #define CSL_UNICACHEMMU_SMALL_POLICY_PRELOAD_DISABLE (0x00000000U)
  572. #define CSL_UNICACHEMMU_SMALL_POLICY_PRELOAD_ENABLE (0x00000001U)
  573. #define CSL_UNICACHEMMU_SMALL_POLICY_EXCLUSION_MASK (0x00000080U)
  574. #define CSL_UNICACHEMMU_SMALL_POLICY_EXCLUSION_SHIFT (7U)
  575. #define CSL_UNICACHEMMU_SMALL_POLICY_EXCLUSION_RESETVAL (0x00000000U)
  576. #define CSL_UNICACHEMMU_SMALL_POLICY_EXCLUSION_DISABLE (0x00000000U)
  577. #define CSL_UNICACHEMMU_SMALL_POLICY_EXCLUSION_ENABLE (0x00000001U)
  578. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_CACHEABLE_MASK (0x00010000U)
  579. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_CACHEABLE_SHIFT (16U)
  580. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_CACHEABLE_RESETVAL (0x00000000U)
  581. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_CACHEABLE_DISABLE (0x00000000U)
  582. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_CACHEABLE_ENABLE (0x00000001U)
  583. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_POSTED_MASK (0x00020000U)
  584. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_POSTED_SHIFT (17U)
  585. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_POSTED_RESETVAL (0x00000000U)
  586. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_POSTED_NON_POSTED (0x00000000U)
  587. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_POSTED_POSTED (0x00000001U)
  588. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_ALLOCATE_MASK (0x00040000U)
  589. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_ALLOCATE_SHIFT (18U)
  590. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_ALLOCATE_RESETVAL (0x00000000U)
  591. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_ALLOCATE_NON_ALLOCATE (0x00000000U)
  592. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_ALLOCATE_ALLOCATE (0x00000001U)
  593. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_WR_POLICY_MASK (0x00080000U)
  594. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_WR_POLICY_SHIFT (19U)
  595. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_WR_POLICY_RESETVAL (0x00000000U)
  596. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_WR_POLICY_WT (0x00000000U)
  597. #define CSL_UNICACHEMMU_SMALL_POLICY_L1_WR_POLICY_WB (0x00000001U)
  598. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_CACHEABLE_MASK (0x00100000U)
  599. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_CACHEABLE_SHIFT (20U)
  600. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_CACHEABLE_RESETVAL (0x00000000U)
  601. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_CACHEABLE_NON_CACHEABLE (0x00000000U)
  602. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_CACHEABLE_CACHEABLE (0x00000001U)
  603. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_POSTED_MASK (0x00200000U)
  604. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_POSTED_SHIFT (21U)
  605. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_POSTED_RESETVAL (0x00000000U)
  606. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_POSTED_NON_POSTED (0x00000000U)
  607. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_POSTED_POSTED (0x00000001U)
  608. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_ALLOCATE_MASK (0x00400000U)
  609. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_ALLOCATE_SHIFT (22U)
  610. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_ALLOCATE_RESETVAL (0x00000000U)
  611. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_ALLOCATE_NON_ALLOCATE (0x00000000U)
  612. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_ALLOCATE_ALLOCATE (0x00000001U)
  613. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_WR_POLICY_MASK (0x00800000U)
  614. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_WR_POLICY_SHIFT (23U)
  615. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_WR_POLICY_RESETVAL (0x00000000U)
  616. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_WR_POLICY_WT (0x00000000U)
  617. #define CSL_UNICACHEMMU_SMALL_POLICY_L2_WR_POLICY_WB (0x00000001U)
  618. #define CSL_UNICACHEMMU_SMALL_POLICY_COHERENCY_MASK (0x00000100U)
  619. #define CSL_UNICACHEMMU_SMALL_POLICY_COHERENCY_SHIFT (8U)
  620. #define CSL_UNICACHEMMU_SMALL_POLICY_COHERENCY_RESETVAL (0x00000001U)
  621. #define CSL_UNICACHEMMU_SMALL_POLICY_COHERENCY_MAX (0x00000001U)
  622. #define CSL_UNICACHEMMU_SMALL_POLICY_RESETVAL (0x00000100U)
  623. /* SMALL_MAINT */
  624. #define CSL_UNICACHEMMU_SMALL_MAINT_PRELOAD_MASK (0x00000001U)
  625. #define CSL_UNICACHEMMU_SMALL_MAINT_PRELOAD_SHIFT (0U)
  626. #define CSL_UNICACHEMMU_SMALL_MAINT_PRELOAD_RESETVAL (0x00000000U)
  627. #define CSL_UNICACHEMMU_SMALL_MAINT_PRELOAD_MAX (0x00000001U)
  628. #define CSL_UNICACHEMMU_SMALL_MAINT_LOCK_MASK (0x00000002U)
  629. #define CSL_UNICACHEMMU_SMALL_MAINT_LOCK_SHIFT (1U)
  630. #define CSL_UNICACHEMMU_SMALL_MAINT_LOCK_RESETVAL (0x00000000U)
  631. #define CSL_UNICACHEMMU_SMALL_MAINT_LOCK_MAX (0x00000001U)
  632. #define CSL_UNICACHEMMU_SMALL_MAINT_CLEAN_MASK (0x00000004U)
  633. #define CSL_UNICACHEMMU_SMALL_MAINT_CLEAN_SHIFT (2U)
  634. #define CSL_UNICACHEMMU_SMALL_MAINT_CLEAN_RESETVAL (0x00000000U)
  635. #define CSL_UNICACHEMMU_SMALL_MAINT_CLEAN_MAX (0x00000001U)
  636. #define CSL_UNICACHEMMU_SMALL_MAINT_INVALIDATE_MASK (0x00000008U)
  637. #define CSL_UNICACHEMMU_SMALL_MAINT_INVALIDATE_SHIFT (3U)
  638. #define CSL_UNICACHEMMU_SMALL_MAINT_INVALIDATE_RESETVAL (0x00000000U)
  639. #define CSL_UNICACHEMMU_SMALL_MAINT_INVALIDATE_MAX (0x00000001U)
  640. #define CSL_UNICACHEMMU_SMALL_MAINT_INTERRUPT_MASK (0x00000010U)
  641. #define CSL_UNICACHEMMU_SMALL_MAINT_INTERRUPT_SHIFT (4U)
  642. #define CSL_UNICACHEMMU_SMALL_MAINT_INTERRUPT_RESETVAL (0x00000000U)
  643. #define CSL_UNICACHEMMU_SMALL_MAINT_INTERRUPT_MAX (0x00000001U)
  644. #define CSL_UNICACHEMMU_SMALL_MAINT_RESETVAL (0x00000000U)
  645. /* LINE_ADDR */
  646. #define CSL_UNICACHEMMU_LINE_ADDR_ADDRESS_MASK (0xFFFFFFE0U)
  647. #define CSL_UNICACHEMMU_LINE_ADDR_ADDRESS_SHIFT (5U)
  648. #define CSL_UNICACHEMMU_LINE_ADDR_ADDRESS_RESETVAL (0x00000000U)
  649. #define CSL_UNICACHEMMU_LINE_ADDR_ADDRESS_MAX (0x07ffffffU)
  650. #define CSL_UNICACHEMMU_LINE_ADDR_RESETVAL (0x00000000U)
  651. /* LINE_XLTE */
  652. #define CSL_UNICACHEMMU_LINE_XLTE_IGNORE_MASK (0x00000001U)
  653. #define CSL_UNICACHEMMU_LINE_XLTE_IGNORE_SHIFT (0U)
  654. #define CSL_UNICACHEMMU_LINE_XLTE_IGNORE_RESETVAL (0x00000000U)
  655. #define CSL_UNICACHEMMU_LINE_XLTE_IGNORE_MAX (0x00000001U)
  656. #define CSL_UNICACHEMMU_LINE_XLTE_TRANSLATE_MASK (0xFFFFFFE0U)
  657. #define CSL_UNICACHEMMU_LINE_XLTE_TRANSLATE_SHIFT (5U)
  658. #define CSL_UNICACHEMMU_LINE_XLTE_TRANSLATE_RESETVAL (0x00000000U)
  659. #define CSL_UNICACHEMMU_LINE_XLTE_TRANSLATE_MAX (0x07ffffffU)
  660. #define CSL_UNICACHEMMU_LINE_XLTE_RESETVAL (0x00000000U)
  661. /* LINE_POLICY */
  662. #define CSL_UNICACHEMMU_LINE_POLICY_ENABLE_MASK (0x00000001U)
  663. #define CSL_UNICACHEMMU_LINE_POLICY_ENABLE_SHIFT (0U)
  664. #define CSL_UNICACHEMMU_LINE_POLICY_ENABLE_RESETVAL (0x00000000U)
  665. #define CSL_UNICACHEMMU_LINE_POLICY_ENABLE_DISABLE (0x00000000U)
  666. #define CSL_UNICACHEMMU_LINE_POLICY_ENABLE_ENABLE (0x00000001U)
  667. #define CSL_UNICACHEMMU_LINE_POLICY_RESETVAL (0x00000000U)
  668. /* DEBUG_XLTE */
  669. #define CSL_UNICACHEMMU_DEBUG_XLTE_IGNORE_MASK (0x00000001U)
  670. #define CSL_UNICACHEMMU_DEBUG_XLTE_IGNORE_SHIFT (0U)
  671. #define CSL_UNICACHEMMU_DEBUG_XLTE_IGNORE_RESETVAL (0x00000000U)
  672. #define CSL_UNICACHEMMU_DEBUG_XLTE_IGNORE_MAX (0x00000001U)
  673. #define CSL_UNICACHEMMU_DEBUG_XLTE_TRANSLATE_MASK (0xFFFFF000U)
  674. #define CSL_UNICACHEMMU_DEBUG_XLTE_TRANSLATE_SHIFT (12U)
  675. #define CSL_UNICACHEMMU_DEBUG_XLTE_TRANSLATE_RESETVAL (0x00000000U)
  676. #define CSL_UNICACHEMMU_DEBUG_XLTE_TRANSLATE_MAX (0x000fffffU)
  677. #define CSL_UNICACHEMMU_DEBUG_XLTE_RESETVAL (0x00000000U)
  678. /* DEBUG_POLICY */
  679. #define CSL_UNICACHEMMU_DEBUG_POLICY_ENABLE_MASK (0x00000001U)
  680. #define CSL_UNICACHEMMU_DEBUG_POLICY_ENABLE_SHIFT (0U)
  681. #define CSL_UNICACHEMMU_DEBUG_POLICY_ENABLE_RESETVAL (0x00000000U)
  682. #define CSL_UNICACHEMMU_DEBUG_POLICY_ENABLE_DISABLE (0x00000000U)
  683. #define CSL_UNICACHEMMU_DEBUG_POLICY_ENABLE_ENABLE (0x00000001U)
  684. #define CSL_UNICACHEMMU_DEBUG_POLICY_ENDIANISM_MASK (0x00000004U)
  685. #define CSL_UNICACHEMMU_DEBUG_POLICY_ENDIANISM_SHIFT (2U)
  686. #define CSL_UNICACHEMMU_DEBUG_POLICY_ENDIANISM_RESETVAL (0x00000000U)
  687. #define CSL_UNICACHEMMU_DEBUG_POLICY_ENDIANISM_BIG_ENDIAN (0x00000000U)
  688. #define CSL_UNICACHEMMU_DEBUG_POLICY_ENDIANISM_LITTLE_ENDIAN (0x00000001U)
  689. #define CSL_UNICACHEMMU_DEBUG_POLICY_RESETVAL (0x00000000U)
  690. /* MAINT */
  691. #define CSL_UNICACHEMMU_MAINT_PRELOAD_MASK (0x00000001U)
  692. #define CSL_UNICACHEMMU_MAINT_PRELOAD_SHIFT (0U)
  693. #define CSL_UNICACHEMMU_MAINT_PRELOAD_RESETVAL (0x00000000U)
  694. #define CSL_UNICACHEMMU_MAINT_PRELOAD_DISABLE (0x00000000U)
  695. #define CSL_UNICACHEMMU_MAINT_PRELOAD_ENABLE (0x00000001U)
  696. #define CSL_UNICACHEMMU_MAINT_LOCK_MASK (0x00000002U)
  697. #define CSL_UNICACHEMMU_MAINT_LOCK_SHIFT (1U)
  698. #define CSL_UNICACHEMMU_MAINT_LOCK_RESETVAL (0x00000000U)
  699. #define CSL_UNICACHEMMU_MAINT_LOCK_DISABLE (0x00000000U)
  700. #define CSL_UNICACHEMMU_MAINT_LOCK_ENABLE (0x00000001U)
  701. #define CSL_UNICACHEMMU_MAINT_UNLOCK_MASK (0x00000004U)
  702. #define CSL_UNICACHEMMU_MAINT_UNLOCK_SHIFT (2U)
  703. #define CSL_UNICACHEMMU_MAINT_UNLOCK_RESETVAL (0x00000000U)
  704. #define CSL_UNICACHEMMU_MAINT_UNLOCK_DISABLE (0x00000000U)
  705. #define CSL_UNICACHEMMU_MAINT_UNLOCK_ENABLE (0x00000001U)
  706. #define CSL_UNICACHEMMU_MAINT_CLEAN_MASK (0x00000008U)
  707. #define CSL_UNICACHEMMU_MAINT_CLEAN_SHIFT (3U)
  708. #define CSL_UNICACHEMMU_MAINT_CLEAN_RESETVAL (0x00000000U)
  709. #define CSL_UNICACHEMMU_MAINT_CLEAN_DISABLE (0x00000000U)
  710. #define CSL_UNICACHEMMU_MAINT_CLEAN_ENABLE (0x00000001U)
  711. #define CSL_UNICACHEMMU_MAINT_INVALIDATE_MASK (0x00000010U)
  712. #define CSL_UNICACHEMMU_MAINT_INVALIDATE_SHIFT (4U)
  713. #define CSL_UNICACHEMMU_MAINT_INVALIDATE_RESETVAL (0x00000000U)
  714. #define CSL_UNICACHEMMU_MAINT_INVALIDATE_DISABLE (0x00000000U)
  715. #define CSL_UNICACHEMMU_MAINT_INVALIDATE_ENABLE (0x00000001U)
  716. #define CSL_UNICACHEMMU_MAINT_HOST_INTERRUPT_MASK (0x00000020U)
  717. #define CSL_UNICACHEMMU_MAINT_HOST_INTERRUPT_SHIFT (5U)
  718. #define CSL_UNICACHEMMU_MAINT_HOST_INTERRUPT_RESETVAL (0x00000000U)
  719. #define CSL_UNICACHEMMU_MAINT_HOST_INTERRUPT_NO_INT (0x00000000U)
  720. #define CSL_UNICACHEMMU_MAINT_HOST_INTERRUPT_GEN_INT (0x00000001U)
  721. #define CSL_UNICACHEMMU_MAINT_CPU_INTERRUPT_MASK (0x00000040U)
  722. #define CSL_UNICACHEMMU_MAINT_CPU_INTERRUPT_SHIFT (6U)
  723. #define CSL_UNICACHEMMU_MAINT_CPU_INTERRUPT_RESETVAL (0x00000000U)
  724. #define CSL_UNICACHEMMU_MAINT_CPU_INTERRUPT_NO_INT (0x00000000U)
  725. #define CSL_UNICACHEMMU_MAINT_CPU_INTERRUPT_INT (0x00000001U)
  726. #define CSL_UNICACHEMMU_MAINT_L1_CACHE1_MASK (0x00000080U)
  727. #define CSL_UNICACHEMMU_MAINT_L1_CACHE1_SHIFT (7U)
  728. #define CSL_UNICACHEMMU_MAINT_L1_CACHE1_RESETVAL (0x00000000U)
  729. #define CSL_UNICACHEMMU_MAINT_L1_CACHE1_DISABLE (0x00000000U)
  730. #define CSL_UNICACHEMMU_MAINT_L1_CACHE1_PERFORM (0x00000001U)
  731. #define CSL_UNICACHEMMU_MAINT_L1_CACHE2_MASK (0x00000100U)
  732. #define CSL_UNICACHEMMU_MAINT_L1_CACHE2_SHIFT (8U)
  733. #define CSL_UNICACHEMMU_MAINT_L1_CACHE2_RESETVAL (0x00000000U)
  734. #define CSL_UNICACHEMMU_MAINT_L1_CACHE2_DISABLE (0x00000000U)
  735. #define CSL_UNICACHEMMU_MAINT_L1_CACHE2_PERFORM (0x00000001U)
  736. #define CSL_UNICACHEMMU_MAINT_L2_CACHE_MASK (0x00000200U)
  737. #define CSL_UNICACHEMMU_MAINT_L2_CACHE_SHIFT (9U)
  738. #define CSL_UNICACHEMMU_MAINT_L2_CACHE_RESETVAL (0x00000000U)
  739. #define CSL_UNICACHEMMU_MAINT_L2_CACHE_DISABLE (0x00000000U)
  740. #define CSL_UNICACHEMMU_MAINT_L2_CACHE_PERFORM (0x00000001U)
  741. #define CSL_UNICACHEMMU_MAINT_G_FLUSH_MASK (0x00000400U)
  742. #define CSL_UNICACHEMMU_MAINT_G_FLUSH_SHIFT (10U)
  743. #define CSL_UNICACHEMMU_MAINT_G_FLUSH_RESETVAL (0x00000000U)
  744. #define CSL_UNICACHEMMU_MAINT_G_FLUSH_DISABLE (0x00000000U)
  745. #define CSL_UNICACHEMMU_MAINT_G_FLUSH_PERFORM (0x00000001U)
  746. #define CSL_UNICACHEMMU_MAINT_RESETVAL (0x00000000U)
  747. /* MTSTART */
  748. #define CSL_UNICACHEMMU_MTSTART_BEGIN_ADDRESS_MASK (0xFFFFFFFFU)
  749. #define CSL_UNICACHEMMU_MTSTART_BEGIN_ADDRESS_SHIFT (0U)
  750. #define CSL_UNICACHEMMU_MTSTART_BEGIN_ADDRESS_RESETVAL (0x00000000U)
  751. #define CSL_UNICACHEMMU_MTSTART_BEGIN_ADDRESS_MAX (0xffffffffU)
  752. #define CSL_UNICACHEMMU_MTSTART_RESETVAL (0x00000000U)
  753. /* MTEND */
  754. #define CSL_UNICACHEMMU_MTEND_END_ADDRESS_MASK (0xFFFFFFFFU)
  755. #define CSL_UNICACHEMMU_MTEND_END_ADDRESS_SHIFT (0U)
  756. #define CSL_UNICACHEMMU_MTEND_END_ADDRESS_RESETVAL (0x00000000U)
  757. #define CSL_UNICACHEMMU_MTEND_END_ADDRESS_MAX (0xffffffffU)
  758. #define CSL_UNICACHEMMU_MTEND_RESETVAL (0x00000000U)
  759. /* MAINTST */
  760. #define CSL_UNICACHEMMU_MAINTST_STATUS_MASK (0x00000001U)
  761. #define CSL_UNICACHEMMU_MAINTST_STATUS_SHIFT (0U)
  762. #define CSL_UNICACHEMMU_MAINTST_STATUS_RESETVAL (0x00000000U)
  763. #define CSL_UNICACHEMMU_MAINTST_STATUS_DONE (0x00000000U)
  764. #define CSL_UNICACHEMMU_MAINTST_STATUS_GOING (0x00000001U)
  765. #define CSL_UNICACHEMMU_MAINTST_RESETVAL (0x00000000U)
  766. /* MMUCONFIG */
  767. #define CSL_UNICACHEMMU_MMUCONFIG_SECURE_MASK (0x00000001U)
  768. #define CSL_UNICACHEMMU_MMUCONFIG_SECURE_SHIFT (0U)
  769. #define CSL_UNICACHEMMU_MMUCONFIG_SECURE_RESETVAL (0x00000000U)
  770. #define CSL_UNICACHEMMU_MMUCONFIG_SECURE_DISABLE (0x00000000U)
  771. #define CSL_UNICACHEMMU_MMUCONFIG_SECURE_ENABLE (0x00000001U)
  772. #define CSL_UNICACHEMMU_MMUCONFIG_PRIVILEDGE_MASK (0x00000002U)
  773. #define CSL_UNICACHEMMU_MMUCONFIG_PRIVILEDGE_SHIFT (1U)
  774. #define CSL_UNICACHEMMU_MMUCONFIG_PRIVILEDGE_RESETVAL (0x00000000U)
  775. #define CSL_UNICACHEMMU_MMUCONFIG_PRIVILEDGE_DISABLE (0x00000000U)
  776. #define CSL_UNICACHEMMU_MMUCONFIG_PRIVILEDGE_ENABLE (0x00000001U)
  777. #define CSL_UNICACHEMMU_MMUCONFIG_RESETVAL (0x00000000U)
  778. #ifdef __cplusplus
  779. }
  780. #endif
  781. #endif