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