watchdog: realtek-otto: add RTL9310 support
authorSander Vanheule <sander@svanheule.net>
Mon, 27 Jun 2022 19:00:56 +0000 (21:00 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 23 Jul 2022 12:21:24 +0000 (14:21 +0200)
The RTL9310 SoC series has a watchdog timer identical to the already
supported SoCs. The peripheral is memory mapped at 0x18003260 and driven
by the Lexra bus clock.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/629e95e16c8dc812dc5a4ea34a2e2e1ff2faf88c.1656356377.git.sander@svanheule.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/realtek_otto_wdt.c

index 60058a0c3ec4df8a558bc17a591677b662830a5a..2a5298c5e8e4d8ab68b1b0a24dd5c5938d99aac4 100644 (file)
@@ -366,6 +366,7 @@ static const struct of_device_id otto_wdt_ids[] = {
        { .compatible = "realtek,rtl8380-wdt" },
        { .compatible = "realtek,rtl8390-wdt" },
        { .compatible = "realtek,rtl9300-wdt" },
+       { .compatible = "realtek,rtl9310-wdt" },
        { }
 };
 MODULE_DEVICE_TABLE(of, otto_wdt_ids);