]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/include/asm/arch-am33xx/mmc_host_def.h
karo: merge with Ka-Ro specific tree for secure boot support
[karo-tx-uboot.git] / arch / arm / include / asm / arch-am33xx / mmc_host_def.h
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                0x48060100
25 #define OMAP_HSMMC2_BASE                0x481D8100
26 #define OMAP_HSMMC3_BASE                0x47810100
27
28 #if defined(CONFIG_TI814X)
29 #undef MMC_CLOCK_REFERENCE
30 #define MMC_CLOCK_REFERENCE     192 /* MHz */
31 #elif defined(CONFIG_TI816X)
32 #undef MMC_CLOCK_REFERENCE
33 #define MMC_CLOCK_REFERENCE     48 /* MHz */
34 #endif
35
36 #endif /* MMC_HOST_DEF_H */