All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 1/2] DT: Add documentation for rt2880-wdt
@ 2013-08-09 19:00 John Crispin
  2013-08-09 19:34 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: John Crispin @ 2013-08-09 19:00 UTC (permalink / raw)
  To: Wim Van Sebroeck
  Cc: John Crispin, linux-watchdog, linux-mips, devicetree-discuss

This document describes the binding of the watchdog core found ralink wireless
SoC.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-watchdog@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: devicetree-discuss@lists.ozlabs.org
---
Changes in V3:
* renamed file to rt2880-wdt.txt

 .../devicetree/bindings/watchdog/rt2880-wdt.txt     |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/rt2880-wdt.txt

diff --git a/Documentation/devicetree/bindings/watchdog/rt2880-wdt.txt b/Documentation/devicetree/bindings/watchdog/rt2880-wdt.txt
new file mode 100644
index 0000000..a654dd1
--- /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>;
+	};
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-09 19:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-09 19:00 [PATCH V3 1/2] DT: Add documentation for rt2880-wdt John Crispin
2013-08-09 19:34 ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.