Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 191891c0 authored by Harini Katakam's avatar Harini Katakam Committed by Wim Van Sebroeck
Browse files

devicetree: Add Cadence WDT devicetree bindings documentation



Add cadence-wdt bindings documentation.

Signed-off-by: default avatarHarini Katakam <harinik@xilinx.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 58bf0164
Loading
Loading
Loading
Loading
+24 −0
Original line number Original line Diff line number Diff line
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>;
	};