1# Kinetis KWx MCU series
2
3# Copyright (c) 2017, NXP
4# SPDX-License-Identifier: Apache-2.0
5
6choice
7	prompt "Kinetis KWx MCU Selection"
8	depends on SOC_SERIES_KINETIS_KWX
9
10config SOC_MKW22D5
11	bool "SOC_MKW22D5"
12	select CPU_CORTEX_M4
13	select CPU_CORTEX_M_HAS_DWT
14	select HAS_MCUX
15	select HAS_MCUX_ADC16
16	select HAS_MCUX_FTFX
17	select HAS_MCUX_FTM
18	select HAS_MCUX_RNGA
19	select HAS_MCUX_SIM
20	select HAS_OSC
21	select HAS_MCG
22	select HAS_MCUX_RCM
23
24config SOC_MKW24D5
25	bool "SOC_MKW24D5"
26	select CPU_CORTEX_M4
27	select CPU_CORTEX_M_HAS_DWT
28	select HAS_MCUX
29	select HAS_MCUX_ADC16
30	select HAS_MCUX_FTFX
31	select HAS_MCUX_FTM
32	select HAS_MCUX_RNGA
33	select HAS_MCUX_SIM
34	select HAS_OSC
35	select HAS_MCG
36	select HAS_MCUX_RCM
37
38config SOC_MKW40Z4
39	bool "SOC_MKW40Z4"
40	select CPU_CORTEX_M0PLUS
41	select HAS_MCUX
42	select HAS_MCUX_ADC16
43	select HAS_MCUX_LPUART
44	select HAS_MCUX_SIM
45	select HAS_MCUX_TRNG
46	select HAS_OSC
47	select HAS_MCG
48	select HAS_MCUX_RCM
49
50config SOC_MKW41Z4
51	bool "SOC_MKW41Z4"
52	select CPU_CORTEX_M0PLUS
53	select HAS_MCUX
54	select HAS_MCUX_ADC16
55	select HAS_MCUX_FTFX
56	select HAS_MCUX_LPUART
57	select HAS_MCUX_RTC
58	select HAS_MCUX_SIM
59	select HAS_MCUX_TPM
60	select HAS_MCUX_TRNG
61	select HAS_OSC
62	select HAS_MCG
63	select HAS_MCUX_RCM
64
65endchoice
66
67if SOC_SERIES_KINETIS_KWX
68
69config SOC_PART_NUMBER_MKW22D512VHA5
70	bool
71
72config SOC_PART_NUMBER_MKW24D512VHA5
73	bool
74
75config SOC_PART_NUMBER_MKW40Z160VHT4
76	bool
77
78config SOC_PART_NUMBER_MKW41Z256VHT4
79	bool
80
81config SOC_PART_NUMBER_MKW41Z512VHT4
82	bool
83
84config SOC_PART_NUMBER_KINETIS_KWX
85	string
86	default "MKW22D512VHA5" if SOC_PART_NUMBER_MKW22D512VHA5
87	default "MKW24D512VHA5" if SOC_PART_NUMBER_MKW24D512VHA5
88	default "MKW40Z160VHT4" if SOC_PART_NUMBER_MKW40Z160VHT4
89	default "MKW41Z256VHT4" if SOC_PART_NUMBER_MKW41Z256VHT4
90	default "MKW41Z512VHT4" if SOC_PART_NUMBER_MKW41Z512VHT4
91	help
92	  This string holds the full part number of the SoC. It is a hidden option
93	  that you should not set directly. The part number selection choice defines
94	  the default value for this string.
95
96endif # SOC_SERIES_KINETIS_KWX
97