aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/boards
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-06-14 11:37:31 -0400
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-10-11 05:40:27 -0400
commit6fcf0615117dcfa126083f2163c4dcea3098bbe3 (patch)
tree191a1e9968f8cefea53b1e18fd0e5e586cbaa07d /arch/avr32/boards
parent7808fa4853728a776d7e76d68fb406f515a4119c (diff)
[AVR32] Wire up USBA device
Implement at32_add_device_usba() and use it to wire up the USBA device on ATSTK1000 and ATNGW100. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/boards')
-rw-r--r--arch/avr32/boards/atngw100/setup.c1
-rw-r--r--arch/avr32/boards/atstk1000/atstk1002.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/avr32/boards/atngw100/setup.c b/arch/avr32/boards/atngw100/setup.c
index ef801563bbf5..6e180f435253 100644
--- a/arch/avr32/boards/atngw100/setup.c
+++ b/arch/avr32/boards/atngw100/setup.c
@@ -154,6 +154,7 @@ static int __init atngw100_init(void)
154 set_hw_addr(at32_add_device_eth(1, &eth_data[1])); 154 set_hw_addr(at32_add_device_eth(1, &eth_data[1]));
155 155
156 at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info)); 156 at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info));
157 at32_add_device_usba(0, NULL);
157 158
158 for (i = 0; i < ARRAY_SIZE(ngw_leds); i++) { 159 for (i = 0; i < ARRAY_SIZE(ngw_leds); i++) {
159 at32_select_gpio(ngw_leds[i].gpio, 160 at32_select_gpio(ngw_leds[i].gpio,
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c b/arch/avr32/boards/atstk1000/atstk1002.c
index c9981b731efa..6b9e466104ad 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -241,6 +241,7 @@ static int __init atstk1002_init(void)
241 at32_add_device_lcdc(0, &atstk1000_lcdc_data, 241 at32_add_device_lcdc(0, &atstk1000_lcdc_data,
242 fbmem_start, fbmem_size); 242 fbmem_start, fbmem_size);
243#endif 243#endif
244 at32_add_device_usba(0, NULL);
244#ifndef CONFIG_BOARD_ATSTK1002_SW3_CUSTOM 245#ifndef CONFIG_BOARD_ATSTK1002_SW3_CUSTOM
245 at32_add_device_ssc(0, ATMEL_SSC_TX); 246 at32_add_device_ssc(0, ATMEL_SSC_TX);
246#endif 247#endif