linux-mips
[Top] [All Lists]

Re: [PATCH][MIPS][5/7] AR7: watchdog timer

To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: Re: [PATCH][MIPS][5/7] AR7: watchdog timer
From: Matteo Croce <technoboy85@gmail.com>
Date: Tue, 11 Sep 2007 21:54:24 +0200
Cc: Florian Fainelli <florian.fainelli@telecomint.eu>, Wim Van Sebroeck <wim@iguana.be>, linux-mips@linux-mips.org, Nicolas Thill <nico@openwrt.org>, Enrik Berkhan <Enrik.Berkhan@akk.org>, Christer Weinigel <wingel@nano-system.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=PHtTfykPntURUL8l2FzGIs3j/AVzL3Fk++26IvkF+zI=; b=akCmvrmZqPBQOWPo+11j6DwVYWO7IzcqdL3lAy8JDpFCRKNDAuIarPQlDnz/XsLjIrSLVGeAL/dW1PzZsvdwc9w9D6aU35TDzGC4SiOntONERk7YFZNpNih96uz7sGcJeC1CSOKZtvmd2ys1/3Y6zlURFEwSp/EXV1YuB4ZNZDU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=M4C1n6x8GkAAUackLsAdp8EA/G48pUaeq0PgRbK/utn4UsopSG0gvtJ0y+fGxDpbrdLst2BL03o/rG/QL3fp/zlp0NmGaYoXy5BY40K0Ww5hiw+Ks50zkycvuuT9ybAUNuUDW/HBy0j8dkFC/ALLuDOLTjWLrt1WkgAtqK6udEM=
In-reply-to: <20070910090022.GA6085@alpha.franken.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200708201704.11529.technoboy85@gmail.com> <20070910080634.GA5857@alpha.franken.de> <20070910090022.GA6085@alpha.franken.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.6 (enterprise 0.20070831.706792)
Il Monday 10 September 2007 11:00:23 Thomas Bogendoerfer ha scritto:
> On Mon, Sep 10, 2007 at 10:06:34AM +0200, Thomas Bogendoerfer wrote:
> > On Sun, Sep 09, 2007 at 08:27:29PM +0200, Florian Fainelli wrote:
> > > The thing is that the different TNETD versions : 7100, 7200 and 7300 
> > > should 
> > > not have the same watchdog handling.
> > 
> > you just need to use the right address, 7100/7200 have a different
> > address where the watchdog is (0x18611F00) than the 7300 (0x18610B00).
> > Usage of the watchdog is the same.
> > 
> 
> got the addresses wrong, they are 0x08611f00 and 0x08610b00 (both physical
> addresses).
> 
> Thomas.
> 


If you read the ar7.h include file you will find:

#define AR7_REGS_BASE   0x08610000

#define AR7_REGS_WDT    (AR7_REGS_BASE + 0x1f00)
#define UR8_REGS_WDT    (AR7_REGS_BASE + 0x0b00)

So they are correct

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