1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/watchdog/linux,wdt-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO-controlled Watchdog
10 - Guenter Roeck <linux@roeck-us.net>
11 - Robert Marko <robert.marko@sartura.hr>
18 description: gpio connection to WDT reset pin
22 description: The algorithm used by the driver.
25 Either a high-to-low or a low-to-high transition clears the WDT counter.
26 The watchdog timer is disabled when GPIO is left floating or connected
27 to a three-state buffer.
30 Low or high level starts counting WDT timeout, the opposite level
32 Active level is determined by the GPIO flags.
36 description: Maximum time to reset watchdog circuit (milliseconds).
37 $ref: /schemas/types.yaml#/definitions/uint32
44 If the watchdog timer cannot be disabled, add this flag to have the driver
45 keep toggling the signal without a client.
46 It will only cease to toggle the signal when the device is open and the
56 - $ref: watchdog.yaml#
58 unevaluatedProperties: false
62 #include <dt-bindings/gpio/gpio.h>
64 compatible = "linux,wdt-gpio";
65 gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
67 hw_margin_ms = <1600>;