xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/watchdog/cadence-wdt.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunZynq Watchdog Device Tree Bindings
2*4882a593Smuzhiyun-------------------------------------------
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRequired properties:
5*4882a593Smuzhiyun- compatible		: Should be "cdns,wdt-r1p2".
6*4882a593Smuzhiyun- clocks		: This is pclk (APB clock).
7*4882a593Smuzhiyun- interrupts		: This is wd_irq - watchdog timeout interrupt.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunOptional properties
10*4882a593Smuzhiyun- reset-on-timeout	: If this property exists, then a reset is done
11*4882a593Smuzhiyun			  when watchdog times out.
12*4882a593Smuzhiyun- timeout-sec		: Watchdog timeout value (in seconds).
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun	watchdog@f8005000 {
16*4882a593Smuzhiyun		compatible = "cdns,wdt-r1p2";
17*4882a593Smuzhiyun		clocks = <&clkc 45>;
18*4882a593Smuzhiyun		interrupt-parent = <&intc>;
19*4882a593Smuzhiyun		interrupts = <0 9 1>;
20*4882a593Smuzhiyun		reg = <0xf8005000 0x1000>;
21*4882a593Smuzhiyun		reset-on-timeout;
22*4882a593Smuzhiyun		timeout-sec = <10>;
23*4882a593Smuzhiyun	};
24