Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dedd5bd3 authored by Igor Grinberg's avatar Igor Grinberg Committed by Tony Lindgren
Browse files

ARM: OMAP3: cm-t3517: add EMAC support



Add support for the EMAC Ethernet controller in the AM35xx SoC.

Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent a8195ba8
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -49,6 +49,7 @@
#include "mux.h"
#include "mux.h"
#include "control.h"
#include "control.h"
#include "common-board-devices.h"
#include "common-board-devices.h"
#include "am35xx-emac.h"


#if defined(CONFIG_LEDS_GPIO) || defined(CONFIG_LEDS_GPIO_MODULE)
#if defined(CONFIG_LEDS_GPIO) || defined(CONFIG_LEDS_GPIO_MODULE)
static struct gpio_led cm_t3517_leds[] = {
static struct gpio_led cm_t3517_leds[] = {
@@ -291,6 +292,7 @@ static void __init cm_t3517_init(void)
	cm_t3517_init_rtc();
	cm_t3517_init_rtc();
	cm_t3517_init_usbh();
	cm_t3517_init_usbh();
	cm_t3517_init_hecc();
	cm_t3517_init_hecc();
	am35xx_emac_init(AM35XX_DEFAULT_MDIO_FREQUENCY, 1);
}
}


MACHINE_START(CM_T3517, "Compulab CM-T3517")
MACHINE_START(CM_T3517, "Compulab CM-T3517")