diff options
author | Greg Ungerer <gerg@snapgear.com> | 2005-11-02 00:05:55 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-02 00:41:20 -0500 |
commit | c9b68714b6d058a50689e7264ba190096b82c9d4 (patch) | |
tree | 397c64bd9d4ac988f3a322e85838d1ed7ba3bb3b | |
parent | 95dad9b351ff44e19590b0c6ec40513e4a1b12bf (diff) |
[PATCH] m68knommu: add 5208 ColdFire pit timer support
Add support for the PIT timer used in the 5208 ColdFire fmaily.
Patch originally from Matt Wadell (from code originally modified by
Mike Lavender).
Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | include/asm-m68knommu/mcfpit.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asm-m68knommu/mcfpit.h b/include/asm-m68knommu/mcfpit.h index 4cc2e9fd6ad0..a685f1b45401 100644 --- a/include/asm-m68knommu/mcfpit.h +++ b/include/asm-m68knommu/mcfpit.h | |||
@@ -14,13 +14,17 @@ | |||
14 | #include <linux/config.h> | 14 | #include <linux/config.h> |
15 | 15 | ||
16 | /* | 16 | /* |
17 | * Get address specific defines for the 5270/5271 and 5280/5282. | 17 | * Get address specific defines for the 5270/5271, 5280/5282, and 5208. |
18 | */ | 18 | */ |
19 | #if defined(CONFIG_M520x) | ||
20 | #define MCFPIT_BASE1 0x00080000 /* Base address of TIMER1 */ | ||
21 | #define MCFPIT_BASE2 0x00084000 /* Base address of TIMER2 */ | ||
22 | #else | ||
19 | #define MCFPIT_BASE1 0x00150000 /* Base address of TIMER1 */ | 23 | #define MCFPIT_BASE1 0x00150000 /* Base address of TIMER1 */ |
20 | #define MCFPIT_BASE2 0x00160000 /* Base address of TIMER2 */ | 24 | #define MCFPIT_BASE2 0x00160000 /* Base address of TIMER2 */ |
21 | #define MCFPIT_BASE3 0x00170000 /* Base address of TIMER3 */ | 25 | #define MCFPIT_BASE3 0x00170000 /* Base address of TIMER3 */ |
22 | #define MCFPIT_BASE4 0x00180000 /* Base address of TIMER4 */ | 26 | #define MCFPIT_BASE4 0x00180000 /* Base address of TIMER4 */ |
23 | 27 | #endif | |
24 | 28 | ||
25 | /* | 29 | /* |
26 | * Define the PIT timer register set addresses. | 30 | * Define the PIT timer register set addresses. |