cslr_cstf.h 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
  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_CSTF_H_
  34. #define CSLR_CSTF_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 FCTL;
  46. volatile Uint32 PCTL;
  47. volatile Uint8 RSVD0[3812];
  48. volatile Uint32 ITATBDATA0;
  49. volatile Uint32 ITATBCTR2;
  50. volatile Uint32 ITATBCTR1;
  51. volatile Uint32 ITATBCTR0;
  52. volatile Uint8 RSVD1[4];
  53. volatile Uint32 ITCTRL;
  54. volatile Uint8 RSVD2[156];
  55. volatile Uint32 CLAIMSET;
  56. volatile Uint32 CLAIMCLR;
  57. volatile Uint8 RSVD3[8];
  58. volatile Uint32 LOCKACCESS;
  59. volatile Uint32 LOCKSTS;
  60. volatile Uint32 AUTHSTS;
  61. volatile Uint8 RSVD4[12];
  62. volatile Uint32 DEVID;
  63. volatile Uint32 DEVTYPE;
  64. volatile Uint32 PERIPHID4;
  65. volatile Uint32 PERIPHID5;
  66. volatile Uint32 PERIPHID6;
  67. volatile Uint32 PERIPHID7;
  68. volatile Uint32 PERIPHID0;
  69. volatile Uint32 PERIPHID1;
  70. volatile Uint32 PERIPHID2;
  71. volatile Uint32 PERIPHID3;
  72. volatile Uint32 COMPONID0;
  73. volatile Uint32 COMPONID1;
  74. volatile Uint32 COMPONID2;
  75. volatile Uint32 COMPONID3;
  76. } CSL_CstfRegs;
  77. /**************************************************************************
  78. * Register Macros
  79. **************************************************************************/
  80. /* Funnel Control Register */
  81. #define CSL_CSTF_FCTL (0x0U)
  82. /* Priority Control Register */
  83. #define CSL_CSTF_PCTL (0x4U)
  84. /* Integration Register */
  85. #define CSL_CSTF_ITATBDATA0 (0xEECU)
  86. /* Integration Register */
  87. #define CSL_CSTF_ITATBCTR2 (0xEF0U)
  88. /* Integration Register */
  89. #define CSL_CSTF_ITATBCTR1 (0xEF4U)
  90. /* Integration Register */
  91. #define CSL_CSTF_ITATBCTR0 (0xEF8U)
  92. /* Integration Mode Control Register */
  93. #define CSL_CSTF_ITCTRL (0xF00U)
  94. /* Claim Tag Set */
  95. #define CSL_CSTF_CLAIMSET (0xFA0U)
  96. /* Claim Tag Clear */
  97. #define CSL_CSTF_CLAIMCLR (0xFA4U)
  98. /* Lock Access */
  99. #define CSL_CSTF_LOCKACCESS (0xFB0U)
  100. /* Lock Status */
  101. #define CSL_CSTF_LOCKSTS (0xFB4U)
  102. /* Authentification status */
  103. #define CSL_CSTF_AUTHSTS (0xFB8U)
  104. /* Device ID */
  105. #define CSL_CSTF_DEVID (0xFC8U)
  106. /* Device type identifier */
  107. #define CSL_CSTF_DEVTYPE (0xFCCU)
  108. /* Peripheral ID4 */
  109. #define CSL_CSTF_PERIPHID4 (0xFD0U)
  110. /* Peripheral ID5 */
  111. #define CSL_CSTF_PERIPHID5 (0xFD4U)
  112. /* Peripheral ID6 */
  113. #define CSL_CSTF_PERIPHID6 (0xFD8U)
  114. /* Peripheral ID7 */
  115. #define CSL_CSTF_PERIPHID7 (0xFDCU)
  116. /* Peripheral ID0 */
  117. #define CSL_CSTF_PERIPHID0 (0xFE0U)
  118. /* Peripheral ID1 */
  119. #define CSL_CSTF_PERIPHID1 (0xFE4U)
  120. /* Peripheral ID2 */
  121. #define CSL_CSTF_PERIPHID2 (0xFE8U)
  122. /* Peripheral ID3 */
  123. #define CSL_CSTF_PERIPHID3 (0xFECU)
  124. /* Component ID0 */
  125. #define CSL_CSTF_COMPONID0 (0xFF0U)
  126. /* Component ID1 */
  127. #define CSL_CSTF_COMPONID1 (0xFF4U)
  128. /* Component ID2 */
  129. #define CSL_CSTF_COMPONID2 (0xFF8U)
  130. /* Component ID3 */
  131. #define CSL_CSTF_COMPONID3 (0xFFCU)
  132. /**************************************************************************
  133. * Field Definition Macros
  134. **************************************************************************/
  135. /* FCTL */
  136. #define CSL_CSTF_FCTL_ENS0_MASK (0x00000001U)
  137. #define CSL_CSTF_FCTL_ENS0_SHIFT (0U)
  138. #define CSL_CSTF_FCTL_ENS0_RESETVAL (0x00000000U)
  139. #define CSL_CSTF_FCTL_ENS0_MAX (0x00000001U)
  140. #define CSL_CSTF_FCTL_ENS1_MASK (0x00000002U)
  141. #define CSL_CSTF_FCTL_ENS1_SHIFT (1U)
  142. #define CSL_CSTF_FCTL_ENS1_RESETVAL (0x00000000U)
  143. #define CSL_CSTF_FCTL_ENS1_MAX (0x00000001U)
  144. #define CSL_CSTF_FCTL_ENS2_MASK (0x00000004U)
  145. #define CSL_CSTF_FCTL_ENS2_SHIFT (2U)
  146. #define CSL_CSTF_FCTL_ENS2_RESETVAL (0x00000000U)
  147. #define CSL_CSTF_FCTL_ENS2_MAX (0x00000001U)
  148. #define CSL_CSTF_FCTL_ENS3_MASK (0x00000008U)
  149. #define CSL_CSTF_FCTL_ENS3_SHIFT (3U)
  150. #define CSL_CSTF_FCTL_ENS3_RESETVAL (0x00000000U)
  151. #define CSL_CSTF_FCTL_ENS3_MAX (0x00000001U)
  152. #define CSL_CSTF_FCTL_ENS4_MASK (0x00000010U)
  153. #define CSL_CSTF_FCTL_ENS4_SHIFT (4U)
  154. #define CSL_CSTF_FCTL_ENS4_RESETVAL (0x00000000U)
  155. #define CSL_CSTF_FCTL_ENS4_MAX (0x00000001U)
  156. #define CSL_CSTF_FCTL_ENS5_MASK (0x00000020U)
  157. #define CSL_CSTF_FCTL_ENS5_SHIFT (5U)
  158. #define CSL_CSTF_FCTL_ENS5_RESETVAL (0x00000000U)
  159. #define CSL_CSTF_FCTL_ENS5_MAX (0x00000001U)
  160. #define CSL_CSTF_FCTL_ENS6_MASK (0x00000040U)
  161. #define CSL_CSTF_FCTL_ENS6_SHIFT (6U)
  162. #define CSL_CSTF_FCTL_ENS6_RESETVAL (0x00000000U)
  163. #define CSL_CSTF_FCTL_ENS6_MAX (0x00000001U)
  164. #define CSL_CSTF_FCTL_ENS7_MASK (0x00000080U)
  165. #define CSL_CSTF_FCTL_ENS7_SHIFT (7U)
  166. #define CSL_CSTF_FCTL_ENS7_RESETVAL (0x00000000U)
  167. #define CSL_CSTF_FCTL_ENS7_MAX (0x00000001U)
  168. #define CSL_CSTF_FCTL_HT_MASK (0x00000F00U)
  169. #define CSL_CSTF_FCTL_HT_SHIFT (8U)
  170. #define CSL_CSTF_FCTL_HT_RESETVAL (0x00000003U)
  171. #define CSL_CSTF_FCTL_HT_MAX (0x0000000fU)
  172. #define CSL_CSTF_FCTL_RESETVAL (0x00000300U)
  173. /* PCTL */
  174. #define CSL_CSTF_PCTL_PRIPORT0_MASK (0x00000007U)
  175. #define CSL_CSTF_PCTL_PRIPORT0_SHIFT (0U)
  176. #define CSL_CSTF_PCTL_PRIPORT0_RESETVAL (0x00000000U)
  177. #define CSL_CSTF_PCTL_PRIPORT0_MAX (0x00000007U)
  178. #define CSL_CSTF_PCTL_PRIPORT1_MASK (0x00000038U)
  179. #define CSL_CSTF_PCTL_PRIPORT1_SHIFT (3U)
  180. #define CSL_CSTF_PCTL_PRIPORT1_RESETVAL (0x00000001U)
  181. #define CSL_CSTF_PCTL_PRIPORT1_MAX (0x00000007U)
  182. #define CSL_CSTF_PCTL_PRIPORT2_MASK (0x000001C0U)
  183. #define CSL_CSTF_PCTL_PRIPORT2_SHIFT (6U)
  184. #define CSL_CSTF_PCTL_PRIPORT2_RESETVAL (0x00000002U)
  185. #define CSL_CSTF_PCTL_PRIPORT2_MAX (0x00000007U)
  186. #define CSL_CSTF_PCTL_PRIPORT3_MASK (0x00000E00U)
  187. #define CSL_CSTF_PCTL_PRIPORT3_SHIFT (9U)
  188. #define CSL_CSTF_PCTL_PRIPORT3_RESETVAL (0x00000003U)
  189. #define CSL_CSTF_PCTL_PRIPORT3_MAX (0x00000007U)
  190. #define CSL_CSTF_PCTL_PRIPORT4_MASK (0x00007000U)
  191. #define CSL_CSTF_PCTL_PRIPORT4_SHIFT (12U)
  192. #define CSL_CSTF_PCTL_PRIPORT4_RESETVAL (0x00000004U)
  193. #define CSL_CSTF_PCTL_PRIPORT4_MAX (0x00000007U)
  194. #define CSL_CSTF_PCTL_PRIPORT5_MASK (0x00038000U)
  195. #define CSL_CSTF_PCTL_PRIPORT5_SHIFT (15U)
  196. #define CSL_CSTF_PCTL_PRIPORT5_RESETVAL (0x00000005U)
  197. #define CSL_CSTF_PCTL_PRIPORT5_MAX (0x00000007U)
  198. #define CSL_CSTF_PCTL_PRIPORT6_MASK (0x001C0000U)
  199. #define CSL_CSTF_PCTL_PRIPORT6_SHIFT (18U)
  200. #define CSL_CSTF_PCTL_PRIPORT6_RESETVAL (0x00000006U)
  201. #define CSL_CSTF_PCTL_PRIPORT6_MAX (0x00000007U)
  202. #define CSL_CSTF_PCTL_PRIPORT7_MASK (0x00E00000U)
  203. #define CSL_CSTF_PCTL_PRIPORT7_SHIFT (21U)
  204. #define CSL_CSTF_PCTL_PRIPORT7_RESETVAL (0x00000007U)
  205. #define CSL_CSTF_PCTL_PRIPORT7_MAX (0x00000007U)
  206. #define CSL_CSTF_PCTL_RESETVAL (0x00fac688U)
  207. /* ITATBDATA0 */
  208. #define CSL_CSTF_ITATBDATA0_ATDATA0_MASK (0x00000001U)
  209. #define CSL_CSTF_ITATBDATA0_ATDATA0_SHIFT (0U)
  210. #define CSL_CSTF_ITATBDATA0_ATDATA0_RESETVAL (0x00000000U)
  211. #define CSL_CSTF_ITATBDATA0_ATDATA0_MAX (0x00000001U)
  212. #define CSL_CSTF_ITATBDATA0_ATDATA7_MASK (0x00000002U)
  213. #define CSL_CSTF_ITATBDATA0_ATDATA7_SHIFT (1U)
  214. #define CSL_CSTF_ITATBDATA0_ATDATA7_RESETVAL (0x00000000U)
  215. #define CSL_CSTF_ITATBDATA0_ATDATA7_MAX (0x00000001U)
  216. #define CSL_CSTF_ITATBDATA0_ATDATA15_MASK (0x00000004U)
  217. #define CSL_CSTF_ITATBDATA0_ATDATA15_SHIFT (2U)
  218. #define CSL_CSTF_ITATBDATA0_ATDATA15_RESETVAL (0x00000000U)
  219. #define CSL_CSTF_ITATBDATA0_ATDATA15_MAX (0x00000001U)
  220. #define CSL_CSTF_ITATBDATA0_ATDATA23_MASK (0x00000008U)
  221. #define CSL_CSTF_ITATBDATA0_ATDATA23_SHIFT (3U)
  222. #define CSL_CSTF_ITATBDATA0_ATDATA23_RESETVAL (0x00000000U)
  223. #define CSL_CSTF_ITATBDATA0_ATDATA23_MAX (0x00000001U)
  224. #define CSL_CSTF_ITATBDATA0_ATDATA31_MASK (0x00000010U)
  225. #define CSL_CSTF_ITATBDATA0_ATDATA31_SHIFT (4U)
  226. #define CSL_CSTF_ITATBDATA0_ATDATA31_RESETVAL (0x00000000U)
  227. #define CSL_CSTF_ITATBDATA0_ATDATA31_MAX (0x00000001U)
  228. #define CSL_CSTF_ITATBDATA0_RESETVAL (0x00000000U)
  229. /* ITATBCTR2 */
  230. #define CSL_CSTF_ITATBCTR2_ATREADY_MASK (0x00000001U)
  231. #define CSL_CSTF_ITATBCTR2_ATREADY_SHIFT (0U)
  232. #define CSL_CSTF_ITATBCTR2_ATREADY_RESETVAL (0x00000000U)
  233. #define CSL_CSTF_ITATBCTR2_ATREADY_MAX (0x00000001U)
  234. #define CSL_CSTF_ITATBCTR2_AFVALID_MASK (0x00000002U)
  235. #define CSL_CSTF_ITATBCTR2_AFVALID_SHIFT (1U)
  236. #define CSL_CSTF_ITATBCTR2_AFVALID_RESETVAL (0x00000000U)
  237. #define CSL_CSTF_ITATBCTR2_AFVALID_MAX (0x00000001U)
  238. #define CSL_CSTF_ITATBCTR2_RESETVAL (0x00000000U)
  239. /* ITATBCTR1 */
  240. #define CSL_CSTF_ITATBCTR1_ATID_MASK (0x0000007FU)
  241. #define CSL_CSTF_ITATBCTR1_ATID_SHIFT (0U)
  242. #define CSL_CSTF_ITATBCTR1_ATID_RESETVAL (0x00000000U)
  243. #define CSL_CSTF_ITATBCTR1_ATID_MAX (0x0000007fU)
  244. #define CSL_CSTF_ITATBCTR1_RESETVAL (0x00000000U)
  245. /* ITATBCTR0 */
  246. #define CSL_CSTF_ITATBCTR0_ATVALIDS_MASK (0x00000001U)
  247. #define CSL_CSTF_ITATBCTR0_ATVALIDS_SHIFT (0U)
  248. #define CSL_CSTF_ITATBCTR0_ATVALIDS_RESETVAL (0x00000000U)
  249. #define CSL_CSTF_ITATBCTR0_ATVALIDS_MAX (0x00000001U)
  250. #define CSL_CSTF_ITATBCTR0_AFREADYS_MASK (0x00000002U)
  251. #define CSL_CSTF_ITATBCTR0_AFREADYS_SHIFT (1U)
  252. #define CSL_CSTF_ITATBCTR0_AFREADYS_RESETVAL (0x00000000U)
  253. #define CSL_CSTF_ITATBCTR0_AFREADYS_MAX (0x00000001U)
  254. #define CSL_CSTF_ITATBCTR0_ATBYTES_MASK (0x00000300U)
  255. #define CSL_CSTF_ITATBCTR0_ATBYTES_SHIFT (8U)
  256. #define CSL_CSTF_ITATBCTR0_ATBYTES_RESETVAL (0x00000000U)
  257. #define CSL_CSTF_ITATBCTR0_ATBYTES_MAX (0x00000003U)
  258. #define CSL_CSTF_ITATBCTR0_RESETVAL (0x00000000U)
  259. /* ITCTRL */
  260. #define CSL_CSTF_ITCTRL_ITCTRL_MASK (0x00000001U)
  261. #define CSL_CSTF_ITCTRL_ITCTRL_SHIFT (0U)
  262. #define CSL_CSTF_ITCTRL_ITCTRL_RESETVAL (0x00000000U)
  263. #define CSL_CSTF_ITCTRL_ITCTRL_MAX (0x00000001U)
  264. #define CSL_CSTF_ITCTRL_RESETVAL (0x00000000U)
  265. /* CLAIMSET */
  266. #define CSL_CSTF_CLAIMSET_CLAIMTAGSET_MASK (0x0000000FU)
  267. #define CSL_CSTF_CLAIMSET_CLAIMTAGSET_SHIFT (0U)
  268. #define CSL_CSTF_CLAIMSET_CLAIMTAGSET_RESETVAL (0x0000000fU)
  269. #define CSL_CSTF_CLAIMSET_CLAIMTAGSET_MAX (0x0000000fU)
  270. #define CSL_CSTF_CLAIMSET_RESETVAL (0x0000000fU)
  271. /* CLAIMCLR */
  272. #define CSL_CSTF_CLAIMCLR_CLAIMTAGCLR_MASK (0x0000000FU)
  273. #define CSL_CSTF_CLAIMCLR_CLAIMTAGCLR_SHIFT (0U)
  274. #define CSL_CSTF_CLAIMCLR_CLAIMTAGCLR_RESETVAL (0x00000000U)
  275. #define CSL_CSTF_CLAIMCLR_CLAIMTAGCLR_MAX (0x0000000fU)
  276. #define CSL_CSTF_CLAIMCLR_RESETVAL (0x00000000U)
  277. /* LOCKACCESS */
  278. #define CSL_CSTF_LOCKACCESS_WRITEACCESSCODE_MASK (0xFFFFFFFFU)
  279. #define CSL_CSTF_LOCKACCESS_WRITEACCESSCODE_SHIFT (0U)
  280. #define CSL_CSTF_LOCKACCESS_WRITEACCESSCODE_RESETVAL (0x00000000U)
  281. #define CSL_CSTF_LOCKACCESS_WRITEACCESSCODE_MAX (0xffffffffU)
  282. #define CSL_CSTF_LOCKACCESS_RESETVAL (0x00000000U)
  283. /* LOCKSTS */
  284. #define CSL_CSTF_LOCKSTS_IMP_MASK (0x00000001U)
  285. #define CSL_CSTF_LOCKSTS_IMP_SHIFT (0U)
  286. #define CSL_CSTF_LOCKSTS_IMP_RESETVAL (0x00000000U)
  287. #define CSL_CSTF_LOCKSTS_IMP_MAX (0x00000001U)
  288. #define CSL_CSTF_LOCKSTS_STS_MASK (0x00000002U)
  289. #define CSL_CSTF_LOCKSTS_STS_SHIFT (1U)
  290. #define CSL_CSTF_LOCKSTS_STS_RESETVAL (0x00000000U)
  291. #define CSL_CSTF_LOCKSTS_STS_MAX (0x00000001U)
  292. #define CSL_CSTF_LOCKSTS_EIGHT_BIT_MASK (0x00000004U)
  293. #define CSL_CSTF_LOCKSTS_EIGHT_BIT_SHIFT (2U)
  294. #define CSL_CSTF_LOCKSTS_EIGHT_BIT_RESETVAL (0x00000000U)
  295. #define CSL_CSTF_LOCKSTS_EIGHT_BIT_MAX (0x00000001U)
  296. #define CSL_CSTF_LOCKSTS_RESETVAL (0x00000000U)
  297. /* AUTHSTS */
  298. #define CSL_CSTF_AUTHSTS_NS_INVASIVE_DBG_MASK (0x00000003U)
  299. #define CSL_CSTF_AUTHSTS_NS_INVASIVE_DBG_SHIFT (0U)
  300. #define CSL_CSTF_AUTHSTS_NS_INVASIVE_DBG_RESETVAL (0x00000000U)
  301. #define CSL_CSTF_AUTHSTS_NS_INVASIVE_DBG_MAX (0x00000003U)
  302. #define CSL_CSTF_AUTHSTS_NS_NONINVASIVE_DBG_MASK (0x0000000CU)
  303. #define CSL_CSTF_AUTHSTS_NS_NONINVASIVE_DBG_SHIFT (2U)
  304. #define CSL_CSTF_AUTHSTS_NS_NONINVASIVE_DBG_RESETVAL (0x00000000U)
  305. #define CSL_CSTF_AUTHSTS_NS_NONINVASIVE_DBG_MAX (0x00000003U)
  306. #define CSL_CSTF_AUTHSTS_SECURE_INVASIVE_DBG_MASK (0x00000030U)
  307. #define CSL_CSTF_AUTHSTS_SECURE_INVASIVE_DBG_SHIFT (4U)
  308. #define CSL_CSTF_AUTHSTS_SECURE_INVASIVE_DBG_RESETVAL (0x00000000U)
  309. #define CSL_CSTF_AUTHSTS_SECURE_INVASIVE_DBG_MAX (0x00000003U)
  310. #define CSL_CSTF_AUTHSTS_SECURE_NONINVASIVE_DBG_MASK (0x000000C0U)
  311. #define CSL_CSTF_AUTHSTS_SECURE_NONINVASIVE_DBG_SHIFT (6U)
  312. #define CSL_CSTF_AUTHSTS_SECURE_NONINVASIVE_DBG_RESETVAL (0x00000000U)
  313. #define CSL_CSTF_AUTHSTS_SECURE_NONINVASIVE_DBG_MAX (0x00000003U)
  314. #define CSL_CSTF_AUTHSTS_RESETVAL (0x00000000U)
  315. /* DEVID */
  316. #define CSL_CSTF_DEVID_DEVICEID_MASK (0xFFFFFFFFU)
  317. #define CSL_CSTF_DEVID_DEVICEID_SHIFT (0U)
  318. #define CSL_CSTF_DEVID_DEVICEID_RESETVAL (0x00000028U)
  319. #define CSL_CSTF_DEVID_DEVICEID_MAX (0xffffffffU)
  320. #define CSL_CSTF_DEVID_RESETVAL (0x00000028U)
  321. /* DEVTYPE */
  322. #define CSL_CSTF_DEVTYPE_MAIN_TYPE_CLASS_MASK (0x0000000FU)
  323. #define CSL_CSTF_DEVTYPE_MAIN_TYPE_CLASS_SHIFT (0U)
  324. #define CSL_CSTF_DEVTYPE_MAIN_TYPE_CLASS_RESETVAL (0x00000002U)
  325. #define CSL_CSTF_DEVTYPE_MAIN_TYPE_CLASS_MAX (0x0000000fU)
  326. #define CSL_CSTF_DEVTYPE_SUB_TYPE_MASK (0x000000F0U)
  327. #define CSL_CSTF_DEVTYPE_SUB_TYPE_SHIFT (4U)
  328. #define CSL_CSTF_DEVTYPE_SUB_TYPE_RESETVAL (0x00000001U)
  329. #define CSL_CSTF_DEVTYPE_SUB_TYPE_MAX (0x0000000fU)
  330. #define CSL_CSTF_DEVTYPE_RESETVAL (0x00000012U)
  331. /* PERIPHID4 */
  332. #define CSL_CSTF_PERIPHID4_JEP106_CONTINUATION_CODE_MASK (0x0000000FU)
  333. #define CSL_CSTF_PERIPHID4_JEP106_CONTINUATION_CODE_SHIFT (0U)
  334. #define CSL_CSTF_PERIPHID4_JEP106_CONTINUATION_CODE_RESETVAL (0x00000004U)
  335. #define CSL_CSTF_PERIPHID4_JEP106_CONTINUATION_CODE_MAX (0x0000000fU)
  336. #define CSL_CSTF_PERIPHID4_FOURKB_COUNT_MASK (0x000000F0U)
  337. #define CSL_CSTF_PERIPHID4_FOURKB_COUNT_SHIFT (4U)
  338. #define CSL_CSTF_PERIPHID4_FOURKB_COUNT_RESETVAL (0x00000000U)
  339. #define CSL_CSTF_PERIPHID4_FOURKB_COUNT_MAX (0x0000000fU)
  340. #define CSL_CSTF_PERIPHID4_RESETVAL (0x00000004U)
  341. /* PERIPHID5 */
  342. #define CSL_CSTF_PERIPHID5_RESETVAL (0x00000000U)
  343. /* PERIPHID6 */
  344. #define CSL_CSTF_PERIPHID6_RESETVAL (0x00000000U)
  345. /* PERIPHID7 */
  346. #define CSL_CSTF_PERIPHID7_RESETVAL (0x00000000U)
  347. /* PERIPHID0 */
  348. #define CSL_CSTF_PERIPHID0_PART_NUMBER_0_MASK (0x000000FFU)
  349. #define CSL_CSTF_PERIPHID0_PART_NUMBER_0_SHIFT (0U)
  350. #define CSL_CSTF_PERIPHID0_PART_NUMBER_0_RESETVAL (0x00000008U)
  351. #define CSL_CSTF_PERIPHID0_PART_NUMBER_0_MAX (0x000000ffU)
  352. #define CSL_CSTF_PERIPHID0_RESETVAL (0x00000008U)
  353. /* PERIPHID1 */
  354. #define CSL_CSTF_PERIPHID1_PART_NUMBER_1_MASK (0x0000000FU)
  355. #define CSL_CSTF_PERIPHID1_PART_NUMBER_1_SHIFT (0U)
  356. #define CSL_CSTF_PERIPHID1_PART_NUMBER_1_RESETVAL (0x00000009U)
  357. #define CSL_CSTF_PERIPHID1_PART_NUMBER_1_MAX (0x0000000fU)
  358. #define CSL_CSTF_PERIPHID1_JEP106_IDENTITY_CODE_MASK (0x000000F0U)
  359. #define CSL_CSTF_PERIPHID1_JEP106_IDENTITY_CODE_SHIFT (4U)
  360. #define CSL_CSTF_PERIPHID1_JEP106_IDENTITY_CODE_RESETVAL (0x0000000bU)
  361. #define CSL_CSTF_PERIPHID1_JEP106_IDENTITY_CODE_MAX (0x0000000fU)
  362. #define CSL_CSTF_PERIPHID1_RESETVAL (0x000000b9U)
  363. /* PERIPHID2 */
  364. #define CSL_CSTF_PERIPHID2_JEP106_IDENTITY_MASK (0x00000007U)
  365. #define CSL_CSTF_PERIPHID2_JEP106_IDENTITY_SHIFT (0U)
  366. #define CSL_CSTF_PERIPHID2_JEP106_IDENTITY_RESETVAL (0x00000003U)
  367. #define CSL_CSTF_PERIPHID2_JEP106_IDENTITY_MAX (0x00000007U)
  368. #define CSL_CSTF_PERIPHID2_JEP106_EN_MASK (0x00000008U)
  369. #define CSL_CSTF_PERIPHID2_JEP106_EN_SHIFT (3U)
  370. #define CSL_CSTF_PERIPHID2_JEP106_EN_RESETVAL (0x00000001U)
  371. #define CSL_CSTF_PERIPHID2_JEP106_EN_MAX (0x00000001U)
  372. #define CSL_CSTF_PERIPHID2_REVISION_MASK (0x000000F0U)
  373. #define CSL_CSTF_PERIPHID2_REVISION_SHIFT (4U)
  374. #define CSL_CSTF_PERIPHID2_REVISION_RESETVAL (0x00000000U)
  375. #define CSL_CSTF_PERIPHID2_REVISION_MAX (0x0000000fU)
  376. #define CSL_CSTF_PERIPHID2_RESETVAL (0x0000000bU)
  377. /* PERIPHID3 */
  378. #define CSL_CSTF_PERIPHID3_CUSTOMER_MODIFIED_MASK (0x0000000FU)
  379. #define CSL_CSTF_PERIPHID3_CUSTOMER_MODIFIED_SHIFT (0U)
  380. #define CSL_CSTF_PERIPHID3_CUSTOMER_MODIFIED_RESETVAL (0x00000000U)
  381. #define CSL_CSTF_PERIPHID3_CUSTOMER_MODIFIED_MAX (0x0000000fU)
  382. #define CSL_CSTF_PERIPHID3_REVAND_MASK (0x000000F0U)
  383. #define CSL_CSTF_PERIPHID3_REVAND_SHIFT (4U)
  384. #define CSL_CSTF_PERIPHID3_REVAND_RESETVAL (0x00000000U)
  385. #define CSL_CSTF_PERIPHID3_REVAND_MAX (0x0000000fU)
  386. #define CSL_CSTF_PERIPHID3_RESETVAL (0x00000000U)
  387. /* COMPONID0 */
  388. #define CSL_CSTF_COMPONID0_PREAMBLE_MASK (0x000000FFU)
  389. #define CSL_CSTF_COMPONID0_PREAMBLE_SHIFT (0U)
  390. #define CSL_CSTF_COMPONID0_PREAMBLE_RESETVAL (0x0000000dU)
  391. #define CSL_CSTF_COMPONID0_PREAMBLE_MAX (0x000000ffU)
  392. #define CSL_CSTF_COMPONID0_RESETVAL (0x0000000dU)
  393. /* COMPONID1 */
  394. #define CSL_CSTF_COMPONID1_PREAMBLE_MASK (0x0000000FU)
  395. #define CSL_CSTF_COMPONID1_PREAMBLE_SHIFT (0U)
  396. #define CSL_CSTF_COMPONID1_PREAMBLE_RESETVAL (0x00000000U)
  397. #define CSL_CSTF_COMPONID1_PREAMBLE_MAX (0x0000000fU)
  398. #define CSL_CSTF_COMPONID1_COMPONENT_CLASS_MASK (0x000000F0U)
  399. #define CSL_CSTF_COMPONID1_COMPONENT_CLASS_SHIFT (4U)
  400. #define CSL_CSTF_COMPONID1_COMPONENT_CLASS_RESETVAL (0x00000009U)
  401. #define CSL_CSTF_COMPONID1_COMPONENT_CLASS_MAX (0x0000000fU)
  402. #define CSL_CSTF_COMPONID1_RESETVAL (0x00000090U)
  403. /* COMPONID2 */
  404. #define CSL_CSTF_COMPONID2_PREAMBLE_MASK (0x000000FFU)
  405. #define CSL_CSTF_COMPONID2_PREAMBLE_SHIFT (0U)
  406. #define CSL_CSTF_COMPONID2_PREAMBLE_RESETVAL (0x00000005U)
  407. #define CSL_CSTF_COMPONID2_PREAMBLE_MAX (0x000000ffU)
  408. #define CSL_CSTF_COMPONID2_RESETVAL (0x00000005U)
  409. /* COMPONID3 */
  410. #define CSL_CSTF_COMPONID3_PREAMBLE_MASK (0x000000FFU)
  411. #define CSL_CSTF_COMPONID3_PREAMBLE_SHIFT (0U)
  412. #define CSL_CSTF_COMPONID3_PREAMBLE_RESETVAL (0x000000b1U)
  413. #define CSL_CSTF_COMPONID3_PREAMBLE_MAX (0x000000ffU)
  414. #define CSL_CSTF_COMPONID3_RESETVAL (0x000000b1U)
  415. #ifdef __cplusplus
  416. }
  417. #endif
  418. #endif