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	select HAS_WDT_NO_CALLBACKS if !WDT_SMARTBOND_NMI
12	help
13	  Enable watchdog driver for Smartbond line of MCUs
14
15config WDT_SMARTBOND_NMI
16	bool "NMI pre-reset interrupt enable"
17	default n
18	depends on WDT_SMARTBOND
19	select RUNTIME_NMI
20	help
21	  Watchdog timer generates NMI at value 0, and WDOG (SYS)
22	  reset at <= -16. Timer can be frozen/resumed using
23	  SET_FREEZE_REG[FRZ_WDOG]/RESET_FREEZE_REG[FRZ_WDOG].
24	  When not set:
25	  Watchdog timer generates a WDOG (SYS)
26	  reset at value 0 and can not be frozen by Software.
27	  Note that this bit can only be set to 1 by SW and
28	  only be reset with a WDOG (SYS) reset or SW reset.
29