18c2ecf20Sopenharmony_ciAlphascale asm9260 Watchdog timer
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci- compatible : should be "alphascale,asm9260-wdt".
68c2ecf20Sopenharmony_ci- reg : Specifies base physical address and size of the registers.
78c2ecf20Sopenharmony_ci- clocks : the clocks feeding the watchdog timer. See clock-bindings.txt
88c2ecf20Sopenharmony_ci- clock-names : should be set to
98c2ecf20Sopenharmony_ci	"mod" - source for tick counter.
108c2ecf20Sopenharmony_ci	"ahb" - ahb gate.
118c2ecf20Sopenharmony_ci- resets : phandle pointing to the system reset controller with
128c2ecf20Sopenharmony_ci	line index for the watchdog.
138c2ecf20Sopenharmony_ci- reset-names : should be set to "wdt_rst".
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciOptional properties:
168c2ecf20Sopenharmony_ci- timeout-sec : shall contain the default watchdog timeout in seconds,
178c2ecf20Sopenharmony_ci	if unset, the default timeout is 30 seconds.
188c2ecf20Sopenharmony_ci- alphascale,mode : three modes are supported
198c2ecf20Sopenharmony_ci	"hw" - hw reset (default).
208c2ecf20Sopenharmony_ci	"sw" - sw reset.
218c2ecf20Sopenharmony_ci	"debug" - no action is taken.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciExample:
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciwatchdog0: watchdog@80048000 {
268c2ecf20Sopenharmony_ci	compatible = "alphascale,asm9260-wdt";
278c2ecf20Sopenharmony_ci	reg = <0x80048000 0x10>;
288c2ecf20Sopenharmony_ci	clocks = <&acc CLKID_SYS_WDT>, <&acc CLKID_AHB_WDT>;
298c2ecf20Sopenharmony_ci	clock-names = "mod", "ahb";
308c2ecf20Sopenharmony_ci	interrupts = <55>;
318c2ecf20Sopenharmony_ci	resets = <&rst WDT_RESET>;
328c2ecf20Sopenharmony_ci	reset-names = "wdt_rst";
338c2ecf20Sopenharmony_ci	timeout-sec = <30>;
348c2ecf20Sopenharmony_ci	alphascale,mode = "hw";
358c2ecf20Sopenharmony_ci};
36