Hi there,
I'm new to the AT91, and I'm designing a board using the AT91RM9200 with two SD slots: one uSD connected to MCDA, and one normal SD connected to MCDB. I've found source in the kernel tree that suggests the two separate SD devices are supported, but can anyone confirm that they've used (ie. mounted) the two separate SD ports at the same time?
(from linux-2.6.21\arch\arm\mach-at91\at91rm9200_devices.c)
Code:
void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data)
.
.
.
if (data->slot_b) {
/* CMD */
at91_set_B_periph(AT91_PIN_PA8, 1);
/* DAT0, maybe DAT1..DAT3 */
at91_set_B_periph(AT91_PIN_PA9, 1);
if (data->wire4) {
at91_set_B_periph(AT91_PIN_PA10, 1);
at91_set_B_periph(AT91_PIN_PA11, 1);
at91_set_B_periph(AT91_PIN_PA12, 1);
}
} else {
/* CMD */
at91_set_A_periph(AT91_PIN_PA28, 1);
/* DAT0, maybe DAT1..DAT3 */
at91_set_A_periph(AT91_PIN_PA29, 1);
if (data->wire4) {
at91_set_B_periph(AT91_PIN_PB3, 1);
at91_set_B_periph(AT91_PIN_PB4, 1);
at91_set_B_periph(AT91_PIN_PB5, 1);
}
}
My hope is to use the uSD for a filesystem, while leaving the full sized SD open to tinkering with Atheros' SDIO/WLAN code.
thanks