summaryrefslogtreecommitdiff
path: root/drivers/net/mtk_eth/Kconfig
blob: e8cdf4082371232ea638220b51c260bc944b1c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

config MEDIATEK_ETH
	bool "MediaTek Ethernet GMAC Driver"
	select PHYLIB
	select DM_GPIO
	select DM_RESET
	help
	  This Driver support MediaTek Ethernet GMAC
	  Say Y to enable support for the MediaTek Ethernet GMAC.

if MEDIATEK_ETH

config MTK_ETH_SGMII
	bool
	default y if ARCH_MEDIATEK && !TARGET_MT7623

config MTK_ETH_XGMII
	bool
	default y if TARGET_MT7987 || TARGET_MT7988

config MTK_ETH_SWITCH_MT7530
	bool "Support for MediaTek MT7530 ethernet switch"
	default y if TARGET_MT7623 || SOC_MT7621

config MTK_ETH_SWITCH_MT7531
	bool "Support for MediaTek MT7531 ethernet switch"
	default y if TARGET_MT7622 || TARGET_MT7629 || TARGET_MT7981 || \
		     TARGET_MT7986 || TARGET_MT7987

config MTK_ETH_SWITCH_MT7988
	bool "Support for MediaTek MT7988 built-in ethernet switch"
	depends on TARGET_MT7988
	default y

config MTK_ETH_SWITCH_AN8855
	bool "Support for Airoha AN8855 ethernet switch"
	default y if TARGET_MT7981 || TARGET_MT7987

endif # MEDIATEK_ETH