]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/asm-sh/cpu-sh4/freq.h
dc1d32a86374dadae62912d8a5565c8cbb01d5d5
[linux-2.6-omap-h63xx.git] / include / asm-sh / cpu-sh4 / freq.h
1 /*
2  * include/asm-sh/cpu-sh4/freq.h
3  *
4  * Copyright (C) 2002, 2003 Paul Mundt
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_FREQ_H
11 #define __ASM_CPU_SH4_FREQ_H
12
13 #if defined(CONFIG_CPU_SUBTYPE_SH7722)
14 #define FRQCR                   0xa4150000
15 #define VCLKCR                  0xa4150004
16 #define SCLKACR                 0xa4150008
17 #define SCLKBCR                 0xa415000c
18 #define IrDACLKCR               0xa4150010
19 #elif defined(CONFIG_CPU_SUBTYPE_SH7780)
20 #define FRQCR                   0xffc80000
21 #elif defined(CONFIG_CPU_SUBTYPE_SH7785)
22 #define FRQCR0                  0xffc80000
23 #define FRQCR1                  0xffc80004
24 #define FRQMR1                  0xffc80014
25 #elif defined(CONFIG_CPU_SUBTYPE_SHX3)
26 #define FRQCR                   0xffc00014
27 #else
28 #define FRQCR                   0xffc00000
29 #define FRQCR_PSTBY             0x0200
30 #define FRQCR_PLLEN             0x0400
31 #define FRQCR_CKOEN             0x0800
32 #endif
33 #define MIN_DIVISOR_NR          0
34 #define MAX_DIVISOR_NR          3
35
36 #endif /* __ASM_CPU_SH4_FREQ_H */
37