xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/dw_wdt.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotSynopsys Designware Watchdog Timer
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired Properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible	: Should contain "snps,dw-wdt"
6*c66ec88fSEmmanuel Vadot- reg		: Base address and size of the watchdog timer registers.
7*c66ec88fSEmmanuel Vadot- clocks	: phandle + clock-specifier for the clock that drives the
8*c66ec88fSEmmanuel Vadot		watchdog timer.
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotOptional Properties:
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot- interrupts	: The interrupt used for the watchdog timeout warning.
13*c66ec88fSEmmanuel Vadot- resets	: phandle pointing to the system reset controller with
14*c66ec88fSEmmanuel Vadot		line index for the watchdog.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotExample:
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot	watchdog0: wd@ffd02000 {
19*c66ec88fSEmmanuel Vadot		compatible = "snps,dw-wdt";
20*c66ec88fSEmmanuel Vadot		reg = <0xffd02000 0x1000>;
21*c66ec88fSEmmanuel Vadot		interrupts = <0 171 4>;
22*c66ec88fSEmmanuel Vadot		clocks = <&per_base_clk>;
23*c66ec88fSEmmanuel Vadot		resets = <&rst WDT0_RESET>;
24*c66ec88fSEmmanuel Vadot	};
25