devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 1/2] DT: Add documentation for ralink-wdt
@ 2013-08-08  9:41 John Crispin
  2013-08-08 12:42 ` Guenter Roeck
  2013-08-08 15:55 ` Kumar Gala
  0 siblings, 2 replies; 5+ messages in thread
From: John Crispin @ 2013-08-08  9:41 UTC (permalink / raw)
  To: Wim Van Sebroeck; +Cc: John Crispin, linux-watchdog, linux-mips, devicetree

Describe ralink-wdt binding.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-watchdog@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
---
V1 used the old devicetree list as Cc.

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

diff --git a/Documentation/devicetree/bindings/watchdog/ralink-wdt.txt b/Documentation/devicetree/bindings/watchdog/ralink-wdt.txt
new file mode 100644
index 0000000..a70f0e8
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/ralink-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,mt7620a-wdt", "ralink,rt2880-wdt";
+		reg = <0x120 0x10>;
+
+		interrupt-parent = <&intc>;
+		interrupts = <1>;
+	};
-- 
1.7.10.4


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

end of thread, other threads:[~2013-08-08 15:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-08  9:41 [PATCH V2 1/2] DT: Add documentation for ralink-wdt John Crispin
2013-08-08 12:42 ` Guenter Roeck
2013-08-08 12:55   ` John Crispin
2013-08-08 15:50     ` Guenter Roeck
2013-08-08 15:55 ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).