xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/zte,zx2967-wdt.txt (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1ZTE zx2967 Watchdog timer
2
3Required properties:
4
5- compatible : should be one of the following.
6       * zte,zx296718-wdt
7- reg : Specifies base physical address and size of the registers.
8- clocks : Pairs of phandle and specifier referencing the controller's clocks.
9- resets : Reference to the reset controller controlling the watchdog
10           controller.
11
12Optional properties:
13
14- timeout-sec : Contains the watchdog timeout in seconds.
15- zte,wdt-reset-sysctrl : Directs how to reset system by the watchdog.
16	if we don't want to restart system when watchdog been triggered,
17	it's not required, vice versa.
18	It should include following fields.
19	  * phandle of aon-sysctrl.
20	  * offset of register that be written, should be 0xb0.
21	  * configure value that be written to aon-sysctrl.
22	  * bit mask, corresponding bits will be affected.
23
24Example:
25
26wdt: watchdog@1465000 {
27	compatible = "zte,zx296718-wdt";
28	reg = <0x1465000 0x1000>;
29	clocks = <&topcrm WDT_WCLK>;
30	resets = <&toprst 35>;
31	zte,wdt-reset-sysctrl = <&aon_sysctrl 0xb0 1 0x115>;
32};
33