aspeed/wdt: Add AST2700 support
authorJamin Lin <jamin_lin@aspeedtech.com>
Tue, 4 Jun 2024 05:44:22 +0000 (13:44 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 16 Jun 2024 19:08:54 +0000 (21:08 +0200)
commit8db36a4f74ea97c2d7b5cd21515cd61c3749f39d
treed767450e8c9daa49596bce9cc966468e314ce70a
parentee48fef06c034ff245db9e553dcf0f1262f97bd2
aspeed/wdt: Add AST2700 support

AST2700 wdt controller is similiar to AST2600's wdt, but
the AST2700 has 8 watchdogs, and they each have 0x80 of registers.
Introduce ast2700 object class and increase the number of regs(offset) of
ast2700 model.

Signed-off-by: Troy Lee <troy_lee@aspeedtech.com>
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
hw/watchdog/wdt_aspeed.c
include/hw/watchdog/wdt_aspeed.h