aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/cpu-sh4/timer.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-sh/cpu-sh4/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-sh4/timer.h')
-rw-r--r--include/asm-sh/cpu-sh4/timer.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/include/asm-sh/cpu-sh4/timer.h b/include/asm-sh/cpu-sh4/timer.h
new file mode 100644
index 000000000000..8a4af126c890
--- /dev/null
+++ b/include/asm-sh/cpu-sh4/timer.h
@@ -0,0 +1,51 @@
1/*
2 * include/asm-sh/cpu-sh4/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_SH4_TIMER_H
11#define __ASM_CPU_SH4_TIMER_H
12
13/*
14 * ---------------------------------------------------------------------------
15 * TMU Common definitions for SH4 processors
16 * SH7750S/SH7750R
17 * SH7751/SH7751R
18 * SH7760
19 * ---------------------------------------------------------------------------
20 */
21
22#if !defined(CONFIG_CPU_SUBTYPE_SH7760)
23#define TMU_TOCR 0xffd80000 /* Byte access */
24#endif
25#define TMU_TSTR 0xffd80004 /* Byte access */
26
27#define TMU0_TCOR 0xffd80008 /* Long access */
28#define TMU0_TCNT 0xffd8000c /* Long access */
29#define TMU0_TCR 0xffd80010 /* Word access */
30
31#define TMU1_TCOR 0xffd80014 /* Long access */
32#define TMU1_TCNT 0xffd80018 /* Long access */
33#define TMU1_TCR 0xffd8001c /* Word access */
34
35#define TMU2_TCOR 0xffd80020 /* Long access */
36#define TMU2_TCNT 0xffd80024 /* Long access */
37#define TMU2_TCR 0xffd80028 /* Word access */
38#define TMU2_TCPR 0xffd8002c /* Long access */
39
40#if !defined(CONFIG_CPU_SUBTYPE_SH7760)
41#define TMU3_TCOR 0xfe100008 /* Long access */
42#define TMU3_TCNT 0xfe10000c /* Long access */
43#define TMU3_TCR 0xfe100010 /* Word access */
44
45#define TMU4_TCOR 0xfe100014 /* Long access */
46#define TMU4_TCNT 0xfe100018 /* Long access */
47#define TMU4_TCR 0xfe10001c /* Word access */
48#endif
49
50#endif /* __ASM_CPU_SH4_TIMER_H */
51