aboutsummaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings/watchdog/gpio-wdt.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/device-tree-bindings/watchdog/gpio-wdt.txt')
-rw-r--r--doc/device-tree-bindings/watchdog/gpio-wdt.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/watchdog/gpio-wdt.txt b/doc/device-tree-bindings/watchdog/gpio-wdt.txt
new file mode 100644
index 0000000..c9a8559
--- /dev/null
+++ b/doc/device-tree-bindings/watchdog/gpio-wdt.txt
@@ -0,0 +1,19 @@
+GPIO watchdog timer
+
+Describes a simple watchdog timer which is reset by toggling a gpio.
+
+Required properties:
+
+- compatible: Must be "linux,wdt-gpio".
+- gpios: gpio to toggle when wdt driver reset method is called.
+- always-running: Boolean property indicating that the watchdog cannot
+ be disabled. At present, U-Boot only supports this kind of GPIO
+ watchdog.
+
+Example:
+
+ gpio-wdt {
+ gpios = <&gpio0 1 0>;
+ compatible = "linux,wdt-gpio";
+ always-running;
+ };