watchdog: ast2600: add AST2700 support
PATCH 1/1 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.
---
The AST2700 reuses the AST2600 watchdog block with an identical register layout and reset behaviour, so no new driver is needed. Bind the existing ast2600 watchdog driver to the aspeed,ast2700-wdt compatible and allow WDT_AST2600 to be selected on the AST2700.
--- drivers/watchdog/Kconfig | 6 +++--- drivers/watchdog/ast2600_wdt.c | 1 + 2 files changed, 4 insertions(+), 3 deletions(-)
drivers/watchdog/Kconfig +3 -3
@@ -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.
drivers/watchdog/ast2600_wdt.c +1 -0
@@ -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" }, { } };
---
base-commit: e800cc67f5b6cb50a20f37c993ec1cd4063bdbd3
change-id: 20260702-aspeed_wdt-76e73f1c8853
Best regards,
Signature · 1 line
Ryan Chen <[email protected]>
Quoted 5 lines · Ryan Chen
The AST2700 reuses the AST2600 watchdog block unchanged. Bind the driver to the aspeed,ast2700-wdt compatible and enable
WDT_AST2600on the AST2700.Signed-off-by Ryan Chen <[email protected]>
Thanks,
Stefan
Quoted 47 lines
---
The AST2700 reuses the AST2600 watchdog block with an identical register layout and reset behaviour, so no new driver is needed. Bind the existing ast2600 watchdog driver to the aspeed,ast2700-wdt compatible and allowWDT_AST2600to be selected on the AST2700.--- drivers/watchdog/Kconfig | 6 +++--- drivers/watchdog/ast2600_wdt.c | 1 + 2 files changed, 4 insertions(+), 3 deletions(-)drivers/watchdog/Kconfig +3
-3@@ -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.drivers/watchdog/ast2600_wdt.c +1
-1@@ -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" }, { } }; ---base-commit:
e800cc67f5b6cb50a20f37c993ec1cd4063bdbd3
change-id: 20260702-aspeed_wdt-76e73f1c8853Best regards,
Quoted 5 lines · Ryan Chen
The AST2700 reuses the AST2600 watchdog block unchanged. Bind the driver to the aspeed,ast2700-wdt compatible and enable
WDT_AST2600on the AST2700.Signed-off-by Ryan Chen <[email protected]>
Applied to u-boot-watchdog/main
Thanks,
Stefan