aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@altera.com>2013-10-22 12:59:12 -0400
committerWim Van Sebroeck <wim@iguana.be>2013-11-17 13:38:26 -0500
commit58e5637333afc2bb024ff8aef212311be0614d47 (patch)
treeb8bb0fa442f29015eafbd1d89b3b9b7d7350331b /Documentation
parent487722cf2d66126338217896642bd5eec832c34b (diff)
watchdog: dw: Enable OF support for DW watchdog timer
Add device tree support to the DW watchdog timer. Signed-off-by: Dinh Nguyen <dinguyen@altera.com> Acked-by: Jamie Iles <jamie@jamieiles.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Reviewed-by: Pavel Machek <pavel@denx.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Cc: Viresh Kumar <viresh.linux@gmail.com> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk> Cc: devicetree@vger.kernel.org Cc: linux-watchdog@vger.kernel.org
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/watchdog/dw_wdt.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/dw_wdt.txt b/Documentation/devicetree/bindings/watchdog/dw_wdt.txt
new file mode 100644
index 000000000000..08e16f684f2d
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/dw_wdt.txt
@@ -0,0 +1,21 @@
1Synopsys Designware Watchdog Timer
2
3Required Properties:
4
5- compatible : Should contain "snps,dw-wdt"
6- reg : Base address and size of the watchdog timer registers.
7- clocks : phandle + clock-specifier for the clock that drives the
8 watchdog timer.
9
10Optional Properties:
11
12- interrupts : The interrupt used for the watchdog timeout warning.
13
14Example:
15
16 watchdog0: wd@ffd02000 {
17 compatible = "snps,dw-wdt";
18 reg = <0xffd02000 0x1000>;
19 interrupts = <0 171 4>;
20 clocks = <&per_base_clk>;
21 };