1# Kinetis K2x series configuration options
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
11if SOC_SERIES_KINETIS_K2X
12
13config GPIO
14	default y if SOC_MK22F51212
15
16config NUM_IRQS
17	default 74
18
19config NUM_IRQS
20	default 81 if SOC_MK22F12
21	default 74 if SOC_MK22F51212
22
23config CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
24	default y if SOC_MK22F12
25
26# The flash option register (FOPT) boot options
27# 1111 1001 - Set NMI pin/interrupts and EzPort reset default to disabled
28config KINETIS_FLASH_CONFIG_FOPT
29	default 0xF9
30	depends on KINETIS_FLASH_CONFIG
31
32endif # SOC_SERIES_KINETIS_K2X
33