xref: /linux/drivers/net/ethernet/mediatek/Kconfig (revision a3c62a042237d1adeb0290dcb768e17edd6dcd25)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2009fb097SJohn Crispinconfig NET_VENDOR_MEDIATEK
3d3d6974bSBartosz Golaszewski	bool "MediaTek devices"
4*a3c62a04SLorenzo Bianconi	depends on ARCH_MEDIATEK || SOC_MT7621 || SOC_MT7620 || COMPILE_TEST
5a7f7f624SMasahiro Yamada	help
6009fb097SJohn Crispin	  If you have a Mediatek SoC with ethernet, say Y.
7009fb097SJohn Crispin
8009fb097SJohn Crispinif NET_VENDOR_MEDIATEK
9009fb097SJohn Crispin
10009fb097SJohn Crispinconfig NET_MEDIATEK_SOC
112ec50f57SSean Wang	tristate "MediaTek SoC Gigabit Ethernet support"
120e389028SPablo Neira Ayuso	depends on NET_DSA || !NET_DSA
13*a3c62a04SLorenzo Bianconi	select PINCTRL
14b8fc9f30SRené van Dorst	select PHYLINK
15e9229ffdSFelix Fietkau	select DIMLIB
16a7f7f624SMasahiro Yamada	help
17009fb097SJohn Crispin	  This driver supports the gigabit ethernet MACs in the
182ec50f57SSean Wang	  MediaTek SoC family.
19009fb097SJohn Crispin
208c7bd5a4SBartosz Golaszewskiconfig NET_MEDIATEK_STAR_EMAC
218c7bd5a4SBartosz Golaszewski	tristate "MediaTek STAR Ethernet MAC support"
228c7bd5a4SBartosz Golaszewski	select PHYLIB
235403caf2SBartosz Golaszewski	select REGMAP_MMIO
248c7bd5a4SBartosz Golaszewski	help
258c7bd5a4SBartosz Golaszewski	  This driver supports the ethernet MAC IP first used on
268c7bd5a4SBartosz Golaszewski	  MediaTek MT85** SoCs.
278c7bd5a4SBartosz Golaszewski
28009fb097SJohn Crispinendif #NET_VENDOR_MEDIATEK
29