mvebu: enable watchdog for Armada 37XX
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 9 Jan 2022 19:50:18 +0000 (20:50 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 15 Jan 2022 16:41:19 +0000 (17:41 +0100)
This option includes support for watchdog timer on Marvell Armada 37xx
SoCs. [1] It is useful e.g. for Turris MOX, Marvell ESPRESSObin

Enable armada-37xx-watchdog driver as built in for mvebu cortex-a53,
so that kernel can start serving as soon as the driver is probed, until userspace takes over it.

[1] https://cateee.net/lkddb/web-lkddb/ARMADA_37XX_WATCHDOG.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(improved commit message, 2nd paragraph)
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
target/linux/mvebu/cortexa53/config-5.10

index 80245e6a0c16cd7fbdc1f94419aeca042eff52d7..79f815b6d26f28b671bff72488e3fb8125a3ee7e 100644 (file)
@@ -18,6 +18,7 @@ CONFIG_ARM64_TAGGED_ADDR_ABI=y
 CONFIG_ARM64_VA_BITS=39
 CONFIG_ARM64_VA_BITS_39=y
 CONFIG_ARMADA_37XX_CLK=y
+CONFIG_ARMADA_37XX_WATCHDOG=y
 CONFIG_ARMADA_37XX_RWTM_MBOX=y
 CONFIG_ARMADA_AP806_SYSCON=y
 CONFIG_ARMADA_AP_CP_HELPER=y