aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@openmesh.com>2018-01-08 18:28:51 +0100
committerMathias Kresin <dev@kresin.me>2018-01-13 08:00:07 +0100
commitc242643d1aba0f065b4a465cd78f0c54dd7cb3b2 (patch)
treeac16520847e48371bb08e81e6252b8f3a04c982e /target
parentb02fa3336baed826374b637903127603808728ee (diff)
downloadupstream-c242643d1aba0f065b4a465cd78f0c54dd7cb3b2.tar.gz
upstream-c242643d1aba0f065b4a465cd78f0c54dd7cb3b2.tar.bz2
upstream-c242643d1aba0f065b4a465cd78f0c54dd7cb3b2.zip
ipq806x: enable gpio watchdog support
The kernel driver gpio-wdt or the userspace tool om-watchdog can be used to trigger external gpio watchdog chips. The gpio-wdt driver has the benefit that it can be configured together with the rest of the device in the DTS and better integrates in the OpenWrt via procd. Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ipq806x/config-4.92
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ipq806x/config-4.9 b/target/linux/ipq806x/config-4.9
index bca4264c8f..a71b1b819b 100644
--- a/target/linux/ipq806x/config-4.9
+++ b/target/linux/ipq806x/config-4.9
@@ -190,6 +190,8 @@ CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GPIOLIB=y
CONFIG_GPIOLIB_IRQCHIP=y
CONFIG_GPIO_SYSFS=y
+CONFIG_GPIO_WATCHDOG=y
+# CONFIG_GPIO_WATCHDOG_ARCH_INITCALL is not set
CONFIG_HANDLE_DOMAIN_IRQ=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_HAS_DMA=y