Merge tag 'efi-2022-10-rc1-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
[platform/kernel/u-boot.git] / doc / device-tree-bindings / watchdog / gpio-wdt.txt
1 GPIO watchdog timer
2
3 Describes a simple watchdog timer which is reset by toggling a gpio.
4
5 Required properties:
6
7 - compatible: Must be "linux,wdt-gpio".
8 - 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.
14 - 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
18 Example:
19
20         gpio-wdt {
21                 gpios = <&gpio0 1 0>;
22                 compatible = "linux,wdt-gpio";
23                 hw_algo = "toggle";
24                 always-running;
25         };