summaryrefslogtreecommitdiff
path: root/drivers/watchdog/npcm_wdt.c
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2021-04-06 14:09:18 +0200
committerJoel Stanley <joel@jms.id.au>2021-04-09 14:11:24 +0930
commit328d1c1a92d9eea42943af9edd5393dcd06bd591 (patch)
treebe0712e5e2f2c0da07e07cee9fd099c00be30a0e /drivers/watchdog/npcm_wdt.c
parentece3fe93e8f4d0c9322b8ca24a250ea9292052fb (diff)
watchdog: npcm: Add support for WPCM450
Add a compatible string for WPCM450, which has essentially the same watchdog mechanism as NPCM750. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Acked-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20210406120921.2484986-8-j.neuschaefer@gmx.net Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'drivers/watchdog/npcm_wdt.c')
-rw-r--r--drivers/watchdog/npcm_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/npcm_wdt.c b/drivers/watchdog/npcm_wdt.c
index 765577f11c8d..28a24caa2627 100644
--- a/drivers/watchdog/npcm_wdt.c
+++ b/drivers/watchdog/npcm_wdt.c
@@ -229,6 +229,7 @@ static int npcm_wdt_probe(struct platform_device *pdev)
#ifdef CONFIG_OF
static const struct of_device_id npcm_wdt_match[] = {
+ {.compatible = "nuvoton,wpcm450-wdt"},
{.compatible = "nuvoton,npcm750-wdt"},
{},
};