ARM: socfpga: dts: add watchdog0+1
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Thu, 22 May 2014 21:37:17 +0000 (16:37 -0500)
committerDinh Nguyen <dinguyen@altera.com>
Thu, 22 May 2014 21:45:31 +0000 (16:45 -0500)
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>
arch/arm/boot/dts/socfpga.dtsi

index b8fa747bb23af9090591f9c463bd595b4c6e2571..4676f25e87a7e4e4c79023db4c289be156e2ea85 100644 (file)
                        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>;