xref: /linux/drivers/net/ethernet/mediatek/Kconfig (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2009fb097SJohn Crispinconfig NET_VENDOR_MEDIATEK
3d3d6974bSBartosz Golaszewski	bool "MediaTek devices"
4*23020f04SLorenzo Bianconi	depends on ARCH_MEDIATEK || ARCH_AIROHA || 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
10*23020f04SLorenzo Bianconiconfig NET_AIROHA
11*23020f04SLorenzo Bianconi	tristate "Airoha SoC Gigabit Ethernet support"
12*23020f04SLorenzo Bianconi	depends on NET_DSA || !NET_DSA
13*23020f04SLorenzo Bianconi	select PAGE_POOL
14*23020f04SLorenzo Bianconi	help
15*23020f04SLorenzo Bianconi	  This driver supports the gigabit ethernet MACs in the
16*23020f04SLorenzo Bianconi	  Airoha SoC family.
17*23020f04SLorenzo Bianconi
18804775dfSFelix Fietkauconfig NET_MEDIATEK_SOC_WED
19804775dfSFelix Fietkau	depends on ARCH_MEDIATEK || COMPILE_TEST
20804775dfSFelix Fietkau	def_bool NET_MEDIATEK_SOC != n
21804775dfSFelix Fietkau
22009fb097SJohn Crispinconfig NET_MEDIATEK_SOC
232ec50f57SSean Wang	tristate "MediaTek SoC Gigabit Ethernet support"
240e389028SPablo Neira Ayuso	depends on NET_DSA || !NET_DSA
25a3c62a04SLorenzo Bianconi	select PINCTRL
26b8fc9f30SRené van Dorst	select PHYLINK
27e9229ffdSFelix Fietkau	select DIMLIB
2823233e57SLorenzo Bianconi	select PAGE_POOL
2984b9cd38SLorenzo Bianconi	select PAGE_POOL_STATS
302a3ec7aeSDaniel Golle	select PCS_MTK_LYNXI
312a3ec7aeSDaniel Golle	select REGMAP_MMIO
32a7f7f624SMasahiro Yamada	help
33009fb097SJohn Crispin	  This driver supports the gigabit ethernet MACs in the
342ec50f57SSean Wang	  MediaTek SoC family.
35009fb097SJohn Crispin
368c7bd5a4SBartosz Golaszewskiconfig NET_MEDIATEK_STAR_EMAC
378c7bd5a4SBartosz Golaszewski	tristate "MediaTek STAR Ethernet MAC support"
388c7bd5a4SBartosz Golaszewski	select PHYLIB
395403caf2SBartosz Golaszewski	select REGMAP_MMIO
408c7bd5a4SBartosz Golaszewski	help
418c7bd5a4SBartosz Golaszewski	  This driver supports the ethernet MAC IP first used on
428c7bd5a4SBartosz Golaszewski	  MediaTek MT85** SoCs.
438c7bd5a4SBartosz Golaszewski
44009fb097SJohn Crispinendif #NET_VENDOR_MEDIATEK
45