17ac6653aSJeff Kirsherconfig STMMAC_ETH 27ac6653aSJeff Kirsher tristate "STMicroelectronics 10/100/1000 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--- 107ac6653aSJeff Kirsher This is the driver for the Ethernet IPs are built around a 117ac6653aSJeff Kirsher Synopsys IP Core and only tested on the STMicroelectronics 127ac6653aSJeff Kirsher platforms. 137ac6653aSJeff Kirsher 147ac6653aSJeff Kirsherif STMMAC_ETH 157ac6653aSJeff Kirsher 16bfab27a1SGiuseppe CAVALLAROconfig STMMAC_PLATFORM 17b2e2f0c7SAndy Shevchenko tristate "STMMAC Platform bus support" 18bfab27a1SGiuseppe CAVALLARO depends on STMMAC_ETH 19b1c17215SMathieu Olivari select MFD_SYSCON 2033d5e332SGiuseppe CAVALLARO default y 21bfab27a1SGiuseppe CAVALLARO ---help--- 22c0d54066SGiuseppe CAVALLARO This selects the platform specific bus support for the stmmac driver. 23c0d54066SGiuseppe CAVALLARO This is the driver used on several SoCs: 24c0d54066SGiuseppe CAVALLARO STi, Allwinner, Amlogic Meson, Altera SOCFPGA. 25c0d54066SGiuseppe CAVALLARO 26bfab27a1SGiuseppe CAVALLARO If you have a controller with this interface, say Y or M here. 27bfab27a1SGiuseppe CAVALLARO 28bfab27a1SGiuseppe CAVALLARO If unsure, say N. 29bfab27a1SGiuseppe CAVALLARO 30ba25020eSJoachim Eastwoodif STMMAC_PLATFORM 31ba25020eSJoachim Eastwood 32d8256121Sjpintoconfig DWMAC_DWC_QOS_ETH 33d8256121Sjpinto tristate "Support for snps,dwc-qos-ethernet.txt DT binding." 34d8256121Sjpinto select PHYLIB 35d8256121Sjpinto select CRC32 36d8256121Sjpinto select MII 37d8256121Sjpinto depends on OF && HAS_DMA 38d8256121Sjpinto help 39d8256121Sjpinto Support for chips using the snps,dwc-qos-ethernet.txt DT binding. 40d8256121Sjpinto 41ba25020eSJoachim Eastwoodconfig DWMAC_GENERIC 42ba25020eSJoachim Eastwood tristate "Generic driver for DWMAC" 43ba25020eSJoachim Eastwood default STMMAC_PLATFORM 44ba25020eSJoachim Eastwood ---help--- 45ba25020eSJoachim Eastwood Generic DWMAC driver for platforms that don't require any 46ba25020eSJoachim Eastwood platform specific code to function or is using platform 47ba25020eSJoachim Eastwood data for setup. 48ba25020eSJoachim Eastwood 49b1c17215SMathieu Olivariconfig DWMAC_IPQ806X 50b1c17215SMathieu Olivari tristate "QCA IPQ806x DWMAC support" 51b1c17215SMathieu Olivari default ARCH_QCOM 522e280c18SPeter Robinson depends on OF && (ARCH_QCOM || COMPILE_TEST) 53b1c17215SMathieu Olivari select MFD_SYSCON 54b1c17215SMathieu Olivari help 55b1c17215SMathieu Olivari Support for QCA IPQ806X DWMAC Ethernet. 56b1c17215SMathieu Olivari 57b1c17215SMathieu Olivari This selects the IPQ806x SoC glue layer support for the stmmac 58b1c17215SMathieu Olivari device driver. This driver does not use any of the hardware 59b1c17215SMathieu Olivari acceleration features available on this SoC. Network devices 60b1c17215SMathieu Olivari will behave like standard non-accelerated ethernet interfaces. 61b1c17215SMathieu Olivari 6269bdd2d4SJoachim Eastwoodconfig DWMAC_LPC18XX 6369bdd2d4SJoachim Eastwood tristate "NXP LPC18xx/43xx DWMAC support" 6469bdd2d4SJoachim Eastwood default ARCH_LPC18XX 652e280c18SPeter Robinson depends on OF && (ARCH_LPC18XX || COMPILE_TEST) 6669bdd2d4SJoachim Eastwood select MFD_SYSCON 6769bdd2d4SJoachim Eastwood ---help--- 6869bdd2d4SJoachim Eastwood Support for NXP LPC18xx/43xx DWMAC Ethernet. 6969bdd2d4SJoachim Eastwood 7040e6b0baSJoachim Eastwoodconfig DWMAC_MESON 7140e6b0baSJoachim Eastwood tristate "Amlogic Meson dwmac support" 7240e6b0baSJoachim Eastwood default ARCH_MESON 73566e8251SMartin Blumenstingl depends on OF && COMMON_CLK && (ARCH_MESON || COMPILE_TEST) 7440e6b0baSJoachim Eastwood help 7540e6b0baSJoachim Eastwood Support for Ethernet controller on Amlogic Meson SoCs. 7640e6b0baSJoachim Eastwood 7740e6b0baSJoachim Eastwood This selects the Amlogic Meson SoC glue layer support for 78566e8251SMartin Blumenstingl the stmmac device driver. This driver is used for Meson6, 79566e8251SMartin Blumenstingl Meson8, Meson8b and GXBB SoCs. 8040e6b0baSJoachim Eastwood 815ed74140SNeil Armstrongconfig DWMAC_OXNAS 825ed74140SNeil Armstrong tristate "Oxford Semiconductor OXNAS dwmac support" 835ed74140SNeil Armstrong default ARCH_OXNAS 845ed74140SNeil Armstrong depends on OF && COMMON_CLK && (ARCH_OXNAS || COMPILE_TEST) 855ed74140SNeil Armstrong select MFD_SYSCON 865ed74140SNeil Armstrong help 875ed74140SNeil Armstrong Support for Ethernet controller on Oxford Semiconductor OXNAS SoCs. 885ed74140SNeil Armstrong 895ed74140SNeil Armstrong This selects the Oxford Semiconductor OXNASSoC glue layer support for 905ed74140SNeil Armstrong the stmmac device driver. This driver is used for OX820. 915ed74140SNeil Armstrong 92e0fb4013SJoachim Eastwoodconfig DWMAC_ROCKCHIP 93e0fb4013SJoachim Eastwood tristate "Rockchip dwmac support" 94e0fb4013SJoachim Eastwood default ARCH_ROCKCHIP 952e280c18SPeter Robinson depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST) 96e0fb4013SJoachim Eastwood select MFD_SYSCON 97e0fb4013SJoachim Eastwood help 98e0fb4013SJoachim Eastwood Support for Ethernet controller on Rockchip RK3288 SoC. 99e0fb4013SJoachim Eastwood 100e0fb4013SJoachim Eastwood This selects the Rockchip RK3288 SoC glue layer support for 101e0fb4013SJoachim Eastwood the stmmac device driver. 102e0fb4013SJoachim Eastwood 103c7c52ae7SJoachim Eastwoodconfig DWMAC_SOCFPGA 104c7c52ae7SJoachim Eastwood tristate "SOCFPGA dwmac support" 105c7c52ae7SJoachim Eastwood default ARCH_SOCFPGA 1062e280c18SPeter Robinson depends on OF && (ARCH_SOCFPGA || COMPILE_TEST) 107c7c52ae7SJoachim Eastwood select MFD_SYSCON 108c7c52ae7SJoachim Eastwood help 109c7c52ae7SJoachim Eastwood Support for ethernet controller on Altera SOCFPGA 110c7c52ae7SJoachim Eastwood 111c7c52ae7SJoachim Eastwood This selects the Altera SOCFPGA SoC glue layer support 112c7c52ae7SJoachim Eastwood for the stmmac device driver. This driver is used for 113c7c52ae7SJoachim Eastwood arria5 and cyclone5 FPGA SoCs. 114c7c52ae7SJoachim Eastwood 1152a321798SJoachim Eastwoodconfig DWMAC_STI 1162a321798SJoachim Eastwood tristate "STi GMAC support" 1172a321798SJoachim Eastwood default ARCH_STI 1182e280c18SPeter Robinson depends on OF && (ARCH_STI || COMPILE_TEST) 1192a321798SJoachim Eastwood select MFD_SYSCON 1202a321798SJoachim Eastwood ---help--- 1212a321798SJoachim Eastwood Support for ethernet controller on STi SOCs. 1222a321798SJoachim Eastwood 1232a321798SJoachim Eastwood This selects STi SoC glue layer support for the stmmac 1242a321798SJoachim Eastwood device driver. This driver is used on for the STi series 1252a321798SJoachim Eastwood SOCs GMAC ethernet controller. 1262a321798SJoachim Eastwood 127c6eec6f3SAlexandre TORGUEconfig DWMAC_STM32 128c6eec6f3SAlexandre TORGUE tristate "STM32 DWMAC support" 129c6eec6f3SAlexandre TORGUE default ARCH_STM32 1306bc5445cSPeter Robinson depends on OF && HAS_IOMEM && (ARCH_STM32 || COMPILE_TEST) 131c6eec6f3SAlexandre TORGUE select MFD_SYSCON 132c6eec6f3SAlexandre TORGUE ---help--- 133c6eec6f3SAlexandre TORGUE Support for ethernet controller on STM32 SOCs. 134c6eec6f3SAlexandre TORGUE 135c6eec6f3SAlexandre TORGUE This selects STM32 SoC glue layer support for the stmmac 136c6eec6f3SAlexandre TORGUE device driver. This driver is used on for the STM32 series 137c6eec6f3SAlexandre TORGUE SOCs GMAC ethernet controller. 138c6eec6f3SAlexandre TORGUE 1394198b7dbSJoachim Eastwoodconfig DWMAC_SUNXI 1404198b7dbSJoachim Eastwood tristate "Allwinner GMAC support" 1414198b7dbSJoachim Eastwood default ARCH_SUNXI 1422e280c18SPeter Robinson depends on OF && (ARCH_SUNXI || COMPILE_TEST) 1434198b7dbSJoachim Eastwood ---help--- 1444198b7dbSJoachim Eastwood Support for Allwinner A20/A31 GMAC ethernet controllers. 1454198b7dbSJoachim Eastwood 1464198b7dbSJoachim Eastwood This selects Allwinner SoC glue layer support for the 1474198b7dbSJoachim Eastwood stmmac device driver. This driver is used for A20/A31 1484198b7dbSJoachim Eastwood GMAC ethernet controller. 149ba25020eSJoachim Eastwoodendif 150ba25020eSJoachim Eastwood 151bfab27a1SGiuseppe CAVALLAROconfig STMMAC_PCI 152b2e2f0c7SAndy Shevchenko tristate "STMMAC PCI bus support" 1536e1215adSKees Cook depends on STMMAC_ETH && PCI 154bfab27a1SGiuseppe CAVALLARO ---help--- 155bfab27a1SGiuseppe CAVALLARO This is to select the Synopsys DWMAC available on PCI devices, 156bfab27a1SGiuseppe CAVALLARO if you have a controller with this interface, say Y or M here. 157bfab27a1SGiuseppe CAVALLARO 158bfab27a1SGiuseppe CAVALLARO This PCI support is tested on XLINX XC2V3000 FF1152AMT0221 159bfab27a1SGiuseppe CAVALLARO D1215994A VIRTEX FPGA board. 160bfab27a1SGiuseppe CAVALLARO 161bfab27a1SGiuseppe CAVALLARO If unsure, say N. 1627ac6653aSJeff Kirsherendif 163