Commit 9992f37e authored by Biao Huang's avatar Biao Huang Committed by David S. Miller

stmmac: dwmac-mediatek: add support for mt2712

Add Ethernet support for MediaTek SoCs from the mt2712 family
Signed-off-by: default avatarBiao Huang <biao.huang@mediatek.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3f9b7eee
...@@ -75,6 +75,14 @@ config DWMAC_LPC18XX ...@@ -75,6 +75,14 @@ config DWMAC_LPC18XX
---help--- ---help---
Support for NXP LPC18xx/43xx DWMAC Ethernet. Support for NXP LPC18xx/43xx DWMAC Ethernet.
config DWMAC_MEDIATEK
tristate "MediaTek MT27xx GMAC support"
depends on OF && (ARCH_MEDIATEK || COMPILE_TEST)
help
Support for MediaTek GMAC Ethernet controller.
This selects the MT2712 SoC support for the stmmac driver.
config DWMAC_MESON config DWMAC_MESON
tristate "Amlogic Meson dwmac support" tristate "Amlogic Meson dwmac support"
default ARCH_MESON default ARCH_MESON
......
...@@ -13,6 +13,7 @@ obj-$(CONFIG_STMMAC_PLATFORM) += stmmac-platform.o ...@@ -13,6 +13,7 @@ obj-$(CONFIG_STMMAC_PLATFORM) += stmmac-platform.o
obj-$(CONFIG_DWMAC_ANARION) += dwmac-anarion.o obj-$(CONFIG_DWMAC_ANARION) += dwmac-anarion.o
obj-$(CONFIG_DWMAC_IPQ806X) += dwmac-ipq806x.o obj-$(CONFIG_DWMAC_IPQ806X) += dwmac-ipq806x.o
obj-$(CONFIG_DWMAC_LPC18XX) += dwmac-lpc18xx.o obj-$(CONFIG_DWMAC_LPC18XX) += dwmac-lpc18xx.o
obj-$(CONFIG_DWMAC_MEDIATEK) += dwmac-mediatek.o
obj-$(CONFIG_DWMAC_MESON) += dwmac-meson.o dwmac-meson8b.o obj-$(CONFIG_DWMAC_MESON) += dwmac-meson.o dwmac-meson8b.o
obj-$(CONFIG_DWMAC_OXNAS) += dwmac-oxnas.o obj-$(CONFIG_DWMAC_OXNAS) += dwmac-oxnas.o
obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rk.o obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rk.o
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment