clk: sifive: fu540-prci: Add clock enable and disable ops
[oweals/u-boot.git] / drivers / watchdog / mtk_wdt.c
index dafd2b56a8e51dc71280fcb7d0b86843c6e1e946..a636cff354d8594ab06ed2df9293b0606890dc46 100644 (file)
@@ -8,8 +8,10 @@
 
 #include <common.h>
 #include <dm.h>
+#include <hang.h>
 #include <wdt.h>
 #include <asm/io.h>
+#include <linux/bitops.h>
 
 #define MTK_WDT_MODE                   0x00
 #define MTK_WDT_LENGTH                 0x04
@@ -142,6 +144,7 @@ static const struct wdt_ops mtk_wdt_ops = {
 
 static const struct udevice_id mtk_wdt_ids[] = {
        { .compatible = "mediatek,wdt"},
+       { .compatible = "mediatek,mt6589-wdt"},
        {}
 };