Browse Source

ARM: socfpga: dts: add watchdog0+1

The SoCFPGA has two watchdog timers. Add them to the dtsi.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
[dinh: modified patch to have correct irq flag]
Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Steffen Trumtrar 11 years ago
parent
commit
a98b605719
1 changed files with 16 additions and 0 deletions
  1. 16 0
      arch/arm/boot/dts/socfpga.dtsi

+ 16 - 0
arch/arm/boot/dts/socfpga.dtsi

@@ -715,6 +715,22 @@
 			status = "disabled";
 		};
 
+		watchdog0: watchdog@ffd02000 {
+			compatible = "snps,dw-wdt";
+			reg = <0xffd02000 0x1000>;
+			interrupts = <0 171 4>;
+			clocks = <&osc1>;
+			status = "disabled";
+		};
+
+		watchdog1: watchdog@ffd03000 {
+			compatible = "snps,dw-wdt";
+			reg = <0xffd03000 0x1000>;
+			interrupts = <0 172 4>;
+			clocks = <&osc1>;
+			status = "disabled";
+		};
+
 		sysmgr: sysmgr@ffd08000 {
 			compatible = "altr,sys-mgr", "syscon";
 			reg = <0xffd08000 0x4000>;