diff mbox series

[U-Boot,06/14] mips: mt76xx: Add watchdog DT node to mt7628a.dtsi

Message ID 20181009065916.31977-6-sr@denx.de
State Accepted
Commit 9a89b2b9b20d522b908b6e7c3ece1e2ff25f3e28
Delegated to: Daniel Schwierzeck
Headers show
Series [U-Boot,01/14] mips: Add in_le32(), out_le32() etc IO accessor functions | expand

Commit Message

Stefan Roese Oct. 9, 2018, 6:59 a.m. UTC
Add the watchdog DT node to the DTS file.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
---
 arch/mips/dts/mt7628a.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff mbox series

Patch

diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi
index 8da2ca3e4d..70e34cfdbc 100644
--- a/arch/mips/dts/mt7628a.dtsi
+++ b/arch/mips/dts/mt7628a.dtsi
@@ -48,6 +48,17 @@ 
 			mask = <0x1>;
 		};
 
+		watchdog: watchdog@100 {
+			compatible = "ralink,mt7628a-wdt", "mediatek,mt7621-wdt";
+			reg = <0x100 0x30>;
+
+			resets = <&resetc 8>;
+			reset-names = "wdt";
+
+			interrupt-parent = <&intc>;
+			interrupts = <24>;
+		};
+
 		intc: interrupt-controller@200 {
 			compatible = "ralink,rt2880-intc";
 			reg = <0x200 0x100>;