1# Copyright 2023 NXP
2# All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5
6config MCUX_USE_SOC_MCIMX7U5
7    bool
8    select MCUX_CPU_ARCH_ARM_CM4F
9    select MCUX_CPU_HAS_SP_FPU
10if MCUX_USE_SOC_MCIMX7U5
11
12# Part Number
13config MCUX_SOC_PART_MCIMX7U5xxxxx
14    bool
15
16config MCUX_DEVICE
17    default "MCIMX7U5"
18
19config MCUX_DEVICE_ID
20    default "MCIMX7U5xxxxx" if MCUX_SOC_PART_MCIMX7U5xxxxx
21
22
23# Select supported components
24config MCUX_USE_SOC_MCIMX7U5
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_gpio_adapter
48    select MCUX_HAS_component_lists
49    select MCUX_HAS_component_lpi2c_adapter
50    select MCUX_HAS_component_lpit_adapter
51    select MCUX_HAS_component_lpspi_adapter
52    select MCUX_HAS_component_lptmr_adapter
53    select MCUX_HAS_component_lpuart_adapter
54    select MCUX_HAS_component_lpuart_dma_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_CM4F)
58    select MCUX_HAS_component_serial_manager_uart
59    select MCUX_HAS_component_tpm_adapter
60    select MCUX_HAS_driver_acmp
61    select MCUX_HAS_driver_cache_lmem
62    select MCUX_HAS_driver_cmsis_lpi2c
63    select MCUX_HAS_driver_cmsis_lpspi
64    select MCUX_HAS_driver_cmsis_lpuart
65    select MCUX_HAS_driver_common
66    select MCUX_HAS_driver_crc
67    select MCUX_HAS_driver_dac12
68    select MCUX_HAS_driver_dmamux
69    select MCUX_HAS_driver_edma
70    select MCUX_HAS_driver_ewm
71    select MCUX_HAS_driver_flexio
72    select MCUX_HAS_driver_flexio_camera
73    select MCUX_HAS_driver_flexio_camera_edma
74    select MCUX_HAS_driver_flexio_i2c_master
75    select MCUX_HAS_driver_flexio_i2s
76    select MCUX_HAS_driver_flexio_i2s_edma
77    select MCUX_HAS_driver_flexio_mculcd
78    select MCUX_HAS_driver_flexio_mculcd_edma
79    select MCUX_HAS_driver_flexio_spi
80    select MCUX_HAS_driver_flexio_spi_edma
81    select MCUX_HAS_driver_flexio_uart
82    select MCUX_HAS_driver_flexio_uart_edma
83    select MCUX_HAS_driver_gpio
84    select MCUX_HAS_driver_llwu
85    select MCUX_HAS_driver_lpadc
86    select MCUX_HAS_driver_lpi2c
87    select MCUX_HAS_driver_lpi2c_edma
88    select MCUX_HAS_driver_lpi2c_freertos
89    select MCUX_HAS_driver_lpit
90    select MCUX_HAS_driver_lpspi
91    select MCUX_HAS_driver_lpspi_edma
92    select MCUX_HAS_driver_lpspi_freertos
93    select MCUX_HAS_driver_lptmr
94    select MCUX_HAS_driver_lpuart
95    select MCUX_HAS_driver_lpuart_edma
96    select MCUX_HAS_driver_lpuart_freertos
97    select MCUX_HAS_driver_ltc
98    select MCUX_HAS_driver_ltc_edma
99    select MCUX_HAS_driver_msmc
100    select MCUX_HAS_driver_mu
101    select MCUX_HAS_driver_pmc0
102    select MCUX_HAS_driver_port
103    select MCUX_HAS_driver_qspi
104    select MCUX_HAS_driver_qspi_edma
105    select MCUX_HAS_driver_sai
106    select MCUX_HAS_driver_sai_edma
107    select MCUX_HAS_driver_sema42
108    select MCUX_HAS_driver_snvs_hp
109    select MCUX_HAS_driver_snvs_lp
110    select MCUX_HAS_driver_tpm
111    select MCUX_HAS_driver_trgmux
112    select MCUX_HAS_driver_trng
113    select MCUX_HAS_driver_tstmr
114    select MCUX_HAS_driver_wdog32
115    select MCUX_HAS_driver_xrdc
116    select MCUX_HAS_utilities_misc_utilities
117    select MCUX_HAS_utility_assert
118    select MCUX_HAS_utility_assert_lite
119    select MCUX_HAS_utility_debug_console
120    select MCUX_HAS_utility_debug_console_lite
121    select MCUX_HAS_utility_notifier
122    select MCUX_HAS_utility_shell
123    select MCUX_HAS_utility_str
124
125#### SOC specific dependency ####
126config MCUX_USE_RTE_Device
127    bool
128    select MCUX_USE_driver_dmamux
129    select MCUX_USE_driver_edma
130
131config MCUX_USE_component_serial_manager_uart
132    bool
133    select MCUX_USE_component_lpuart_adapter
134
135config MCUX_USE_driver_cmsis_lpi2c
136    bool
137    select MCUX_USE_driver_lpi2c_edma
138
139config MCUX_USE_driver_cmsis_lpspi
140    bool
141    select MCUX_USE_driver_lpspi_edma
142
143config MCUX_USE_driver_cmsis_lpuart
144    bool
145    select MCUX_USE_driver_lpuart_edma
146
147config MCUX_USE_driver_flexio_camera_edma
148    bool
149    select MCUX_USE_driver_edma
150
151config MCUX_USE_driver_flexio_i2s_edma
152    bool
153    select MCUX_USE_driver_edma
154
155config MCUX_USE_driver_flexio_mculcd_edma
156    bool
157    select MCUX_USE_driver_edma
158
159config MCUX_USE_driver_flexio_spi_edma
160    bool
161    select MCUX_USE_driver_edma
162
163config MCUX_USE_driver_flexio_uart_edma
164    bool
165    select MCUX_USE_driver_edma
166
167config MCUX_USE_driver_lpi2c_edma
168    bool
169    select MCUX_USE_driver_edma
170
171config MCUX_USE_driver_lpspi_edma
172    bool
173    select MCUX_USE_driver_edma
174
175config MCUX_USE_driver_lpuart_edma
176    bool
177    select MCUX_USE_driver_edma
178
179config MCUX_USE_driver_ltc_edma
180    bool
181    select MCUX_USE_driver_edma
182
183config MCUX_USE_driver_qspi_edma
184    bool
185    select MCUX_USE_driver_edma
186
187config MCUX_USE_driver_sai_edma
188    bool
189    select MCUX_USE_driver_edma
190
191config MCUX_USE_utility_debug_console_lite
192    bool
193    select MCUX_USE_component_lpuart_adapter
194
195
196#### SOC level drivers ####
197# device_MCIMX7U5_CMSIS
198config MCUX_USE_device_MCIMX7U5_CMSIS
199    bool "Device MCIMX7U5_cmsis"
200    select MCUX_USE_CMSIS_Include_core_cm
201    help
202      Device MCIMX7U5_cmsis
203
204# device_MCIMX7U5_startup
205config MCUX_USE_device_MCIMX7U5_startup
206    bool "Device MCIMX7U5_startup"
207    help
208      Device MCIMX7U5_startup
209
210rsource "drivers/Kconfig"
211
212endif # MCUX_USE_SOC_MCIMX7U5