Initial checkin
[pandora-x-loader.git] / include / asm / arch-arm1136 / clocks.h
1 /*
2  * (C) Copyright 2004
3  * Texas Instruments, <www.ti.com>
4  * Richard Woodruff <r-woodruff2@ti.com>
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of
9  * the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
19  * MA 02111-1307 USA
20   */
21 #ifndef _OMAP24XX_CLOCKS_H_
22 #define _OMAP24XX_CLOCKS_H_
23
24 #define COMMIT_DIVIDERS  0x1
25 #define MODE_BYPASS_FAST 0x2
26 #define APLL_LOCK        0xc
27 #define DPLL_LOCK        0x3   /* DPLL lock */
28 #define LDELAY           12000000
29
30 #if defined(CONFIG_OMAP242X)
31 #include <asm/arch/clocks242x.h>
32 #elif defined(CONFIG_OMAP243X)
33 #include <asm/arch/clocks243x.h>
34 #endif
35
36 #define S12M            12000000
37 #define S13M            13000000
38 #define S19_2M          19200000
39 #define S24M            24000000
40 #define S26M            26000000
41 #define S38_4M          38400000
42
43 #endif
44
45
46
47
48
49
50
51