watchdog: npcm: Add support for WPCM450
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Tue, 6 Apr 2021 12:09:18 +0000 (14:09 +0200)
committerJoel Stanley <joel@jms.id.au>
Fri, 9 Apr 2021 04:41:24 +0000 (14:11 +0930)
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>
drivers/watchdog/npcm_wdt.c

index 765577f..28a24ca 100644 (file)
@@ -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"},
        {},
 };