xref: /openbmc/linux/arch/sh/include/cpu-sh3/cpu/freq.h (revision 37002bc6)
1 /* SPDX-License-Identifier: GPL-2.0
2  *
3  * include/asm-sh/cpu-sh3/freq.h
4  *
5  * Copyright (C) 2002, 2003 Paul Mundt
6  */
7 #ifndef __ASM_CPU_SH3_FREQ_H
8 #define __ASM_CPU_SH3_FREQ_H
9 
10 #ifdef CONFIG_CPU_SUBTYPE_SH7712
11 #define FRQCR			0xA415FF80
12 #else
13 #define FRQCR			0xffffff80
14 #endif
15 
16 #define MIN_DIVISOR_NR		0
17 #define MAX_DIVISOR_NR		4
18 
19 #define FRQCR_CKOEN	0x0100
20 #define FRQCR_PLLEN	0x0080
21 #define FRQCR_PSTBY	0x0040
22 
23 #endif /* __ASM_CPU_SH3_FREQ_H */
24 
25