1# Smartbond watchdog driver config
2
3# Copyright (c) 2022 Renesas Electronics Corporation and/or its affiliates
4# SPDX-License-Identifier: Apache-2.0
5
6config WDT_SMARTBOND
7	bool "Watchdog Driver for Smartbond family of MCUs"
8	default y
9	depends on DT_HAS_RENESAS_SMARTBOND_WATCHDOG_ENABLED
10	select HAS_WDT_DISABLE_AT_BOOT
11	help
12	  Enable watchdog driver for Smartbond line of MCUs
13
14config WDT_SMARTBOND_NMI
15	bool "NMI pre-reset interrupt enable"
16	default n
17	depends on WDT_SMARTBOND
18	select RUNTIME_NMI
19	help
20	  Watchdog timer generates NMI at value 0, and WDOG (SYS)
21	  reset at <= -16. Timer can be frozen/resumed using
22	  SET_FREEZE_REG[FRZ_WDOG]/RESET_FREEZE_REG[FRZ_WDOG].
23	  When not set:
24	  Watchdog timer generates a WDOG (SYS)
25	  reset at value 0 and can not be frozen by Software.
26	  Note that this bit can only be set to 1 by SW and
27	  only be reset with a WDOG (SYS) reset or SW reset.
28