linux-mips
[Top] [All Lists]

Re: [PATCH V2 1/2] DT: Add documentation for ralink-wdt

To: Guenter Roeck <linux@roeck-us.net>
Subject: Re: [PATCH V2 1/2] DT: Add documentation for ralink-wdt
From: John Crispin <blogic@openwrt.org>
Date: Thu, 08 Aug 2013 14:55:45 +0200
Cc: Wim Van Sebroeck <wim@iguana.be>, linux-watchdog@vger.kernel.org, linux-mips@linux-mips.org, devicetree@vger.kernel.org
In-reply-to: <5203923B.7030304@roeck-us.net>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1375954919-30737-1-git-send-email-blogic@openwrt.org> <5203923B.7030304@roeck-us.net>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12
On 08/08/13 14:42, Guenter Roeck wrote:
On 08/08/2013 02:41 AM, John Crispin wrote:
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";

Just wondering ... what is the "ralink,mt7620a-wdt" supposed to be used for ?

Hi

i copied the example from the dtsi file of the mt7620a SoC. i can remove it if you like.

    John

<Prev in Thread] Current Thread [Next in Thread>