Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions boards/renesas/rza3ul_smarc/rza3ul_smarc.dts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
zephyr,code-partition = &slot0_partition;
};

aliases {
watchdog0 = &wdt0;
};

ddr: memory@40200000 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x40200000 (DT_SIZE_M(1024) - 0x200000)>;
Expand Down Expand Up @@ -76,3 +80,7 @@
pinctrl-names = "default";
status = "okay";
};

&wdt0 {
status = "okay";
};
1 change: 1 addition & 0 deletions boards/renesas/rza3ul_smarc/rza3ul_smarc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ supported:
- adc
- i2c
- counter
- watchdog
testing:
ignore_tags:
- bluetooth
5 changes: 5 additions & 0 deletions boards/renesas/rzn2l_rsk/rzn2l_rsk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
led0 = &led0;
led1 = &led1;
sw0 = &sw1;
watchdog0 = &wdt0;
};

leds {
Expand Down Expand Up @@ -123,3 +124,7 @@
pinctrl-names = "default";
status = "okay";
};

&wdt0 {
status = "okay";
};
1 change: 1 addition & 0 deletions boards/renesas/rzn2l_rsk/rzn2l_rsk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ supported:
- adc
- i2c
- counter
- watchdog
vendor: renesas
5 changes: 5 additions & 0 deletions boards/renesas/rzt2m_rsk/rzt2m_rsk_r9a07g075m24gbg_cr520.dts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
aliases {
led0 = &led0;
sw0 = &sw1;
watchdog0 = &wdt0;
};

leds {
Expand Down Expand Up @@ -120,3 +121,7 @@
&adc1 {
status = "okay";
};

&wdt0 {
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ supported:
- adc
- i2c
- counter
- watchdog
vendor: renesas
1 change: 1 addition & 0 deletions drivers/watchdog/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ zephyr_library_sources_ifdef(CONFIG_WDT_ANDES_ATCWDT200 wdt_andes_atcwdt200.c)
zephyr_library_sources_ifdef(CONFIG_WDT_NXP_FS26 wdt_nxp_fs26.c)
zephyr_library_sources_ifdef(CONFIG_WDT_SHELL wdt_shell.c)
zephyr_library_sources_ifdef(CONFIG_WDT_RENESAS_RA wdt_renesas_ra.c)
zephyr_library_sources_ifdef(CONFIG_WDT_RENESAS_RZ wdt_renesas_rz.c)
zephyr_library_sources_ifdef(CONFIG_WDT_NXP_EWM wdt_nxp_ewm.c)

zephyr_library_sources_ifdef(CONFIG_WDT_TI_RTI wdt_ti_rti.c)
Expand Down
2 changes: 2 additions & 0 deletions drivers/watchdog/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ source "drivers/watchdog/Kconfig.rts5912"

source "drivers/watchdog/Kconfig.renesas_ra"

source "drivers/watchdog/Kconfig.renesas_rz"

source "drivers/watchdog/Kconfig.wch"

source "drivers/watchdog/Kconfig.nxp_ewm"
Expand Down
22 changes: 22 additions & 0 deletions drivers/watchdog/Kconfig.renesas_rz
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (c) 2025 Renesas Electronics Corporation
# SPDX-License-Identifier: Apache-2.0

config WDT_RENESAS_RZ
bool "Watchdog Driver for Renesas RZ"
default y
depends on DT_HAS_RENESAS_RZ_WDT_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
select USE_RZ_FSP_WDT
help
Enable watchdog driver for Renesas RZ

if WDT_RENESAS_RZ

config WDT_RENESAS_RZ_USE_ICU
bool "Watchdog generates interrupt requests signal"
default y
depends on SOC_SERIES_RZT2M || SOC_SERIES_RZN2L
help
Watchdog generates interrupt requests signal

endif # WDT_RENESAS_RZ
Loading
Loading