watchdog: sunxi: add A523 support
authorAndre Przywara <andre.przywara@arm.com>
Thu, 12 Sep 2024 23:15:22 +0000 (00:15 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 28 Apr 2025 18:45:44 +0000 (12:45 -0600)
commit8fb6c9343dbbd980c0945560f69b5a88f2404de7
treec4efed0762ad4ffc9c8e8606548652874946f94c
parentd8aea14306f29d0eb7fe902ef83b8f53ad11143a
watchdog: sunxi: add A523 support

The Allwinner A523 SoC moved the watchdog into a separate MMIO frame,
and also shifted the registers a bit: the control, config, and mode
register are located four bytes earlier.

Add the new compatible string, and connect it to the new struct
describing the new register layout.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/watchdog/sunxi_wdt.c