xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/zte,zx2967-wdt.txt (revision 2da066ef6d85d3f7cd8aaec14369d66254836536)
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