Skip to content

Commit 5039f4f

Browse files
le-quang168tiennguyenzg
authored andcommitted
drivers: watchdog: Initial support for RZ/A3UL, N2L, T2M
Add Watchdog driver support for Renesas RZ/A3UL, N2L, T2M Signed-off-by: Quang Le <[email protected]> Signed-off-by: Tien Nguyen <[email protected]>
1 parent 7d70c96 commit 5039f4f

File tree

6 files changed

+487
-0
lines changed

6 files changed

+487
-0
lines changed

drivers/watchdog/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ zephyr_library_sources_ifdef(CONFIG_WDT_ANDES_ATCWDT200 wdt_andes_atcwdt200.c)
6363
zephyr_library_sources_ifdef(CONFIG_WDT_NXP_FS26 wdt_nxp_fs26.c)
6464
zephyr_library_sources_ifdef(CONFIG_WDT_SHELL wdt_shell.c)
6565
zephyr_library_sources_ifdef(CONFIG_WDT_RENESAS_RA wdt_renesas_ra.c)
66+
zephyr_library_sources_ifdef(CONFIG_WDT_RENESAS_RZ wdt_renesas_rz.c)
6667
zephyr_library_sources_ifdef(CONFIG_WDT_NXP_EWM wdt_nxp_ewm.c)
6768

6869
zephyr_library_sources_ifdef(CONFIG_WDT_TI_RTI wdt_ti_rti.c)

drivers/watchdog/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ source "drivers/watchdog/Kconfig.rts5912"
153153

154154
source "drivers/watchdog/Kconfig.renesas_ra"
155155

156+
source "drivers/watchdog/Kconfig.renesas_rz"
157+
156158
source "drivers/watchdog/Kconfig.wch"
157159

158160
source "drivers/watchdog/Kconfig.nxp_ewm"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) 2025 Renesas Electronics Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config WDT_RENESAS_RZ
5+
bool "Watchdog Driver for Renesas RZ"
6+
default y
7+
depends on DT_HAS_RENESAS_RZ_WDT_ENABLED
8+
select HAS_WDT_DISABLE_AT_BOOT
9+
select USE_RZ_FSP_WDT
10+
help
11+
Enable watchdog driver for Renesas RZ
12+
13+
if WDT_RENESAS_RZ
14+
15+
config WDT_RENESAS_RZ_USE_ICU
16+
bool "Watchdog generates interrupt requests signal"
17+
default y
18+
depends on SOC_SERIES_RZT2M || SOC_SERIES_RZN2L
19+
help
20+
Watchdog generates interrupt requests signal
21+
22+
endif # WDT_RENESAS_RZ

0 commit comments

Comments
 (0)