net: mediatek: add support for Airoha AN8855 ethernet switch

Airoha AN8855 is a 5-port gigabit switch with a 2.5G HSGMII CPU port

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
This commit is contained in:
Weijie Gao 2025-01-10 16:41:24 +08:00 committed by Tom Rini
parent fe106f2093
commit cedafee9ff
3 changed files with 1101 additions and 0 deletions

View File

@ -32,4 +32,8 @@ config MTK_ETH_SWITCH_MT7988
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

View File

@ -7,3 +7,4 @@ obj-y += mtk_eth.o
obj-$(CONFIG_MTK_ETH_SWITCH_MT7530) += mt753x.o mt7530.o
obj-$(CONFIG_MTK_ETH_SWITCH_MT7531) += mt753x.o mt7531.o
obj-$(CONFIG_MTK_ETH_SWITCH_MT7988) += mt753x.o mt7988.o
obj-$(CONFIG_MTK_ETH_SWITCH_AN8855) += an8855.o

1096
drivers/net/mtk_eth/an8855.c Normal file

File diff suppressed because it is too large Load Diff