diff options
author | Philippe De Muyter <phdm@macqel.be> | 2010-11-03 10:07:28 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2011-01-12 08:51:35 -0500 |
commit | 88cce427626070f7d7eb33994e3ff7b4db3292c5 (patch) | |
tree | aa850dddf757ecf9455cbbe4ab77fee54a4e1ef3 /arch/m68k | |
parent | f8394f61c66f48b1fe9d6964ddce492d7f9a4cd9 (diff) |
watchdog: Add MCF548x watchdog driver.
Add watchdog driver for MCF548x.
Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/include/asm/m548xgpt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/m548xgpt.h b/arch/m68k/include/asm/m548xgpt.h index c8ef158a1c4e..33b2eef90f0a 100644 --- a/arch/m68k/include/asm/m548xgpt.h +++ b/arch/m68k/include/asm/m548xgpt.h | |||
@@ -59,11 +59,13 @@ | |||
59 | #define MCF_GPT_GMS_GPIO_INPUT (0x00000000) | 59 | #define MCF_GPT_GMS_GPIO_INPUT (0x00000000) |
60 | #define MCF_GPT_GMS_GPIO_OUTLO (0x00000020) | 60 | #define MCF_GPT_GMS_GPIO_OUTLO (0x00000020) |
61 | #define MCF_GPT_GMS_GPIO_OUTHI (0x00000030) | 61 | #define MCF_GPT_GMS_GPIO_OUTHI (0x00000030) |
62 | #define MCF_GPT_GMS_GPIO_MASK (0x00000030) | ||
62 | #define MCF_GPT_GMS_TMS_DISABLE (0x00000000) | 63 | #define MCF_GPT_GMS_TMS_DISABLE (0x00000000) |
63 | #define MCF_GPT_GMS_TMS_INCAPT (0x00000001) | 64 | #define MCF_GPT_GMS_TMS_INCAPT (0x00000001) |
64 | #define MCF_GPT_GMS_TMS_OUTCAPT (0x00000002) | 65 | #define MCF_GPT_GMS_TMS_OUTCAPT (0x00000002) |
65 | #define MCF_GPT_GMS_TMS_PWM (0x00000003) | 66 | #define MCF_GPT_GMS_TMS_PWM (0x00000003) |
66 | #define MCF_GPT_GMS_TMS_GPIO (0x00000004) | 67 | #define MCF_GPT_GMS_TMS_GPIO (0x00000004) |
68 | #define MCF_GPT_GMS_TMS_MASK (0x00000007) | ||
67 | 69 | ||
68 | /* Bit definitions and macros for MCF_GPT_GCIR */ | 70 | /* Bit definitions and macros for MCF_GPT_GCIR */ |
69 | #define MCF_GPT_GCIR_CNT(x) (((x)&0x0000FFFF)<<0) | 71 | #define MCF_GPT_GCIR_CNT(x) (((x)&0x0000FFFF)<<0) |