2 * (C) Copyright 2006-2008
3 * Texas Instruments, <www.ti.com>
4 * Richard Woodruff <r-woodruff2@ti.com>
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.
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.
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,
24 #define LDELAY 12000000
28 #define S19_2M 19200000
31 #define S38_4M 38400000
33 #define FCK_IVA2_ON 0x00000001
34 #define FCK_CORE1_ON 0x03fffe29
35 #define ICK_CORE1_ON 0x3ffffffb
36 #define ICK_CORE2_ON 0x0000001f
37 #define FCK_WKUP_ON 0x000000e9
38 #define ICK_WKUP_ON 0x0000003f
39 #define FCK_DSS_ON 0x00000005
40 #define ICK_DSS_ON 0x00000001
41 #define FCK_CAM_ON 0x00000001
42 #define ICK_CAM_ON 0x00000001
43 #define FCK_PER_ON 0x0003ffff
44 #define ICK_PER_ON 0x0003ffff
46 /* Used to index into DPLL parameter tables */
54 struct dpll_per_36x_param {
66 /* Following functions are exported from lowlevel_init.S */
67 extern dpll_param *get_mpu_dpll_param(void);
68 extern dpll_param *get_iva_dpll_param(void);
69 extern dpll_param *get_core_dpll_param(void);
70 extern dpll_param *get_per_dpll_param(void);
72 extern dpll_param *get_36x_mpu_dpll_param(void);
73 extern dpll_param *get_36x_iva_dpll_param(void);
74 extern dpll_param *get_36x_core_dpll_param(void);
75 extern dpll_param *get_36x_per_dpll_param(void);
77 extern void *_end_vect, *_start;