arm: socfpga: Gen5/A10: Enable Designware watchdog
Subsystems (3)
PATCH 1/1 arm: socfpga: Gen5/A10: Enable Designware watchdog
From: Tien Fong Chee <[email protected]>
Some bootROMs enable the watchdog before jumping to SPL, so calling WATCHDOG_RESET() is required to reset watchdog timely especially in long looping. Enable Designware watchdog driver is required to support WATCHDOG_RESET().
Gen5 uses non device model watchdog HW_WATCHDOG due to OCRAM size limitation.
--- arch/arm/mach-socfpga/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/mach-socfpga/Kconfig +4 -0
@@ -90,8 +90,10 @@ config ARCH_SOCFPGA_ARRIA10 select SPL_ALTERA_SDRAM select SPL_BOARD_INIT if SPL select SPL_CACHE if SPL + select SPL_WDT if SPL select CLK select SPL_CLK if SPL + select DESIGNWARE_WATCHDOG select DM_I2C select DM_RESET select SPL_DM_RESET if SPL
@@ -100,6 +102,7 @@ config ARCH_SOCFPGA_ARRIA10 select SYSCON select SPL_SYSCON if SPL select ETH_DESIGNWARE_SOCFPGA + select WDT imply FPGA_SOCFPGA imply SPL_USE_TINY_PRINTF
@@ -117,6 +120,7 @@ config ARCH_SOCFPGA_CYCLONE5 config ARCH_SOCFPGA_GEN5 bool + select DESIGNWARE_WATCHDOG select SPL_ALTERA_SDRAM imply FPGA_SOCFPGA imply SPL_SIZE_LIMIT_SUBTRACT_GD
Signature · 1 line
2.43.7
Quoted 48 lines
From: NG, BOON KHAI <[email protected]>
Sent: Friday, February 27, 2026 4:48 PM
To: U-boot Openlist <[email protected]>
Cc: YUSLAIMI, ALIF ZAKUAN <[email protected]>; NG, BOON KHAI <[email protected]>; Brian Sune <[email protected]>; Marek Vasut <[email protected]>; Naresh Kumar Ravulapalli <[email protected]>; Simon Goldschmidt <[email protected]>; Chee, Tien Fong <[email protected]>; Tingting Meng <[email protected]>; Tom Rini <[email protected]>; MANIYAM, DINESH <[email protected]>; LOK, CHEN HUEI <[email protected]>; Hea, Kok Kiang <[email protected]>
Subject: [PATCH v1] arm: socfpga: Gen5/A10: Enable Designware watchdog
From: Tien Fong Chee <[email protected]>
Some bootROMs enable the watchdog before jumping to SPL, so callingWATCHDOG_RESET()is required to reset watchdog timely especially in long looping. Enable Designware watchdog driver is required to supportWATCHDOG_RESET().
Gen5 uses non device model watchdogHW_WATCHDOGdue to OCRAM size limitation.Signed-off-by Tien Fong Chee <[email protected]>Signed-off-by Boon Khai Ng <[email protected]>---
arch/arm/mach-socfpga/Kconfig | 4 ++++1 file changed, 4 insertions(+)arch/arm/mach-socfpga/Kconfig +0
-0@@ -90,8 +90,10 @@ config ARCH_SOCFPGA_ARRIA10select
SPL_ALTERA_SDRAM
selectSPL_BOARD_INITif SPL
selectSPL_CACHEif SPL
+ selectSPL_WDTif SPL
select CLK
selectSPL_CLKif SPL
+ selectDESIGNWARE_WATCHDOG
selectDM_I2C
selectDM_RESET
selectSPL_DM_RESETif SPLarch/arm/mach-socfpga/Kconfig +0
-0@@ -100,6 +102,7 @@ config ARCH_SOCFPGA_ARRIA10select SYSCON
selectSPL_SYSCONif SPL
selectETH_DESIGNWARE_SOCFPGA
+ select WDT
implyFPGA_SOCFPGA
implySPL_USE_TINY_PRINTFarch/arm/mach-socfpga/Kconfig +0
-0@@ -117,6 +120,7 @@ config ARCH_SOCFPGA_CYCLONE5
Quoted 8 lines
config
ARCH_SOCFPGA_GEN5
bool
+ selectDESIGNWARE_WATCHDOG
selectSPL_ALTERA_SDRAM
implyFPGA_SOCFPGA
implySPL_SIZE_LIMIT_SUBTRACT_GD
--
2.43.7
Best regards,
Tien Fong