summaryrefslogtreecommitdiff
path: root/drivers/watchdog/jz4740_wdt.c
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2017-09-15 22:20:19 +0300
committerWim Van Sebroeck <wim@iguana.be>2017-12-28 22:44:44 +0300
commit71246c3528780edc45990d189b856447879d1318 (patch)
tree5514f170d9ee2e149fbe70cc1355fb2d2b108cff /drivers/watchdog/jz4740_wdt.c
parent2bdf6acbfead7e9aa69f36ee5682d1e5c8f70367 (diff)
downloadlinux-71246c3528780edc45990d189b856447879d1318.tar.xz
watchdog: jz4740: Add support for the watchdog in jz4780 SoC
The watchdog unit present in the JZ4780 works the same as the one in the JZ4740. Signed-off-by: Mathieu Malaterre <malat@debian.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/jz4740_wdt.c')
-rw-r--r--drivers/watchdog/jz4740_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_wdt.c
index 20627f22baf6..aafbeb96561b 100644
--- a/drivers/watchdog/jz4740_wdt.c
+++ b/drivers/watchdog/jz4740_wdt.c
@@ -146,6 +146,7 @@ static const struct watchdog_ops jz4740_wdt_ops = {
#ifdef CONFIG_OF
static const struct of_device_id jz4740_wdt_of_matches[] = {
{ .compatible = "ingenic,jz4740-watchdog", },
+ { .compatible = "ingenic,jz4780-watchdog", },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, jz4740_wdt_of_matches);