1# Kinetis K2X MCU line
2
3# Copyright (c) 2018 Prevas A/S
4# Copyright (c) 2019 Thomas Burdick <thomas.burdick@gmail.com>
5# Copyright 2024 NXP
6
7#
8# SPDX-License-Identifier: Apache-2.0
9#
10
11config SOC_SERIES_KINETIS_K2X
12	select ARM
13	select CPU_CORTEX_M4
14	select CPU_CORTEX_M_HAS_DWT
15	select CLOCK_CONTROL
16	select SOC_RESET_HOOK
17	select SOC_EARLY_INIT_HOOK
18
19config SOC_MK22F51212
20	select HAS_MCUX
21	select HAS_MCUX_SMC
22	select HAS_MCUX_ADC16
23	select HAS_MCUX_FTFX
24	select HAS_MCUX_FTM
25	select HAS_MCUX_RNGA
26	select HAS_MCUX_SIM
27	select HAS_OSC
28	select HAS_MCG
29	select CPU_HAS_FPU
30	select HAS_MCUX_DAC
31	select HAS_MCUX_RCM
32
33# Note- the MK22F12 SKU is a legacy SOC, no longer officially supported by
34# NXP's MCUX SDK, and not recommended for new designs.
35config SOC_MK22F12
36	select HAS_MCUX
37	select HAS_MCUX_SMC
38	select HAS_MCUX_ADC16
39	select HAS_MCUX_FTFX
40	select HAS_MCUX_FTM
41	select HAS_MCUX_RNGA
42	select HAS_MCUX_SIM
43	select HAS_OSC
44	select HAS_MCG
45	select CPU_HAS_FPU
46	select HAS_MCUX_DAC
47	select HAS_MCUX_RCM
48	select CPU_HAS_NXP_SYSMPU
49