aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-02-12 08:41:23 -0500
committerWim Van Sebroeck <wim@iguana.be>2014-03-31 07:29:25 -0400
commita8b84b01e4af2baad3cef46bc86dcb2718c79e72 (patch)
tree1cd214b367550b1fcf842024835bd4c16f6e20a5
parent75b3c5a827de11620f9bf7cbd6c3e4208bd3ddf5 (diff)
watchdog: xilinx: Add missing binding
Document current driver binding. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
-rw-r--r--Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt b/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt
new file mode 100644
index 000000000000..6d63782a7378
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt
@@ -0,0 +1,23 @@
1Xilinx AXI/PLB soft-core watchdog Device Tree Bindings
2---------------------------------------------------------
3
4Required properties:
5- compatible : Should be "xlnx,xps-timebase-wdt-1.00.a" or
6 "xlnx,xps-timebase-wdt-1.01.a".
7- reg : Physical base address and size
8
9Optional properties:
10- clock-frequency : Frequency of clock in Hz
11- xlnx,wdt-enable-once : 0 - Watchdog can be restarted
12 1 - Watchdog can be enabled just once
13- xlnx,wdt-interval : Watchdog timeout interval in 2^<val> clock cycles,
14 <val> is integer from 8 to 31.
15
16Example:
17axi-timebase-wdt@40100000 {
18 clock-frequency = <50000000>;
19 compatible = "xlnx,xps-timebase-wdt-1.00.a";
20 reg = <0x40100000 0x10000>;
21 xlnx,wdt-enable-once = <0x0>;
22 xlnx,wdt-interval = <0x1b>;
23} ;