aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-picotux200.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2010-11-20 21:31:19 -0500
committerNicolas Ferre <nicolas.ferre@atmel.com>2010-11-30 11:23:02 -0500
commit82d5b5c8da769184a9bc2cc2adc90555f4aa90b0 (patch)
tree7b76f5a4689ca5c8a306d984446048d10b71df65 /arch/arm/mach-at91/board-picotux200.c
parent985f554d8f0c2cf5bda5720921cb48654420d6b1 (diff)
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>
Diffstat (limited to 'arch/arm/mach-at91/board-picotux200.c')
-rw-r--r--arch/arm/mach-at91/board-picotux200.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/arch/arm/mach-at91/board-picotux200.c b/arch/arm/mach-at91/board-picotux200.c
index ac1a3b527b34..55dad3a46547 100644
--- a/arch/arm/mach-at91/board-picotux200.c
+++ b/arch/arm/mach-at91/board-picotux200.c
@@ -74,11 +74,6 @@ static struct at91_usbh_data __initdata picotux200_usbh_data = {
74 .ports = 1, 74 .ports = 1,
75}; 75};
76 76
77// static struct at91_udc_data __initdata picotux200_udc_data = {
78// .vbus_pin = AT91_PIN_PD4,
79// .pullup_pin = AT91_PIN_PD5,
80// };
81
82static struct at91_mmc_data __initdata picotux200_mmc_data = { 77static struct at91_mmc_data __initdata picotux200_mmc_data = {
83 .det_pin = AT91_PIN_PB27, 78 .det_pin = AT91_PIN_PB27,
84 .slot_b = 0, 79 .slot_b = 0,
@@ -86,21 +81,6 @@ static struct at91_mmc_data __initdata picotux200_mmc_data = {
86 .wp_pin = AT91_PIN_PA17, 81 .wp_pin = AT91_PIN_PA17,
87}; 82};
88 83
89// static struct spi_board_info picotux200_spi_devices[] = {
90// { /* DataFlash chip */
91// .modalias = "mtd_dataflash",
92// .chip_select = 0,
93// .max_speed_hz = 15 * 1000 * 1000,
94// },
95// #ifdef CONFIG_MTD_AT91_DATAFLASH_CARD
96// { /* DataFlash card */
97// .modalias = "mtd_dataflash",
98// .chip_select = 3,
99// .max_speed_hz = 15 * 1000 * 1000,
100// },
101// #endif
102// };
103
104#define PICOTUX200_FLASH_BASE AT91_CHIPSELECT_0 84#define PICOTUX200_FLASH_BASE AT91_CHIPSELECT_0
105#define PICOTUX200_FLASH_SIZE SZ_4M 85#define PICOTUX200_FLASH_SIZE SZ_4M
106 86
@@ -132,21 +112,11 @@ static void __init picotux200_board_init(void)
132 at91_add_device_eth(&picotux200_eth_data); 112 at91_add_device_eth(&picotux200_eth_data);
133 /* USB Host */ 113 /* USB Host */
134 at91_add_device_usbh(&picotux200_usbh_data); 114 at91_add_device_usbh(&picotux200_usbh_data);
135 /* USB Device */
136 // at91_add_device_udc(&picotux200_udc_data);
137 // at91_set_multi_drive(picotux200_udc_data.pullup_pin, 1); /* pullup_pin is connected to reset */
138 /* I2C */ 115 /* I2C */
139 at91_add_device_i2c(NULL, 0); 116 at91_add_device_i2c(NULL, 0);
140 /* SPI */
141 // at91_add_device_spi(picotux200_spi_devices, ARRAY_SIZE(picotux200_spi_devices));
142#ifdef CONFIG_MTD_AT91_DATAFLASH_CARD
143 /* DataFlash card */
144 at91_set_gpio_output(AT91_PIN_PB22, 0);
145#else
146 /* MMC */ 117 /* MMC */
147 at91_set_gpio_output(AT91_PIN_PB22, 1); /* this MMC card slot can optionally use SPI signaling (CS3). */ 118 at91_set_gpio_output(AT91_PIN_PB22, 1); /* this MMC card slot can optionally use SPI signaling (CS3). */
148 at91_add_device_mmc(0, &picotux200_mmc_data); 119 at91_add_device_mmc(0, &picotux200_mmc_data);
149#endif
150 /* NOR Flash */ 120 /* NOR Flash */
151 platform_device_register(&picotux200_flash); 121 platform_device_register(&picotux200_flash);
152} 122}