1 /*
2  * mmc_host_def.h
3  *
4  * Copyright (C) 2011 Texas Instruments Incorporated - http://www.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 version 2.
9  *
10  * This program is distributed "as is" WITHOUT ANY WARRANTY of any
11  * kind, whether express or implied; without even the implied warranty
12  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  */
15 
16 #ifndef MMC_HOST_DEF_H
17 #define MMC_HOST_DEF_H
18 
19 #include <asm/omap_mmc.h>
20 
21 /*
22  * OMAP HSMMC register definitions
23  */
24 #define OMAP_HSMMC1_BASE		0x48060000
25 #define OMAP_HSMMC2_BASE		0x481D8000
26 
27 #if defined(CONFIG_TI814X)
28 #undef MMC_CLOCK_REFERENCE
29 #define MMC_CLOCK_REFERENCE	192 /* MHz */
30 #elif defined(CONFIG_TI816X)
31 #undef MMC_CLOCK_REFERENCE
32 #define MMC_CLOCK_REFERENCE	48 /* MHz */
33 #endif
34 
35 #endif /* MMC_HOST_DEF_H */
36