Skip to content

Commit

Permalink
stmmac: dwmac-mediatek: add support for mt2712
Browse files Browse the repository at this point in the history
Add Ethernet support for MediaTek SoCs from the mt2712 family

Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Biao Huang authored and David S. Miller committed Dec 12, 2018
1 parent 3f9b7ee commit 9992f37
Show file tree
Hide file tree
Showing 3 changed files with 417 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/net/ethernet/stmicro/stmmac/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ config DWMAC_LPC18XX
---help---
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
tristate "Amlogic Meson dwmac support"
default ARCH_MESON
Expand Down
1 change: 1 addition & 0 deletions drivers/net/ethernet/stmicro/stmmac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ obj-$(CONFIG_STMMAC_PLATFORM) += stmmac-platform.o
obj-$(CONFIG_DWMAC_ANARION) += dwmac-anarion.o
obj-$(CONFIG_DWMAC_IPQ806X) += dwmac-ipq806x.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_OXNAS) += dwmac-oxnas.o
obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rk.o
Expand Down
Loading

0 comments on commit 9992f37

Please sign in to comment.