# SPDX-License-Identifier: GPL-2.0-only
config [31mCONFIG_STMMAC_ETH[0m
tristate "STMicroelectronics Multi-Gigabit Ethernet driver"
depends on [31mCONFIG_HAS_IOMEM[0m && [31mCONFIG_HAS_DMA[0m
select [31mCONFIG_MII[0m
select [31mCONFIG_PAGE_POOL[0m
select [31mCONFIG_PHYLINK[0m
select [31mCONFIG_CRC32[0m
imply [31mCONFIG_PTP_1588_CLOCK[0m
select [31mCONFIG_RESET_CONTROLLER[0m
---help---
This is the driver for the Ethernet IPs built around a
Synopsys IP Core.
if [31mCONFIG_STMMAC_ETH[0m
config [31mCONFIG_STMMAC_SELFTESTS[0m
bool "Support for STMMAC Selftests"
depends on [31mCONFIG_INET[0m
depends on [31mCONFIG_STMMAC_ETH[0m
default n
---help---
This adds support for STMMAC Selftests using ethtool. Enable this
feature if you are facing problems with your HW and submit the test
results to the netdev Mailing List.
config [31mCONFIG_STMMAC_PLATFORM[0m
tristate "STMMAC Platform bus support"
depends on [31mCONFIG_STMMAC_ETH[0m
select [31mCONFIG_MFD_SYSCON[0m
default y
---help---
This selects the platform specific bus support for the stmmac driver.
This is the driver used on several SoCs:
STi, Allwinner, Amlogic Meson, Altera SOCFPGA.
If you have a controller with this interface, say Y or [31mCONFIG_M[0m here.
If unsure, say N.
if [31mCONFIG_STMMAC_PLATFORM[0m
config [31mCONFIG_DWMAC_DWC_QOS_ETH[0m
tristate "Support for snps,dwc-qos-ethernet.txt DT binding."
select [31mCONFIG_CRC32[0m
select [31mCONFIG_MII[0m
depends on [31mCONFIG_OF[0m && [31mCONFIG_HAS_DMA[0m
help
Support for chips using the snps,dwc-qos-ethernet.txt DT binding.
config [31mCONFIG_DWMAC_GENERIC[0m
tristate "Generic driver for DWMAC"
default [31mCONFIG_STMMAC_PLATFORM[0m
---help---
Generic DWMAC driver for platforms that don't require any
platform specific code to function or is using platform
data for setup.
config [31mCONFIG_DWMAC_ANARION[0m
tristate "Adaptrum Anarion GMAC support"
default [31mCONFIG_ARC[0m
depends on [31mCONFIG_OF[0m && ([31mCONFIG_ARC[0m || [31mCONFIG_COMPILE_TEST[0m)
help
Support for Adaptrum Anarion GMAC Ethernet controller.
This selects the Anarion SoC glue layer support for the stmmac driver.
config [31mCONFIG_DWMAC_IPQ806X[0m
tristate "QCA IPQ806x DWMAC support"
default [31mCONFIG_ARCH_QCOM[0m
depends on [31mCONFIG_OF[0m && ([31mCONFIG_ARCH_QCOM[0m || [31mCONFIG_COMPILE_TEST[0m)
select [31mCONFIG_MFD_SYSCON[0m
help
Support for QCA IPQ806X DWMAC Ethernet.
This selects the IPQ806x SoC glue layer support for the stmmac
device driver. This driver does not use any of the hardware
acceleration features available on this SoC. Network devices
will behave like standard non-accelerated ethernet interfaces.
config [31mCONFIG_DWMAC_LPC18XX[0m
tristate "NXP LPC18xx/43xx DWMAC support"
default [31mCONFIG_ARCH_LPC18XX[0m
depends on [31mCONFIG_OF[0m && ([31mCONFIG_ARCH_LPC18XX[0m || [31mCONFIG_COMPILE_TEST[0m)
select [31mCONFIG_MFD_SYSCON[0m
---help---
Support for NXP LPC18xx/43xx DWMAC Ethernet.
config [31mCONFIG_DWMAC_MEDIATEK[0m
tristate "MediaTek MT27xx GMAC support"
depends on [31mCONFIG_OF[0m && ([31mCONFIG_ARCH_MEDIATEK[0m || [31mCONFIG_COMPILE_TEST[0m)
help
Support for MediaTek GMAC Ethernet controller.
This selects the MT2712 SoC support for the stmmac driver.
config [31mCONFIG_DWMAC_MESON[0m
tristate "Amlogic Meson dwmac support"
default [31mCONFIG_ARCH_MESON[0m
depends on [31mCONFIG_OF[0m && [31mCONFIG_COMMON_CLK[0m && ([31mCONFIG_ARCH_MESON[0m || [31mCONFIG_COMPILE_TEST[0m)
help
Support for Ethernet controller on Amlogic Meson SoCs.
This selects the Amlogic Meson SoC glue layer support for
the stmmac device driver. This driver is used for Meson6,
Meson8, Meson8b and GXBB SoCs.
config [31mCONFIG_DWMAC_OXNAS[0m
tristate "Oxford Semiconductor OXNAS dwmac support"
default [31mCONFIG_ARCH_OXNAS[0m
depends on [31mCONFIG_OF[0m && [31mCONFIG_COMMON_CLK[0m && ([31mCONFIG_ARCH_OXNAS[0m || [31mCONFIG_COMPILE_TEST[0m)
select [31mCONFIG_MFD_SYSCON[0m
help
Support for Ethernet controller on Oxford Semiconductor OXNAS SoCs.
This selects the Oxford Semiconductor OXNASSoC glue layer support for
the stmmac device driver. This driver is used for OX820.
config [31mCONFIG_DWMAC_QCOM_ETHQOS[0m
tristate "Qualcomm ETHQOS support"
default [31mCONFIG_ARCH_QCOM[0m
depends on [31mCONFIG_OF[0m && ([31mCONFIG_ARCH_QCOM[0m || [31mCONFIG_COMPILE_TEST[0m)
help
Support for the Qualcomm ETHQOS core.
This selects the Qualcomm ETHQOS glue layer support for the
stmmac device driver.
config [31mCONFIG_DWMAC_ROCKCHIP[0m
tristate "Rockchip dwmac support"
default [31mCONFIG_ARCH_ROCKCHIP[0m
depends on [31mCONFIG_OF[0m && ([31mCONFIG_ARCH_ROCKCHIP[0m || [31mCONFIG_COMPILE_TEST[0m)
select [31mCONFIG_MFD_SYSCON[0m
help
Support for Ethernet controller on Rockchip RK3288 SoC.
This selects the Rockchip RK3288 SoC glue layer support for
the stmmac device driver.
config [31mCONFIG_DWMAC_SOCFPGA[0m
tristate "SOCFPGA dwmac support"
default ([31mCONFIG_ARCH_SOCFPGA[0m || [31mCONFIG_ARCH_STRATIX10[0m)
depends on [31mCONFIG_OF[0m && ([31mCONFIG_ARCH_SOCFPGA[0m || [31mCONFIG_ARCH_STRATIX10[0m || [31mCONFIG_COMPILE_TEST[0m)
select [31mCONFIG_MFD_SYSCON[0m
help
Support for ethernet controller on Altera SOCFPGA
This selects the Altera SOCFPGA SoC glue layer support
for the stmmac device driver. This driver is used for
arria5 and cyclone5 [31mCONFIG_FPGA[0m SoCs.
config [31mCONFIG_DWMAC_STI[0m
tristate "STi GMAC support"
default [31mCONFIG_ARCH_STI[0m
depends on [31mCONFIG_OF[0m && ([31mCONFIG_ARCH_STI[0m || [31mCONFIG_COMPILE_TEST[0m)
select [31mCONFIG_MFD_SYSCON[0m
---help---
Support for ethernet controller on STi SOCs.
This selects STi SoC glue layer support for the stmmac
device driver. This driver is used on for the STi series
SOCs GMAC ethernet controller.
config [31mCONFIG_DWMAC_STM32[0m
tristate "STM32 DWMAC support"
default [31mCONFIG_ARCH_STM32[0m
depends on [31mCONFIG_OF[0m && [31mCONFIG_HAS_IOMEM[0m && ([31mCONFIG_ARCH_STM32[0m || [31mCONFIG_COMPILE_TEST[0m)
select [31mCONFIG_MFD_SYSCON[0m
---help---
Support for ethernet controller on STM32 SOCs.
This selects STM32 SoC glue layer support for the stmmac
device driver. This driver is used on for the STM32 series
SOCs GMAC ethernet controller.
config [31mCONFIG_DWMAC_SUNXI[0m
tristate "Allwinner GMAC support"
default [31mCONFIG_ARCH_SUNXI[0m
depends on [31mCONFIG_OF[0m && ([31mCONFIG_ARCH_SUNXI[0m || [31mCONFIG_COMPILE_TEST[0m)
---help---
Support for Allwinner A20/A31 GMAC ethernet controllers.
This selects Allwinner SoC glue layer support for the
stmmac device driver. This driver is used for A20/A31
GMAC ethernet controller.
config [31mCONFIG_DWMAC_SUN8I[0m
tristate "Allwinner sun8i GMAC support"
default [31mCONFIG_ARCH_SUNXI[0m
depends on [31mCONFIG_OF[0m && ([31mCONFIG_ARCH_SUNXI[0m || [31mCONFIG_COMPILE_TEST[0m)
select [31mCONFIG_MDIO_BUS_MUX[0m
---help---
Support for Allwinner H3 A83T A64 EMAC ethernet controllers.
This selects Allwinner SoC glue layer support for the
stmmac device driver. This driver is used for H3/A83T/A64
EMAC ethernet controller.
endif
config [31mCONFIG_STMMAC_PCI[0m
tristate "STMMAC PCI bus support"
depends on [31mCONFIG_STMMAC_ETH[0m && [31mCONFIG_PCI[0m
depends on [31mCONFIG_COMMON_CLK[0m
---help---
This selects the platform specific bus support for the stmmac driver.
This driver was tested on XLINX XC2V3000 FF1152AMT0221
D1215994A VIRTEX [31mCONFIG_FPGA[0m board and SNPS QoS IPK Prototyping Kit.
If you have a controller with this interface, say Y or [31mCONFIG_M[0m here.
If unsure, say N.
endif