Skip to content

Commit

Permalink
devicetree: Add Cadence WDT devicetree bindings documentation
Browse files Browse the repository at this point in the history
Add cadence-wdt bindings documentation.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
Harini Katakam authored and Wim Van Sebroeck committed Oct 20, 2014
1 parent 58bf016 commit 191891c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Documentation/devicetree/bindings/watchdog/cadence-wdt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Zynq Watchdog Device Tree Bindings
-------------------------------------------

Required properties:
- compatible : Should be "cdns,wdt-r1p2".
- clocks : This is pclk (APB clock).
- interrupts : This is wd_irq - watchdog timeout interrupt.
- interrupt-parent : Must be core interrupt controller.

Optional properties
- reset-on-timeout : If this property exists, then a reset is done
when watchdog times out.
- timeout-sec : Watchdog timeout value (in seconds).

Example:
watchdog@f8005000 {
compatible = "cdns,wdt-r1p2";
clocks = <&clkc 45>;
interrupt-parent = <&intc>;
interrupts = <0 9 1>;
reg = <0xf8005000 0x1000>;
reset-on-timeout;
timeout-sec = <10>;
};

0 comments on commit 191891c

Please sign in to comment.