1# Copyright 2023 NXP
2# All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5
6config MCUX_USE_SOC_MIMXRT595S_CM33
7    bool
8    select MCUX_USE_SOC_MIMXRT595S
9    select MCUX_CPU_ARCH_ARM_CM33
10    select MCUX_CPU_HAS_SP_FPU
11    select MCUX_CPU_ARM_HAS_DSP
12
13config MCUX_USE_SOC_MIMXRT595S
14    bool
15
16if MCUX_USE_SOC_MIMXRT595S
17
18# Part Number
19config MCUX_SOC_PART_MIMXRT595S
20    bool
21
22config MCUX_DEVICE
23    default "MIMXRT595S"
24
25config MCUX_DEVICE_ID
26    default "MIMXRT595S" if MCUX_SOC_PART_MIMXRT595S
27
28config MCUX_CORE_ID
29    default "cm33" if MCUX_USE_SOC_MIMXRT595S_CM33
30
31# Select supported components
32config MCUX_USE_SOC_MIMXRT595S
33    select MCUX_HAS_CMSIS_DSP_Include
34    select MCUX_HAS_CMSIS_DSP_Source
35    select MCUX_HAS_CMSIS_Device_API_OSTick
36    select MCUX_HAS_CMSIS_Device_API_RTOS2
37    select MCUX_HAS_CMSIS_Driver_Include_CAN
38    select MCUX_HAS_CMSIS_Driver_Include_Ethernet
39    select MCUX_HAS_CMSIS_Driver_Include_Ethernet_MAC
40    select MCUX_HAS_CMSIS_Driver_Include_Ethernet_PHY
41    select MCUX_HAS_CMSIS_Driver_Include_Flash
42    select MCUX_HAS_CMSIS_Driver_Include_I2C
43    select MCUX_HAS_CMSIS_Driver_Include_MCI
44    select MCUX_HAS_CMSIS_Driver_Include_NAND
45    select MCUX_HAS_CMSIS_Driver_Include_SAI
46    select MCUX_HAS_CMSIS_Driver_Include_SPI
47    select MCUX_HAS_CMSIS_Driver_Include_USART
48    select MCUX_HAS_CMSIS_Driver_Include_USB_Device
49    select MCUX_HAS_CMSIS_Driver_Include_USB_Host
50    select MCUX_HAS_CMSIS_Driver_Include_WiFi
51    select MCUX_HAS_CMSIS_Include_core_cm
52    select MCUX_HAS_CMSIS_NN_Source
53    select MCUX_HAS_CMSIS_RTOS2_NonSecure
54    select MCUX_HAS_CMSIS_RTOS2_Secure
55    select MCUX_HAS_component_ctimer_adapter
56    select MCUX_HAS_component_flexcomm_i2c_adapter
57    select MCUX_HAS_component_flexcomm_spi_adapter
58    select MCUX_HAS_component_i3c_adapter
59    select MCUX_HAS_component_lists
60    select MCUX_HAS_component_lpc_gpio_adapter
61    select MCUX_HAS_component_mrt_adapter
62    select MCUX_HAS_component_ostimer_adapter
63    select MCUX_HAS_component_rt_gpio_adapter
64    select MCUX_HAS_component_serial_manager
65    select MCUX_HAS_component_serial_manager_spi
66    select MCUX_HAS_component_serial_manager_swo if (MCUX_CPU_ARCH_ARM_CM33)
67    select MCUX_HAS_component_serial_manager_uart
68    select MCUX_HAS_component_usart_adapter
69    select MCUX_HAS_component_usart_dma_adapter
70    select MCUX_HAS_driver_acmp
71    select MCUX_HAS_driver_cache_cache64
72    select MCUX_HAS_driver_casper
73    select MCUX_HAS_driver_cmsis_flexcomm_i2c
74    select MCUX_HAS_driver_cmsis_flexcomm_spi
75    select MCUX_HAS_driver_cmsis_flexcomm_usart
76    select MCUX_HAS_driver_common
77    select MCUX_HAS_driver_ctimer
78    select MCUX_HAS_driver_dmic
79    select MCUX_HAS_driver_dmic_dma
80    select MCUX_HAS_driver_flexcomm
81    select MCUX_HAS_driver_flexcomm_i2c
82    select MCUX_HAS_driver_flexcomm_i2c_dma
83    select MCUX_HAS_driver_flexcomm_i2c_freertos
84    select MCUX_HAS_driver_flexcomm_i2s
85    select MCUX_HAS_driver_flexcomm_i2s_dma
86    select MCUX_HAS_driver_flexcomm_spi
87    select MCUX_HAS_driver_flexcomm_spi_dma
88    select MCUX_HAS_driver_flexcomm_spi_freertos
89    select MCUX_HAS_driver_flexcomm_usart
90    select MCUX_HAS_driver_flexcomm_usart_dma
91    select MCUX_HAS_driver_flexcomm_usart_freertos
92    select MCUX_HAS_driver_flexio
93    select MCUX_HAS_driver_flexio_i2c_master
94    select MCUX_HAS_driver_flexio_i2s
95    select MCUX_HAS_driver_flexio_mculcd
96    select MCUX_HAS_driver_flexio_mculcd_smartdma
97    select MCUX_HAS_driver_flexio_spi
98    select MCUX_HAS_driver_flexio_uart
99    select MCUX_HAS_driver_flexspi
100    select MCUX_HAS_driver_flexspi_dma
101    select MCUX_HAS_driver_fmeas
102    select MCUX_HAS_driver_hashcrypt
103    select MCUX_HAS_driver_i3c
104    select MCUX_HAS_driver_iap
105    select MCUX_HAS_driver_inputmux
106    select MCUX_HAS_driver_lcdif
107    select MCUX_HAS_driver_lpadc
108    select MCUX_HAS_driver_lpc_crc
109    select MCUX_HAS_driver_lpc_dma
110    select MCUX_HAS_driver_lpc_gpio
111    select MCUX_HAS_driver_lpc_iopctl
112    select MCUX_HAS_driver_lpc_rtc
113    select MCUX_HAS_driver_lpc_smartdma
114    select MCUX_HAS_driver_mipi_dsi
115    select MCUX_HAS_driver_mipi_dsi_smartdma
116    select MCUX_HAS_driver_mrt
117    select MCUX_HAS_driver_mu
118    select MCUX_HAS_driver_ostimer
119    select MCUX_HAS_driver_otfad
120    select MCUX_HAS_driver_pint
121    select MCUX_HAS_driver_powerquad
122    select MCUX_HAS_driver_powerquad_cmsis
123    select MCUX_HAS_driver_puf
124    select MCUX_HAS_driver_sctimer
125    select MCUX_HAS_driver_sema42
126    select MCUX_HAS_driver_trng
127    select MCUX_HAS_driver_usdhc
128    select MCUX_HAS_driver_utick
129    select MCUX_HAS_driver_wwdt
130    select MCUX_HAS_utilities_misc_utilities
131    select MCUX_HAS_utility_assert
132    select MCUX_HAS_utility_assert_lite
133    select MCUX_HAS_utility_debug_console
134    select MCUX_HAS_utility_debug_console_lite
135    select MCUX_HAS_utility_shell
136    select MCUX_HAS_utility_str
137
138#### SOC specific dependency ####
139config MCUX_USE_component_serial_manager_uart
140    bool
141    select MCUX_USE_component_usart_adapter
142
143config MCUX_USE_driver_dmic_dma
144    bool
145    select MCUX_USE_driver_lpc_dma
146
147config MCUX_USE_driver_dsp
148    bool
149    select MCUX_USE_driver_power
150
151config MCUX_USE_driver_flexcomm_i2c_dma
152    bool
153    select MCUX_USE_driver_lpc_dma
154
155config MCUX_USE_driver_flexcomm_i2s_dma
156    bool
157    select MCUX_USE_driver_lpc_dma
158
159config MCUX_USE_driver_flexcomm_spi_dma
160    bool
161    select MCUX_USE_driver_lpc_dma
162
163config MCUX_USE_driver_flexcomm_usart_dma
164    bool
165    select MCUX_USE_driver_lpc_dma
166
167config MCUX_USE_driver_flexio_mculcd_smartdma
168    bool
169    select MCUX_USE_driver_lpc_smartdma
170
171config MCUX_USE_driver_flexio_spi_dma
172    bool
173    select MCUX_USE_driver_dma
174
175config MCUX_USE_driver_flexio_uart_dma
176    bool
177    select MCUX_USE_driver_dma
178
179config MCUX_USE_driver_flexspi_dma
180    bool
181    select MCUX_USE_driver_lpc_dma
182
183config MCUX_USE_driver_iap
184    bool
185    select MCUX_USE_driver_common
186
187config MCUX_USE_driver_mipi_dsi_smartdma
188    bool
189    select MCUX_USE_driver_lpc_smartdma
190
191config MCUX_USE_driver_pca9420
192    bool
193    select MCUX_USE_driver_power
194
195config MCUX_USE_driver_utick
196    bool
197    select MCUX_USE_driver_power
198
199config MCUX_USE_utility_debug_console_lite
200    bool
201    select MCUX_USE_component_usart_adapter
202
203
204#### SOC level drivers ####
205# device_MIMXRT595S_CMSIS
206config MCUX_USE_device_MIMXRT595S_CMSIS
207    bool "Device MIMXRT595S_cmsis"
208    select MCUX_USE_CMSIS_Include_core_cm
209    help
210      Device MIMXRT595S_cmsis
211
212# device_MIMXRT595S_DSP
213config MCUX_USE_device_MIMXRT595S_DSP
214    bool "Device MIMXRT595S_dsp"
215
216    help
217      Device MIMXRT595S_dsp
218
219# device_MIMXRT595S_startup
220config MCUX_USE_device_MIMXRT595S_startup
221    bool "Device MIMXRT595S_startup"
222    help
223      Device MIMXRT595S_startup
224
225rsource "drivers/Kconfig"
226
227endif # MCUX_USE_SOC_MIMXRT595S