1# Copyright 2023 NXP
2# All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5
6config MCUX_USE_SOC_MIMXRT1052
7    bool
8    select MCUX_CPU_ARCH_ARM_CM7F
9    select MCUX_CPU_HAS_DP_FPU
10if MCUX_USE_SOC_MIMXRT1052
11
12# Part Number
13config MCUX_SOC_PART_MIMXRT1052xxxxB
14    bool
15
16config MCUX_DEVICE
17    default "MIMXRT1052"
18
19config MCUX_DEVICE_ID
20    default "MIMXRT1052xxxxB" if MCUX_SOC_PART_MIMXRT1052xxxxB
21
22
23# Select supported components
24config MCUX_USE_SOC_MIMXRT1052
25    select MCUX_HAS_CMSIS_DSP_Include
26    select MCUX_HAS_CMSIS_DSP_Source
27    select MCUX_HAS_CMSIS_Device_API_OSTick
28    select MCUX_HAS_CMSIS_Device_API_RTOS2
29    select MCUX_HAS_CMSIS_Driver_Include_CAN
30    select MCUX_HAS_CMSIS_Driver_Include_Ethernet
31    select MCUX_HAS_CMSIS_Driver_Include_Ethernet_MAC
32    select MCUX_HAS_CMSIS_Driver_Include_Ethernet_PHY
33    select MCUX_HAS_CMSIS_Driver_Include_Flash
34    select MCUX_HAS_CMSIS_Driver_Include_I2C
35    select MCUX_HAS_CMSIS_Driver_Include_MCI
36    select MCUX_HAS_CMSIS_Driver_Include_NAND
37    select MCUX_HAS_CMSIS_Driver_Include_SAI
38    select MCUX_HAS_CMSIS_Driver_Include_SPI
39    select MCUX_HAS_CMSIS_Driver_Include_USART
40    select MCUX_HAS_CMSIS_Driver_Include_USB_Device
41    select MCUX_HAS_CMSIS_Driver_Include_USB_Host
42    select MCUX_HAS_CMSIS_Driver_Include_WiFi
43    select MCUX_HAS_CMSIS_Include_core_cm
44    select MCUX_HAS_CMSIS_NN_Source
45    select MCUX_HAS_CMSIS_RTOS2_NonSecure
46    select MCUX_HAS_CMSIS_RTOS2_Secure
47    select MCUX_HAS_component_gpt_adapter
48    select MCUX_HAS_component_igpio_adapter
49    select MCUX_HAS_component_lists
50    select MCUX_HAS_component_lpi2c_adapter
51    select MCUX_HAS_component_lpspi_adapter
52    select MCUX_HAS_component_lpuart_adapter
53    select MCUX_HAS_component_lpuart_dma_adapter
54    select MCUX_HAS_component_pit_adapter
55    select MCUX_HAS_component_serial_manager
56    select MCUX_HAS_component_serial_manager_spi
57    select MCUX_HAS_component_serial_manager_swo if (MCUX_CPU_ARCH_ARM_CM7F)
58    select MCUX_HAS_component_serial_manager_uart
59    select MCUX_HAS_driver_adc_12b1msps_sar
60    select MCUX_HAS_driver_adc_etc
61    select MCUX_HAS_driver_aipstz
62    select MCUX_HAS_driver_aoi
63    select MCUX_HAS_driver_bee
64    select MCUX_HAS_driver_cache_armv7_m7
65    select MCUX_HAS_driver_cmp
66    select MCUX_HAS_driver_cmsis_enet
67    select MCUX_HAS_driver_cmsis_lpi2c
68    select MCUX_HAS_driver_cmsis_lpspi
69    select MCUX_HAS_driver_cmsis_lpuart
70    select MCUX_HAS_driver_common
71    select MCUX_HAS_driver_csi
72    select MCUX_HAS_driver_dcdc_1
73    select MCUX_HAS_driver_dcp
74    select MCUX_HAS_driver_dmamux
75    select MCUX_HAS_driver_edma
76    select MCUX_HAS_driver_elcdif
77    select MCUX_HAS_driver_enc
78    select MCUX_HAS_driver_enet
79    select MCUX_HAS_driver_ewm
80    select MCUX_HAS_driver_flexcan
81    select MCUX_HAS_driver_flexio
82    select MCUX_HAS_driver_flexio_camera
83    select MCUX_HAS_driver_flexio_camera_edma
84    select MCUX_HAS_driver_flexio_i2c_master
85    select MCUX_HAS_driver_flexio_i2s
86    select MCUX_HAS_driver_flexio_i2s_edma
87    select MCUX_HAS_driver_flexio_mculcd
88    select MCUX_HAS_driver_flexio_mculcd_edma
89    select MCUX_HAS_driver_flexio_spi
90    select MCUX_HAS_driver_flexio_spi_edma
91    select MCUX_HAS_driver_flexio_uart
92    select MCUX_HAS_driver_flexio_uart_edma
93    select MCUX_HAS_driver_flexram
94    select MCUX_HAS_driver_flexspi
95    select MCUX_HAS_driver_flexspi_edma
96    select MCUX_HAS_driver_gpc_1
97    select MCUX_HAS_driver_gpt
98    select MCUX_HAS_driver_igpio
99    select MCUX_HAS_driver_kpp
100    select MCUX_HAS_driver_lpi2c
101    select MCUX_HAS_driver_lpi2c_edma
102    select MCUX_HAS_driver_lpi2c_freertos
103    select MCUX_HAS_driver_lpspi
104    select MCUX_HAS_driver_lpspi_edma
105    select MCUX_HAS_driver_lpspi_freertos
106    select MCUX_HAS_driver_lpuart
107    select MCUX_HAS_driver_lpuart_edma
108    select MCUX_HAS_driver_lpuart_freertos
109    select MCUX_HAS_driver_ocotp
110    select MCUX_HAS_driver_pit
111    select MCUX_HAS_driver_pmu
112    select MCUX_HAS_driver_pwm
113    select MCUX_HAS_driver_pxp
114    select MCUX_HAS_driver_qtmr_1
115    select MCUX_HAS_driver_rtwdog
116    select MCUX_HAS_driver_sai
117    select MCUX_HAS_driver_sai_edma
118    select MCUX_HAS_driver_semc
119    select MCUX_HAS_driver_snvs_hp
120    select MCUX_HAS_driver_snvs_lp
121    select MCUX_HAS_driver_spdif
122    select MCUX_HAS_driver_spdif_edma
123    select MCUX_HAS_driver_src
124    select MCUX_HAS_driver_tempmon
125    select MCUX_HAS_driver_trng
126    select MCUX_HAS_driver_tsc
127    select MCUX_HAS_driver_usdhc
128    select MCUX_HAS_driver_wdog01
129    select MCUX_HAS_driver_xbara
130    select MCUX_HAS_driver_xbarb
131    select MCUX_HAS_utilities_misc_utilities
132    select MCUX_HAS_utility_assert
133    select MCUX_HAS_utility_assert_lite
134    select MCUX_HAS_utility_debug_console
135    select MCUX_HAS_utility_debug_console_lite
136    select MCUX_HAS_utility_notifier
137    select MCUX_HAS_utility_shell
138    select MCUX_HAS_utility_str
139
140#### SOC specific dependency ####
141config MCUX_USE_RTE_Device
142    bool
143    select MCUX_USE_driver_edma
144
145config MCUX_USE_component_serial_manager_uart
146    bool
147    select MCUX_USE_component_lpuart_adapter
148
149config MCUX_USE_driver_cmsis_lpi2c
150    bool
151    select MCUX_USE_driver_lpi2c_edma
152
153config MCUX_USE_driver_cmsis_lpspi
154    bool
155    select MCUX_USE_driver_lpspi_edma
156
157config MCUX_USE_driver_cmsis_lpuart
158    bool
159    select MCUX_USE_driver_lpuart_edma
160
161config MCUX_USE_driver_dcp
162    bool
163    select MCUX_USE_driver_cache_armv7_m7
164
165config MCUX_USE_driver_flexio_camera_edma
166    bool
167    select MCUX_USE_driver_edma
168
169config MCUX_USE_driver_flexio_i2s_edma
170    bool
171    select MCUX_USE_driver_edma
172
173config MCUX_USE_driver_flexio_mculcd_edma
174    bool
175    select MCUX_USE_driver_edma
176
177config MCUX_USE_driver_flexio_spi_edma
178    bool
179    select MCUX_USE_driver_edma
180
181config MCUX_USE_driver_flexio_uart_edma
182    bool
183    select MCUX_USE_driver_edma
184
185config MCUX_USE_driver_flexspi_edma
186    bool
187    select MCUX_USE_driver_edma
188
189config MCUX_USE_driver_lpi2c_edma
190    bool
191    select MCUX_USE_driver_edma
192
193config MCUX_USE_driver_lpspi_edma
194    bool
195    select MCUX_USE_driver_edma
196
197config MCUX_USE_driver_lpuart_edma
198    bool
199    select MCUX_USE_driver_edma
200
201config MCUX_USE_driver_sai_edma
202    bool
203    select MCUX_USE_driver_edma
204
205config MCUX_USE_driver_spdif_edma
206    bool
207    select MCUX_USE_driver_edma
208
209config MCUX_USE_utility_debug_console_lite
210    bool
211    select MCUX_USE_component_lpuart_adapter
212
213
214#### SOC level drivers ####
215# device_MIMXRT1052_CMSIS
216config MCUX_USE_device_MIMXRT1052_CMSIS
217    bool "Device MIMXRT1052_cmsis"
218    select MCUX_USE_CMSIS_Include_core_cm
219    help
220      Device MIMXRT1052_cmsis
221
222# device_MIMXRT1052_startup
223config MCUX_USE_device_MIMXRT1052_startup
224    bool "Device MIMXRT1052_startup"
225    help
226      Device MIMXRT1052_startup
227
228# device_MIMXRT1052_system
229config MCUX_USE_device_MIMXRT1052_system
230    bool "Device MIMXRT1052_system"
231    help
232      Device MIMXRT1052_system
233
234rsource "drivers/Kconfig"
235rsource "xip/Kconfig"
236
237endif # MCUX_USE_SOC_MIMXRT1052