diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2008-04-08 08:59:18 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-06-02 10:08:13 -0400 |
commit | ba45ca435060614e595a107ac323a36b52619d7d (patch) | |
tree | a632db8390234591c298a1221b4db2a3b79737b8 /arch/arm/mach-at91/board-sam9rlek.c | |
parent | 6b71dbf65e63c13202fb18773a5fd2d4415b6b2e (diff) |
[ARM] 4940/1: AT91: UDPHS driver: SAM9RL board and cpu integration.
Adds support for the USB High Speed Device Port on the AT91SAM9RL
system on chip. The AT91SAM9RL uses the same UDPHS IP as the AVR32 and
the AT91CAP9 (atmel_usba_udc driver).
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/board-sam9rlek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9rlek.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/board-sam9rlek.c b/arch/arm/mach-at91/board-sam9rlek.c index ffc0597aee8d..b6a70fc735c3 100644 --- a/arch/arm/mach-at91/board-sam9rlek.c +++ b/arch/arm/mach-at91/board-sam9rlek.c | |||
@@ -56,6 +56,14 @@ static void __init ek_init_irq(void) | |||
56 | 56 | ||
57 | 57 | ||
58 | /* | 58 | /* |
59 | * USB HS Device port | ||
60 | */ | ||
61 | static struct usba_platform_data __initdata ek_usba_udc_data = { | ||
62 | .vbus_pin = AT91_PIN_PA8, | ||
63 | }; | ||
64 | |||
65 | |||
66 | /* | ||
59 | * MCI (SD/MMC) | 67 | * MCI (SD/MMC) |
60 | */ | 68 | */ |
61 | static struct at91_mmc_data __initdata ek_mmc_data = { | 69 | static struct at91_mmc_data __initdata ek_mmc_data = { |
@@ -175,6 +183,8 @@ static void __init ek_board_init(void) | |||
175 | { | 183 | { |
176 | /* Serial */ | 184 | /* Serial */ |
177 | at91_add_device_serial(); | 185 | at91_add_device_serial(); |
186 | /* USB HS */ | ||
187 | at91_add_device_usba(&ek_usba_udc_data); | ||
178 | /* I2C */ | 188 | /* I2C */ |
179 | at91_add_device_i2c(NULL, 0); | 189 | at91_add_device_i2c(NULL, 0); |
180 | /* NAND */ | 190 | /* NAND */ |