blob: 602d061ca2dc6e11988d750cb1e0ccb5a0da0775 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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
Paul Mundt41504c32006-12-11 20:28:03 +090013#if defined(CONFIG_CPU_SUBTYPE_SH73180) || defined(CONFIG_CPU_SUBTYPE_SH7722)
Linus Torvalds1da177e2005-04-16 15:20:36 -070014#define FRQCR 0xa4150000
Paul Mundt36ddf312006-01-16 22:14:17 -080015#elif defined(CONFIG_CPU_SUBTYPE_SH7780)
16#define FRQCR 0xffc80000
Linus Torvalds1da177e2005-04-16 15:20:36 -070017#else
18#define FRQCR 0xffc00000
19#endif
20#define MIN_DIVISOR_NR 0
21#define MAX_DIVISOR_NR 3
22
23#endif /* __ASM_CPU_SH4_FREQ_H */
24