Fix name of Russell King in various comments
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-sh / cpu-sh4 / freq.h
blobda46e67ae26d422449e31f51c28b9ce43b3a8eaf
1 /*
2 * include/asm-sh/cpu-sh4/freq.h
4 * Copyright (C) 2002, 2003 Paul Mundt
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
13 #if defined(CONFIG_CPU_SUBTYPE_SH7722) || \
14 defined(CONFIG_CPU_SUBTYPE_SH7723) || \
15 defined(CONFIG_CPU_SUBTYPE_SH7366)
16 #define FRQCR 0xa4150000
17 #define VCLKCR 0xa4150004
18 #define SCLKACR 0xa4150008
19 #define SCLKBCR 0xa415000c
20 #define IrDACLKCR 0xa4150010
21 #elif defined(CONFIG_CPU_SUBTYPE_SH7763) || \
22 defined(CONFIG_CPU_SUBTYPE_SH7780)
23 #define FRQCR 0xffc80000
24 #elif defined(CONFIG_CPU_SUBTYPE_SH7785)
25 #define FRQCR0 0xffc80000
26 #define FRQCR1 0xffc80004
27 #define FRQMR1 0xffc80014
28 #elif defined(CONFIG_CPU_SUBTYPE_SHX3)
29 #define FRQCR 0xffc00014
30 #else
31 #define FRQCR 0xffc00000
32 #define FRQCR_PSTBY 0x0200
33 #define FRQCR_PLLEN 0x0400
34 #define FRQCR_CKOEN 0x0800
35 #endif
36 #define MIN_DIVISOR_NR 0
37 #define MAX_DIVISOR_NR 3
39 #endif /* __ASM_CPU_SH4_FREQ_H */