diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2012-03-05 14:08:36 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-03-05 14:08:36 -0500 |
commit | dedd5bd33900696f363b6169a41d7d585647d75f (patch) | |
tree | d4f8f152874554e442649f7cd1e2993206cc699d /arch/arm | |
parent | a8195ba87cc746bf765bd507d87a2945602c8adc (diff) |
ARM: OMAP3: cm-t3517: add EMAC support
Add support for the EMAC Ethernet controller in the AM35xx SoC.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t3517.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t3517.c b/arch/arm/mach-omap2/board-cm-t3517.c index f36d694d2159..9e66e167e4f3 100644 --- a/arch/arm/mach-omap2/board-cm-t3517.c +++ b/arch/arm/mach-omap2/board-cm-t3517.c | |||
@@ -49,6 +49,7 @@ | |||
49 | #include "mux.h" | 49 | #include "mux.h" |
50 | #include "control.h" | 50 | #include "control.h" |
51 | #include "common-board-devices.h" | 51 | #include "common-board-devices.h" |
52 | #include "am35xx-emac.h" | ||
52 | 53 | ||
53 | #if defined(CONFIG_LEDS_GPIO) || defined(CONFIG_LEDS_GPIO_MODULE) | 54 | #if defined(CONFIG_LEDS_GPIO) || defined(CONFIG_LEDS_GPIO_MODULE) |
54 | static struct gpio_led cm_t3517_leds[] = { | 55 | static struct gpio_led cm_t3517_leds[] = { |
@@ -291,6 +292,7 @@ static void __init cm_t3517_init(void) | |||
291 | cm_t3517_init_rtc(); | 292 | cm_t3517_init_rtc(); |
292 | cm_t3517_init_usbh(); | 293 | cm_t3517_init_usbh(); |
293 | cm_t3517_init_hecc(); | 294 | cm_t3517_init_hecc(); |
295 | am35xx_emac_init(AM35XX_DEFAULT_MDIO_FREQUENCY, 1); | ||
294 | } | 296 | } |
295 | 297 | ||
296 | MACHINE_START(CM_T3517, "Compulab CM-T3517") | 298 | MACHINE_START(CM_T3517, "Compulab CM-T3517") |