wdt: aspeed: Add AST2600 watchdog support
authorChia-Wei, Wang <chiawei_wang@aspeedtech.com>
Mon, 14 Dec 2020 05:54:25 +0000 (13:54 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 18 Jan 2021 20:23:05 +0000 (15:23 -0500)
commit337d95c4aa200979181c06ca53e3b45b77655ecf
tree965985c3b84900b51d6db8aeb4814a1218704a6a
parentfde93143469fbf1ee6fdd3471d72f27dce6ecc5c
wdt: aspeed: Add AST2600 watchdog support

AST2600 has 8 watchdog timers including 8 sets of
32-bit decrement counters, based on 1MHz clock.

A 64-bit reset mask is also supported to specify
which controllers should be reset by the WDT reset.

Signed-off-by: Chia-Wei, Wang <chiawei_wang@aspeedtech.com>
Reviewed-by: Ryan Chen <ryan_chen@aspeedtech.com>
arch/arm/include/asm/arch-aspeed/wdt_ast2600.h [new file with mode: 0644]
drivers/watchdog/Kconfig
drivers/watchdog/Makefile
drivers/watchdog/ast2600_wdt.c [new file with mode: 0644]