[WATCHDOG] mv64x60_wdt.patch

Add mv64x60 (Marvell Discovery) watchdog support.

Signed-off-by: James Chapman <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
James Chapman 2005-08-17 09:01:33 +02:00 • committed by Wim Van Sebroeck
commit 3be10211ab
4 changed files with 265 additions and 0 deletions

View file

@ -119,6 +119,14 @@ extern spinlock_t mv64x60_lock;
#define MV64x60_64BIT_WIN_COUNT 24
/* Watchdog Platform Device, Driver Data */
#define MV64x60_WDT_NAME "wdt"
struct mv64x60_wdt_pdata {
int timeout; /* watchdog expiry in seconds, default 10 */
int bus_clk; /* bus clock in MHz, default 133 */
};
/*
* Define a structure that's used to pass in config information to the
* core routines.