xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/alphascale-asm9260.txt (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1Alphascale asm9260 Watchdog timer
2
3Required properties:
4
5- compatible : should be "alphascale,asm9260-wdt".
6- reg : Specifies base physical address and size of the registers.
7- clocks : the clocks feeding the watchdog timer. See clock-bindings.txt
8- clock-names : should be set to
9	"mod" - source for tick counter.
10	"ahb" - ahb gate.
11- resets : phandle pointing to the system reset controller with
12	line index for the watchdog.
13- reset-names : should be set to "wdt_rst".
14
15Optional properties:
16- timeout-sec : shall contain the default watchdog timeout in seconds,
17	if unset, the default timeout is 30 seconds.
18- alphascale,mode : three modes are supported
19	"hw" - hw reset (default).
20	"sw" - sw reset.
21	"debug" - no action is taken.
22
23Example:
24
25watchdog0: watchdog@80048000 {
26	compatible = "alphascale,asm9260-wdt";
27	reg = <0x80048000 0x10>;
28	clocks = <&acc CLKID_SYS_WDT>, <&acc CLKID_AHB_WDT>;
29	clock-names = "mod", "ahb";
30	interrupts = <55>;
31	resets = <&rst WDT_RESET>;
32	reset-names = "wdt_rst";
33	timeout-sec = <30>;
34	alphascale,mode = "hw";
35};
36