From c895ef465059c399fdfd3f581848c67017226741 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Fri, 26 Oct 2018 14:53:27 +0200 Subject: net: Add MT7628 ethernet driver This patch adds ethernet support for the MIPS based Mediatek MT76xx SoCs (e.g. MT7628 and MT7688), including a minimum setup of the integrated switch. This driver is loosly based on the driver version included in this MediaTek github repository: https://github.com/MediaTek-Labs/linkit-smart-uboot.git Tested on the MT7688 LinkIt smart-gateway and on the Gardena-smart-gateway. Signed-off-by: Stefan Roese Reviewed-by: Daniel Schwierzeck Cc: Joe Hershberger Cc: Frank Wunderlich Cc: Weijie Gao Acked-by: Joe Hershberger --- drivers/net/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/net/Kconfig') diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 39687431fb..3ce46c8490 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -227,6 +227,13 @@ config MACB_ZYNQ The Cadence MACB ethernet interface was used on Zynq platform. Say Y to enable support for the MACB/GEM in Zynq chip. +config MT7628_ETH + bool "MediaTek MT7628 Ethernet Interface" + depends on ARCH_MT7620 + help + The MediaTek MT7628 ethernet interface is used on MT7628 and + MT7688 based boards. + config PCH_GBE bool "Intel Platform Controller Hub EG20T GMAC driver" depends on DM_ETH && DM_PCI -- cgit v1.2.3