1876bdd6dSChandan Nath /*
2876bdd6dSChandan Nath  * mmc_host_def.h
3876bdd6dSChandan Nath  *
4876bdd6dSChandan Nath  * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
5876bdd6dSChandan Nath  *
6876bdd6dSChandan Nath  * This program is free software; you can redistribute it and/or
7876bdd6dSChandan Nath  * modify it under the terms of the GNU General Public License as
8876bdd6dSChandan Nath  * published by the Free Software Foundation version 2.
9876bdd6dSChandan Nath  *
10876bdd6dSChandan Nath  * This program is distributed "as is" WITHOUT ANY WARRANTY of any
11876bdd6dSChandan Nath  * kind, whether express or implied; without even the implied warranty
12876bdd6dSChandan Nath  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13876bdd6dSChandan Nath  * GNU General Public License for more details.
14876bdd6dSChandan Nath  */
15876bdd6dSChandan Nath 
16876bdd6dSChandan Nath #ifndef MMC_HOST_DEF_H
17876bdd6dSChandan Nath #define MMC_HOST_DEF_H
18876bdd6dSChandan Nath 
19fa3a6928SNikita Kiryanov #include <asm/omap_mmc.h>
20fa3a6928SNikita Kiryanov 
21876bdd6dSChandan Nath /*
22876bdd6dSChandan Nath  * OMAP HSMMC register definitions
23876bdd6dSChandan Nath  */
24*f844d5f4SJean-Jacques Hiblot #define OMAP_HSMMC1_BASE		0x48060000
25*f844d5f4SJean-Jacques Hiblot #define OMAP_HSMMC2_BASE		0x481D8000
26876bdd6dSChandan Nath 
2726fa5784SMatt Porter #if defined(CONFIG_TI814X)
2826fa5784SMatt Porter #undef MMC_CLOCK_REFERENCE
2926fa5784SMatt Porter #define MMC_CLOCK_REFERENCE	192 /* MHz */
30dcf846d5STENART Antoine #elif defined(CONFIG_TI816X)
31dcf846d5STENART Antoine #undef MMC_CLOCK_REFERENCE
32dcf846d5STENART Antoine #define MMC_CLOCK_REFERENCE	48 /* MHz */
3326fa5784SMatt Porter #endif
3426fa5784SMatt Porter 
35876bdd6dSChandan Nath #endif /* MMC_HOST_DEF_H */
36