From: Josef Schlehofer Date: Sun, 9 Jan 2022 19:50:18 +0000 (+0100) Subject: mvebu: enable watchdog for Armada 37XX X-Git-Tag: v22.03.0-rc1~721 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=01520a96e7c71363e4dfc3e123aee48bcf811c1c;p=openwrt%2Fopenwrt.git mvebu: enable watchdog for Armada 37XX 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 (improved commit message, 2nd paragraph) Signed-off-by: Marek BehĂșn --- diff --git a/target/linux/mvebu/cortexa53/config-5.10 b/target/linux/mvebu/cortexa53/config-5.10 index 80245e6a0c..79f815b6d2 100644 --- a/target/linux/mvebu/cortexa53/config-5.10 +++ b/target/linux/mvebu/cortexa53/config-5.10 @@ -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