17ac6653aSJeff Kirsherconfig STMMAC_ETH
2ab70e586Sjpinto	tristate "STMicroelectronics 10/100/1000/EQOS Ethernet driver"
3fd1eb9e6SGeert Uytterhoeven	depends on HAS_IOMEM && HAS_DMA
47ac6653aSJeff Kirsher	select MII
57ac6653aSJeff Kirsher	select PHYLIB
67ac6653aSJeff Kirsher	select CRC32
7d1cbfd77SNicolas Pitre	imply PTP_1588_CLOCK
8c5e4ddbdSChen-Yu Tsai	select RESET_CONTROLLER
97ac6653aSJeff Kirsher	---help---
10ab70e586Sjpinto	  This is the driver for the Ethernet IPs built around a
11ab70e586Sjpinto	  Synopsys IP Core.
127ac6653aSJeff Kirsher
137ac6653aSJeff Kirsherif STMMAC_ETH
147ac6653aSJeff Kirsher
15bfab27a1SGiuseppe CAVALLAROconfig STMMAC_PLATFORM
16b2e2f0c7SAndy Shevchenko	tristate "STMMAC Platform bus support"
17bfab27a1SGiuseppe CAVALLARO	depends on STMMAC_ETH
18b1c17215SMathieu Olivari	select MFD_SYSCON
1933d5e332SGiuseppe CAVALLARO	default y
20bfab27a1SGiuseppe CAVALLARO	---help---
21c0d54066SGiuseppe CAVALLARO	  This selects the platform specific bus support for the stmmac driver.
22c0d54066SGiuseppe CAVALLARO	  This is the driver used on several SoCs:
23c0d54066SGiuseppe CAVALLARO	  STi, Allwinner, Amlogic Meson, Altera SOCFPGA.
24c0d54066SGiuseppe CAVALLARO
25bfab27a1SGiuseppe CAVALLARO	  If you have a controller with this interface, say Y or M here.
26bfab27a1SGiuseppe CAVALLARO
27bfab27a1SGiuseppe CAVALLARO	  If unsure, say N.
28bfab27a1SGiuseppe CAVALLARO
29ba25020eSJoachim Eastwoodif STMMAC_PLATFORM
30ba25020eSJoachim Eastwood
31d8256121Sjpintoconfig DWMAC_DWC_QOS_ETH
32d8256121Sjpinto	tristate "Support for snps,dwc-qos-ethernet.txt DT binding."
33d8256121Sjpinto	select PHYLIB
34d8256121Sjpinto	select CRC32
35d8256121Sjpinto	select MII
36f7b9e8e1SGeert Uytterhoeven	depends on OF && HAS_DMA
37d8256121Sjpinto	help
38d8256121Sjpinto	  Support for chips using the snps,dwc-qos-ethernet.txt DT binding.
39d8256121Sjpinto
40ba25020eSJoachim Eastwoodconfig DWMAC_GENERIC
41ba25020eSJoachim Eastwood	tristate "Generic driver for DWMAC"
42ba25020eSJoachim Eastwood	default STMMAC_PLATFORM
43ba25020eSJoachim Eastwood	---help---
44ba25020eSJoachim Eastwood	  Generic DWMAC driver for platforms that don't require any
45ba25020eSJoachim Eastwood	  platform specific code to function or is using platform
46ba25020eSJoachim Eastwood	  data for setup.
47ba25020eSJoachim Eastwood
482d1611afSAlexandru Gagniucconfig DWMAC_ANARION
492d1611afSAlexandru Gagniuc	tristate "Adaptrum Anarion GMAC support"
502d1611afSAlexandru Gagniuc	default ARC
512d1611afSAlexandru Gagniuc	depends on OF && (ARC || COMPILE_TEST)
522d1611afSAlexandru Gagniuc	help
532d1611afSAlexandru Gagniuc	  Support for Adaptrum Anarion GMAC Ethernet controller.
542d1611afSAlexandru Gagniuc
552d1611afSAlexandru Gagniuc	  This selects the Anarion SoC glue layer support for the stmmac driver.
562d1611afSAlexandru Gagniuc
57b1c17215SMathieu Olivariconfig DWMAC_IPQ806X
58b1c17215SMathieu Olivari	tristate "QCA IPQ806x DWMAC support"
59b1c17215SMathieu Olivari	default ARCH_QCOM
60f7b9e8e1SGeert Uytterhoeven	depends on OF && (ARCH_QCOM || COMPILE_TEST)
61b1c17215SMathieu Olivari	select MFD_SYSCON
62b1c17215SMathieu Olivari	help
63b1c17215SMathieu Olivari	  Support for QCA IPQ806X DWMAC Ethernet.
64b1c17215SMathieu Olivari
65b1c17215SMathieu Olivari	  This selects the IPQ806x SoC glue layer support for the stmmac
66b1c17215SMathieu Olivari	  device driver. This driver does not use any of the hardware
67b1c17215SMathieu Olivari	  acceleration features available on this SoC. Network devices
68b1c17215SMathieu Olivari	  will behave like standard non-accelerated ethernet interfaces.
69b1c17215SMathieu Olivari
7069bdd2d4SJoachim Eastwoodconfig DWMAC_LPC18XX
7169bdd2d4SJoachim Eastwood	tristate "NXP LPC18xx/43xx DWMAC support"
7269bdd2d4SJoachim Eastwood	default ARCH_LPC18XX
732e280c18SPeter Robinson	depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
7469bdd2d4SJoachim Eastwood	select MFD_SYSCON
7569bdd2d4SJoachim Eastwood	---help---
7669bdd2d4SJoachim Eastwood	  Support for NXP LPC18xx/43xx DWMAC Ethernet.
7769bdd2d4SJoachim Eastwood
789992f37eSBiao Huangconfig DWMAC_MEDIATEK
799992f37eSBiao Huang	tristate "MediaTek MT27xx GMAC support"
809992f37eSBiao Huang	depends on OF && (ARCH_MEDIATEK || COMPILE_TEST)
819992f37eSBiao Huang	help
829992f37eSBiao Huang	  Support for MediaTek GMAC Ethernet controller.
839992f37eSBiao Huang
849992f37eSBiao Huang	  This selects the MT2712 SoC support for the stmmac driver.
859992f37eSBiao Huang
8640e6b0baSJoachim Eastwoodconfig DWMAC_MESON
8740e6b0baSJoachim Eastwood	tristate "Amlogic Meson dwmac support"
8840e6b0baSJoachim Eastwood	default ARCH_MESON
89566e8251SMartin Blumenstingl	depends on OF && COMMON_CLK && (ARCH_MESON || COMPILE_TEST)
9040e6b0baSJoachim Eastwood	help
9140e6b0baSJoachim Eastwood	  Support for Ethernet controller on Amlogic Meson SoCs.
9240e6b0baSJoachim Eastwood
9340e6b0baSJoachim Eastwood	  This selects the Amlogic Meson SoC glue layer support for
94566e8251SMartin Blumenstingl	  the stmmac device driver. This driver is used for Meson6,
95566e8251SMartin Blumenstingl	  Meson8, Meson8b and GXBB SoCs.
9640e6b0baSJoachim Eastwood
975ed74140SNeil Armstrongconfig DWMAC_OXNAS
985ed74140SNeil Armstrong	tristate "Oxford Semiconductor OXNAS dwmac support"
995ed74140SNeil Armstrong	default ARCH_OXNAS
1005ed74140SNeil Armstrong	depends on OF && COMMON_CLK && (ARCH_OXNAS || COMPILE_TEST)
1015ed74140SNeil Armstrong	select MFD_SYSCON
1025ed74140SNeil Armstrong	help
1035ed74140SNeil Armstrong	  Support for Ethernet controller on Oxford Semiconductor OXNAS SoCs.
1045ed74140SNeil Armstrong
1055ed74140SNeil Armstrong	  This selects the Oxford Semiconductor OXNASSoC glue layer support for
1065ed74140SNeil Armstrong	  the stmmac device driver. This driver is used for OX820.
1075ed74140SNeil Armstrong
108a7c30e62SVinod Koulconfig DWMAC_QCOM_ETHQOS
109a7c30e62SVinod Koul	tristate "Qualcomm ETHQOS support"
110a7c30e62SVinod Koul	default ARCH_QCOM
111a7c30e62SVinod Koul	depends on OF && (ARCH_QCOM || COMPILE_TEST)
112a7c30e62SVinod Koul	help
113a7c30e62SVinod Koul	  Support for the Qualcomm ETHQOS core.
114a7c30e62SVinod Koul
115a7c30e62SVinod Koul	  This selects the Qualcomm ETHQOS glue layer support for the
116a7c30e62SVinod Koul	  stmmac device driver.
117a7c30e62SVinod Koul
118e0fb4013SJoachim Eastwoodconfig DWMAC_ROCKCHIP
119e0fb4013SJoachim Eastwood	tristate "Rockchip dwmac support"
120e0fb4013SJoachim Eastwood	default ARCH_ROCKCHIP
121f7b9e8e1SGeert Uytterhoeven	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
122e0fb4013SJoachim Eastwood	select MFD_SYSCON
123e0fb4013SJoachim Eastwood	help
124e0fb4013SJoachim Eastwood	  Support for Ethernet controller on Rockchip RK3288 SoC.
125e0fb4013SJoachim Eastwood
126e0fb4013SJoachim Eastwood	  This selects the Rockchip RK3288 SoC glue layer support for
127e0fb4013SJoachim Eastwood	  the stmmac device driver.
128e0fb4013SJoachim Eastwood
129c7c52ae7SJoachim Eastwoodconfig DWMAC_SOCFPGA
130c7c52ae7SJoachim Eastwood	tristate "SOCFPGA dwmac support"
131c305660bSDinh Nguyen	default (ARCH_SOCFPGA || ARCH_STRATIX10)
132bc8a2d9bSDinh Nguyen	depends on OF && (ARCH_SOCFPGA || ARCH_STRATIX10 || COMPILE_TEST)
133c7c52ae7SJoachim Eastwood	select MFD_SYSCON
134c7c52ae7SJoachim Eastwood	help
135c7c52ae7SJoachim Eastwood	  Support for ethernet controller on Altera SOCFPGA
136c7c52ae7SJoachim Eastwood
137c7c52ae7SJoachim Eastwood	  This selects the Altera SOCFPGA SoC glue layer support
138c7c52ae7SJoachim Eastwood	  for the stmmac device driver. This driver is used for
139c7c52ae7SJoachim Eastwood	  arria5 and cyclone5 FPGA SoCs.
140c7c52ae7SJoachim Eastwood
1412a321798SJoachim Eastwoodconfig DWMAC_STI
1422a321798SJoachim Eastwood	tristate "STi GMAC support"
1432a321798SJoachim Eastwood	default ARCH_STI
144f7b9e8e1SGeert Uytterhoeven	depends on OF && (ARCH_STI || COMPILE_TEST)
1452a321798SJoachim Eastwood	select MFD_SYSCON
1462a321798SJoachim Eastwood	---help---
1472a321798SJoachim Eastwood	  Support for ethernet controller on STi SOCs.
1482a321798SJoachim Eastwood
1492a321798SJoachim Eastwood	  This selects STi SoC glue layer support for the stmmac
1502a321798SJoachim Eastwood	  device driver. This driver is used on for the STi series
1512a321798SJoachim Eastwood	  SOCs GMAC ethernet controller.
1522a321798SJoachim Eastwood
153c6eec6f3SAlexandre TORGUEconfig DWMAC_STM32
154c6eec6f3SAlexandre TORGUE	tristate "STM32 DWMAC support"
155c6eec6f3SAlexandre TORGUE	default ARCH_STM32
1566bc5445cSPeter Robinson	depends on OF && HAS_IOMEM && (ARCH_STM32 || COMPILE_TEST)
157c6eec6f3SAlexandre TORGUE	select MFD_SYSCON
158c6eec6f3SAlexandre TORGUE	---help---
159c6eec6f3SAlexandre TORGUE	  Support for ethernet controller on STM32 SOCs.
160c6eec6f3SAlexandre TORGUE
161c6eec6f3SAlexandre TORGUE	  This selects STM32 SoC glue layer support for the stmmac
162c6eec6f3SAlexandre TORGUE	  device driver. This driver is used on for the STM32 series
163c6eec6f3SAlexandre TORGUE	  SOCs GMAC ethernet controller.
164c6eec6f3SAlexandre TORGUE
1654198b7dbSJoachim Eastwoodconfig DWMAC_SUNXI
1664198b7dbSJoachim Eastwood	tristate "Allwinner GMAC support"
1674198b7dbSJoachim Eastwood	default ARCH_SUNXI
168f7b9e8e1SGeert Uytterhoeven	depends on OF && (ARCH_SUNXI || COMPILE_TEST)
1694198b7dbSJoachim Eastwood	---help---
1704198b7dbSJoachim Eastwood	  Support for Allwinner A20/A31 GMAC ethernet controllers.
1714198b7dbSJoachim Eastwood
1724198b7dbSJoachim Eastwood	  This selects Allwinner SoC glue layer support for the
1734198b7dbSJoachim Eastwood	  stmmac device driver. This driver is used for A20/A31
1744198b7dbSJoachim Eastwood	  GMAC ethernet controller.
1759f93ac8dSLABBE Corentin
1769f93ac8dSLABBE Corentinconfig DWMAC_SUN8I
1779f93ac8dSLABBE Corentin	tristate "Allwinner sun8i GMAC support"
1789f93ac8dSLABBE Corentin	default ARCH_SUNXI
1799f93ac8dSLABBE Corentin	depends on OF && (ARCH_SUNXI || COMPILE_TEST)
180634db83bSCorentin Labbe	select MDIO_BUS_MUX
1819f93ac8dSLABBE Corentin	---help---
1829f93ac8dSLABBE Corentin	  Support for Allwinner H3 A83T A64 EMAC ethernet controllers.
1839f93ac8dSLABBE Corentin
1849f93ac8dSLABBE Corentin	  This selects Allwinner SoC glue layer support for the
1859f93ac8dSLABBE Corentin	  stmmac device driver. This driver is used for H3/A83T/A64
1869f93ac8dSLABBE Corentin	  EMAC ethernet controller.
187ba25020eSJoachim Eastwoodendif
188ba25020eSJoachim Eastwood
189bfab27a1SGiuseppe CAVALLAROconfig STMMAC_PCI
190b2e2f0c7SAndy Shevchenko	tristate "STMMAC PCI bus support"
1916e1215adSKees Cook	depends on STMMAC_ETH && PCI
192bfab27a1SGiuseppe CAVALLARO	---help---
193ab70e586Sjpinto	  This selects the platform specific bus support for the stmmac driver.
194ab70e586Sjpinto	  This driver was tested on XLINX XC2V3000 FF1152AMT0221
195ab70e586Sjpinto	  D1215994A VIRTEX FPGA board and SNPS QoS IPK Prototyping Kit.
196bfab27a1SGiuseppe CAVALLARO
197ab70e586Sjpinto	  If you have a controller with this interface, say Y or M here.
198bfab27a1SGiuseppe CAVALLARO
199bfab27a1SGiuseppe CAVALLARO	  If unsure, say N.
2007ac6653aSJeff Kirsherendif
201