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 792ba6888SRayagond Kokatanur select 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 32ba25020eSJoachim Eastwoodconfig DWMAC_GENERIC 33ba25020eSJoachim Eastwood tristate "Generic driver for DWMAC" 34ba25020eSJoachim Eastwood default STMMAC_PLATFORM 35ba25020eSJoachim Eastwood ---help--- 36ba25020eSJoachim Eastwood Generic DWMAC driver for platforms that don't require any 37ba25020eSJoachim Eastwood platform specific code to function or is using platform 38ba25020eSJoachim Eastwood data for setup. 39ba25020eSJoachim Eastwood 40b1c17215SMathieu Olivariconfig DWMAC_IPQ806X 41b1c17215SMathieu Olivari tristate "QCA IPQ806x DWMAC support" 42b1c17215SMathieu Olivari default ARCH_QCOM 432e280c18SPeter Robinson depends on OF && (ARCH_QCOM || COMPILE_TEST) 44b1c17215SMathieu Olivari select MFD_SYSCON 45b1c17215SMathieu Olivari help 46b1c17215SMathieu Olivari Support for QCA IPQ806X DWMAC Ethernet. 47b1c17215SMathieu Olivari 48b1c17215SMathieu Olivari This selects the IPQ806x SoC glue layer support for the stmmac 49b1c17215SMathieu Olivari device driver. This driver does not use any of the hardware 50b1c17215SMathieu Olivari acceleration features available on this SoC. Network devices 51b1c17215SMathieu Olivari will behave like standard non-accelerated ethernet interfaces. 52b1c17215SMathieu Olivari 5369bdd2d4SJoachim Eastwoodconfig DWMAC_LPC18XX 5469bdd2d4SJoachim Eastwood tristate "NXP LPC18xx/43xx DWMAC support" 5569bdd2d4SJoachim Eastwood default ARCH_LPC18XX 562e280c18SPeter Robinson depends on OF && (ARCH_LPC18XX || COMPILE_TEST) 5769bdd2d4SJoachim Eastwood select MFD_SYSCON 5869bdd2d4SJoachim Eastwood ---help--- 5969bdd2d4SJoachim Eastwood Support for NXP LPC18xx/43xx DWMAC Ethernet. 6069bdd2d4SJoachim Eastwood 6140e6b0baSJoachim Eastwoodconfig DWMAC_MESON 6240e6b0baSJoachim Eastwood tristate "Amlogic Meson dwmac support" 6340e6b0baSJoachim Eastwood default ARCH_MESON 64566e8251SMartin Blumenstingl depends on OF && COMMON_CLK && (ARCH_MESON || COMPILE_TEST) 6540e6b0baSJoachim Eastwood help 6640e6b0baSJoachim Eastwood Support for Ethernet controller on Amlogic Meson SoCs. 6740e6b0baSJoachim Eastwood 6840e6b0baSJoachim Eastwood This selects the Amlogic Meson SoC glue layer support for 69566e8251SMartin Blumenstingl the stmmac device driver. This driver is used for Meson6, 70566e8251SMartin Blumenstingl Meson8, Meson8b and GXBB SoCs. 7140e6b0baSJoachim Eastwood 725ed74140SNeil Armstrongconfig DWMAC_OXNAS 735ed74140SNeil Armstrong tristate "Oxford Semiconductor OXNAS dwmac support" 745ed74140SNeil Armstrong default ARCH_OXNAS 755ed74140SNeil Armstrong depends on OF && COMMON_CLK && (ARCH_OXNAS || COMPILE_TEST) 765ed74140SNeil Armstrong select MFD_SYSCON 775ed74140SNeil Armstrong help 785ed74140SNeil Armstrong Support for Ethernet controller on Oxford Semiconductor OXNAS SoCs. 795ed74140SNeil Armstrong 805ed74140SNeil Armstrong This selects the Oxford Semiconductor OXNASSoC glue layer support for 815ed74140SNeil Armstrong the stmmac device driver. This driver is used for OX820. 825ed74140SNeil Armstrong 83e0fb4013SJoachim Eastwoodconfig DWMAC_ROCKCHIP 84e0fb4013SJoachim Eastwood tristate "Rockchip dwmac support" 85e0fb4013SJoachim Eastwood default ARCH_ROCKCHIP 862e280c18SPeter Robinson depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST) 87e0fb4013SJoachim Eastwood select MFD_SYSCON 88e0fb4013SJoachim Eastwood help 89e0fb4013SJoachim Eastwood Support for Ethernet controller on Rockchip RK3288 SoC. 90e0fb4013SJoachim Eastwood 91e0fb4013SJoachim Eastwood This selects the Rockchip RK3288 SoC glue layer support for 92e0fb4013SJoachim Eastwood the stmmac device driver. 93e0fb4013SJoachim Eastwood 94c7c52ae7SJoachim Eastwoodconfig DWMAC_SOCFPGA 95c7c52ae7SJoachim Eastwood tristate "SOCFPGA dwmac support" 96c7c52ae7SJoachim Eastwood default ARCH_SOCFPGA 972e280c18SPeter Robinson depends on OF && (ARCH_SOCFPGA || COMPILE_TEST) 98c7c52ae7SJoachim Eastwood select MFD_SYSCON 99c7c52ae7SJoachim Eastwood help 100c7c52ae7SJoachim Eastwood Support for ethernet controller on Altera SOCFPGA 101c7c52ae7SJoachim Eastwood 102c7c52ae7SJoachim Eastwood This selects the Altera SOCFPGA SoC glue layer support 103c7c52ae7SJoachim Eastwood for the stmmac device driver. This driver is used for 104c7c52ae7SJoachim Eastwood arria5 and cyclone5 FPGA SoCs. 105c7c52ae7SJoachim Eastwood 1062a321798SJoachim Eastwoodconfig DWMAC_STI 1072a321798SJoachim Eastwood tristate "STi GMAC support" 1082a321798SJoachim Eastwood default ARCH_STI 1092e280c18SPeter Robinson depends on OF && (ARCH_STI || COMPILE_TEST) 1102a321798SJoachim Eastwood select MFD_SYSCON 1112a321798SJoachim Eastwood ---help--- 1122a321798SJoachim Eastwood Support for ethernet controller on STi SOCs. 1132a321798SJoachim Eastwood 1142a321798SJoachim Eastwood This selects STi SoC glue layer support for the stmmac 1152a321798SJoachim Eastwood device driver. This driver is used on for the STi series 1162a321798SJoachim Eastwood SOCs GMAC ethernet controller. 1172a321798SJoachim Eastwood 118c6eec6f3SAlexandre TORGUEconfig DWMAC_STM32 119c6eec6f3SAlexandre TORGUE tristate "STM32 DWMAC support" 120c6eec6f3SAlexandre TORGUE default ARCH_STM32 121c6eec6f3SAlexandre TORGUE depends on OF && HAS_IOMEM 122c6eec6f3SAlexandre TORGUE select MFD_SYSCON 123c6eec6f3SAlexandre TORGUE ---help--- 124c6eec6f3SAlexandre TORGUE Support for ethernet controller on STM32 SOCs. 125c6eec6f3SAlexandre TORGUE 126c6eec6f3SAlexandre TORGUE This selects STM32 SoC glue layer support for the stmmac 127c6eec6f3SAlexandre TORGUE device driver. This driver is used on for the STM32 series 128c6eec6f3SAlexandre TORGUE SOCs GMAC ethernet controller. 129c6eec6f3SAlexandre TORGUE 1304198b7dbSJoachim Eastwoodconfig DWMAC_SUNXI 1314198b7dbSJoachim Eastwood tristate "Allwinner GMAC support" 1324198b7dbSJoachim Eastwood default ARCH_SUNXI 1332e280c18SPeter Robinson depends on OF && (ARCH_SUNXI || COMPILE_TEST) 1344198b7dbSJoachim Eastwood ---help--- 1354198b7dbSJoachim Eastwood Support for Allwinner A20/A31 GMAC ethernet controllers. 1364198b7dbSJoachim Eastwood 1374198b7dbSJoachim Eastwood This selects Allwinner SoC glue layer support for the 1384198b7dbSJoachim Eastwood stmmac device driver. This driver is used for A20/A31 1394198b7dbSJoachim Eastwood GMAC ethernet controller. 140ba25020eSJoachim Eastwoodendif 141ba25020eSJoachim Eastwood 142bfab27a1SGiuseppe CAVALLAROconfig STMMAC_PCI 143b2e2f0c7SAndy Shevchenko tristate "STMMAC PCI bus support" 1446e1215adSKees Cook depends on STMMAC_ETH && PCI 145bfab27a1SGiuseppe CAVALLARO ---help--- 146bfab27a1SGiuseppe CAVALLARO This is to select the Synopsys DWMAC available on PCI devices, 147bfab27a1SGiuseppe CAVALLARO if you have a controller with this interface, say Y or M here. 148bfab27a1SGiuseppe CAVALLARO 149bfab27a1SGiuseppe CAVALLARO This PCI support is tested on XLINX XC2V3000 FF1152AMT0221 150bfab27a1SGiuseppe CAVALLARO D1215994A VIRTEX FPGA board. 151bfab27a1SGiuseppe CAVALLARO 152bfab27a1SGiuseppe CAVALLARO If unsure, say N. 1537ac6653aSJeff Kirsherendif 154