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