Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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);