Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-sh/cpu-sh3/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_SH3_FREQ_H |
| 11 | #define __ASM_CPU_SH3_FREQ_H |
| 12 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #define FRQCR 0xffffff80 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | #define MIN_DIVISOR_NR 0 |
| 15 | #define MAX_DIVISOR_NR 4 |
| 16 | |
Andriy Skulysh | 3aa770e | 2006-09-27 16:20:22 +0900 | [diff] [blame] | 17 | #define FRQCR_CKOEN 0x0100 |
| 18 | #define FRQCR_PLLEN 0x0080 |
| 19 | #define FRQCR_PSTBY 0x0040 |
| 20 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #endif /* __ASM_CPU_SH3_FREQ_H */ |
| 22 | |