watchdog: ast2600: add AST2700 support

The AST2700 reuses the AST2600 watchdog block unchanged. Bind the
driver to the aspeed,ast2700-wdt compatible and enable WDT_AST2600
on the AST2700.

Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
Reviewed-by: Stefan Roese <stefan.roese@mailbox.org>
This commit is contained in:
Ryan Chen
2026-08-03 15:00:33 +02:00
committed by Stefan Roese
parent 2f44bb1417
commit d9ce7ed305
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -130,11 +130,11 @@ config WDT_ASPEED
Second Boot.
config WDT_AST2600
bool "Aspeed AST2600 watchdog timer support"
depends on WDT && ASPEED_AST2600
bool "Aspeed AST2600/AST2700 watchdog timer support"
depends on WDT && (ASPEED_AST2600 || ASPEED_AST2700)
default y
help
Select this to enable watchdog timer for Aspeed ast2500/ast2400 devices.
Select this to enable watchdog timer for Aspeed ast2600/ast2700 devices.
The watchdog timer is stopped when initialized. It performs reset, either
full SoC reset or CPU or just some peripherals, based on the flags.
+1
View File
@@ -87,6 +87,7 @@ static const struct wdt_ops ast2600_wdt_ops = {
static const struct udevice_id ast2600_wdt_ids[] = {
{ .compatible = "aspeed,ast2600-wdt" },
{ .compatible = "aspeed,ast2700-wdt" },
{ }
};