diff options
Diffstat (limited to 'arch/arm/mach-at91/board-sam9261ek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9261ek.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c index b005b738e8ff..40895072a1a7 100644 --- a/arch/arm/mach-at91/board-sam9261ek.c +++ b/arch/arm/mach-at91/board-sam9261ek.c | |||
@@ -131,7 +131,7 @@ static struct sam9_smc_config __initdata dm9000_smc_config = { | |||
131 | static void __init ek_add_device_dm9000(void) | 131 | static void __init ek_add_device_dm9000(void) |
132 | { | 132 | { |
133 | /* Configure chip-select 2 (DM9000) */ | 133 | /* Configure chip-select 2 (DM9000) */ |
134 | sam9_smc_configure(2, &dm9000_smc_config); | 134 | sam9_smc_configure(0, 2, &dm9000_smc_config); |
135 | 135 | ||
136 | /* Configure Reset signal as output */ | 136 | /* Configure Reset signal as output */ |
137 | at91_set_gpio_output(AT91_PIN_PC10, 0); | 137 | at91_set_gpio_output(AT91_PIN_PC10, 0); |
@@ -151,6 +151,8 @@ static void __init ek_add_device_dm9000(void) {} | |||
151 | */ | 151 | */ |
152 | static struct at91_usbh_data __initdata ek_usbh_data = { | 152 | static struct at91_usbh_data __initdata ek_usbh_data = { |
153 | .ports = 2, | 153 | .ports = 2, |
154 | .vbus_pin = {-EINVAL, -EINVAL}, | ||
155 | .overcurrent_pin= {-EINVAL, -EINVAL}, | ||
154 | }; | 156 | }; |
155 | 157 | ||
156 | 158 | ||
@@ -159,7 +161,7 @@ static struct at91_usbh_data __initdata ek_usbh_data = { | |||
159 | */ | 161 | */ |
160 | static struct at91_udc_data __initdata ek_udc_data = { | 162 | static struct at91_udc_data __initdata ek_udc_data = { |
161 | .vbus_pin = AT91_PIN_PB29, | 163 | .vbus_pin = AT91_PIN_PB29, |
162 | .pullup_pin = 0, /* pull-up driven by UDC */ | 164 | .pullup_pin = -EINVAL, /* pull-up driven by UDC */ |
163 | }; | 165 | }; |
164 | 166 | ||
165 | 167 | ||
@@ -182,7 +184,7 @@ static struct mtd_partition __initdata ek_nand_partition[] = { | |||
182 | static struct atmel_nand_data __initdata ek_nand_data = { | 184 | static struct atmel_nand_data __initdata ek_nand_data = { |
183 | .ale = 22, | 185 | .ale = 22, |
184 | .cle = 21, | 186 | .cle = 21, |
185 | // .det_pin = ... not connected | 187 | .det_pin = -EINVAL, |
186 | .rdy_pin = AT91_PIN_PC15, | 188 | .rdy_pin = AT91_PIN_PC15, |
187 | .enable_pin = AT91_PIN_PC14, | 189 | .enable_pin = AT91_PIN_PC14, |
188 | .parts = ek_nand_partition, | 190 | .parts = ek_nand_partition, |
@@ -217,7 +219,7 @@ static void __init ek_add_device_nand(void) | |||
217 | ek_nand_smc_config.mode |= AT91_SMC_DBW_8; | 219 | ek_nand_smc_config.mode |= AT91_SMC_DBW_8; |
218 | 220 | ||
219 | /* configure chip-select 3 (NAND) */ | 221 | /* configure chip-select 3 (NAND) */ |
220 | sam9_smc_configure(3, &ek_nand_smc_config); | 222 | sam9_smc_configure(0, 3, &ek_nand_smc_config); |
221 | 223 | ||
222 | at91_add_device_nand(&ek_nand_data); | 224 | at91_add_device_nand(&ek_nand_data); |
223 | } | 225 | } |
@@ -345,6 +347,9 @@ static struct spi_board_info ek_spi_devices[] = { | |||
345 | */ | 347 | */ |
346 | static struct at91_mmc_data __initdata ek_mmc_data = { | 348 | static struct at91_mmc_data __initdata ek_mmc_data = { |
347 | .wire4 = 1, | 349 | .wire4 = 1, |
350 | .det_pin = -EINVAL, | ||
351 | .wp_pin = -EINVAL, | ||
352 | .vcc_pin = -EINVAL, | ||
348 | }; | 353 | }; |
349 | 354 | ||
350 | #endif /* CONFIG_SPI_ATMEL_* */ | 355 | #endif /* CONFIG_SPI_ATMEL_* */ |