diff options
Diffstat (limited to 'arch/arm/mach-at91/board-qil-a9260.c')
-rw-r--r-- | arch/arm/mach-at91/board-qil-a9260.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/arch/arm/mach-at91/board-qil-a9260.c b/arch/arm/mach-at91/board-qil-a9260.c index 07421bdb88ea..e029d220cb84 100644 --- a/arch/arm/mach-at91/board-qil-a9260.c +++ b/arch/arm/mach-at91/board-qil-a9260.c | |||
@@ -77,6 +77,8 @@ static void __init ek_init_early(void) | |||
77 | */ | 77 | */ |
78 | static struct at91_usbh_data __initdata ek_usbh_data = { | 78 | static struct at91_usbh_data __initdata ek_usbh_data = { |
79 | .ports = 2, | 79 | .ports = 2, |
80 | .vbus_pin = {-EINVAL, -EINVAL}, | ||
81 | .overcurrent_pin= {-EINVAL, -EINVAL}, | ||
80 | }; | 82 | }; |
81 | 83 | ||
82 | /* | 84 | /* |
@@ -84,7 +86,7 @@ static struct at91_usbh_data __initdata ek_usbh_data = { | |||
84 | */ | 86 | */ |
85 | static struct at91_udc_data __initdata ek_udc_data = { | 87 | static struct at91_udc_data __initdata ek_udc_data = { |
86 | .vbus_pin = AT91_PIN_PC5, | 88 | .vbus_pin = AT91_PIN_PC5, |
87 | .pullup_pin = 0, /* pull-up driven by UDC */ | 89 | .pullup_pin = -EINVAL, /* pull-up driven by UDC */ |
88 | }; | 90 | }; |
89 | 91 | ||
90 | /* | 92 | /* |
@@ -104,7 +106,7 @@ static struct spi_board_info ek_spi_devices[] = { | |||
104 | /* | 106 | /* |
105 | * MACB Ethernet device | 107 | * MACB Ethernet device |
106 | */ | 108 | */ |
107 | static struct at91_eth_data __initdata ek_macb_data = { | 109 | static struct macb_platform_data __initdata ek_macb_data = { |
108 | .phy_irq_pin = AT91_PIN_PA31, | 110 | .phy_irq_pin = AT91_PIN_PA31, |
109 | .is_rmii = 1, | 111 | .is_rmii = 1, |
110 | }; | 112 | }; |
@@ -133,7 +135,7 @@ static struct mtd_partition __initdata ek_nand_partition[] = { | |||
133 | static struct atmel_nand_data __initdata ek_nand_data = { | 135 | static struct atmel_nand_data __initdata ek_nand_data = { |
134 | .ale = 21, | 136 | .ale = 21, |
135 | .cle = 22, | 137 | .cle = 22, |
136 | // .det_pin = ... not connected | 138 | .det_pin = -EINVAL, |
137 | .rdy_pin = AT91_PIN_PC13, | 139 | .rdy_pin = AT91_PIN_PC13, |
138 | .enable_pin = AT91_PIN_PC14, | 140 | .enable_pin = AT91_PIN_PC14, |
139 | .parts = ek_nand_partition, | 141 | .parts = ek_nand_partition, |
@@ -161,7 +163,7 @@ static struct sam9_smc_config __initdata ek_nand_smc_config = { | |||
161 | static void __init ek_add_device_nand(void) | 163 | static void __init ek_add_device_nand(void) |
162 | { | 164 | { |
163 | /* configure chip-select 3 (NAND) */ | 165 | /* configure chip-select 3 (NAND) */ |
164 | sam9_smc_configure(3, &ek_nand_smc_config); | 166 | sam9_smc_configure(0, 3, &ek_nand_smc_config); |
165 | 167 | ||
166 | at91_add_device_nand(&ek_nand_data); | 168 | at91_add_device_nand(&ek_nand_data); |
167 | } | 169 | } |
@@ -172,9 +174,9 @@ static void __init ek_add_device_nand(void) | |||
172 | static struct at91_mmc_data __initdata ek_mmc_data = { | 174 | static struct at91_mmc_data __initdata ek_mmc_data = { |
173 | .slot_b = 0, | 175 | .slot_b = 0, |
174 | .wire4 = 1, | 176 | .wire4 = 1, |
175 | // .det_pin = ... not connected | 177 | .det_pin = -EINVAL, |
176 | // .wp_pin = ... not connected | 178 | .wp_pin = -EINVAL, |
177 | // .vcc_pin = ... not connected | 179 | .vcc_pin = -EINVAL, |
178 | }; | 180 | }; |
179 | 181 | ||
180 | /* | 182 | /* |
@@ -251,7 +253,7 @@ static void __init ek_board_init(void) | |||
251 | /* LEDs */ | 253 | /* LEDs */ |
252 | at91_gpio_leds(ek_leds, ARRAY_SIZE(ek_leds)); | 254 | at91_gpio_leds(ek_leds, ARRAY_SIZE(ek_leds)); |
253 | /* shutdown controller, wakeup button (5 msec low) */ | 255 | /* shutdown controller, wakeup button (5 msec low) */ |
254 | at91_sys_write(AT91_SHDW_MR, AT91_SHDW_CPTWK0_(10) | AT91_SHDW_WKMODE0_LOW | 256 | at91_shdwc_write(AT91_SHDW_MR, AT91_SHDW_CPTWK0_(10) | AT91_SHDW_WKMODE0_LOW |
255 | | AT91_SHDW_RTTWKEN); | 257 | | AT91_SHDW_RTTWKEN); |
256 | } | 258 | } |
257 | 259 | ||