Go to the documentation of this file.
14 #ifndef __ASM_ARCH_REGS_WATCHDOG_H
15 #define __ASM_ARCH_REGS_WATCHDOG_H
17 #define S3C_WDOGREG(x) ((x) + S3C_VA_WATCHDOG)
19 #define S3C2410_WTCON S3C_WDOGREG(0x00)
20 #define S3C2410_WTDAT S3C_WDOGREG(0x04)
21 #define S3C2410_WTCNT S3C_WDOGREG(0x08)
27 #define S3C2410_WTCON_RSTEN (0x01)
28 #define S3C2410_WTCON_INTEN (1<<2)
29 #define S3C2410_WTCON_ENABLE (1<<5)
31 #define S3C2410_WTCON_DIV16 (0<<3)
32 #define S3C2410_WTCON_DIV32 (1<<3)
33 #define S3C2410_WTCON_DIV64 (2<<3)
34 #define S3C2410_WTCON_DIV128 (3<<3)
36 #define S3C2410_WTCON_PRESCALE(x) ((x) << 8)
37 #define S3C2410_WTCON_PRESCALE_MASK (0xff00)