at91/picotux200: remove commenting usb device and dataflash support
as based on http://www.picotux.com/pt200/picotux200.pdf these board does not have such I/O Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
This commit is contained in:
parent
985f554d8f
commit
82d5b5c8da
1 changed files with 0 additions and 30 deletions
|
@ -74,11 +74,6 @@ static struct at91_usbh_data __initdata picotux200_usbh_data = {
|
||||||
.ports = 1,
|
.ports = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
// static struct at91_udc_data __initdata picotux200_udc_data = {
|
|
||||||
// .vbus_pin = AT91_PIN_PD4,
|
|
||||||
// .pullup_pin = AT91_PIN_PD5,
|
|
||||||
// };
|
|
||||||
|
|
||||||
static struct at91_mmc_data __initdata picotux200_mmc_data = {
|
static struct at91_mmc_data __initdata picotux200_mmc_data = {
|
||||||
.det_pin = AT91_PIN_PB27,
|
.det_pin = AT91_PIN_PB27,
|
||||||
.slot_b = 0,
|
.slot_b = 0,
|
||||||
|
@ -86,21 +81,6 @@ static struct at91_mmc_data __initdata picotux200_mmc_data = {
|
||||||
.wp_pin = AT91_PIN_PA17,
|
.wp_pin = AT91_PIN_PA17,
|
||||||
};
|
};
|
||||||
|
|
||||||
// static struct spi_board_info picotux200_spi_devices[] = {
|
|
||||||
// { /* DataFlash chip */
|
|
||||||
// .modalias = "mtd_dataflash",
|
|
||||||
// .chip_select = 0,
|
|
||||||
// .max_speed_hz = 15 * 1000 * 1000,
|
|
||||||
// },
|
|
||||||
// #ifdef CONFIG_MTD_AT91_DATAFLASH_CARD
|
|
||||||
// { /* DataFlash card */
|
|
||||||
// .modalias = "mtd_dataflash",
|
|
||||||
// .chip_select = 3,
|
|
||||||
// .max_speed_hz = 15 * 1000 * 1000,
|
|
||||||
// },
|
|
||||||
// #endif
|
|
||||||
// };
|
|
||||||
|
|
||||||
#define PICOTUX200_FLASH_BASE AT91_CHIPSELECT_0
|
#define PICOTUX200_FLASH_BASE AT91_CHIPSELECT_0
|
||||||
#define PICOTUX200_FLASH_SIZE SZ_4M
|
#define PICOTUX200_FLASH_SIZE SZ_4M
|
||||||
|
|
||||||
|
@ -132,21 +112,11 @@ static void __init picotux200_board_init(void)
|
||||||
at91_add_device_eth(&picotux200_eth_data);
|
at91_add_device_eth(&picotux200_eth_data);
|
||||||
/* USB Host */
|
/* USB Host */
|
||||||
at91_add_device_usbh(&picotux200_usbh_data);
|
at91_add_device_usbh(&picotux200_usbh_data);
|
||||||
/* USB Device */
|
|
||||||
// at91_add_device_udc(&picotux200_udc_data);
|
|
||||||
// at91_set_multi_drive(picotux200_udc_data.pullup_pin, 1); /* pullup_pin is connected to reset */
|
|
||||||
/* I2C */
|
/* I2C */
|
||||||
at91_add_device_i2c(NULL, 0);
|
at91_add_device_i2c(NULL, 0);
|
||||||
/* SPI */
|
|
||||||
// at91_add_device_spi(picotux200_spi_devices, ARRAY_SIZE(picotux200_spi_devices));
|
|
||||||
#ifdef CONFIG_MTD_AT91_DATAFLASH_CARD
|
|
||||||
/* DataFlash card */
|
|
||||||
at91_set_gpio_output(AT91_PIN_PB22, 0);
|
|
||||||
#else
|
|
||||||
/* MMC */
|
/* MMC */
|
||||||
at91_set_gpio_output(AT91_PIN_PB22, 1); /* this MMC card slot can optionally use SPI signaling (CS3). */
|
at91_set_gpio_output(AT91_PIN_PB22, 1); /* this MMC card slot can optionally use SPI signaling (CS3). */
|
||||||
at91_add_device_mmc(0, &picotux200_mmc_data);
|
at91_add_device_mmc(0, &picotux200_mmc_data);
|
||||||
#endif
|
|
||||||
/* NOR Flash */
|
/* NOR Flash */
|
||||||
platform_device_register(&picotux200_flash);
|
platform_device_register(&picotux200_flash);
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue