1# Copyright 2020, 2024 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4config SOC_MIMXRT685S_CM33
5	select ARM
6	select CPU_CORTEX_M33
7	select CPU_CORTEX_M_HAS_DWT
8	select CLOCK_CONTROL
9	select SOC_RESET_HOOK
10	select HAS_PM
11	select CPU_HAS_ARM_SAU
12	select CPU_HAS_ARM_MPU
13	select CPU_HAS_FPU
14	select ARMV8_M_DSP
15	select ARM_TRUSTZONE_M
16	select CPU_CORTEX_M_HAS_SYSTICK
17	select HAS_MCUX
18	select HAS_MCUX_SYSCON
19	select HAS_MCUX_FLEXCOMM
20	select HAS_MCUX_FLEXSPI
21	select HAS_MCUX_CACHE
22	select HAS_MCUX_LPC_DMA
23	select HAS_MCUX_LPADC
24	select HAS_MCUX_OS_TIMER
25	select HAS_MCUX_LPC_RTC
26	select HAS_MCUX_TRNG
27	select HAS_MCUX_SCTIMER
28	select HAS_MCUX_USDHC1
29	select HAS_MCUX_USDHC2
30	select INIT_SYS_PLL
31	select HAS_MCUX_USB_LPCIP3511
32	select HAS_MCUX_CTIMER
33	select SOC_EARLY_INIT_HOOK
34
35if SOC_SERIES_IMXRT6XX
36
37config MCUX_CORE_SUFFIX
38	default "_cm33" if SOC_MIMXRT685S_CM33
39
40config INIT_SYS_PLL
41	bool "Initialize SYS PLL"
42
43config INIT_AUDIO_PLL
44	bool "Initialize Audio PLL"
45
46config XTAL_SYS_CLK_HZ
47	int "External oscillator frequency"
48	help
49	  Set the external oscillator frequency in Hz. This should be set by the
50	  board's defconfig.
51
52config SYSOSC_SETTLING_US
53	int "System oscillator settling time"
54	help
55	  Set the board system oscillator settling time in us. This should be set by the
56	  board's defconfig.
57
58config IMXRT6XX_CODE_CACHE
59	bool "Code cache"
60	default y
61	help
62	  Enable code cache for FlexSPI region at boot. If this Kconfig is
63	  cleared, the CACHE64 controller will be disabled during SOC init
64
65endif
66