]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/blobdiff - Documentation/devicetree/bindings/watchdog/tegra-wdt.txt
dt-binding: add Tegra WDT dt-binding document
[hercules2020/nv-tegra/linux-4.4.git] / Documentation / devicetree / bindings / watchdog / tegra-wdt.txt
diff --git a/Documentation/devicetree/bindings/watchdog/tegra-wdt.txt b/Documentation/devicetree/bindings/watchdog/tegra-wdt.txt
new file mode 100644 (file)
index 0000000..1393184
--- /dev/null
@@ -0,0 +1,25 @@
+* NVIDIA Tegra Watchdog controller
+
+Required properties:
+
+- compatible: Should be "nvidia,tegra-wdt"
+- reg: Should contain WDT and corresponding timer source
+  registers location and length.
+
+Optional properties:
+
+- interrupts: interrupt number to the cpu
+- nvidia,expiry-count: total expiry count of WDT (1 if not specified)
+- nvidia,enable-on-init: Toggle switch for enable during init
+- nvidia,heartbeat-init: default timeout in secs (120 secs if not specified)
+
+Examples:
+
+watchdog@60005100 {
+       compatible = "nvidia,tegra-wdt";
+       reg = <0x0 0x60005100 0x0 0x20          /* WDT0 registers */
+               0x0 0x60005070 0x0 0x8>;        /* TMR7 registers */
+       interrupts = <0 123 0x04>;
+       nvidia,expiry-count = <4>;
+       status = "disabled";
+};