summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Chen <[email protected]>2026-07-02 15:17:10 +0800
committerStefan Roese <[email protected]>2026-08-03 15:00:33 +0200
commitd9ce7ed30571ae01cdcb5fdfd2991e4a7be93c9f (patch)
tree348544442d173461576a6626e23eec98c71e0f97
parent2f44bb1417bfbcd2c8722dddec76425f27c8a8f5 (diff)
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 <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
-rw-r--r--drivers/watchdog/Kconfig6
-rw-r--r--drivers/watchdog/ast2600_wdt.c1
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index b91727e1265..3c56c541505 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -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.
diff --git a/drivers/watchdog/ast2600_wdt.c b/drivers/watchdog/ast2600_wdt.c
index 190490f3692..5eb9b4ba96f 100644
--- a/drivers/watchdog/ast2600_wdt.c
+++ b/drivers/watchdog/ast2600_wdt.c
@@ -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" },
{ }
};