[WDT] Add Synopsys DesignWare watchdog

This device is commonly used in SoCs.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
GuEe-GUI
2025-07-10 13:59:12 +08:00
committed by Rbb666
parent 37818aa518
commit 2532450a83
3 changed files with 631 additions and 0 deletions
+7
View File
@@ -2,6 +2,13 @@ menuconfig RT_USING_WDT
bool "Using Watch Dog device drivers"
default n
config RT_WDT_DW
bool "Synopsys DesignWare watchdog"
depends on RT_USING_DM
depends on RT_USING_WDT
depends on RT_USING_RESET
default n
if RT_USING_DM && RT_USING_WDT
osource "$(SOC_DM_WDT_DIR)/Kconfig"
endif
+3
View File
@@ -11,6 +11,9 @@ CPPPATH = [cwd + '/../include']
src = ['dev_watchdog.c']
if GetDepend(['RT_WDT_DW']):
src += ['watchdog-dw.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
File diff suppressed because it is too large Load Diff