MIPS: ralink: mt7628a.dtsi: Add watchdog controller DT node
authorStefan Roese <sr@denx.de>
Mon, 27 May 2019 09:13:22 +0000 (11:13 +0200)
committerPaul Burton <paul.burton@mips.com>
Mon, 24 Jun 2019 21:15:06 +0000 (14:15 -0700)
This patch adds the watchdog controller description to the MT7628A dtsi
file.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Paul Burton <paul.burton@mips.com>
Cc: Harvey Hunt <harveyhuntnexus@gmail.com>
Cc: John Crispin <john@phrozen.org>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
arch/mips/boot/dts/ralink/mt7628a.dtsi

index ab8c685..61f8621 100644 (file)
                        };
                };
 
+               watchdog: watchdog@100 {
+                       compatible = "mediatek,mt7621-wdt";
+                       reg = <0x100 0x30>;
+
+                       resets = <&resetc 8>;
+                       reset-names = "wdt";
+
+                       interrupt-parent = <&intc>;
+                       interrupts = <24>;
+
+                       status = "disabled";
+               };
+
                intc: interrupt-controller@200 {
                        compatible = "ralink,rt2880-intc";
                        reg = <0x200 0x100>;