1# Copyright 2023 NXP
2# All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5
6config MCUX_USE_SOC_LPC55S69_CM33_CORE0
7    bool
8    select MCUX_USE_SOC_LPC55S69
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_LPC55S69_CM33_CORE1
14    bool
15    select MCUX_USE_SOC_LPC55S69
16    select MCUX_CPU_ARCH_ARM_CM33
17
18config MCUX_USE_SOC_LPC55S69
19    bool
20
21if MCUX_USE_SOC_LPC55S69
22
23# Part Number
24config MCUX_SOC_PART_LPC55S69
25    bool
26
27config MCUX_DEVICE
28    default "LPC55S69"
29
30config MCUX_DEVICE_ID
31    default "LPC55S69" if MCUX_SOC_PART_LPC55S69
32
33config MCUX_CORE_ID
34    default "cm33_core0" if MCUX_USE_SOC_LPC55S69_CM33_CORE0
35    default "cm33_core1" if MCUX_USE_SOC_LPC55S69_CM33_CORE1
36
37# Select supported components
38config MCUX_USE_SOC_LPC55S69
39    select MCUX_HAS_CMSIS_DSP_Include
40    select MCUX_HAS_CMSIS_DSP_Source
41    select MCUX_HAS_CMSIS_Device_API_OSTick
42    select MCUX_HAS_CMSIS_Device_API_RTOS2
43    select MCUX_HAS_CMSIS_Driver_Include_CAN
44    select MCUX_HAS_CMSIS_Driver_Include_Ethernet
45    select MCUX_HAS_CMSIS_Driver_Include_Ethernet_MAC
46    select MCUX_HAS_CMSIS_Driver_Include_Ethernet_PHY
47    select MCUX_HAS_CMSIS_Driver_Include_Flash
48    select MCUX_HAS_CMSIS_Driver_Include_I2C
49    select MCUX_HAS_CMSIS_Driver_Include_MCI
50    select MCUX_HAS_CMSIS_Driver_Include_NAND
51    select MCUX_HAS_CMSIS_Driver_Include_SAI
52    select MCUX_HAS_CMSIS_Driver_Include_SPI
53    select MCUX_HAS_CMSIS_Driver_Include_USART
54    select MCUX_HAS_CMSIS_Driver_Include_USB_Device
55    select MCUX_HAS_CMSIS_Driver_Include_USB_Host
56    select MCUX_HAS_CMSIS_Driver_Include_WiFi
57    select MCUX_HAS_CMSIS_Include_core_cm
58    select MCUX_HAS_CMSIS_NN_Source
59    select MCUX_HAS_CMSIS_RTOS2_NonSecure
60    select MCUX_HAS_CMSIS_RTOS2_Secure
61    select MCUX_HAS_component_ctimer_adapter
62    select MCUX_HAS_component_flexcomm_i2c_adapter
63    select MCUX_HAS_component_flexcomm_spi_adapter
64    select MCUX_HAS_component_gint_adapter
65    select MCUX_HAS_component_lists
66    select MCUX_HAS_component_lpc_gpio_adapter
67    select MCUX_HAS_component_mrt_adapter
68    select MCUX_HAS_component_ostimer_adapter
69    select MCUX_HAS_component_serial_manager
70    select MCUX_HAS_component_serial_manager_spi
71    select MCUX_HAS_component_serial_manager_swo if (MCUX_CPU_ARCH_ARM_CM33)
72    select MCUX_HAS_component_serial_manager_uart
73    select MCUX_HAS_component_usart_adapter
74    select MCUX_HAS_component_usart_dma_adapter
75    select MCUX_HAS_driver_anactrl
76    select MCUX_HAS_driver_casper
77    select MCUX_HAS_driver_cmp_1
78    select MCUX_HAS_driver_cmsis_flexcomm_i2c
79    select MCUX_HAS_driver_cmsis_flexcomm_spi
80    select MCUX_HAS_driver_cmsis_flexcomm_usart
81    select MCUX_HAS_driver_common
82    select MCUX_HAS_driver_ctimer
83    select MCUX_HAS_driver_flexcomm
84    select MCUX_HAS_driver_flexcomm_i2c
85    select MCUX_HAS_driver_flexcomm_i2c_dma
86    select MCUX_HAS_driver_flexcomm_i2c_freertos
87    select MCUX_HAS_driver_flexcomm_i2s
88    select MCUX_HAS_driver_flexcomm_i2s_dma
89    select MCUX_HAS_driver_flexcomm_spi
90    select MCUX_HAS_driver_flexcomm_spi_dma
91    select MCUX_HAS_driver_flexcomm_spi_freertos
92    select MCUX_HAS_driver_flexcomm_usart
93    select MCUX_HAS_driver_flexcomm_usart_dma
94    select MCUX_HAS_driver_flexcomm_usart_freertos
95    select MCUX_HAS_driver_gint
96    select MCUX_HAS_driver_hashcrypt
97    select MCUX_HAS_driver_iap1
98    select MCUX_HAS_driver_inputmux
99    select MCUX_HAS_driver_lpadc
100    select MCUX_HAS_driver_lpc_crc
101    select MCUX_HAS_driver_lpc_dma
102    select MCUX_HAS_driver_lpc_gpio
103    select MCUX_HAS_driver_lpc_iocon
104    select MCUX_HAS_driver_lpc_rtc
105    select MCUX_HAS_driver_mailbox
106    select MCUX_HAS_driver_mrt
107    select MCUX_HAS_driver_ostimer
108    select MCUX_HAS_driver_pint
109    select MCUX_HAS_driver_plu
110    select MCUX_HAS_driver_powerquad
111    select MCUX_HAS_driver_powerquad_cmsis
112    select MCUX_HAS_driver_prince
113    select MCUX_HAS_driver_puf
114    select MCUX_HAS_driver_rng_1
115    select MCUX_HAS_driver_sctimer
116    select MCUX_HAS_driver_sdif
117    select MCUX_HAS_driver_sysctl
118    select MCUX_HAS_driver_utick
119    select MCUX_HAS_driver_wwdt
120    select MCUX_HAS_utilities_misc_utilities
121    select MCUX_HAS_utility_assert
122    select MCUX_HAS_utility_assert_lite
123    select MCUX_HAS_utility_debug_console
124    select MCUX_HAS_utility_debug_console_lite
125    select MCUX_HAS_utility_incbin
126    select MCUX_HAS_utility_notifier
127    select MCUX_HAS_utility_shell
128    select MCUX_HAS_utility_str
129
130#### SOC specific dependency ####
131config MCUX_USE_RTE_Device
132    bool
133    select MCUX_USE_driver_lpc_dma
134
135config MCUX_USE_component_serial_manager_uart
136    bool
137    select MCUX_USE_component_usart_adapter
138
139config MCUX_USE_driver_flexcomm_i2c_dma
140    bool
141    select MCUX_USE_driver_lpc_dma
142
143config MCUX_USE_driver_flexcomm_i2s_dma
144    bool
145    select MCUX_USE_driver_lpc_dma
146
147config MCUX_USE_driver_flexcomm_spi_dma
148    bool
149    select MCUX_USE_driver_lpc_dma
150
151config MCUX_USE_driver_flexcomm_usart_dma
152    bool
153    select MCUX_USE_driver_lpc_dma
154
155config MCUX_USE_driver_prince
156    bool
157    select MCUX_USE_driver_iap1
158    select MCUX_USE_driver_puf
159
160config MCUX_USE_utility_debug_console_lite
161    bool
162    select MCUX_USE_component_usart_adapter
163
164
165#### SOC level drivers ####
166# device_LPC55S69_CMSIS
167config MCUX_USE_device_LPC55S69_CMSIS
168    bool "Device LPC55S69_cmsis"
169    select MCUX_USE_CMSIS_Include_core_cm
170    help
171      Device LPC55S69_cmsis
172
173# device_LPC55S69_startup
174config MCUX_USE_device_LPC55S69_startup
175    bool "Device LPC55S69_startup"
176    help
177      Device LPC55S69_startup
178
179# device_LPC55S69_system
180config MCUX_USE_device_LPC55S69_system
181    bool "Device LPC55S69_system"
182    help
183      Device LPC55S69_system
184
185# driver_fro_calib
186config MCUX_USE_driver_fro_calib
187    bool "Driver fro_calib"
188    select MCUX_USE_driver_common
189    help
190      FRO calibration driver with calibration Lib
191
192rsource "drivers/Kconfig"
193
194endif # MCUX_USE_SOC_LPC55S69