1# NXP MIMXRT5XX platform configuration options
2
3# Copyright (c) 2022, NXP
4# SPDX-License-Identifier: Apache-2.0
5
6if SOC_MIMXRT595S_CM33
7
8config SOC
9	default "mimxrt595s_cm33"
10
11if MCUX_OS_TIMER
12
13config SYS_CLOCK_HW_CYCLES_PER_SEC
14	default 1000000
15
16endif # MCUX_OS_TIMER
17
18if CORTEX_M_SYSTICK
19
20config SYS_CLOCK_HW_CYCLES_PER_SEC
21	default 250105263
22
23endif # CORTEX_M_SYSTICK
24
25choice USB_MCUX_CONTROLLER_TYPE
26	default USB_DC_NXP_LPCIP3511
27endchoice
28
29# Enable the MEMC FlexSPI driver when using device power
30# management so we can reconfigure the FlexSPI pins to
31# save power. The MEMC FlexSPI driver is enabled when we
32# enable the Flash subsystem, however we would like to
33# reconfigure the FlexSPI pins even when the Flash driver
34# is disabled, hence MEMC is selected when PM_DEVICE
35# is turned on.
36config MEMC
37	default y if PM_DEVICE
38	select MEMC_MCUX_FLEXSPI
39
40endif # SOC_MIMXRT685S_CM33
41