aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/brownstone.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mmp/brownstone.c')
-rw-r--r--arch/arm/mach-mmp/brownstone.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/brownstone.c b/arch/arm/mach-mmp/brownstone.c
index 7bb78fd5a2a..c79162a50f2 100644
--- a/arch/arm/mach-mmp/brownstone.c
+++ b/arch/arm/mach-mmp/brownstone.c
@@ -177,9 +177,16 @@ static struct i2c_board_info brownstone_twsi1_info[] = {
177}; 177};
178 178
179static struct sdhci_pxa_platdata mmp2_sdh_platdata_mmc0 = { 179static struct sdhci_pxa_platdata mmp2_sdh_platdata_mmc0 = {
180 .max_speed = 25000000, 180 .clk_delay_cycles = 0x1f,
181}; 181};
182 182
183static struct sdhci_pxa_platdata mmp2_sdh_platdata_mmc2 = {
184 .clk_delay_cycles = 0x1f,
185 .flags = PXA_FLAG_CARD_PERMANENT
186 | PXA_FLAG_SD_8_BIT_CAPABLE_SLOT,
187};
188
189
183static void __init brownstone_init(void) 190static void __init brownstone_init(void)
184{ 191{
185 mfp_config(ARRAY_AND_SIZE(brownstone_pin_config)); 192 mfp_config(ARRAY_AND_SIZE(brownstone_pin_config));
@@ -189,6 +196,7 @@ static void __init brownstone_init(void)
189 mmp2_add_uart(3); 196 mmp2_add_uart(3);
190 mmp2_add_twsi(1, NULL, ARRAY_AND_SIZE(brownstone_twsi1_info)); 197 mmp2_add_twsi(1, NULL, ARRAY_AND_SIZE(brownstone_twsi1_info));
191 mmp2_add_sdhost(0, &mmp2_sdh_platdata_mmc0); /* SD/MMC */ 198 mmp2_add_sdhost(0, &mmp2_sdh_platdata_mmc0); /* SD/MMC */
199 mmp2_add_sdhost(2, &mmp2_sdh_platdata_mmc2); /* eMMC */
192 200
193 /* enable 5v regulator */ 201 /* enable 5v regulator */
194 platform_device_register(&brownstone_v_5vp_device); 202 platform_device_register(&brownstone_v_5vp_device);