diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
| commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
| tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-sh/cpu-sh3/timer.h | |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-sh/cpu-sh3/timer.h')
| -rw-r--r-- | include/asm-sh/cpu-sh3/timer.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/include/asm-sh/cpu-sh3/timer.h b/include/asm-sh/cpu-sh3/timer.h new file mode 100644 index 000000000000..3d8e95e8d10c --- /dev/null +++ b/include/asm-sh/cpu-sh3/timer.h | |||
| @@ -0,0 +1,64 @@ | |||
| 1 | /* | ||
| 2 | * include/asm-sh/cpu-sh3/timer.h | ||
| 3 | * | ||
| 4 | * Copyright (C) 2004 Lineo Solutions, Inc. | ||
| 5 | * | ||
| 6 | * This file is subject to the terms and conditions of the GNU General Public | ||
| 7 | * License. See the file "COPYING" in the main directory of this archive | ||
| 8 | * for more details. | ||
| 9 | */ | ||
| 10 | #ifndef __ASM_CPU_SH3_TIMER_H | ||
| 11 | #define __ASM_CPU_SH3_TIMER_H | ||
| 12 | |||
| 13 | /* | ||
| 14 | * --------------------------------------------------------------------------- | ||
| 15 | * TMU Common definitions for SH3 processors | ||
| 16 | * SH7706 | ||
| 17 | * SH7709S | ||
| 18 | * SH7727 | ||
| 19 | * SH7729R | ||
| 20 | * SH7710 | ||
| 21 | * SH7720 | ||
| 22 | * SH7300 | ||
| 23 | * --------------------------------------------------------------------------- | ||
| 24 | */ | ||
| 25 | |||
| 26 | #if defined(CONFIG_CPU_SUBTYPE_SH7300) || defined(CONFIG_CPU_SUBTYPE_SH7710) | ||
| 27 | #define TMU_TSTR 0xa412fe92 /* Byte access */ | ||
| 28 | |||
| 29 | #define TMU0_TCOR 0xa412fe94 /* Long access */ | ||
| 30 | #define TMU0_TCNT 0xa412fe98 /* Long access */ | ||
| 31 | #define TMU0_TCR 0xa412fe9c /* Word access */ | ||
| 32 | |||
| 33 | #define TMU1_TCOR 0xa412fea0 /* Long access */ | ||
| 34 | #define TMU1_TCNT 0xa412fea4 /* Long access */ | ||
| 35 | #define TMU1_TCR 0xa412fea8 /* Word access */ | ||
| 36 | |||
| 37 | #define TMU2_TCOR 0xa412feac /* Long access */ | ||
| 38 | #define TMU2_TCNT 0xa412feb0 /* Long access */ | ||
| 39 | #define TMU2_TCR 0xa412feb4 /* Word access */ | ||
| 40 | |||
| 41 | #else | ||
| 42 | #if !defined(CONFIG_CPU_SUBTYPE_SH7727) | ||
| 43 | #define TMU_TOCR 0xfffffe90 /* Byte access */ | ||
| 44 | #endif | ||
| 45 | #define TMU_TSTR 0xfffffe92 /* Byte access */ | ||
| 46 | |||
| 47 | #define TMU0_TCOR 0xfffffe94 /* Long access */ | ||
| 48 | #define TMU0_TCNT 0xfffffe98 /* Long access */ | ||
| 49 | #define TMU0_TCR 0xfffffe9c /* Word access */ | ||
| 50 | |||
| 51 | #define TMU1_TCOR 0xfffffea0 /* Long access */ | ||
| 52 | #define TMU1_TCNT 0xfffffea4 /* Long access */ | ||
| 53 | #define TMU1_TCR 0xfffffea8 /* Word access */ | ||
| 54 | |||
| 55 | #define TMU2_TCOR 0xfffffeac /* Long access */ | ||
| 56 | #define TMU2_TCNT 0xfffffeb0 /* Long access */ | ||
| 57 | #define TMU2_TCR 0xfffffeb4 /* Word access */ | ||
| 58 | #if !defined(CONFIG_CPU_SUBTYPE_SH7727) | ||
| 59 | #define TMU2_TCPR2 0xfffffeb8 /* Long access */ | ||
| 60 | #endif | ||
| 61 | #endif | ||
| 62 | |||
| 63 | #endif /* __ASM_CPU_SH3_TIMER_H */ | ||
| 64 | |||
