summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-08-08 11:31:43 +0200
committerWim Van Sebroeck <wim@iguana.be>2013-11-17 19:36:38 +0100
commit473cf939ff3442dc86d531f3bb152a2f129ea9d1 (patch)
treee541e4c9d82da6390841e046e13b9ca377cdeb80 /Documentation
parente14538e0db8d880291064348bda7d52ec8322675 (diff)
downloadop-kernel-dev-473cf939ff3442dc86d531f3bb152a2f129ea9d1.zip
op-kernel-dev-473cf939ff3442dc86d531f3bb152a2f129ea9d1.tar.gz
watchdog: add ralink watchdog driver
Add a driver for the watchdog timer found on Ralink SoC Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Cc: linux-watchdog@vger.kernel.org Cc: linux-mips@linux-mips.org Cc: devicetree-discuss@lists.ozlabs.org
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/watchdog/rt2880-wdt.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/rt2880-wdt.txt b/Documentation/devicetree/bindings/watchdog/rt2880-wdt.txt
new file mode 100644
index 0000000..d7bab3d
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/rt2880-wdt.txt
@@ -0,0 +1,19 @@
+Ralink Watchdog Timers
+
+Required properties:
+- compatible: must be "ralink,rt2880-wdt"
+- reg: physical base address of the controller and length of the register range
+
+Optional properties:
+- interrupt-parent: phandle to the INTC device node
+- interrupts: Specify the INTC interrupt number
+
+Example:
+
+ watchdog@120 {
+ compatible = "ralink,rt2880-wdt";
+ reg = <0x120 0x10>;
+
+ interrupt-parent = <&intc>;
+ interrupts = <1>;
+ };
OpenPOWER on IntegriCloud