forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
2bdf6acbfe
commit
71246c3528
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user