From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.active-venture.com ([67.228.131.205]:49634 "EHLO mail.active-venture.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757776Ab3HHMma (ORCPT ); Thu, 8 Aug 2013 08:42:30 -0400 Message-ID: <5203923B.7030304@roeck-us.net> Date: Thu, 08 Aug 2013 05:42:35 -0700 From: Guenter Roeck MIME-Version: 1.0 Subject: Re: [PATCH V2 1/2] DT: Add documentation for ralink-wdt References: <1375954919-30737-1-git-send-email-blogic@openwrt.org> In-Reply-To: <1375954919-30737-1-git-send-email-blogic@openwrt.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: devicetree-owner@vger.kernel.org To: John Crispin Cc: Wim Van Sebroeck , linux-watchdog@vger.kernel.org, linux-mips@linux-mips.org, devicetree@vger.kernel.org List-ID: On 08/08/2013 02:41 AM, John Crispin wrote: > Describe ralink-wdt binding. > > Signed-off-by: John Crispin > 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 ? Thanks, Guenter > + reg = <0x120 0x10>; > + > + interrupt-parent = <&intc>; > + interrupts = <1>; > + }; >