diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-09-30 08:05:18 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-09-30 08:05:18 +0000 |
commit | e40c3beb473115acc4b375965259fddeed6529c4 (patch) | |
tree | 8e6a087386ec26cba87b6e936ed4dc56fda8a138 /target/linux/ar71xx/files/include/asm-mips | |
parent | e176f409c03d04ace99cdc74fcff41c363a1b578 (diff) | |
download | upstream-e40c3beb473115acc4b375965259fddeed6529c4.tar.gz upstream-e40c3beb473115acc4b375965259fddeed6529c4.tar.bz2 upstream-e40c3beb473115acc4b375965259fddeed6529c4.zip |
[ar71xx] add hardware watchdog driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12810 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/include/asm-mips')
-rw-r--r-- | target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h index 92e662e2ba..729ec9452b 100644 --- a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h +++ b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h @@ -275,6 +275,13 @@ extern void ar71xx_ddr_flush(u32 reg); #define RESET_REG_PERFC1 0x34 #define RESET_REG_REV_ID 0x90 +#define WDOG_CTRL_LAST_RESET BIT(31) +#define WDOG_CTRL_ACTION_MASK 3 +#define WDOG_CTRL_ACTION_NONE 0 /* no action */ +#define WDOG_CTRL_ACTION_GPI 1 /* general purpose interrupt */ +#define WDOG_CTRL_ACTION_NMI 2 /* NMI */ +#define WDOG_CTRL_ACTION_FCR 3 /* full chip reset */ + #define MISC_INT_DMA BIT(7) #define MISC_INT_OHCI BIT(6) #define MISC_INT_PERFC BIT(5) |