Commit 71246c35 authored by Mathieu Malaterre's avatar Mathieu Malaterre Committed by Wim Van Sebroeck

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: default avatarMathieu Malaterre <malat@debian.org>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 2bdf6acb
...@@ -146,6 +146,7 @@ static const struct watchdog_ops jz4740_wdt_ops = { ...@@ -146,6 +146,7 @@ static const struct watchdog_ops jz4740_wdt_ops = {
#ifdef CONFIG_OF #ifdef CONFIG_OF
static const struct of_device_id jz4740_wdt_of_matches[] = { static const struct of_device_id jz4740_wdt_of_matches[] = {
{ .compatible = "ingenic,jz4740-watchdog", }, { .compatible = "ingenic,jz4740-watchdog", },
{ .compatible = "ingenic,jz4780-watchdog", },
{ /* sentinel */ } { /* sentinel */ }
}; };
MODULE_DEVICE_TABLE(of, jz4740_wdt_of_matches); MODULE_DEVICE_TABLE(of, jz4740_wdt_of_matches);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment