summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.2/104-ramips-watchdog-driver.patch
blob: 293044dabd2b78061d1834b1ed8ffe3ffc28414b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -1020,6 +1020,13 @@ config LANTIQ_WDT
 	help
 	  Hardware driver for the Lantiq SoC Watchdog Timer.
 
+config RAMIPS_WDT
+	tristate "Ralink RT288X/RT305X Watchdog Timer"
+	depends on SOC_RT288X || SOC_RT305X
+	help
+	  Hardware driver for the built-in watchdog timer on the
+	  Ralink RT288X/RT305X SoCs.
+
 # PARISC Architecture
 
 # POWERPC Architecture
--- a/drivers/watchdog/Makefile
+++ b/drivers/watchdog/Makefile
@@ -131,6 +131,7 @@ obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
 obj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o
 octeon-wdt-y := octeon-wdt-main.o octeon-wdt-nmi.o
 obj-$(CONFIG_LANTIQ_WDT) += lantiq_wdt.o
+obj-$(CONFIG_RAMIPS_WDT) += ramips_wdt.o
 
 # PARISC Architecture