]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap1/board-h6300.c
h63xx: mmc and sd card support
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap1 / board-h6300.c
index 71caef9ea150cc8954e33a58affa609ae371d61b..e2e93a2fca585891b5a13a1d1190ba92ce8992e1 100644 (file)
@@ -53,10 +53,21 @@ static struct omap_usb_config h6300_usb_config __initdata = {
        .pins[0]        = 0,
 };
 
+static struct omap_mmc_config h6300_mmc_config __initdata = {
+       .mmc [0] = {
+               .enabled        = 1,
+               .wire4          = 1,
+               .wp_pin         = OMAP_GPIO_IRQ(13),
+               .power_pin      = -1, // tps65010 ?
+               .switch_pin     = -1, // OMAP_MPUIO(1), // = -1, // ARMIO2?
+       },
+};
+
 static struct omap_board_config_kernel h6300_config[] = {
        { OMAP_TAG_LCD,         &h6300_lcd_config },
        { OMAP_TAG_UART,        &h6300_uart_config },
        { OMAP_TAG_USB,         &h6300_usb_config },
+       { OMAP_TAG_MMC,         &h6300_mmc_config },
 };
 
 static void __init h6300_init_irq(void)