blob: 746c2c081eafbe649324d856f86f55ac257f831f [file] [log] [blame]
Rasmus Villemoes08667602021-08-19 11:57:04 +02001GPIO watchdog timer
2
3Describes a simple watchdog timer which is reset by toggling a gpio.
4
5Required properties:
6
7- compatible: Must be "linux,wdt-gpio".
Paul Doelle709f0372022-07-04 09:00:25 +00008- gpios: From common gpio binding; gpio connection to WDT reset pin.
9- hw_algo: The algorithm used by the driver. Should be one of the
10 following values:
11 - toggle: Toggle from high-to-low or low-to-high when resetting the watchdog.
12 - level: Maintain a constant high/low level, and trigger a short pulse when
13 resetting the watchdog. Active level is determined by the GPIO flags.
Rasmus Villemoes08667602021-08-19 11:57:04 +020014- always-running: Boolean property indicating that the watchdog cannot
15 be disabled. At present, U-Boot only supports this kind of GPIO
16 watchdog.
17
18Example:
19
20 gpio-wdt {
21 gpios = <&gpio0 1 0>;
22 compatible = "linux,wdt-gpio";
Paul Doelle709f0372022-07-04 09:00:25 +000023 hw_algo = "toggle";
Rasmus Villemoes08667602021-08-19 11:57:04 +020024 always-running;
25 };