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 | 3994f8e4c3eff9b3569de0845c5e0094542e5548 (patch) | |
tree | 95159abf823bd71061938990014ccc1fe0735d0d /target/linux/ar71xx/files/include | |
parent | 5ff6932c66ce9b2b5e05c833d3d886be0b28ee17 (diff) | |
download | upstream-3994f8e4c3eff9b3569de0845c5e0094542e5548.tar.gz upstream-3994f8e4c3eff9b3569de0845c5e0094542e5548.tar.bz2 upstream-3994f8e4c3eff9b3569de0845c5e0094542e5548.zip |
add hardware watchdog driver
SVN-Revision: 12810
Diffstat (limited to 'target/linux/ar71xx/files/include')
-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) |