Merge commit '81fd23e2b3ccf71c807e671444e8accaba98ca53' of https://git.pengutronix...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / watchdog / mtk-wdt.txt
index e36ba60..416d716 100644 (file)
@@ -1,5 +1,8 @@
 Mediatek SoCs Watchdog timer
 
+The watchdog supports a pre-timeout interrupt that fires timeout-sec/2
+before the expiry.
+
 Required properties:
 
 - compatible should contain:
@@ -13,10 +16,12 @@ Required properties:
        "mediatek,mt8183-wdt": for MT8183
        "mediatek,mt8516-wdt", "mediatek,mt6589-wdt": for MT8516
        "mediatek,mt8192-wdt": for MT8192
+       "mediatek,mt8195-wdt", "mediatek,mt6589-wdt": for MT8195
 
 - reg : Specifies base physical address and size of the registers.
 
 Optional properties:
+- interrupts: Watchdog pre-timeout (bark) interrupt.
 - timeout-sec: contains the watchdog timeout in seconds.
 - #reset-cells: Should be 1.
 
@@ -26,6 +31,7 @@ watchdog: watchdog@10007000 {
        compatible = "mediatek,mt8183-wdt",
                     "mediatek,mt6589-wdt";
        reg = <0 0x10007000 0 0x100>;
+       interrupts = <GIC_SPI 139 IRQ_TYPE_NONE>;
        timeout-sec = <10>;
        #reset-cells = <1>;
 };