xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/da9062-wdt.txt (revision 370e009188ba90c3290b1479aa06ec98b66e140a)
1* Dialog Semiconductor DA9062/61 Watchdog Timer
2
3Required properties:
4
5- compatible: should be one of the following valid compatible string lines:
6	"dlg,da9061-watchdog", "dlg,da9062-watchdog"
7	"dlg,da9062-watchdog"
8
9Optional properties:
10- dlg,use-sw-pm: Add this property to disable the watchdog during suspend.
11	Only use this option if you can't use the watchdog automatic suspend
12	function during a suspend (see register CONTROL_B).
13- dlg,wdt-sd: Set what happens on watchdog timeout. If this bit is set the
14	watchdog timeout triggers SHUTDOWN, if cleared the watchdog triggers
15	POWERDOWN. Can be 0 or 1. Only use this option if you want to change the
16	default chip's OTP setting for WATCHDOG_SD bit. If this property is NOT
17	set the WATCHDOG_SD bit and on timeout watchdog behavior will match the
18	chip's OTP settings.
19
20Example: DA9062
21
22	pmic0: da9062@58 {
23		watchdog {
24			compatible = "dlg,da9062-watchdog";
25		};
26	};
27
28Example: DA9061 using a fall-back compatible for the DA9062 watchdog driver
29
30	pmic0: da9061@58 {
31		watchdog {
32			compatible = "dlg,da9061-watchdog", "dlg,da9062-watchdog";
33		};
34	};
35