1# Copyright 2022-2023 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4config SOC_FAMILY_NXP_S32
5	bool
6
7if SOC_FAMILY_NXP_S32
8
9config SOC_FAMILY
10	string
11	default "nxp_s32"
12
13config NXP_S32_FUNC_RESET_THRESHOLD
14	int "Functional Reset Escalation threshold"
15	default 15
16	range 0 15
17	help
18	  If the value of this option is 0, the Functional reset escalation
19	  function is disabled. Any other value is the number of Functional
20	  resets that causes a Destructive reset, if the FRET register isn't
21	  written to beforehand.
22	  Default to maximum threshold (hardware reset value).
23
24config NXP_S32_DEST_RESET_THRESHOLD
25	int "Destructive Reset Escalation threshold"
26	default 0
27	range 0 15
28	help
29	  If the value of this field is 0, the Destructive reset escalation
30	  function is disabled. Any other value is the number of Destructive
31	  resets which keeps the chip in the reset state until the next power-on
32	  reset triggers a new reset sequence, if the DRET register isn't
33	  written to beforehand.
34	  Default to disabled (hardware reset value).
35
36source "soc/arm/nxp_s32/*/Kconfig.soc"
37
38config SOC_PART_NUMBER
39	default SOC_PART_NUMBER_S32ZE_R52 if SOC_SERIES_S32ZE_R52
40	default SOC_PART_NUMBER_S32K3 if SOC_SERIES_S32K3_M7
41
42endif # SOC_FAMILY_NXP_S32
43