1 /*
2 ** ###################################################################
3 **     Version:             rev. 4.0, 2020-05-18
4 **     Build:               b230407
5 **
6 **     Abstract:
7 **         Chip specific module features.
8 **
9 **     Copyright 2016 Freescale Semiconductor, Inc.
10 **     Copyright 2016-2023 NXP
11 **     All rights reserved.
12 **
13 **     SPDX-License-Identifier: BSD-3-Clause
14 **
15 **     http:                 www.nxp.com
16 **     mail:                 support@nxp.com
17 **
18 **     Revisions:
19 **     - rev. 1.0 (2019-04-19)
20 **         Initial version.
21 **     - rev. 2.0 (2019-07-22)
22 **         Base on rev 0.7 RM.
23 **     - rev. 3.0 (2020-03-16)
24 **         Base on Rev.A RM.
25 **     - rev. 4.0 (2020-05-18)
26 **         Base on Rev.B RM.
27 **
28 ** ###################################################################
29 */
30 
31 #ifndef _MIMXRT555S_FEATURES_H_
32 #define _MIMXRT555S_FEATURES_H_
33 
34 /* SOC module features */
35 
36 /* @brief ACMP availability on the SoC. */
37 #define FSL_FEATURE_SOC_ACMP_COUNT (1)
38 /* @brief AIPS availability on the SoC. */
39 #define FSL_FEATURE_SOC_AIPS_COUNT (2)
40 /* @brief CACHE64_CTRL availability on the SoC. */
41 #define FSL_FEATURE_SOC_CACHE64_CTRL_COUNT (2)
42 /* @brief CACHE64_POLSEL availability on the SoC. */
43 #define FSL_FEATURE_SOC_CACHE64_POLSEL_COUNT (2)
44 /* @brief CASPER availability on the SoC. */
45 #define FSL_FEATURE_SOC_CASPER_COUNT (1)
46 /* @brief CLKCTL0 availability on the SoC. */
47 #define FSL_FEATURE_SOC_CLKCTL0_COUNT (1)
48 /* @brief CLKCTL1 availability on the SoC. */
49 #define FSL_FEATURE_SOC_CLKCTL1_COUNT (1)
50 /* @brief CRC availability on the SoC. */
51 #define FSL_FEATURE_SOC_CRC_COUNT (1)
52 /* @brief CTIMER availability on the SoC. */
53 #define FSL_FEATURE_SOC_CTIMER_COUNT (5)
54 /* @brief DMA availability on the SoC. */
55 #define FSL_FEATURE_SOC_DMA_COUNT (2)
56 /* @brief DMIC availability on the SoC. */
57 #define FSL_FEATURE_SOC_DMIC_COUNT (1)
58 /* @brief FLEXCOMM availability on the SoC. */
59 #define FSL_FEATURE_SOC_FLEXCOMM_COUNT (17)
60 /* @brief FLEXIO availability on the SoC. */
61 #define FSL_FEATURE_SOC_FLEXIO_COUNT (1)
62 /* @brief FLEXSPI availability on the SoC. */
63 #define FSL_FEATURE_SOC_FLEXSPI_COUNT (2)
64 /* @brief FREQME availability on the SoC. */
65 #define FSL_FEATURE_SOC_FREQME_COUNT (1)
66 /* @brief GPIO availability on the SoC. */
67 #define FSL_FEATURE_SOC_GPIO_COUNT (1)
68 /* @brief SECGPIO availability on the SoC. */
69 #define FSL_FEATURE_SOC_SECGPIO_COUNT (1)
70 /* @brief HASHCRYPT availability on the SoC. */
71 #define FSL_FEATURE_SOC_HASHCRYPT_COUNT (1)
72 /* @brief I2C availability on the SoC. */
73 #define FSL_FEATURE_SOC_I2C_COUNT (15)
74 /* @brief I3C availability on the SoC. */
75 #define FSL_FEATURE_SOC_I3C_COUNT (2)
76 /* @brief I2S availability on the SoC. */
77 #define FSL_FEATURE_SOC_I2S_COUNT (14)
78 /* @brief INPUTMUX availability on the SoC. */
79 #define FSL_FEATURE_SOC_INPUTMUX_COUNT (1)
80 /* @brief IOPCTL availability on the SoC. */
81 #define FSL_FEATURE_SOC_IOPCTL_COUNT (1)
82 /* @brief LCDIF availability on the SoC. */
83 #define FSL_FEATURE_SOC_LCDIF_COUNT (1)
84 /* @brief LPADC availability on the SoC. */
85 #define FSL_FEATURE_SOC_LPADC_COUNT (1)
86 /* @brief MIPI_DSI_HOST availability on the SoC. */
87 #define FSL_FEATURE_SOC_MIPI_DSI_HOST_COUNT (1)
88 /* @brief MPU availability on the SoC. */
89 #define FSL_FEATURE_SOC_MPU_COUNT (1)
90 /* @brief MRT availability on the SoC. */
91 #define FSL_FEATURE_SOC_MRT_COUNT (1)
92 /* @brief MU availability on the SoC. */
93 #define FSL_FEATURE_SOC_MU_COUNT (1)
94 /* @brief OCOTP availability on the SoC. */
95 #define FSL_FEATURE_SOC_OCOTP_COUNT (1)
96 /* @brief OSTIMER availability on the SoC. */
97 #define FSL_FEATURE_SOC_OSTIMER_COUNT (1)
98 /* @brief OTFAD availability on the SoC. */
99 #define FSL_FEATURE_SOC_OTFAD_COUNT (1)
100 /* @brief PINT availability on the SoC. */
101 #define FSL_FEATURE_SOC_PINT_COUNT (1)
102 /* @brief PMC availability on the SoC. */
103 #define FSL_FEATURE_SOC_PMC_COUNT (1)
104 /* @brief POWERQUAD availability on the SoC. */
105 #define FSL_FEATURE_SOC_POWERQUAD_COUNT (1)
106 /* @brief PUF availability on the SoC. */
107 #define FSL_FEATURE_SOC_PUF_COUNT (1)
108 /* @brief RSTCTL0 availability on the SoC. */
109 #define FSL_FEATURE_SOC_RSTCTL0_COUNT (1)
110 /* @brief RSTCTL1 availability on the SoC. */
111 #define FSL_FEATURE_SOC_RSTCTL1_COUNT (1)
112 /* @brief RTC availability on the SoC. */
113 #define FSL_FEATURE_SOC_RTC_COUNT (1)
114 /* @brief SCT availability on the SoC. */
115 #define FSL_FEATURE_SOC_SCT_COUNT (1)
116 /* @brief SEMA42 availability on the SoC. */
117 #define FSL_FEATURE_SOC_SEMA42_COUNT (1)
118 /* @brief SMARTDMA availability on the SoC. */
119 #define FSL_FEATURE_SOC_SMARTDMA_COUNT (1)
120 /* @brief SPI availability on the SoC. */
121 #define FSL_FEATURE_SOC_SPI_COUNT (16)
122 /* @brief SYSCTL0 availability on the SoC. */
123 #define FSL_FEATURE_SOC_SYSCTL0_COUNT (1)
124 /* @brief SYSCTL1 availability on the SoC. */
125 #define FSL_FEATURE_SOC_SYSCTL1_COUNT (1)
126 /* @brief TRNG availability on the SoC. */
127 #define FSL_FEATURE_SOC_TRNG_COUNT (1)
128 /* @brief USART availability on the SoC. */
129 #define FSL_FEATURE_SOC_USART_COUNT (14)
130 /* @brief USBHSD availability on the SoC. */
131 #define FSL_FEATURE_SOC_USBHSD_COUNT (1)
132 /* @brief USBHSDCD availability on the SoC. */
133 #define FSL_FEATURE_SOC_USBHSDCD_COUNT (1)
134 /* @brief USBHSH availability on the SoC. */
135 #define FSL_FEATURE_SOC_USBHSH_COUNT (1)
136 /* @brief USBPHY availability on the SoC. */
137 #define FSL_FEATURE_SOC_USBPHY_COUNT (1)
138 /* @brief USDHC availability on the SoC. */
139 #define FSL_FEATURE_SOC_USDHC_COUNT (2)
140 /* @brief UTICK availability on the SoC. */
141 #define FSL_FEATURE_SOC_UTICK_COUNT (1)
142 /* @brief WWDT availability on the SoC. */
143 #define FSL_FEATURE_SOC_WWDT_COUNT (2)
144 
145 /* ACMP module features */
146 
147 /* @brief Has CMP_C3. */
148 #define FSL_FEATURE_ACMP_HAS_C3_REG (1)
149 /* @brief Has C0 LINKEN Bit */
150 #define FSL_FEATURE_ACMP_HAS_C0_LINKEN_BIT (1)
151 /* @brief Has C0 OFFSET Bit */
152 #define FSL_FEATURE_ACMP_HAS_C0_OFFSET_BIT (0)
153 /* @brief Has C1 INPSEL Bit */
154 #define FSL_FEATURE_ACMP_HAS_C1_INPSEL_BIT (0)
155 /* @brief Has C1 INNSEL Bit */
156 #define FSL_FEATURE_ACMP_HAS_C1_INNSEL_BIT (0)
157 /* @brief Has C1 DACOE Bit */
158 #define FSL_FEATURE_ACMP_HAS_C1_DACOE_BIT (0)
159 /* @brief Has C1 DMODE Bit */
160 #define FSL_FEATURE_ACMP_HAS_C1_DMODE_BIT (1)
161 /* @brief Has C2 RRE Bit */
162 #define FSL_FEATURE_ACMP_HAS_C2_RRE_BIT (0)
163 
164 /* LPADC module features */
165 
166 /* @brief FIFO availability on the SoC. */
167 #define FSL_FEATURE_LPADC_FIFO_COUNT (2)
168 /* @brief Does not support two simultanious single ended conversions (bitfield TCTRL[FIFO_SEL_B]). */
169 #define FSL_FEATURE_LPADC_HAS_NO_TCTRL_FIFO_SEL_B (1)
170 /* @brief Has subsequent trigger priority (bitfield CFG[TPRICTRL]). */
171 #define FSL_FEATURE_LPADC_HAS_CFG_SUBSEQUENT_PRIORITY (1)
172 /* @brief Has differential mode (bitfield CMDLn[DIFF]). */
173 #define FSL_FEATURE_LPADC_HAS_CMDL_DIFF (1)
174 /* @brief Has channel scale (bitfield CMDLn[CSCALE]). */
175 #define FSL_FEATURE_LPADC_HAS_CMDL_CSCALE (1)
176 /* @brief Has conversion type select (bitfield CMDLn[CTYPE]). */
177 #define FSL_FEATURE_LPADC_HAS_CMDL_CTYPE (0)
178 /* @brief Has conversion resolution select  (bitfield CMDLn[MODE]). */
179 #define FSL_FEATURE_LPADC_HAS_CMDL_MODE (0)
180 /* @brief Has Wait for trigger assertion before execution (bitfield CMDHn[WAIT_TRIG]). */
181 #define FSL_FEATURE_LPADC_HAS_CMDH_WAIT_TRIG (1)
182 /* @brief Has offset calibration (bitfield CTRL[CALOFS]). */
183 #define FSL_FEATURE_LPADC_HAS_CTRL_CALOFS (0)
184 /* @brief Has gain calibration (bitfield CTRL[CAL_REQ]). */
185 #define FSL_FEATURE_LPADC_HAS_CTRL_CAL_REQ (0)
186 /* @brief Has calibration average (bitfield CTRL[CAL_AVGS]). */
187 #define FSL_FEATURE_LPADC_HAS_CTRL_CAL_AVGS (0)
188 /* @brief Has internal clock (bitfield CFG[ADCKEN]). */
189 #define FSL_FEATURE_LPADC_HAS_CFG_ADCKEN (0)
190 /* @brief Enable support for low voltage reference on option 1 reference (bitfield CFG[VREF1RNG]). */
191 #define FSL_FEATURE_LPADC_HAS_CFG_VREF1RNG (0)
192 /* @brief Has calibration (bitfield CFG[CALOFS]). */
193 #define FSL_FEATURE_LPADC_HAS_CFG_CALOFS (0)
194 /* @brief Has offset trim (register OFSTRIM). */
195 #define FSL_FEATURE_LPADC_HAS_OFSTRIM (0)
196 /* @brief Has power select (bitfield CFG[PWRSEL]). */
197 #define FSL_FEATURE_LPADC_HAS_CFG_PWRSEL (1)
198 /* @brief Has alternate channel B scale (bitfield CMDLn[ALTB_CSCALE]). */
199 #define FSL_FEATURE_LPADC_HAS_CMDL_ALTB_CSCALE (0)
200 /* @brief Has alternate channel B select enable (bitfield CMDLn[ALTBEN]). */
201 #define FSL_FEATURE_LPADC_HAS_CMDL_ALTBEN (0)
202 /* @brief Has alternate channel input (bitfield CMDLn[ALTB_ADCH]). */
203 #define FSL_FEATURE_LPADC_HAS_CMDL_ALTB_ADCH (0)
204 /* @brief Has offset calibration mode (bitfield CTRL[CALOFSMODE]). */
205 #define FSL_FEATURE_LPADC_HAS_CTRL_CALOFSMODE (0)
206 /* @brief Conversion averaged bitfiled width. */
207 #define FSL_FEATURE_LPADC_CONVERSIONS_AVERAGED_BITFIELD_WIDTH (3)
208 
209 /* CACHE64_CTRL module features */
210 
211 /* @brief Cache Line size in byte. */
212 #define FSL_FEATURE_CACHE64_CTRL_LINESIZE_BYTE (32)
213 
214 /* CACHE64_POLSEL module features */
215 
216 /* No feature definitions */
217 
218 /* CASPER module features */
219 
220 /* @brief Base address of the CASPER dedicated RAM. */
221 #define FSL_FEATURE_CASPER_RAM_BASE_ADDRESS (0x40202000u)
222 
223 /* CRC module features */
224 
225 /* @brief Has data register with name CRC */
226 #define FSL_FEATURE_CRC_HAS_CRC_REG (0)
227 
228 /* CTIMER module features */
229 
230 /* @brief CTIMER has no capture channel. */
231 #define FSL_FEATURE_CTIMER_HAS_NO_INPUT_CAPTURE (0)
232 /* @brief CTIMER has no capture 2 interrupt. */
233 #define FSL_FEATURE_CTIMER_HAS_NO_IR_CR2INT (0)
234 /* @brief CTIMER capture 3 interrupt. */
235 #define FSL_FEATURE_CTIMER_HAS_IR_CR3INT (1)
236 /* @brief Has CTIMER CCR_CAP2 (register bits CCR[CAP2RE][CAP2FE][CAP2I]. */
237 #define FSL_FEATURE_CTIMER_HAS_NO_CCR_CAP2 (0)
238 /* @brief Has CTIMER CCR_CAP3 (register bits CCR[CAP3RE][CAP3FE][CAP3I]). */
239 #define FSL_FEATURE_CTIMER_HAS_CCR_CAP3 (1)
240 /* @brief CTIMER Has register MSR */
241 #define FSL_FEATURE_CTIMER_HAS_MSR (1)
242 
243 /* DMA module features */
244 
245 /* @brief Number of channels */
246 #define FSL_FEATURE_DMA_NUMBER_OF_CHANNELSn(x) (37)
247 /* @brief Number of all DMA channels */
248 #define FSL_FEATURE_DMA_ALL_CHANNELS (74)
249 /* @brief Max Number of DMA channels */
250 #define FSL_FEATURE_DMA_MAX_CHANNELS (37)
251 /* @brief Align size of DMA descriptor */
252 #define FSL_FEATURE_DMA_DESCRIPTOR_ALIGN_SIZE (1024)
253 /* @brief DMA head link descriptor table align size */
254 #define FSL_FEATURE_DMA_LINK_DESCRIPTOR_ALIGN_SIZE (16U)
255 
256 /* DMIC module features */
257 
258 /* @brief Number of channels */
259 #define FSL_FEATURE_DMIC_CHANNEL_NUM (8)
260 /* @brief DMIC channel support stereo data */
261 #define FSL_FEATURE_DMIC_IO_HAS_STEREO_2_4_6 (1)
262 /* @brief DMIC does not support bypass channel clock */
263 #define FSL_FEATURE_DMIC_IO_HAS_NO_BYPASS (1)
264 /* @brief DMIC channel FIFO register support sign extended */
265 #define FSL_FEATURE_DMIC_CHANNEL_HAS_SIGNEXTEND (1)
266 /* @brief DMIC has no IOCFG register */
267 #define FSL_FEATURE_DMIC_HAS_NO_IOCFG (1)
268 /* @brief DMIC has decimator reset function */
269 #define FSL_FEATURE_DMIC_HAS_DECIMATOR_RESET_FUNC (1)
270 /* @brief DMIC has global channel synchronization function */
271 #define FSL_FEATURE_DMIC_HAS_GLOBAL_SYNC_FUNC (1)
272 
273 /* FLEXCOMM module features */
274 
275 /* @brief FLEXCOMM0 USART INDEX 0 */
276 #define FSL_FEATURE_FLEXCOMM0_USART_INDEX (0)
277 /* @brief FLEXCOMM1 USART INDEX 1 */
278 #define FSL_FEATURE_FLEXCOMM1_USART_INDEX (1)
279 /* @brief FLEXCOMM2 USART INDEX 2 */
280 #define FSL_FEATURE_FLEXCOMM2_USART_INDEX (2)
281 /* @brief FLEXCOMM3 USART INDEX 3 */
282 #define FSL_FEATURE_FLEXCOMM3_USART_INDEX (3)
283 /* @brief FLEXCOMM4 USART INDEX 4 */
284 #define FSL_FEATURE_FLEXCOMM4_USART_INDEX (4)
285 /* @brief FLEXCOMM5 USART INDEX 5 */
286 #define FSL_FEATURE_FLEXCOMM5_USART_INDEX (5)
287 /* @brief FLEXCOMM6 USART INDEX 6 */
288 #define FSL_FEATURE_FLEXCOMM6_USART_INDEX (6)
289 /* @brief FLEXCOMM7 USART INDEX 7 */
290 #define FSL_FEATURE_FLEXCOMM7_USART_INDEX (7)
291 /* @brief FLEXCOMM14 SPI(HS_SPI) INDEX 14 */
292 #define FSL_FEATURE_FLEXCOMM14_SPI_INDEX (14)
293 /* @brief FLEXCOMM15 I2C INDEX 15 */
294 #define FSL_FEATURE_FLEXCOMM15_I2C_INDEX (15)
295 /* @brief FLEXCOMM16 SPI(HS_SPI) INDEX 16 */
296 #define FSL_FEATURE_FLEXCOMM16_SPI_INDEX (16)
297 /* @brief FLEXCOMM8 USART INDEX 8 */
298 #define FSL_FEATURE_FLEXCOMM8_USART_INDEX (8)
299 /* @brief FLEXCOMM9 USART INDEX 9 */
300 #define FSL_FEATURE_FLEXCOMM9_USART_INDEX (9)
301 /* @brief FLEXCOMM10 USART INDEX 10 */
302 #define FSL_FEATURE_FLEXCOMM10_USART_INDEX (10)
303 /* @brief FLEXCOMM11 USART INDEX 11 */
304 #define FSL_FEATURE_FLEXCOMM11_USART_INDEX (11)
305 /* @brief FLEXCOMM12 USART INDEX 12 */
306 #define FSL_FEATURE_FLEXCOMM12_USART_INDEX (12)
307 /* @brief FLEXCOMM13 USART INDEX 13 */
308 #define FSL_FEATURE_FLEXCOMM13_USART_INDEX (13)
309 /* @brief FLEXCOMM0 SPI INDEX 0 */
310 #define FSL_FEATURE_FLEXCOMM0_SPI_INDEX (0)
311 /* @brief FLEXCOMM1 SPI INDEX 1 */
312 #define FSL_FEATURE_FLEXCOMM1_SPI_INDEX (1)
313 /* @brief FLEXCOMM2 SPI INDEX 2 */
314 #define FSL_FEATURE_FLEXCOMM2_SPI_INDEX (2)
315 /* @brief FLEXCOMM3 SPI INDEX 3 */
316 #define FSL_FEATURE_FLEXCOMM3_SPI_INDEX (3)
317 /* @brief FLEXCOMM4 SPI INDEX 4 */
318 #define FSL_FEATURE_FLEXCOMM4_SPI_INDEX (4)
319 /* @brief FLEXCOMM5 SPI INDEX 5 */
320 #define FSL_FEATURE_FLEXCOMM5_SPI_INDEX (5)
321 /* @brief FLEXCOMM6 SPI INDEX 6 */
322 #define FSL_FEATURE_FLEXCOMM6_SPI_INDEX (6)
323 /* @brief FLEXCOMM7 SPI INDEX 7 */
324 #define FSL_FEATURE_FLEXCOMM7_SPI_INDEX (7)
325 /* @brief I2S has DMIC interconnection */
326 #define FSL_FEATURE_FLEXCOMM_INSTANCE_I2S_HAS_DMIC_INTERCONNECTIONn(x) \
327     (((x) == FLEXCOMM14) ? (0) : \
328     (((x) == FLEXCOMM15) ? (0) : \
329     (((x) == FLEXCOMM16) ? (0) : \
330     (((x) == FLEXCOMM0) ? (1) : \
331     (((x) == FLEXCOMM1) ? (0) : \
332     (((x) == FLEXCOMM2) ? (0) : \
333     (((x) == FLEXCOMM3) ? (0) : \
334     (((x) == FLEXCOMM4) ? (0) : \
335     (((x) == FLEXCOMM5) ? (0) : \
336     (((x) == FLEXCOMM6) ? (0) : \
337     (((x) == FLEXCOMM7) ? (0) : \
338     (((x) == FLEXCOMM8) ? (0) : \
339     (((x) == FLEXCOMM9) ? (0) : \
340     (((x) == FLEXCOMM10) ? (0) : \
341     (((x) == FLEXCOMM11) ? (0) : \
342     (((x) == FLEXCOMM12) ? (0) : \
343     (((x) == FLEXCOMM13) ? (0) : (-1))))))))))))))))))
344 /* @brief FLEXCOMM8 SPI INDEX 8 */
345 #define FSL_FEATURE_FLEXCOMM8_SPI_INDEX (8)
346 /* @brief FLEXCOMM9 SPI INDEX 9 */
347 #define FSL_FEATURE_FLEXCOMM9_SPI_INDEX (9)
348 /* @brief FLEXCOMM10 SPI INDEX 10 */
349 #define FSL_FEATURE_FLEXCOMM10_SPI_INDEX (10)
350 /* @brief FLEXCOMM11 SPI INDEX 11 */
351 #define FSL_FEATURE_FLEXCOMM11_SPI_INDEX (11)
352 /* @brief FLEXCOMM12 SPI INDEX 12 */
353 #define FSL_FEATURE_FLEXCOMM12_SPI_INDEX (12)
354 /* @brief FLEXCOMM13 SPI INDEX 13 */
355 #define FSL_FEATURE_FLEXCOMM13_SPI_INDEX (13)
356 /* @brief FLEXCOMM0 I2C INDEX 0 */
357 #define FSL_FEATURE_FLEXCOMM0_I2C_INDEX (0)
358 /* @brief FLEXCOMM1 I2C INDEX 1 */
359 #define FSL_FEATURE_FLEXCOMM1_I2C_INDEX (1)
360 /* @brief FLEXCOMM2 I2C INDEX 2 */
361 #define FSL_FEATURE_FLEXCOMM2_I2C_INDEX (2)
362 /* @brief FLEXCOMM3 I2C INDEX 3 */
363 #define FSL_FEATURE_FLEXCOMM3_I2C_INDEX (3)
364 /* @brief FLEXCOMM4 I2C INDEX 4 */
365 #define FSL_FEATURE_FLEXCOMM4_I2C_INDEX (4)
366 /* @brief FLEXCOMM5 I2C INDEX 5 */
367 #define FSL_FEATURE_FLEXCOMM5_I2C_INDEX (5)
368 /* @brief FLEXCOMM6 I2C INDEX 6 */
369 #define FSL_FEATURE_FLEXCOMM6_I2C_INDEX (6)
370 /* @brief FLEXCOMM7 I2C INDEX 7 */
371 #define FSL_FEATURE_FLEXCOMM7_I2C_INDEX (7)
372 /* @brief FLEXCOMM8 I2C INDEX 8 */
373 #define FSL_FEATURE_FLEXCOMM8_I2C_INDEX (8)
374 /* @brief FLEXCOMM9 I2C INDEX 9 */
375 #define FSL_FEATURE_FLEXCOMM9_I2C_INDEX (9)
376 /* @brief FLEXCOMM10 I2C INDEX 10 */
377 #define FSL_FEATURE_FLEXCOMM10_I2C_INDEX (10)
378 /* @brief FLEXCOMM11 I2C INDEX 11 */
379 #define FSL_FEATURE_FLEXCOMM11_I2C_INDEX (11)
380 /* @brief FLEXCOMM12 I2C INDEX 12 */
381 #define FSL_FEATURE_FLEXCOMM12_I2C_INDEX (12)
382 /* @brief FLEXCOMM13 I2C INDEX 13 */
383 #define FSL_FEATURE_FLEXCOMM13_I2C_INDEX (13)
384 /* @brief FLEXCOMM0 I2S INDEX 0 */
385 #define FSL_FEATURE_FLEXCOMM0_I2S_INDEX (0)
386 /* @brief FLEXCOMM1 I2S INDEX 1 */
387 #define FSL_FEATURE_FLEXCOMM1_I2S_INDEX (1)
388 /* @brief FLEXCOMM2 I2S INDEX 2 */
389 #define FSL_FEATURE_FLEXCOMM2_I2S_INDEX (2)
390 /* @brief FLEXCOMM3 I2S INDEX 3 */
391 #define FSL_FEATURE_FLEXCOMM3_I2S_INDEX (3)
392 /* @brief FLEXCOMM4 I2S INDEX 4 */
393 #define FSL_FEATURE_FLEXCOMM4_I2S_INDEX (4)
394 /* @brief FLEXCOMM5 I2S INDEX 5 */
395 #define FSL_FEATURE_FLEXCOMM5_I2S_INDEX (5)
396 /* @brief FLEXCOMM6 I2S INDEX 6 */
397 #define FSL_FEATURE_FLEXCOMM6_I2S_INDEX (6)
398 /* @brief FLEXCOMM7 I2S INDEX 7 */
399 #define FSL_FEATURE_FLEXCOMM7_I2S_INDEX (7)
400 /* @brief FLEXCOMM8 I2S INDEX 8 */
401 #define FSL_FEATURE_FLEXCOMM8_I2S_INDEX (8)
402 /* @brief FLEXCOMM9 I2S INDEX 9 */
403 #define FSL_FEATURE_FLEXCOMM9_I2S_INDEX (9)
404 /* @brief FLEXCOMM10 I2S INDEX 10 */
405 #define FSL_FEATURE_FLEXCOMM10_I2S_INDEX (10)
406 /* @brief FLEXCOMM11 I2S INDEX 11 */
407 #define FSL_FEATURE_FLEXCOMM11_I2S_INDEX (11)
408 /* @brief FLEXCOMM12 I2S INDEX 12 */
409 #define FSL_FEATURE_FLEXCOMM12_I2S_INDEX (12)
410 /* @brief FLEXCOMM13 I2S INDEX 13 */
411 #define FSL_FEATURE_FLEXCOMM13_I2S_INDEX (13)
412 
413 /* FLEXIO module features */
414 
415 /* @brief FLEXIO support reset from RSTCTL */
416 #define FSL_FEATURE_FLEXIO_HAS_RESET (1)
417 /* @brief Has Shifter Status Register (FLEXIO_SHIFTSTAT) */
418 #define FSL_FEATURE_FLEXIO_HAS_SHIFTER_STATUS (1)
419 /* @brief Has Pin Data Input Register (FLEXIO_PIN) */
420 #define FSL_FEATURE_FLEXIO_HAS_PIN_STATUS (1)
421 /* @brief Has Shifter Buffer N Nibble Byte Swapped Register (FLEXIO_SHIFTBUFNBSn) */
422 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_NIBBLE_BYTE_SWAP (1)
423 /* @brief Has Shifter Buffer N Half Word Swapped Register (FLEXIO_SHIFTBUFHWSn) */
424 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_HALF_WORD_SWAP (1)
425 /* @brief Has Shifter Buffer N Nibble Swapped Register (FLEXIO_SHIFTBUFNISn) */
426 #define FSL_FEATURE_FLEXIO_HAS_SHFT_BUFFER_NIBBLE_SWAP (1)
427 /* @brief Supports Shifter State Mode (FLEXIO_SHIFTCTLn[SMOD]) */
428 #define FSL_FEATURE_FLEXIO_HAS_STATE_MODE (1)
429 /* @brief Supports Shifter Logic Mode (FLEXIO_SHIFTCTLn[SMOD]) */
430 #define FSL_FEATURE_FLEXIO_HAS_LOGIC_MODE (1)
431 /* @brief Supports paralle width (FLEXIO_SHIFTCFGn[PWIDTH]) */
432 #define FSL_FEATURE_FLEXIO_HAS_PARALLEL_WIDTH (1)
433 /* @brief Reset value of the FLEXIO_VERID register */
434 #define FSL_FEATURE_FLEXIO_VERID_RESET_VALUE (0x2010003)
435 /* @brief Reset value of the FLEXIO_PARAM register */
436 #define FSL_FEATURE_FLEXIO_PARAM_RESET_VALUE (0x10100808)
437 /* @brief Represent the bit width of the TIMDCE field (FLEXIO_TIMCFGLn[TIMDEC]) */
438 #define FSL_FEATURE_FLEXIO_TIMCFG_TIMDCE_FIELD_WIDTH (3)
439 
440 /* FLEXSPI module features */
441 
442 /* @brief FlexSPI AHB buffer count */
443 #define FSL_FEATURE_FLEXSPI_AHB_BUFFER_COUNTn(x) (8)
444 /* @brief FlexSPI0 and FlexSPI1 have shared IRQ */
445 #define FSL_FEATURE_FLEXSPI_HAS_SHARED_IRQ0_IRQ1 (1)
446 /* @brief FlexSPI has no MCR0 ARDFEN bit */
447 #define FSL_FEATURE_FLEXSPI_HAS_NO_MCR0_ARDFEN (1)
448 /* @brief FlexSPI has no MCR0 ATDFEN bit */
449 #define FSL_FEATURE_FLEXSPI_HAS_NO_MCR0_ATDFEN (1)
450 /* @brief FlexSPI DMA needs multiple DES to transfer */
451 #define FSL_FEATURE_FLEXSPI_DMA_MULTIPLE_DES (1)
452 /* @brief FlexSPI uses min DQS delay */
453 #define FSL_FEATURE_FLEXSPI_DQS_DELAY_MIN (1)
454 /* @brief FlexSPI has no MCR0 COMBINATIONEN bit */
455 #define FSL_FEATURE_FLEXSPI_HAS_NO_MCR0_COMBINATIONEN (1)
456 /* @brief FLEXSPI has no IP parallel mode. */
457 #define FSL_FEATURE_FLEXSPI_HAS_NO_IP_PARALLEL_MODE (0)
458 /* @brief FLEXSPI has no AHB parallel mode. */
459 #define FSL_FEATURE_FLEXSPI_HAS_NO_AHB_PARALLEL_MODE (0)
460 /* @brief FLEXSPI support address shift. */
461 #define FSL_FEATURE_FLEXSPI_SUPPORT_ADDRESS_SHIFT (0)
462 /* @brief FlexSPI has no FLSHCR4 WMENB bit */
463 #define FSL_FEATURE_FLEXSPI_HAS_NO_FLSHCR4_WMENB (1)
464 /* @brief FlexSPI has no STS0 DATALEARNPHASEB bit */
465 #define FSL_FEATURE_FLEXSPI_HAS_NO_STS0_DATALEARNPHASEB (1)
466 /* @brief FlexSPI has no MCR2 SCKBDIFFOPT bit */
467 #define FSL_FEATURE_FLEXSPI_HAS_NO_MCR2_SCKBDIFFOPT (1)
468 /* @brief Has Errata 051426 */
469 #define FSL_FEATURE_FLEXSPI_HAS_ERRATA_051426 (1)
470 
471 /* GPIO module features */
472 
473 /* @brief GPIO has interrupts */
474 #define FSL_FEATURE_GPIO_HAS_INTERRUPT (1)
475 /* @brief GPIO DIRSET and DIRCLR register. */
476 #define FSL_FEATURE_GPIO_DIRSET_AND_DIRCLR (1)
477 
478 /* HASHCRYPT module features */
479 
480 /* @brief hashcrypt has reload feature */
481 #define FSL_FEATURE_HASHCRYPT_HAS_RELOAD_FEATURE (1)
482 
483 /* I2S module features */
484 
485 /* @brief I2S support dual channel transfer. */
486 #define FSL_FEATURE_I2S_SUPPORT_SECONDARY_CHANNEL (1)
487 /* @brief I2S has DMIC interconnection. */
488 #define FSL_FEATURE_FLEXCOMM_I2S_HAS_DMIC_INTERCONNECTION (1)
489 
490 /* I3C module features */
491 
492 /* @brief Has TERM bitfile in MERRWARN register. */
493 #define FSL_FEATURE_I3C_HAS_NO_MERRWARN_TERM (0)
494 /* @brief SOC has no reset driver. */
495 #define FSL_FEATURE_I3C_HAS_NO_RESET (0)
496 /* @brief Use fixed BAMATCH count, do not provide editable BAMATCH. */
497 #define FSL_FEATURE_I3C_HAS_NO_SCONFIG_BAMATCH (0)
498 /* @brief Register SCONFIG do not have IDRAND bitfield. */
499 #define FSL_FEATURE_I3C_HAS_NO_SCONFIG_IDRAND (0)
500 /* @brief Register SCONFIG has HDROK bitfield. */
501 #define FSL_FEATURE_I3C_HAS_HDROK (0)
502 /* @brief Has ERRATA_051617. */
503 #define FSL_FEATURE_I3C_HAS_ERRATA_051617 (1)
504 
505 /* INPUTMUX module features */
506 
507 /* @brief Number of channels */
508 #define FSL_FEATURE_INPUTMUX_HAS_SIGNAL_ENA (1)
509 /* @brief Inputmux has channel mux control */
510 #define FSL_FEATURE_INPUTMUX_HAS_CHANNEL_MUX (1)
511 
512 /* LCDIF module features */
513 
514 /* @brief Support D/CX Pin polarity. */
515 #define FSL_FEATURE_LCDIF_HAS_DBIX_POLARITY (1)
516 /* @brief Has DBI Type C Option. */
517 #define FSL_FEATURE_LCDIF_HAS_TYPEC (0)
518 
519 /* MIPI_DSI_HOST module features */
520 
521 /* @brief Does not have DPHY PLL */
522 #define FSL_FEATURE_MIPI_DSI_HOST_NO_DPHY_PLL (1)
523 /* @brief Support TX ULPS */
524 #define FSL_FEATURE_MIPI_DSI_HOST_HAS_ULPS (0)
525 /* @brief Has control register to enable or disable TX ULPS */
526 #define FSL_FEATURE_MIPI_DSI_HOST_HAS_ULPS_CTRL (0)
527 /* @brief Has pixel-link to DPI remap */
528 #define FSL_FEATURE_MIPI_DSI_HOST_HAS_PXL2DPI (0)
529 
530 /* MRT module features */
531 
532 /* @brief number of channels. */
533 #define FSL_FEATURE_MRT_NUMBER_OF_CHANNELS (4)
534 
535 /* MU module features */
536 
537 /* @brief MU side for current core */
538 #define FSL_FEATURE_MU_SIDE_A (1)
539 /* @brief MU Has register CCR */
540 #define FSL_FEATURE_MU_HAS_CCR (0)
541 /* @brief MU Has register SR[RS], BSR[ARS] */
542 #define FSL_FEATURE_MU_HAS_SR_RS (1)
543 /* @brief MU Has register CR[RDIE], CR[RAIE], SR[RDIP], SR[RAIP] */
544 #define FSL_FEATURE_MU_HAS_RESET_INT (1)
545 /* @brief MU Has register SR[MURIP] */
546 #define FSL_FEATURE_MU_HAS_SR_MURIP (0)
547 /* @brief brief MU Has register SR[HRIP] */
548 #define FSL_FEATURE_MU_HAS_SR_HRIP (0)
549 /* @brief brief MU does not support enable clock of the other core, CR[CLKE] or CCR[CLKE]. */
550 #define FSL_FEATURE_MU_NO_CLKE (1)
551 /* @brief brief MU does not support NMI, CR[NMI]. */
552 #define FSL_FEATURE_MU_NO_NMI (1)
553 /* @brief brief MU does not support hold the other core reset. CR[RSTH] or CCR[RSTH]. */
554 #define FSL_FEATURE_MU_NO_RSTH (1)
555 /* @brief brief MU does not supports MU reset, CR[MUR]. */
556 #define FSL_FEATURE_MU_NO_MUR (0)
557 /* @brief brief MU does not supports hardware reset, CR[HR] or CCR[HR]. */
558 #define FSL_FEATURE_MU_NO_HR (1)
559 /* @brief brief MU supports mask the hardware reset. CR[HRM] or CCR[HRM]. */
560 #define FSL_FEATURE_MU_HAS_HRM (0)
561 
562 /* OTFAD module features */
563 
564 /* @brief OTFAD has Security Violation Mode (SVM) */
565 #define FSL_FEATURE_OTFAD_HAS_SVM_MODE (0)
566 /* @brief OTFAD has Key Blob Processing */
567 #define FSL_FEATURE_OTFAD_HAS_KEYBLOB_PROCESSING (0)
568 /* @brief OTFAD has interrupt request enable */
569 #define FSL_FEATURE_OTFAD_HAS_HAS_IRQ_ENABLE (0)
570 /* @brief OTFAD has Force Error */
571 #define FSL_FEATURE_OTFAD_HAS_FORCE_ERR (0)
572 
573 /* PINT module features */
574 
575 /* @brief Number of connected outputs */
576 #define FSL_FEATURE_PINT_NUMBER_OF_CONNECTED_OUTPUTS (8)
577 
578 /* PMC module features */
579 
580 /* @brief Has no OS Timer control register in PMC. */
581 #define FSL_FEATURE_PMC_HAS_NO_OSTIMER_REG (1)
582 
583 /* PUF module features */
584 
585 /* @brief PUF need to setup SRAM manually */
586 #define FSL_FEATURE_PUF_PWR_HAS_MANUAL_SLEEP_CONTROL (1)
587 /* @brief PUF has SHIFT_STATUS register. */
588 #define FSL_FEATURE_PUF_HAS_SHIFT_STATUS (0)
589 /* @brief PUF has IDXBLK_SHIFT register. */
590 #define FSL_FEATURE_PUF_HAS_IDXBLK_SHIFT (0)
591 
592 /* RTC module features */
593 
594 /* @brief RTC does not support reset from RSTCTL. */
595 #define FSL_FEATURE_RTC_HAS_NO_RESET (1)
596 
597 /* SCT module features */
598 
599 /* @brief Number of events */
600 #define FSL_FEATURE_SCT_NUMBER_OF_EVENTS (16)
601 /* @brief Number of states */
602 #define FSL_FEATURE_SCT_NUMBER_OF_STATES (32)
603 /* @brief Number of match capture */
604 #define FSL_FEATURE_SCT_NUMBER_OF_MATCH_CAPTURE (16)
605 /* @brief Number of outputs */
606 #define FSL_FEATURE_SCT_NUMBER_OF_OUTPUTS (10)
607 
608 /* SECGPIO module features */
609 
610 /* @brief GPIO has interrupts */
611 #define FSL_FEATURE_SECGPIO_HAS_INTERRUPT (1)
612 /* @brief GPIO DIRSET and DIRCLR register. */
613 #define FSL_FEATURE_SECGPIO_DIRSET_AND_DIRCLR (1)
614 
615 /* SEMA42 module features */
616 
617 /* @brief Gate counts */
618 #define FSL_FEATURE_SEMA42_GATE_COUNT (16)
619 
620 /* SPI module features */
621 
622 /* @brief SSEL pin count. */
623 #define FSL_FEATURE_SPI_SSEL_COUNT (4)
624 
625 /* TRNG module features */
626 
627 /* @brief Need configure default frequency minimum value */
628 #define FSL_FEATURE_TRNG_FORCE_USER_CONFIG_DEFAULT_FREQUENCY_MINIMUM (1)
629 /* @brief The user configured frequency minimum value */
630 #define FSL_FEATURE_TRNG_USER_CONFIG_DEFAULT_FREQUENCY_MINIMUM_VALUE (0)
631 
632 /* USBHSD module features */
633 
634 /* @brief Size of the USB dedicated RAM */
635 #define FSL_FEATURE_USBHSD_USB_RAM (0x00004000)
636 /* @brief Base address of the USB dedicated RAM */
637 #define FSL_FEATURE_USBHSD_USB_RAM_BASE_ADDRESS (0x40140000)
638 /* @brief USBHSD version */
639 #define FSL_FEATURE_USBHSD_VERSION (300)
640 /* @brief Number of the endpoint in USB HS */
641 #define FSL_FEATURE_USBHSD_EP_NUM (6)
642 /* @brief The controller doesn't exit HS mode automatically after vbus becomes invalid */
643 #define FSL_FEATURE_USBHSD_HAS_EXIT_HS_ISSUE (1)
644 
645 /* USBHSH module features */
646 
647 /* @brief Size of the USB dedicated RAM */
648 #define FSL_FEATURE_USBHSH_USB_RAM (0x00004000)
649 /* @brief Base address of the USB dedicated RAM */
650 #define FSL_FEATURE_USBHSH_USB_RAM_BASE_ADDRESS (0x40140000)
651 /* @brief USBHSH version */
652 #define FSL_FEATURE_USBHSH_VERSION (300)
653 /* @brief USBHSH has packet turnaround time-out register */
654 #define FSL_FEATURE_USBHSH_HAS_TURNAROUND_TIMEOUT (0)
655 
656 /* USBPHY module features */
657 
658 /* @brief USBPHY contain DCD analog module */
659 #define FSL_FEATURE_USBPHY_HAS_DCD_ANALOG (1)
660 /* @brief USBPHY has register TRIM_OVERRIDE_EN */
661 #define FSL_FEATURE_USBPHY_HAS_TRIM_OVERRIDE_EN (1)
662 /* @brief USBPHY is 28FDSOI */
663 #define FSL_FEATURE_USBPHY_28FDSOI (0)
664 
665 /* USDHC module features */
666 
667 /* @brief Has external DMA support (VEND_SPEC[EXT_DMA_EN]) */
668 #define FSL_FEATURE_USDHC_HAS_EXT_DMA (0)
669 /* @brief Has HS400 mode (MIX_CTRL[HS400_MODE]) */
670 #define FSL_FEATURE_USDHC_HAS_HS400_MODE (1)
671 /* @brief Has SDR50 support (HOST_CTRL_CAP[SDR50_SUPPORT]) */
672 #define FSL_FEATURE_USDHC_HAS_SDR50_MODE (1)
673 /* @brief Has SDR104 support (HOST_CTRL_CAP[SDR104_SUPPORT]) */
674 #define FSL_FEATURE_USDHC_HAS_SDR104_MODE (1)
675 /* @brief USDHC has reset control */
676 #define FSL_FEATURE_USDHC_HAS_RESET (1)
677 /* @brief USDHC has no bitfield WTMK_LVL[WR_BRST_LEN] and WTMK_LVL[RD_BRST_LEN] */
678 #define FSL_FEATURE_USDHC_HAS_NO_RW_BURST_LEN (0)
679 /* @brief If USDHC instance support 8 bit width */
680 #define FSL_FEATURE_USDHC_INSTANCE_SUPPORT_8_BIT_WIDTHn(x) (1)
681 /* @brief If USDHC instance support HS400 mode */
682 #define FSL_FEATURE_USDHC_INSTANCE_SUPPORT_HS400_MODEn(x) \
683     (((x) == USDHC0) ? (1) : \
684     (((x) == USDHC1) ? (0) : (-1)))
685 /* @brief If USDHC instance support 1v8 signal */
686 #define FSL_FEATURE_USDHC_INSTANCE_SUPPORT_1V8_SIGNALn(x) (1)
687 /* @brief Has no retuning time counter (HOST_CTRL_CAP[TIME_COUNT_RETURNING]) */
688 #define FSL_FEATURE_USDHC_REGISTER_HOST_CTRL_CAP_HAS_NO_RETUNING_TIME_COUNTER (0)
689 /* @brief Has no VSELECT bit in VEND_SPEC register */
690 #define FSL_FEATURE_USDHC_HAS_NO_VOLTAGE_SELECT (0)
691 
692 /* UTICK module features */
693 
694 /* @brief UTICK does not support power down configure. */
695 #define FSL_FEATURE_UTICK_HAS_NO_PDCFG (1)
696 
697 /* WWDT module features */
698 
699 /* @brief WWDT does not support oscillator lock. */
700 #define FSL_FEATURE_WWDT_HAS_NO_OSCILLATOR_LOCK (0)
701 /* @brief WWDT does not support power down configure. */
702 #define FSL_FEATURE_WWDT_HAS_NO_PDCFG (1)
703 
704 #endif /* _MIMXRT555S_FEATURES_H_ */
705 
706