Merge tag 'pwm/for-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / watchdog / mtk-wdt.txt
index e36ba60..a4e31ce 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:
@@ -10,13 +13,16 @@ Required properties:
        "mediatek,mt7622-wdt", "mediatek,mt6589-wdt": for MT7622
        "mediatek,mt7623-wdt", "mediatek,mt6589-wdt": for MT7623
        "mediatek,mt7629-wdt", "mediatek,mt6589-wdt": for MT7629
+       "mediatek,mt7986-wdt", "mediatek,mt6589-wdt": for MT7986
        "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 +32,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>;
 };