MIMXRT1052_features.h 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993
  1. /*
  2. ** ###################################################################
  3. ** Version: rev. 0.1, 2017-01-10
  4. ** Build: b171017
  5. **
  6. ** Abstract:
  7. ** Chip specific module features.
  8. **
  9. ** Copyright 2016 Freescale Semiconductor, Inc.
  10. ** Copyright 2016-2017 NXP
  11. ** Redistribution and use in source and binary forms, with or without modification,
  12. ** are permitted provided that the following conditions are met:
  13. **
  14. ** 1. Redistributions of source code must retain the above copyright notice, this list
  15. ** of conditions and the following disclaimer.
  16. **
  17. ** 2. Redistributions in binary form must reproduce the above copyright notice, this
  18. ** list of conditions and the following disclaimer in the documentation and/or
  19. ** other materials provided with the distribution.
  20. **
  21. ** 3. Neither the name of the copyright holder nor the names of its
  22. ** contributors may be used to endorse or promote products derived from this
  23. ** software without specific prior written permission.
  24. **
  25. ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  26. ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  27. ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  28. ** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
  29. ** ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  30. ** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  31. ** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  32. ** ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  33. ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  34. ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  35. **
  36. ** http: www.nxp.com
  37. ** mail: support@nxp.com
  38. **
  39. ** Revisions:
  40. ** - rev. 0.1 (2017-01-10)
  41. ** Initial version.
  42. **
  43. ** ###################################################################
  44. */
  45. #ifndef _MIMXRT1052_FEATURES_H_
  46. #define _MIMXRT1052_FEATURES_H_
  47. /* SOC module features */
  48. /* @brief ACMP availability on the SoC. */
  49. #define FSL_FEATURE_SOC_ACMP_COUNT (0)
  50. /* @brief ADC availability on the SoC. */
  51. #define FSL_FEATURE_SOC_ADC_COUNT (2)
  52. /* @brief ADC12 availability on the SoC. */
  53. #define FSL_FEATURE_SOC_ADC12_COUNT (0)
  54. /* @brief ADC16 availability on the SoC. */
  55. #define FSL_FEATURE_SOC_ADC16_COUNT (0)
  56. /* @brief ADC_5HC availability on the SoC. */
  57. #define FSL_FEATURE_SOC_ADC_5HC_COUNT (0)
  58. /* @brief AES availability on the SoC. */
  59. #define FSL_FEATURE_SOC_AES_COUNT (0)
  60. /* @brief AFE availability on the SoC. */
  61. #define FSL_FEATURE_SOC_AFE_COUNT (0)
  62. /* @brief AGC availability on the SoC. */
  63. #define FSL_FEATURE_SOC_AGC_COUNT (0)
  64. /* @brief AIPS availability on the SoC. */
  65. #define FSL_FEATURE_SOC_AIPS_COUNT (0)
  66. /* @brief AIPSTZ availability on the SoC. */
  67. #define FSL_FEATURE_SOC_AIPSTZ_COUNT (4)
  68. /* @brief ANATOP availability on the SoC. */
  69. #define FSL_FEATURE_SOC_ANATOP_COUNT (0)
  70. /* @brief AOI availability on the SoC. */
  71. #define FSL_FEATURE_SOC_AOI_COUNT (2)
  72. /* @brief APBH availability on the SoC. */
  73. #define FSL_FEATURE_SOC_APBH_COUNT (0)
  74. /* @brief ASMC availability on the SoC. */
  75. #define FSL_FEATURE_SOC_ASMC_COUNT (0)
  76. /* @brief ASRC availability on the SoC. */
  77. #define FSL_FEATURE_SOC_ASRC_COUNT (0)
  78. /* @brief ASYNC_SYSCON availability on the SoC. */
  79. #define FSL_FEATURE_SOC_ASYNC_SYSCON_COUNT (0)
  80. /* @brief ATX availability on the SoC. */
  81. #define FSL_FEATURE_SOC_ATX_COUNT (0)
  82. /* @brief AXBS availability on the SoC. */
  83. #define FSL_FEATURE_SOC_AXBS_COUNT (0)
  84. /* @brief BCH availability on the SoC. */
  85. #define FSL_FEATURE_SOC_BCH_COUNT (0)
  86. /* @brief BLEDP availability on the SoC. */
  87. #define FSL_FEATURE_SOC_BLEDP_COUNT (0)
  88. /* @brief BOD availability on the SoC. */
  89. #define FSL_FEATURE_SOC_BOD_COUNT (0)
  90. /* @brief CAAM availability on the SoC. */
  91. #define FSL_FEATURE_SOC_CAAM_COUNT (0)
  92. /* @brief CADC availability on the SoC. */
  93. #define FSL_FEATURE_SOC_CADC_COUNT (0)
  94. /* @brief CALIB availability on the SoC. */
  95. #define FSL_FEATURE_SOC_CALIB_COUNT (0)
  96. /* @brief CAN availability on the SoC. */
  97. #define FSL_FEATURE_SOC_CAN_COUNT (0)
  98. /* @brief CAU availability on the SoC. */
  99. #define FSL_FEATURE_SOC_CAU_COUNT (0)
  100. /* @brief CAU3 availability on the SoC. */
  101. #define FSL_FEATURE_SOC_CAU3_COUNT (0)
  102. /* @brief CCM availability on the SoC. */
  103. #define FSL_FEATURE_SOC_CCM_COUNT (1)
  104. /* @brief CCM_ANALOG availability on the SoC. */
  105. #define FSL_FEATURE_SOC_CCM_ANALOG_COUNT (1)
  106. /* @brief CHRG availability on the SoC. */
  107. #define FSL_FEATURE_SOC_CHRG_COUNT (0)
  108. /* @brief CLKCTL0 availability on the SoC. */
  109. #define FSL_FEATURE_SOC_CLKCTL0_COUNT (0)
  110. /* @brief CLKCTL1 availability on the SoC. */
  111. #define FSL_FEATURE_SOC_CLKCTL1_COUNT (0)
  112. /* @brief CMP availability on the SoC. */
  113. #define FSL_FEATURE_SOC_CMP_COUNT (4)
  114. /* @brief CMT availability on the SoC. */
  115. #define FSL_FEATURE_SOC_CMT_COUNT (0)
  116. /* @brief CNC availability on the SoC. */
  117. #define FSL_FEATURE_SOC_CNC_COUNT (0)
  118. /* @brief COP availability on the SoC. */
  119. #define FSL_FEATURE_SOC_COP_COUNT (0)
  120. /* @brief CRC availability on the SoC. */
  121. #define FSL_FEATURE_SOC_CRC_COUNT (0)
  122. /* @brief CS availability on the SoC. */
  123. #define FSL_FEATURE_SOC_CS_COUNT (0)
  124. /* @brief CSI availability on the SoC. */
  125. #define FSL_FEATURE_SOC_CSI_COUNT (1)
  126. /* @brief CT32B availability on the SoC. */
  127. #define FSL_FEATURE_SOC_CT32B_COUNT (0)
  128. /* @brief CTI availability on the SoC. */
  129. #define FSL_FEATURE_SOC_CTI_COUNT (0)
  130. /* @brief CTIMER availability on the SoC. */
  131. #define FSL_FEATURE_SOC_CTIMER_COUNT (0)
  132. /* @brief DAC availability on the SoC. */
  133. #define FSL_FEATURE_SOC_DAC_COUNT (0)
  134. /* @brief DAC32 availability on the SoC. */
  135. #define FSL_FEATURE_SOC_DAC32_COUNT (0)
  136. /* @brief DCDC availability on the SoC. */
  137. #define FSL_FEATURE_SOC_DCDC_COUNT (1)
  138. /* @brief DCP availability on the SoC. */
  139. #define FSL_FEATURE_SOC_DCP_COUNT (1)
  140. /* @brief DDR availability on the SoC. */
  141. #define FSL_FEATURE_SOC_DDR_COUNT (0)
  142. /* @brief DDRC availability on the SoC. */
  143. #define FSL_FEATURE_SOC_DDRC_COUNT (0)
  144. /* @brief DDRC_MP availability on the SoC. */
  145. #define FSL_FEATURE_SOC_DDRC_MP_COUNT (0)
  146. /* @brief DDR_PHY availability on the SoC. */
  147. #define FSL_FEATURE_SOC_DDR_PHY_COUNT (0)
  148. /* @brief DMA availability on the SoC. */
  149. #define FSL_FEATURE_SOC_DMA_COUNT (0)
  150. /* @brief DMAMUX availability on the SoC. */
  151. #define FSL_FEATURE_SOC_DMAMUX_COUNT (1)
  152. /* @brief DMIC availability on the SoC. */
  153. #define FSL_FEATURE_SOC_DMIC_COUNT (0)
  154. /* @brief DRY availability on the SoC. */
  155. #define FSL_FEATURE_SOC_DRY_COUNT (0)
  156. /* @brief DSPI availability on the SoC. */
  157. #define FSL_FEATURE_SOC_DSPI_COUNT (0)
  158. /* @brief ECSPI availability on the SoC. */
  159. #define FSL_FEATURE_SOC_ECSPI_COUNT (0)
  160. /* @brief EDMA availability on the SoC. */
  161. #define FSL_FEATURE_SOC_EDMA_COUNT (1)
  162. /* @brief EEPROM availability on the SoC. */
  163. #define FSL_FEATURE_SOC_EEPROM_COUNT (0)
  164. /* @brief EIM availability on the SoC. */
  165. #define FSL_FEATURE_SOC_EIM_COUNT (0)
  166. /* @brief EMC availability on the SoC. */
  167. #define FSL_FEATURE_SOC_EMC_COUNT (0)
  168. /* @brief EMVSIM availability on the SoC. */
  169. #define FSL_FEATURE_SOC_EMVSIM_COUNT (0)
  170. /* @brief ENC availability on the SoC. */
  171. #define FSL_FEATURE_SOC_ENC_COUNT (4)
  172. /* @brief ENET availability on the SoC. */
  173. #define FSL_FEATURE_SOC_ENET_COUNT (1)
  174. /* @brief EPDC availability on the SoC. */
  175. #define FSL_FEATURE_SOC_EPDC_COUNT (0)
  176. /* @brief EPIT availability on the SoC. */
  177. #define FSL_FEATURE_SOC_EPIT_COUNT (0)
  178. /* @brief ESAI availability on the SoC. */
  179. #define FSL_FEATURE_SOC_ESAI_COUNT (0)
  180. /* @brief EWM availability on the SoC. */
  181. #define FSL_FEATURE_SOC_EWM_COUNT (1)
  182. /* @brief FB availability on the SoC. */
  183. #define FSL_FEATURE_SOC_FB_COUNT (0)
  184. /* @brief FGPIO availability on the SoC. */
  185. #define FSL_FEATURE_SOC_FGPIO_COUNT (0)
  186. /* @brief FLASH availability on the SoC. */
  187. #define FSL_FEATURE_SOC_FLASH_COUNT (0)
  188. /* @brief FLEXCAN availability on the SoC. */
  189. #define FSL_FEATURE_SOC_FLEXCAN_COUNT (2)
  190. /* @brief FLEXCOMM availability on the SoC. */
  191. #define FSL_FEATURE_SOC_FLEXCOMM_COUNT (0)
  192. /* @brief FLEXIO availability on the SoC. */
  193. #define FSL_FEATURE_SOC_FLEXIO_COUNT (2)
  194. /* @brief FLEXRAM availability on the SoC. */
  195. #define FSL_FEATURE_SOC_FLEXRAM_COUNT (1)
  196. /* @brief FLEXSPI availability on the SoC. */
  197. #define FSL_FEATURE_SOC_FLEXSPI_COUNT (1)
  198. /* @brief FMC availability on the SoC. */
  199. #define FSL_FEATURE_SOC_FMC_COUNT (0)
  200. /* @brief FREQME availability on the SoC. */
  201. #define FSL_FEATURE_SOC_FREQME_COUNT (0)
  202. /* @brief FSKDT availability on the SoC. */
  203. #define FSL_FEATURE_SOC_FSKDT_COUNT (0)
  204. /* @brief FSP availability on the SoC. */
  205. #define FSL_FEATURE_SOC_FSP_COUNT (0)
  206. /* @brief FTFA availability on the SoC. */
  207. #define FSL_FEATURE_SOC_FTFA_COUNT (0)
  208. /* @brief FTFE availability on the SoC. */
  209. #define FSL_FEATURE_SOC_FTFE_COUNT (0)
  210. /* @brief FTFL availability on the SoC. */
  211. #define FSL_FEATURE_SOC_FTFL_COUNT (0)
  212. /* @brief FTM availability on the SoC. */
  213. #define FSL_FEATURE_SOC_FTM_COUNT (0)
  214. /* @brief FTMRA availability on the SoC. */
  215. #define FSL_FEATURE_SOC_FTMRA_COUNT (0)
  216. /* @brief FTMRE availability on the SoC. */
  217. #define FSL_FEATURE_SOC_FTMRE_COUNT (0)
  218. /* @brief FTMRH availability on the SoC. */
  219. #define FSL_FEATURE_SOC_FTMRH_COUNT (0)
  220. /* @brief GINT availability on the SoC. */
  221. #define FSL_FEATURE_SOC_GINT_COUNT (0)
  222. /* @brief GPC availability on the SoC. */
  223. #define FSL_FEATURE_SOC_GPC_COUNT (1)
  224. /* @brief GPC_PGC availability on the SoC. */
  225. #define FSL_FEATURE_SOC_GPC_PGC_COUNT (0)
  226. /* @brief GPIO availability on the SoC. */
  227. #define FSL_FEATURE_SOC_GPIO_COUNT (0)
  228. /* @brief GPMI availability on the SoC. */
  229. #define FSL_FEATURE_SOC_GPMI_COUNT (0)
  230. /* @brief GPT availability on the SoC. */
  231. #define FSL_FEATURE_SOC_GPT_COUNT (2)
  232. /* @brief HASH availability on the SoC. */
  233. #define FSL_FEATURE_SOC_HASH_COUNT (0)
  234. /* @brief HSADC availability on the SoC. */
  235. #define FSL_FEATURE_SOC_HSADC_COUNT (0)
  236. /* @brief I2C availability on the SoC. */
  237. #define FSL_FEATURE_SOC_I2C_COUNT (0)
  238. /* @brief I2S availability on the SoC. */
  239. #define FSL_FEATURE_SOC_I2S_COUNT (3)
  240. /* @brief ICS availability on the SoC. */
  241. #define FSL_FEATURE_SOC_ICS_COUNT (0)
  242. /* @brief IEE availability on the SoC. */
  243. #define FSL_FEATURE_SOC_IEE_COUNT (0)
  244. /* @brief IEER availability on the SoC. */
  245. #define FSL_FEATURE_SOC_IEER_COUNT (0)
  246. /* @brief IGPIO availability on the SoC. */
  247. #define FSL_FEATURE_SOC_IGPIO_COUNT (5)
  248. /* @brief II2C availability on the SoC. */
  249. #define FSL_FEATURE_SOC_II2C_COUNT (0)
  250. /* @brief INPUTMUX availability on the SoC. */
  251. #define FSL_FEATURE_SOC_INPUTMUX_COUNT (0)
  252. /* @brief INTMUX availability on the SoC. */
  253. #define FSL_FEATURE_SOC_INTMUX_COUNT (0)
  254. /* @brief IOCON availability on the SoC. */
  255. #define FSL_FEATURE_SOC_IOCON_COUNT (0)
  256. /* @brief IOMUXC availability on the SoC. */
  257. #define FSL_FEATURE_SOC_IOMUXC_COUNT (1)
  258. /* @brief IOMUXC_GPR availability on the SoC. */
  259. #define FSL_FEATURE_SOC_IOMUXC_GPR_COUNT (1)
  260. /* @brief IOMUXC_LPSR availability on the SoC. */
  261. #define FSL_FEATURE_SOC_IOMUXC_LPSR_COUNT (0)
  262. /* @brief IOMUXC_LPSR_GPR availability on the SoC. */
  263. #define FSL_FEATURE_SOC_IOMUXC_LPSR_GPR_COUNT (0)
  264. /* @brief IOMUXC_SNVS availability on the SoC. */
  265. #define FSL_FEATURE_SOC_IOMUXC_SNVS_COUNT (1)
  266. /* @brief IOPCTL availability on the SoC. */
  267. #define FSL_FEATURE_SOC_IOPCTL_COUNT (0)
  268. /* @brief IPWM availability on the SoC. */
  269. #define FSL_FEATURE_SOC_IPWM_COUNT (0)
  270. /* @brief IRQ availability on the SoC. */
  271. #define FSL_FEATURE_SOC_IRQ_COUNT (0)
  272. /* @brief IUART availability on the SoC. */
  273. #define FSL_FEATURE_SOC_IUART_COUNT (0)
  274. /* @brief KBI availability on the SoC. */
  275. #define FSL_FEATURE_SOC_KBI_COUNT (0)
  276. /* @brief KPP availability on the SoC. */
  277. #define FSL_FEATURE_SOC_KPP_COUNT (1)
  278. /* @brief L2CACHEC availability on the SoC. */
  279. #define FSL_FEATURE_SOC_L2CACHEC_COUNT (0)
  280. /* @brief LCD availability on the SoC. */
  281. #define FSL_FEATURE_SOC_LCD_COUNT (0)
  282. /* @brief LCDC availability on the SoC. */
  283. #define FSL_FEATURE_SOC_LCDC_COUNT (0)
  284. /* @brief LCDIF availability on the SoC. */
  285. #define FSL_FEATURE_SOC_LCDIF_COUNT (1)
  286. /* @brief LDO availability on the SoC. */
  287. #define FSL_FEATURE_SOC_LDO_COUNT (0)
  288. /* @brief LLWU availability on the SoC. */
  289. #define FSL_FEATURE_SOC_LLWU_COUNT (0)
  290. /* @brief LMEM availability on the SoC. */
  291. #define FSL_FEATURE_SOC_LMEM_COUNT (0)
  292. /* @brief LPADC availability on the SoC. */
  293. #define FSL_FEATURE_SOC_LPADC_COUNT (0)
  294. /* @brief LPCMP availability on the SoC. */
  295. #define FSL_FEATURE_SOC_LPCMP_COUNT (0)
  296. /* @brief LPDAC availability on the SoC. */
  297. #define FSL_FEATURE_SOC_LPDAC_COUNT (0)
  298. /* @brief LPI2C availability on the SoC. */
  299. #define FSL_FEATURE_SOC_LPI2C_COUNT (4)
  300. /* @brief LPIT availability on the SoC. */
  301. #define FSL_FEATURE_SOC_LPIT_COUNT (0)
  302. /* @brief LPSCI availability on the SoC. */
  303. #define FSL_FEATURE_SOC_LPSCI_COUNT (0)
  304. /* @brief LPSPI availability on the SoC. */
  305. #define FSL_FEATURE_SOC_LPSPI_COUNT (4)
  306. /* @brief LPTMR availability on the SoC. */
  307. #define FSL_FEATURE_SOC_LPTMR_COUNT (0)
  308. /* @brief LPTPM availability on the SoC. */
  309. #define FSL_FEATURE_SOC_LPTPM_COUNT (0)
  310. /* @brief LPUART availability on the SoC. */
  311. #define FSL_FEATURE_SOC_LPUART_COUNT (8)
  312. /* @brief LTC availability on the SoC. */
  313. #define FSL_FEATURE_SOC_LTC_COUNT (0)
  314. /* @brief MAILBOX availability on the SoC. */
  315. #define FSL_FEATURE_SOC_MAILBOX_COUNT (0)
  316. /* @brief MC availability on the SoC. */
  317. #define FSL_FEATURE_SOC_MC_COUNT (0)
  318. /* @brief MCG availability on the SoC. */
  319. #define FSL_FEATURE_SOC_MCG_COUNT (0)
  320. /* @brief MCGLITE availability on the SoC. */
  321. #define FSL_FEATURE_SOC_MCGLITE_COUNT (0)
  322. /* @brief MCM availability on the SoC. */
  323. #define FSL_FEATURE_SOC_MCM_COUNT (0)
  324. /* @brief MIPI_CSI2 availability on the SoC. */
  325. #define FSL_FEATURE_SOC_MIPI_CSI2_COUNT (0)
  326. /* @brief MIPI_CSI2RX availability on the SoC. */
  327. #define FSL_FEATURE_SOC_MIPI_CSI2RX_COUNT (0)
  328. /* @brief MIPI_DSI availability on the SoC. */
  329. #define FSL_FEATURE_SOC_MIPI_DSI_COUNT (0)
  330. /* @brief MIPI_DSI_HOST availability on the SoC. */
  331. #define FSL_FEATURE_SOC_MIPI_DSI_HOST_COUNT (0)
  332. /* @brief MMAU availability on the SoC. */
  333. #define FSL_FEATURE_SOC_MMAU_COUNT (0)
  334. /* @brief MMCAU availability on the SoC. */
  335. #define FSL_FEATURE_SOC_MMCAU_COUNT (0)
  336. /* @brief MMDC availability on the SoC. */
  337. #define FSL_FEATURE_SOC_MMDC_COUNT (0)
  338. /* @brief MMDVSQ availability on the SoC. */
  339. #define FSL_FEATURE_SOC_MMDVSQ_COUNT (0)
  340. /* @brief MPU availability on the SoC. */
  341. #define FSL_FEATURE_SOC_MPU_COUNT (0)
  342. /* @brief MRT availability on the SoC. */
  343. #define FSL_FEATURE_SOC_MRT_COUNT (0)
  344. /* @brief MSCAN availability on the SoC. */
  345. #define FSL_FEATURE_SOC_MSCAN_COUNT (0)
  346. /* @brief MSCM availability on the SoC. */
  347. #define FSL_FEATURE_SOC_MSCM_COUNT (0)
  348. /* @brief MTB availability on the SoC. */
  349. #define FSL_FEATURE_SOC_MTB_COUNT (0)
  350. /* @brief MTBDWT availability on the SoC. */
  351. #define FSL_FEATURE_SOC_MTBDWT_COUNT (0)
  352. /* @brief MU availability on the SoC. */
  353. #define FSL_FEATURE_SOC_MU_COUNT (0)
  354. /* @brief NFC availability on the SoC. */
  355. #define FSL_FEATURE_SOC_NFC_COUNT (0)
  356. /* @brief OCOTP availability on the SoC. */
  357. #define FSL_FEATURE_SOC_OCOTP_COUNT (1)
  358. /* @brief OPAMP availability on the SoC. */
  359. #define FSL_FEATURE_SOC_OPAMP_COUNT (0)
  360. /* @brief OTPC availability on the SoC. */
  361. #define FSL_FEATURE_SOC_OTPC_COUNT (0)
  362. /* @brief OSC availability on the SoC. */
  363. #define FSL_FEATURE_SOC_OSC_COUNT (0)
  364. /* @brief OSC32 availability on the SoC. */
  365. #define FSL_FEATURE_SOC_OSC32_COUNT (0)
  366. /* @brief OTFAD availability on the SoC. */
  367. #define FSL_FEATURE_SOC_OTFAD_COUNT (0)
  368. /* @brief PCC availability on the SoC. */
  369. #define FSL_FEATURE_SOC_PCC_COUNT (0)
  370. /* @brief PCIE_PHY_CMN availability on the SoC. */
  371. #define FSL_FEATURE_SOC_PCIE_PHY_CMN_COUNT (0)
  372. /* @brief PCIE_PHY_TRSV availability on the SoC. */
  373. #define FSL_FEATURE_SOC_PCIE_PHY_TRSV_COUNT (0)
  374. /* @brief PDB availability on the SoC. */
  375. #define FSL_FEATURE_SOC_PDB_COUNT (0)
  376. /* @brief PGA availability on the SoC. */
  377. #define FSL_FEATURE_SOC_PGA_COUNT (0)
  378. /* @brief PIMCTL availability on the SoC. */
  379. #define FSL_FEATURE_SOC_PIMCTL_COUNT (0)
  380. /* @brief PINT availability on the SoC. */
  381. #define FSL_FEATURE_SOC_PINT_COUNT (0)
  382. /* @brief PIT availability on the SoC. */
  383. #define FSL_FEATURE_SOC_PIT_COUNT (1)
  384. /* @brief PMC availability on the SoC. */
  385. #define FSL_FEATURE_SOC_PMC_COUNT (0)
  386. /* @brief PMU availability on the SoC. */
  387. #define FSL_FEATURE_SOC_PMU_COUNT (1)
  388. /* @brief POWERQUAD availability on the SoC. */
  389. #define FSL_FEATURE_SOC_POWERQUAD_COUNT (0)
  390. /* @brief PORT availability on the SoC. */
  391. #define FSL_FEATURE_SOC_PORT_COUNT (0)
  392. /* @brief PROP availability on the SoC. */
  393. #define FSL_FEATURE_SOC_PROP_COUNT (0)
  394. /* @brief PWM availability on the SoC. */
  395. #define FSL_FEATURE_SOC_PWM_COUNT (4)
  396. /* @brief PWT availability on the SoC. */
  397. #define FSL_FEATURE_SOC_PWT_COUNT (0)
  398. /* @brief PXP availability on the SoC. */
  399. #define FSL_FEATURE_SOC_PXP_COUNT (1)
  400. /* @brief QDDKEY availability on the SoC. */
  401. #define FSL_FEATURE_SOC_QDDKEY_COUNT (0)
  402. /* @brief QDEC availability on the SoC. */
  403. #define FSL_FEATURE_SOC_QDEC_COUNT (0)
  404. /* @brief QuadSPI availability on the SoC. */
  405. #define FSL_FEATURE_SOC_QuadSPI_COUNT (0)
  406. /* @brief RCM availability on the SoC. */
  407. #define FSL_FEATURE_SOC_RCM_COUNT (0)
  408. /* @brief RDC availability on the SoC. */
  409. #define FSL_FEATURE_SOC_RDC_COUNT (0)
  410. /* @brief RDC_SEMAPHORE availability on the SoC. */
  411. #define FSL_FEATURE_SOC_RDC_SEMAPHORE_COUNT (0)
  412. /* @brief RFSYS availability on the SoC. */
  413. #define FSL_FEATURE_SOC_RFSYS_COUNT (0)
  414. /* @brief RFVBAT availability on the SoC. */
  415. #define FSL_FEATURE_SOC_RFVBAT_COUNT (0)
  416. /* @brief RIT availability on the SoC. */
  417. #define FSL_FEATURE_SOC_RIT_COUNT (0)
  418. /* @brief RNG availability on the SoC. */
  419. #define FSL_FEATURE_SOC_RNG_COUNT (0)
  420. /* @brief RNGB availability on the SoC. */
  421. #define FSL_FEATURE_SOC_RNGB_COUNT (0)
  422. /* @brief ROM availability on the SoC. */
  423. #define FSL_FEATURE_SOC_ROM_COUNT (0)
  424. /* @brief ROMC availability on the SoC. */
  425. #define FSL_FEATURE_SOC_ROMC_COUNT (1)
  426. /* @brief RSIM availability on the SoC. */
  427. #define FSL_FEATURE_SOC_RSIM_COUNT (0)
  428. /* @brief RSTCTL0 availability on the SoC. */
  429. #define FSL_FEATURE_SOC_RSTCTL0_COUNT (0)
  430. /* @brief RSTCTL1 availability on the SoC. */
  431. #define FSL_FEATURE_SOC_RSTCTL1_COUNT (0)
  432. /* @brief RTC availability on the SoC. */
  433. #define FSL_FEATURE_SOC_RTC_COUNT (0)
  434. /* @brief SCG availability on the SoC. */
  435. #define FSL_FEATURE_SOC_SCG_COUNT (0)
  436. /* @brief SCI availability on the SoC. */
  437. #define FSL_FEATURE_SOC_SCI_COUNT (0)
  438. /* @brief SCT availability on the SoC. */
  439. #define FSL_FEATURE_SOC_SCT_COUNT (0)
  440. /* @brief SDHC availability on the SoC. */
  441. #define FSL_FEATURE_SOC_SDHC_COUNT (0)
  442. /* @brief SDIF availability on the SoC. */
  443. #define FSL_FEATURE_SOC_SDIF_COUNT (0)
  444. /* @brief SDIO availability on the SoC. */
  445. #define FSL_FEATURE_SOC_SDIO_COUNT (0)
  446. /* @brief SDMA availability on the SoC. */
  447. #define FSL_FEATURE_SOC_SDMA_COUNT (0)
  448. /* @brief SDMAARM availability on the SoC. */
  449. #define FSL_FEATURE_SOC_SDMAARM_COUNT (0)
  450. /* @brief SDMABP availability on the SoC. */
  451. #define FSL_FEATURE_SOC_SDMABP_COUNT (0)
  452. /* @brief SDMACORE availability on the SoC. */
  453. #define FSL_FEATURE_SOC_SDMACORE_COUNT (0)
  454. /* @brief SDMCORE availability on the SoC. */
  455. #define FSL_FEATURE_SOC_SDMCORE_COUNT (0)
  456. /* @brief SDRAM availability on the SoC. */
  457. #define FSL_FEATURE_SOC_SDRAM_COUNT (0)
  458. /* @brief SEMA4 availability on the SoC. */
  459. #define FSL_FEATURE_SOC_SEMA4_COUNT (0)
  460. /* @brief SEMA42 availability on the SoC. */
  461. #define FSL_FEATURE_SOC_SEMA42_COUNT (0)
  462. /* @brief SEMC availability on the SoC. */
  463. #define FSL_FEATURE_SOC_SEMC_COUNT (1)
  464. /* @brief SHA availability on the SoC. */
  465. #define FSL_FEATURE_SOC_SHA_COUNT (0)
  466. /* @brief SIM availability on the SoC. */
  467. #define FSL_FEATURE_SOC_SIM_COUNT (0)
  468. /* @brief SJC availability on the SoC. */
  469. #define FSL_FEATURE_SOC_SJC_COUNT (0)
  470. /* @brief SLCD availability on the SoC. */
  471. #define FSL_FEATURE_SOC_SLCD_COUNT (0)
  472. /* @brief SMARTCARD availability on the SoC. */
  473. #define FSL_FEATURE_SOC_SMARTCARD_COUNT (0)
  474. /* @brief SMC availability on the SoC. */
  475. #define FSL_FEATURE_SOC_SMC_COUNT (0)
  476. /* @brief SNVS availability on the SoC. */
  477. #define FSL_FEATURE_SOC_SNVS_COUNT (1)
  478. /* @brief SPBA availability on the SoC. */
  479. #define FSL_FEATURE_SOC_SPBA_COUNT (0)
  480. /* @brief SPDIF availability on the SoC. */
  481. #define FSL_FEATURE_SOC_SPDIF_COUNT (1)
  482. /* @brief SPI availability on the SoC. */
  483. #define FSL_FEATURE_SOC_SPI_COUNT (0)
  484. /* @brief SPIFI availability on the SoC. */
  485. #define FSL_FEATURE_SOC_SPIFI_COUNT (0)
  486. /* @brief SPM availability on the SoC. */
  487. #define FSL_FEATURE_SOC_SPM_COUNT (0)
  488. /* @brief SRC availability on the SoC. */
  489. #define FSL_FEATURE_SOC_SRC_COUNT (1)
  490. /* @brief SYSCON availability on the SoC. */
  491. #define FSL_FEATURE_SOC_SYSCON_COUNT (0)
  492. /* @brief SYSCTL0 availability on the SoC. */
  493. #define FSL_FEATURE_SOC_SYSCTL0_COUNT (0)
  494. /* @brief SYSCTL1 availability on the SoC. */
  495. #define FSL_FEATURE_SOC_SYSCTL1_COUNT (0)
  496. /* @brief TEMPMON availability on the SoC. */
  497. #define FSL_FEATURE_SOC_TEMPMON_COUNT (1)
  498. /* @brief TMR availability on the SoC. */
  499. #define FSL_FEATURE_SOC_TMR_COUNT (4)
  500. /* @brief TPM availability on the SoC. */
  501. #define FSL_FEATURE_SOC_TPM_COUNT (0)
  502. /* @brief TRGMUX availability on the SoC. */
  503. #define FSL_FEATURE_SOC_TRGMUX_COUNT (0)
  504. /* @brief TRIAMP availability on the SoC. */
  505. #define FSL_FEATURE_SOC_TRIAMP_COUNT (0)
  506. /* @brief TRNG availability on the SoC. */
  507. #define FSL_FEATURE_SOC_TRNG_COUNT (1)
  508. /* @brief TSC availability on the SoC. */
  509. #define FSL_FEATURE_SOC_TSC_COUNT (1)
  510. /* @brief TSI availability on the SoC. */
  511. #define FSL_FEATURE_SOC_TSI_COUNT (0)
  512. /* @brief TSTMR availability on the SoC. */
  513. #define FSL_FEATURE_SOC_TSTMR_COUNT (0)
  514. /* @brief UART availability on the SoC. */
  515. #define FSL_FEATURE_SOC_UART_COUNT (0)
  516. /* @brief USART availability on the SoC. */
  517. #define FSL_FEATURE_SOC_USART_COUNT (0)
  518. /* @brief USB availability on the SoC. */
  519. #define FSL_FEATURE_SOC_USB_COUNT (0)
  520. /* @brief USBHS availability on the SoC. */
  521. #define FSL_FEATURE_SOC_USBHS_COUNT (2)
  522. /* @brief USBDCD availability on the SoC. */
  523. #define FSL_FEATURE_SOC_USBDCD_COUNT (0)
  524. /* @brief USBFSH availability on the SoC. */
  525. #define FSL_FEATURE_SOC_USBFSH_COUNT (0)
  526. /* @brief USBHSD availability on the SoC. */
  527. #define FSL_FEATURE_SOC_USBHSD_COUNT (0)
  528. /* @brief USBHSDCD availability on the SoC. */
  529. #define FSL_FEATURE_SOC_USBHSDCD_COUNT (0)
  530. /* @brief USBHSH availability on the SoC. */
  531. #define FSL_FEATURE_SOC_USBHSH_COUNT (0)
  532. /* @brief USBNC availability on the SoC. */
  533. #define FSL_FEATURE_SOC_USBNC_COUNT (2)
  534. /* @brief USBPHY availability on the SoC. */
  535. #define FSL_FEATURE_SOC_USBPHY_COUNT (2)
  536. /* @brief USB_HSIC availability on the SoC. */
  537. #define FSL_FEATURE_SOC_USB_HSIC_COUNT (0)
  538. /* @brief USB_OTG availability on the SoC. */
  539. #define FSL_FEATURE_SOC_USB_OTG_COUNT (0)
  540. /* @brief USBVREG availability on the SoC. */
  541. #define FSL_FEATURE_SOC_USBVREG_COUNT (0)
  542. /* @brief USDHC availability on the SoC. */
  543. #define FSL_FEATURE_SOC_USDHC_COUNT (2)
  544. /* @brief UTICK availability on the SoC. */
  545. #define FSL_FEATURE_SOC_UTICK_COUNT (0)
  546. /* @brief VIU availability on the SoC. */
  547. #define FSL_FEATURE_SOC_VIU_COUNT (0)
  548. /* @brief VREF availability on the SoC. */
  549. #define FSL_FEATURE_SOC_VREF_COUNT (0)
  550. /* @brief VFIFO availability on the SoC. */
  551. #define FSL_FEATURE_SOC_VFIFO_COUNT (0)
  552. /* @brief WDOG availability on the SoC. */
  553. #define FSL_FEATURE_SOC_WDOG_COUNT (2)
  554. /* @brief WKPU availability on the SoC. */
  555. #define FSL_FEATURE_SOC_WKPU_COUNT (0)
  556. /* @brief WWDT availability on the SoC. */
  557. #define FSL_FEATURE_SOC_WWDT_COUNT (0)
  558. /* @brief XBAR availability on the SoC. */
  559. #define FSL_FEATURE_SOC_XBAR_COUNT (0)
  560. /* @brief XBARA availability on the SoC. */
  561. #define FSL_FEATURE_SOC_XBARA_COUNT (1)
  562. /* @brief XBARB availability on the SoC. */
  563. #define FSL_FEATURE_SOC_XBARB_COUNT (2)
  564. /* @brief XCVR availability on the SoC. */
  565. #define FSL_FEATURE_SOC_XCVR_COUNT (0)
  566. /* @brief XRDC availability on the SoC. */
  567. #define FSL_FEATURE_SOC_XRDC_COUNT (0)
  568. /* @brief XTALOSC availability on the SoC. */
  569. #define FSL_FEATURE_SOC_XTALOSC_COUNT (0)
  570. /* @brief XTALOSC24M availability on the SoC. */
  571. #define FSL_FEATURE_SOC_XTALOSC24M_COUNT (1)
  572. /* @brief ZLL availability on the SoC. */
  573. #define FSL_FEATURE_SOC_ZLL_COUNT (0)
  574. /* ADC module features */
  575. /* @brief Remove Hardware Trigger feature. */
  576. #define FSL_FEATURE_ADC_SUPPORT_HARDWARE_TRIGGER_REMOVE (0)
  577. /* @brief Remove ALT Clock selection feature. */
  578. #define FSL_FEATURE_ADC_SUPPORT_ALTCLK_REMOVE (1)
  579. /* AOI module features */
  580. /* @brief Maximum value of input mux. */
  581. #define FSL_FEATURE_AOI_MODULE_INPUTS (4)
  582. /* @brief Number of events related to number of registers AOIx_BFCRT01n/AOIx_BFCRT23n. */
  583. #define FSL_FEATURE_AOI_EVENT_COUNT (4)
  584. /* FLEXCAN module features */
  585. /* @brief Message buffer size */
  586. #define FSL_FEATURE_FLEXCAN_HAS_MESSAGE_BUFFER_MAX_NUMBERn(x) (64)
  587. /* @brief Has doze mode support (register bit field MCR[DOZE]). */
  588. #define FSL_FEATURE_FLEXCAN_HAS_DOZE_MODE_SUPPORT (0)
  589. /* @brief Has a glitch filter on the receive pin (register bit field MCR[WAKSRC]). */
  590. #define FSL_FEATURE_FLEXCAN_HAS_GLITCH_FILTER (1)
  591. /* @brief Has extended interrupt mask and flag register (register IMASK2, IFLAG2). */
  592. #define FSL_FEATURE_FLEXCAN_HAS_EXTENDED_FLAG_REGISTER (1)
  593. /* @brief Has extended bit timing register (register CBT). */
  594. #define FSL_FEATURE_FLEXCAN_HAS_EXTENDED_TIMING_REGISTER (0)
  595. /* @brief Has a receive FIFO DMA feature (register bit field MCR[DMA]). */
  596. #define FSL_FEATURE_FLEXCAN_HAS_RX_FIFO_DMA (0)
  597. /* @brief Remove CAN Engine Clock Source Selection from unsupported part. */
  598. #define FSL_FEATURE_FLEXCAN_SUPPORT_ENGINE_CLK_SEL_REMOVE (1)
  599. /* @brief Is affected by errata with ID 5641 (Module does not transmit a message that is enabled to be transmitted at a specific moment during the arbitration process). */
  600. #define FSL_FEATURE_FLEXCAN_HAS_ERRATA_5641 (0)
  601. /* @brief Has CAN with Flexible Data rate (CAN FD) protocol. */
  602. #define FSL_FEATURE_FLEXCAN_HAS_FLEXIBLE_DATA_RATE (0)
  603. /* @brief Has extra MB interrupt or common one. */
  604. #define FSL_FEATURE_FLEXCAN_HAS_EXTRA_MB_INT (1)
  605. /* CMP module features */
  606. /* @brief Has Trigger mode in CMP (register bit field CR1[TRIGM]). */
  607. #define FSL_FEATURE_CMP_HAS_TRIGGER_MODE (0)
  608. /* @brief Has Window mode in CMP (register bit field CR1[WE]). */
  609. #define FSL_FEATURE_CMP_HAS_WINDOW_MODE (1)
  610. /* @brief Has External sample supported in CMP (register bit field CR1[SE]). */
  611. #define FSL_FEATURE_CMP_HAS_EXTERNAL_SAMPLE_SUPPORT (1)
  612. /* @brief Has DMA support in CMP (register bit field SCR[DMAEN]). */
  613. #define FSL_FEATURE_CMP_HAS_DMA (1)
  614. /* @brief Has Pass Through mode in CMP (register bit field MUXCR[PSTM]). */
  615. #define FSL_FEATURE_CMP_HAS_PASS_THROUGH_MODE (0)
  616. /* @brief Has DAC Test function in CMP (register DACTEST). */
  617. #define FSL_FEATURE_CMP_HAS_DAC_TEST (0)
  618. /* EDMA module features */
  619. /* @brief Number of DMA channels (related to number of registers TCD, DCHPRI, bit fields ERQ[ERQn], EEI[EEIn], INT[INTn], ERR[ERRn], HRS[HRSn] and bit field widths ES[ERRCHN], CEEI[CEEI], SEEI[SEEI], CERQ[CERQ], SERQ[SERQ], CDNE[CDNE], SSRT[SSRT], CERR[CERR], CINT[CINT], TCDn_CITER_ELINKYES[LINKCH], TCDn_CSR[MAJORLINKCH], TCDn_BITER_ELINKYES[LINKCH]). (Valid only for eDMA modules.) */
  620. #define FSL_FEATURE_EDMA_MODULE_CHANNEL (32)
  621. /* @brief Total number of DMA channels on all modules. */
  622. #define FSL_FEATURE_EDMA_DMAMUX_CHANNELS (32)
  623. /* @brief Number of DMA channel groups (register bit fields CR[ERGA], CR[GRPnPRI], ES[GPE], DCHPRIn[GRPPRI]). (Valid only for eDMA modules.) */
  624. #define FSL_FEATURE_EDMA_CHANNEL_GROUP_COUNT (1)
  625. /* @brief Has DMA_Error interrupt vector. */
  626. #define FSL_FEATURE_EDMA_HAS_ERROR_IRQ (1)
  627. /* @brief Number of DMA channels with asynchronous request capability (register EARS). (Valid only for eDMA modules.) */
  628. #define FSL_FEATURE_EDMA_ASYNCHRO_REQUEST_CHANNEL_COUNT (32)
  629. /* DMAMUX module features */
  630. /* @brief Number of DMA channels (related to number of register CHCFGn). */
  631. #define FSL_FEATURE_DMAMUX_MODULE_CHANNEL (32)
  632. /* @brief Total number of DMA channels on all modules. */
  633. #define FSL_FEATURE_DMAMUX_DMAMUX_CHANNELS (FSL_FEATURE_SOC_DMAMUX_COUNT * 32)
  634. /* @brief Has the periodic trigger capability for the triggered DMA channel (register bit CHCFG0[TRIG]). */
  635. #define FSL_FEATURE_DMAMUX_HAS_TRIG (1)
  636. /* @brief Has DMA Channel Always ON function (register bit CHCFG0[A_ON]). */
  637. #define FSL_FEATURE_DMAMUX_HAS_A_ON (1)
  638. /* ENET module features */
  639. /* @brief Support Interrupt Coalesce */
  640. #define FSL_FEATURE_ENET_HAS_INTERRUPT_COALESCE (1)
  641. /* @brief Queue Size. */
  642. #define FSL_FEATURE_ENET_QUEUE (1)
  643. /* @brief Has AVB Support. */
  644. #define FSL_FEATURE_ENET_HAS_AVB (0)
  645. /* @brief Has Timer Pulse Width control. */
  646. #define FSL_FEATURE_ENET_HAS_TIMER_PWCONTROL (1)
  647. /* @brief Has Extend MDIO Support. */
  648. #define FSL_FEATURE_ENET_HAS_EXTEND_MDIO (1)
  649. /* @brief Has Additional 1588 Timer Channel Interrupt. */
  650. #define FSL_FEATURE_ENET_HAS_ADD_1588_TIMER_CHN_INT (0)
  651. /* FLEXRAM module features */
  652. /* @brief Bank size */
  653. #define FSL_FEATURE_FLEXRAM_INTERNAL_RAM_BANK_SIZE (32 * 1024)
  654. /* @brief Total Bank numbers */
  655. #define FSL_FEATURE_FLEXRAM_INTERNAL_RAM_TOTAL_BANK_NUMBERS (16)
  656. /* FLEXSPI module features */
  657. /* @brief FlexSPI AHB buffer count */
  658. #define FSL_FEATURE_FLEXSPI_AHB_BUFFER_COUNTn(x) (4)
  659. /* @brief FlexSPI has no data learn. */
  660. #define FSL_FEATURE_FLEXSPI_HAS_NO_DATA_LEARN (1)
  661. /* GPC module features */
  662. /* @brief Has DVFS0 Change Request. */
  663. #define FSL_FEATURE_GPC_HAS_CNTR_DVFS0CR (0)
  664. /* @brief Has GPC interrupt/event masking. */
  665. #define FSL_FEATURE_GPC_HAS_CNTR_GPCIRQM (0)
  666. /* @brief Has L2 cache power control. */
  667. #define FSL_FEATURE_GPC_HAS_CNTR_L2PGE (0)
  668. /* @brief Has FLEXRAM PDRAM0(bank1-7) power control. */
  669. #define FSL_FEATURE_GPC_HAS_CNTR_PDRAM0PGE (1)
  670. /* @brief Has VADC power control. */
  671. #define FSL_FEATURE_GPC_HAS_CNTR_VADC (0)
  672. /* @brief Has Display power control. */
  673. #define FSL_FEATURE_GPC_HAS_CNTR_DISPLAY (0)
  674. /* @brief Supports IRQ 0-31. */
  675. #define FSL_FEATURE_GPC_HAS_IRQ_0_31 (1)
  676. /* LCDIF module features */
  677. /* @brief LCDIF does not support alpha support. */
  678. #define FSL_FEATURE_LCDIF_HAS_NO_AS (1)
  679. /* @brief LCDIF does not support output reset pin to LCD panel. */
  680. #define FSL_FEATURE_LCDIF_HAS_NO_RESET_PIN (1)
  681. /* @brief LCDIF supports LUT. */
  682. #define FSL_FEATURE_LCDIF_HAS_LUT (1)
  683. /* LPI2C module features */
  684. /* @brief Has separate DMA RX and TX requests. */
  685. #define FSL_FEATURE_LPI2C_HAS_SEPARATE_DMA_RX_TX_REQn(x) (0)
  686. /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
  687. #define FSL_FEATURE_LPI2C_FIFO_SIZEn(x) (4)
  688. /* LPSPI module features */
  689. /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
  690. #define FSL_FEATURE_LPSPI_FIFO_SIZEn(x) (16)
  691. /* @brief Has separate DMA RX and TX requests. */
  692. #define FSL_FEATURE_LPSPI_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
  693. /* LPUART module features */
  694. /* @brief Has receive FIFO overflow detection (bit field CFIFO[RXOFE]). */
  695. #define FSL_FEATURE_LPUART_HAS_IRQ_EXTENDED_FUNCTIONS (0)
  696. /* @brief Has low power features (can be enabled in wait mode via register bit C1[DOZEEN] or CTRL[DOZEEN] if the registers are 32-bit wide). */
  697. #define FSL_FEATURE_LPUART_HAS_LOW_POWER_UART_SUPPORT (1)
  698. /* @brief Has extended data register ED (or extra flags in the DATA register if the registers are 32-bit wide). */
  699. #define FSL_FEATURE_LPUART_HAS_EXTENDED_DATA_REGISTER_FLAGS (1)
  700. /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
  701. #define FSL_FEATURE_LPUART_HAS_FIFO (1)
  702. /* @brief Has 32-bit register MODIR */
  703. #define FSL_FEATURE_LPUART_HAS_MODIR (1)
  704. /* @brief Hardware flow control (RTS, CTS) is supported. */
  705. #define FSL_FEATURE_LPUART_HAS_MODEM_SUPPORT (1)
  706. /* @brief Infrared (modulation) is supported. */
  707. #define FSL_FEATURE_LPUART_HAS_IR_SUPPORT (1)
  708. /* @brief 2 bits long stop bit is available. */
  709. #define FSL_FEATURE_LPUART_HAS_STOP_BIT_CONFIG_SUPPORT (1)
  710. /* @brief If 10-bit mode is supported. */
  711. #define FSL_FEATURE_LPUART_HAS_10BIT_DATA_SUPPORT (1)
  712. /* @brief If 7-bit mode is supported. */
  713. #define FSL_FEATURE_LPUART_HAS_7BIT_DATA_SUPPORT (1)
  714. /* @brief Baud rate fine adjustment is available. */
  715. #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_FINE_ADJUST_SUPPORT (0)
  716. /* @brief Baud rate oversampling is available (has bit fields C4[OSR], C5[BOTHEDGE], C5[RESYNCDIS] or BAUD[OSR], BAUD[BOTHEDGE], BAUD[RESYNCDIS] if the registers are 32-bit wide). */
  717. #define FSL_FEATURE_LPUART_HAS_BAUD_RATE_OVER_SAMPLING_SUPPORT (1)
  718. /* @brief Baud rate oversampling is available. */
  719. #define FSL_FEATURE_LPUART_HAS_RX_RESYNC_SUPPORT (1)
  720. /* @brief Baud rate oversampling is available. */
  721. #define FSL_FEATURE_LPUART_HAS_BOTH_EDGE_SAMPLING_SUPPORT (1)
  722. /* @brief Peripheral type. */
  723. #define FSL_FEATURE_LPUART_IS_SCI (1)
  724. /* @brief Capacity (number of entries) of the transmit/receive FIFO (or zero if no FIFO is available). */
  725. #define FSL_FEATURE_LPUART_FIFO_SIZEn(x) (4)
  726. /* @brief Maximal data width without parity bit. */
  727. #define FSL_FEATURE_LPUART_MAX_DATA_WIDTH_WITH_NO_PARITY (10)
  728. /* @brief Maximal data width with parity bit. */
  729. #define FSL_FEATURE_LPUART_MAX_DATA_WIDTH_WITH_PARITY (9)
  730. /* @brief Supports two match addresses to filter incoming frames. */
  731. #define FSL_FEATURE_LPUART_HAS_ADDRESS_MATCHING (1)
  732. /* @brief Has transmitter/receiver DMA enable bits C5[TDMAE]/C5[RDMAE] (or BAUD[TDMAE]/BAUD[RDMAE] if the registers are 32-bit wide). */
  733. #define FSL_FEATURE_LPUART_HAS_DMA_ENABLE (1)
  734. /* @brief Has transmitter/receiver DMA select bits C4[TDMAS]/C4[RDMAS], resp. C5[TDMAS]/C5[RDMAS] if IS_SCI = 0. */
  735. #define FSL_FEATURE_LPUART_HAS_DMA_SELECT (0)
  736. /* @brief Data character bit order selection is supported (bit field S2[MSBF] or STAT[MSBF] if the registers are 32-bit wide). */
  737. #define FSL_FEATURE_LPUART_HAS_BIT_ORDER_SELECT (1)
  738. /* @brief Has smart card (ISO7816 protocol) support and no improved smart card support. */
  739. #define FSL_FEATURE_LPUART_HAS_SMART_CARD_SUPPORT (0)
  740. /* @brief Has improved smart card (ISO7816 protocol) support. */
  741. #define FSL_FEATURE_LPUART_HAS_IMPROVED_SMART_CARD_SUPPORT (0)
  742. /* @brief Has local operation network (CEA709.1-B protocol) support. */
  743. #define FSL_FEATURE_LPUART_HAS_LOCAL_OPERATION_NETWORK_SUPPORT (0)
  744. /* @brief Has 32-bit registers (BAUD, STAT, CTRL, DATA, MATCH, MODIR) instead of 8-bit (BDH, BDL, C1, S1, D, etc.). */
  745. #define FSL_FEATURE_LPUART_HAS_32BIT_REGISTERS (1)
  746. /* @brief Lin break detect available (has bit BAUD[LBKDIE]). */
  747. #define FSL_FEATURE_LPUART_HAS_LIN_BREAK_DETECT (1)
  748. /* @brief UART stops in Wait mode available (has bit C1[UARTSWAI]). */
  749. #define FSL_FEATURE_LPUART_HAS_WAIT_MODE_OPERATION (0)
  750. /* @brief Has separate DMA RX and TX requests. */
  751. #define FSL_FEATURE_LPUART_HAS_SEPARATE_DMA_RX_TX_REQn(x) (1)
  752. /* @brief Has separate RX and TX interrupts. */
  753. #define FSL_FEATURE_LPUART_HAS_SEPARATE_RX_TX_IRQ (0)
  754. /* @brief Has LPAURT_PARAM. */
  755. #define FSL_FEATURE_LPUART_HAS_PARAM (1)
  756. /* @brief Has LPUART_VERID. */
  757. #define FSL_FEATURE_LPUART_HAS_VERID (1)
  758. /* @brief Has LPUART_GLOBAL. */
  759. #define FSL_FEATURE_LPUART_HAS_GLOBAL (1)
  760. /* @brief Has LPUART_PINCFG. */
  761. #define FSL_FEATURE_LPUART_HAS_PINCFG (1)
  762. /* interrupt module features */
  763. /* @brief Lowest interrupt request number. */
  764. #define FSL_FEATURE_INTERRUPT_IRQ_MIN (-14)
  765. /* @brief Highest interrupt request number. */
  766. #define FSL_FEATURE_INTERRUPT_IRQ_MAX (159)
  767. /* OCOTP module features */
  768. /* No feature definitions */
  769. /* PIT module features */
  770. /* @brief Number of channels (related to number of registers LDVALn, CVALn, TCTRLn, TFLGn). */
  771. #define FSL_FEATURE_PIT_TIMER_COUNT (4)
  772. /* @brief Has lifetime timer (related to existence of registers LTMR64L and LTMR64H). */
  773. #define FSL_FEATURE_PIT_HAS_LIFETIME_TIMER (1)
  774. /* @brief Has chain mode (related to existence of register bit field TCTRLn[CHN]). */
  775. #define FSL_FEATURE_PIT_HAS_CHAIN_MODE (1)
  776. /* @brief Has shared interrupt handler (has not individual interrupt handler for each channel). */
  777. #define FSL_FEATURE_PIT_HAS_SHARED_IRQ_HANDLER (1)
  778. /* @brief Has timer enable control. */
  779. #define FSL_FEATURE_PIT_HAS_MDIS (1)
  780. /* PMU module features */
  781. /* @brief PMU supports lower power control. */
  782. #define FSL_FEATURE_PMU_HAS_LOWPWR_CTRL (0)
  783. /* PWM module features */
  784. /* @brief Number of each EflexPWM module channels (outputs). */
  785. #define FSL_FEATURE_PWM_CHANNEL_COUNT (12U)
  786. /* @brief Number of EflexPWM module A channels (outputs). */
  787. #define FSL_FEATURE_PWM_CHANNELA_COUNT (4U)
  788. /* @brief Number of EflexPWM module B channels (outputs). */
  789. #define FSL_FEATURE_PWM_CHANNELB_COUNT (4U)
  790. /* @brief Number of EflexPWM module X channels (outputs). */
  791. #define FSL_FEATURE_PWM_CHANNELX_COUNT (4U)
  792. /* @brief Number of each EflexPWM module compare channels interrupts. */
  793. #define FSL_FEATURE_PWM_CMP_INT_HANDLER_COUNT (4U)
  794. /* @brief Number of each EflexPWM module reload channels interrupts. */
  795. #define FSL_FEATURE_PWM_RELOAD_INT_HANDLER_COUNT (4U)
  796. /* @brief Number of each EflexPWM module capture channels interrupts. */
  797. #define FSL_FEATURE_PWM_CAP_INT_HANDLER_COUNT (1U)
  798. /* @brief Number of each EflexPWM module reload error channels interrupts. */
  799. #define FSL_FEATURE_PWM_RERR_INT_HANDLER_COUNT (1U)
  800. /* @brief Number of each EflexPWM module fault channels interrupts. */
  801. #define FSL_FEATURE_PWM_FAULT_INT_HANDLER_COUNT (1U)
  802. /* @brief Number of submodules in each EflexPWM module. */
  803. #define FSL_FEATURE_PWM_SUBMODULE_COUNT (4U)
  804. /* PXP module features */
  805. /* @brief PXP module has dither engine. */
  806. #define FSL_FEATURE_PXP_HAS_DITHER (0)
  807. /* @brief PXP module supports repeat run */
  808. #define FSL_FEATURE_PXP_HAS_EN_REPEAT (1)
  809. /* @brief PXP doesn't have CSC */
  810. #define FSL_FEATURE_PXP_HAS_NO_CSC2 (1)
  811. /* @brief PXP doesn't have LUT */
  812. #define FSL_FEATURE_PXP_HAS_NO_LUT (1)
  813. /* RTWDOG module features */
  814. /* @brief Watchdog is available. */
  815. #define FSL_FEATURE_RTWDOG_HAS_WATCHDOG (1)
  816. /* @brief RTWDOG_CNT can be 32-bit written. */
  817. #define FSL_FEATURE_RTWDOG_HAS_32BIT_ACCESS (1)
  818. /* SAI module features */
  819. /* @brief Receive/transmit FIFO size in item count (register bit fields TCSR[FRDE], TCSR[FRIE], TCSR[FRF], TCR1[TFW], RCSR[FRDE], RCSR[FRIE], RCSR[FRF], RCR1[RFW], registers TFRn, RFRn). */
  820. #define FSL_FEATURE_SAI_FIFO_COUNT (32)
  821. /* @brief Receive/transmit channel number (register bit fields TCR3[TCE], RCR3[RCE], registers TDRn and RDRn). */
  822. #define FSL_FEATURE_SAI_CHANNEL_COUNT (4)
  823. /* @brief Maximum words per frame (register bit fields TCR3[WDFL], TCR4[FRSZ], TMR[TWM], RCR3[WDFL], RCR4[FRSZ], RMR[RWM]). */
  824. #define FSL_FEATURE_SAI_MAX_WORDS_PER_FRAME (32)
  825. /* @brief Has support of combining multiple data channel FIFOs into single channel FIFO (register bit fields TCR3[CFR], TCR4[FCOMB], TFR0[WCP], TFR1[WCP], RCR3[CFR], RCR4[FCOMB], RFR0[RCP], RFR1[RCP]). */
  826. #define FSL_FEATURE_SAI_HAS_FIFO_COMBINE_MODE (1)
  827. /* @brief Has packing of 8-bit and 16-bit data into each 32-bit FIFO word (register bit fields TCR4[FPACK], RCR4[FPACK]). */
  828. #define FSL_FEATURE_SAI_HAS_FIFO_PACKING (1)
  829. /* @brief Configures when the SAI will continue transmitting after a FIFO error has been detected (register bit fields TCR4[FCONT], RCR4[FCONT]). */
  830. #define FSL_FEATURE_SAI_HAS_FIFO_FUNCTION_AFTER_ERROR (1)
  831. /* @brief Configures if the frame sync is generated internally, a frame sync is only generated when the FIFO warning flag is clear or continuously (register bit fields TCR4[ONDEM], RCR4[ONDEM]). */
  832. #define FSL_FEATURE_SAI_HAS_ON_DEMAND_MODE (1)
  833. /* @brief Simplified bit clock source and asynchronous/synchronous mode selection (register bit fields TCR2[CLKMODE], RCR2[CLKMODE]), in comparison with the exclusively implemented TCR2[SYNC,BCS,BCI,MSEL], RCR2[SYNC,BCS,BCI,MSEL]. */
  834. #define FSL_FEATURE_SAI_HAS_CLOCKING_MODE (0)
  835. /* @brief Has register for configuration of the MCLK divide ratio (register bit fields MDR[FRACT], MDR[DIVIDE]). */
  836. #define FSL_FEATURE_SAI_HAS_MCLKDIV_REGISTER (0)
  837. /* @brief Interrupt source number */
  838. #define FSL_FEATURE_SAI_INT_SOURCE_NUM (2)
  839. /* @brief Has register of MCR. */
  840. #define FSL_FEATURE_SAI_HAS_MCR (0)
  841. /* @brief Has register of MDR */
  842. #define FSL_FEATURE_SAI_HAS_MDR (0)
  843. /* SNVS module features */
  844. /* @brief Has Secure Real Time Counter Enabled and Valid (bit field LPCR[SRTC_ENV]). */
  845. #define FSL_FEATURE_SNVS_HAS_SRTC (1)
  846. /* SRC module features */
  847. /* @brief There is MASK_WDOG3_RST bit in SCR register. */
  848. #define FSL_FEATURE_SRC_HAS_SCR_MASK_WDOG3_RST (1)
  849. /* @brief There is MIX_RST_STRCH bit in SCR register. */
  850. #define FSL_FEATURE_SRC_HAS_SCR_MIX_RST_STRCH (0)
  851. /* @brief There is DBG_RST_MSK_PG bit in SCR register. */
  852. #define FSL_FEATURE_SRC_HAS_SCR_DBG_RST_MSK_PG (1)
  853. /* @brief There is WDOG3_RST_OPTN bit in SCR register. */
  854. #define FSL_FEATURE_SRC_HAS_SCR_WDOG3_RST_OPTN (0)
  855. /* @brief There is CORES_DBG_RST bit in SCR register. */
  856. #define FSL_FEATURE_SRC_HAS_SCR_CORES_DBG_RST (0)
  857. /* @brief There is MTSR bit in SCR register. */
  858. #define FSL_FEATURE_SRC_HAS_SCR_MTSR (0)
  859. /* @brief There is CORE0_DBG_RST bit in SCR register. */
  860. #define FSL_FEATURE_SRC_HAS_SCR_CORE0_DBG_RST (1)
  861. /* @brief There is CORE0_RST bit in SCR register. */
  862. #define FSL_FEATURE_SRC_HAS_SCR_CORE0_RST (1)
  863. /* @brief There is LOCKUP_RST bit in SCR register. */
  864. #define FSL_FEATURE_SRC_HAS_SCR_LOCKUP_RST (1)
  865. /* @brief There is SWRC bit in SCR register. */
  866. #define FSL_FEATURE_SRC_HAS_SCR_SWRC (0)
  867. /* @brief There is EIM_RST bit in SCR register. */
  868. #define FSL_FEATURE_SRC_HAS_SCR_EIM_RST (0)
  869. /* @brief There is LUEN bit in SCR register. */
  870. #define FSL_FEATURE_SRC_HAS_SCR_LUEN (0)
  871. /* @brief There is no WRBC bit in SCR register. */
  872. #define FSL_FEATURE_SRC_HAS_NO_SCR_WRBC (1)
  873. /* @brief There is no WRE bit in SCR register. */
  874. #define FSL_FEATURE_SRC_HAS_NO_SCR_WRE (1)
  875. /* @brief There is SISR register. */
  876. #define FSL_FEATURE_SRC_HAS_SISR (0)
  877. /* @brief There is RESET_OUT bit in SRSR register. */
  878. #define FSL_FEATURE_SRC_HAS_SRSR_RESET_OUT (0)
  879. /* @brief There is WDOG3_RST_B bit in SRSR register. */
  880. #define FSL_FEATURE_SRC_HAS_SRSR_WDOG3_RST_B (1)
  881. /* @brief There is SW bit in SRSR register. */
  882. #define FSL_FEATURE_SRC_HAS_SRSR_SW (0)
  883. /* @brief There is IPP_USER_RESET_B bit in SRSR register. */
  884. #define FSL_FEATURE_SRC_HAS_SRSR_IPP_USER_RESET_B (1)
  885. /* @brief There is SNVS bit in SRSR register. */
  886. #define FSL_FEATURE_SRC_HAS_SRSR_SNVS (0)
  887. /* @brief There is CSU_RESET_B bit in SRSR register. */
  888. #define FSL_FEATURE_SRC_HAS_SRSR_CSU_RESET_B (1)
  889. /* @brief There is LOCKUP bit in SRSR register. */
  890. #define FSL_FEATURE_SRC_HAS_SRSR_LOCKUP (0)
  891. /* @brief There is LOCKUP_SYSRESETREQ bit in SRSR register. */
  892. #define FSL_FEATURE_SRC_HAS_SRSR_LOCKUP_SYSRESETREQ (1)
  893. /* @brief There is POR bit in SRSR register. */
  894. #define FSL_FEATURE_SRC_HAS_SRSR_POR (0)
  895. /* @brief There is IPP_RESET_B bit in SRSR register. */
  896. #define FSL_FEATURE_SRC_HAS_SRSR_IPP_RESET_B (1)
  897. /* @brief There is no WBI bit in SCR register. */
  898. #define FSL_FEATURE_SRC_HAS_NO_SRSR_WBI (1)
  899. /* SCB module features */
  900. /* @brief L1 ICACHE line size in byte. */
  901. #define FSL_FEATURE_L1ICACHE_LINESIZE_BYTE (32)
  902. /* @brief L1 DCACHE line size in byte. */
  903. #define FSL_FEATURE_L1DCACHE_LINESIZE_BYTE (32)
  904. /* TRNG module features */
  905. /* @brief TRNG has no TRNG_ACC bitfield. */
  906. #define FSL_FEATURE_TRNG_HAS_NO_TRNG_ACC (1)
  907. /* USBHS module features */
  908. /* @brief EHCI module instance count */
  909. #define FSL_FEATURE_USBHS_EHCI_COUNT (2)
  910. /* @brief Number of endpoints supported */
  911. #define FSL_FEATURE_USBHS_ENDPT_COUNT (8)
  912. /* USDHC module features */
  913. /* @brief Has external DMA support (VEND_SPEC[EXT_DMA_EN]) */
  914. #define FSL_FEATURE_USDHC_HAS_EXT_DMA (0)
  915. /* @brief Has HS400 mode (MIX_CTRL[HS400_MODE]) */
  916. #define FSL_FEATURE_USDHC_HAS_HS400_MODE (0)
  917. /* @brief Has SDR50 support (HOST_CTRL_CAP[SDR50_SUPPORT]) */
  918. #define FSL_FEATURE_USDHC_HAS_SDR50_MODE (1)
  919. /* @brief Has SDR104 support (HOST_CTRL_CAP[SDR104_SUPPORT]) */
  920. #define FSL_FEATURE_USDHC_HAS_SDR104_MODE (1)
  921. /* XBARA module features */
  922. /* @brief DMA_CH_MUX_REQ_30. */
  923. #define FSL_FEATURE_XBARA_OUTPUT_DMA_CH_MUX_REQ_30 (1)
  924. /* @brief DMA_CH_MUX_REQ_31. */
  925. #define FSL_FEATURE_XBARA_OUTPUT_DMA_CH_MUX_REQ_31 (1)
  926. /* @brief DMA_CH_MUX_REQ_94. */
  927. #define FSL_FEATURE_XBARA_OUTPUT_DMA_CH_MUX_REQ_94 (1)
  928. /* @brief DMA_CH_MUX_REQ_95. */
  929. #define FSL_FEATURE_XBARA_OUTPUT_DMA_CH_MUX_REQ_95 (1)
  930. #endif /* _MIMXRT1052_FEATURES_H_ */