blob: 273f3229785cfb93076c9ad810b7b68feb474492 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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
13#if defined(CONFIG_CPU_SUBTYPE_SH7300)
14#define FRQCR 0xa415ff80
15#else
16#define FRQCR 0xffffff80
17#endif
18#define MIN_DIVISOR_NR 0
19#define MAX_DIVISOR_NR 4
20
Andriy Skulysh3aa770e2006-09-27 16:20:22 +090021#define FRQCR_CKOEN 0x0100
22#define FRQCR_PLLEN 0x0080
23#define FRQCR_PSTBY 0x0040
24
Linus Torvalds1da177e2005-04-16 15:20:36 -070025#endif /* __ASM_CPU_SH3_FREQ_H */
26