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 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 31ba25020eSJoachim Eastwoodconfig DWMAC_GENERIC 32ba25020eSJoachim Eastwood tristate "Generic driver for DWMAC" 33ba25020eSJoachim Eastwood default STMMAC_PLATFORM 34ba25020eSJoachim Eastwood ---help--- 35ba25020eSJoachim Eastwood Generic DWMAC driver for platforms that don't require any 36ba25020eSJoachim Eastwood platform specific code to function or is using platform 37ba25020eSJoachim Eastwood data for setup. 38ba25020eSJoachim Eastwood 3969bdd2d4SJoachim Eastwoodconfig DWMAC_LPC18XX 4069bdd2d4SJoachim Eastwood tristate "NXP LPC18xx/43xx DWMAC support" 4169bdd2d4SJoachim Eastwood default ARCH_LPC18XX 4269bdd2d4SJoachim Eastwood depends on OF 4369bdd2d4SJoachim Eastwood select MFD_SYSCON 4469bdd2d4SJoachim Eastwood ---help--- 4569bdd2d4SJoachim Eastwood Support for NXP LPC18xx/43xx DWMAC Ethernet. 4669bdd2d4SJoachim Eastwood 4740e6b0baSJoachim Eastwoodconfig DWMAC_MESON 4840e6b0baSJoachim Eastwood tristate "Amlogic Meson dwmac support" 4940e6b0baSJoachim Eastwood default ARCH_MESON 5040e6b0baSJoachim Eastwood depends on OF 5140e6b0baSJoachim Eastwood help 5240e6b0baSJoachim Eastwood Support for Ethernet controller on Amlogic Meson SoCs. 5340e6b0baSJoachim Eastwood 5440e6b0baSJoachim Eastwood This selects the Amlogic Meson SoC glue layer support for 5540e6b0baSJoachim Eastwood the stmmac device driver. This driver is used for Meson6 and 5640e6b0baSJoachim Eastwood Meson8 SoCs. 5740e6b0baSJoachim Eastwood 58e0fb4013SJoachim Eastwoodconfig DWMAC_ROCKCHIP 59e0fb4013SJoachim Eastwood tristate "Rockchip dwmac support" 60e0fb4013SJoachim Eastwood default ARCH_ROCKCHIP 61e0fb4013SJoachim Eastwood depends on OF 62e0fb4013SJoachim Eastwood select MFD_SYSCON 63e0fb4013SJoachim Eastwood help 64e0fb4013SJoachim Eastwood Support for Ethernet controller on Rockchip RK3288 SoC. 65e0fb4013SJoachim Eastwood 66e0fb4013SJoachim Eastwood This selects the Rockchip RK3288 SoC glue layer support for 67e0fb4013SJoachim Eastwood the stmmac device driver. 68e0fb4013SJoachim Eastwood 69c7c52ae7SJoachim Eastwoodconfig DWMAC_SOCFPGA 70c7c52ae7SJoachim Eastwood tristate "SOCFPGA dwmac support" 71c7c52ae7SJoachim Eastwood default ARCH_SOCFPGA 72c7c52ae7SJoachim Eastwood depends on OF 73c7c52ae7SJoachim Eastwood select MFD_SYSCON 74c7c52ae7SJoachim Eastwood help 75c7c52ae7SJoachim Eastwood Support for ethernet controller on Altera SOCFPGA 76c7c52ae7SJoachim Eastwood 77c7c52ae7SJoachim Eastwood This selects the Altera SOCFPGA SoC glue layer support 78c7c52ae7SJoachim Eastwood for the stmmac device driver. This driver is used for 79c7c52ae7SJoachim Eastwood arria5 and cyclone5 FPGA SoCs. 80c7c52ae7SJoachim Eastwood 81ba25020eSJoachim Eastwoodendif 82ba25020eSJoachim Eastwood 83bfab27a1SGiuseppe CAVALLAROconfig STMMAC_PCI 84b2e2f0c7SAndy Shevchenko tristate "STMMAC PCI bus support" 856e1215adSKees Cook depends on STMMAC_ETH && PCI 86bfab27a1SGiuseppe CAVALLARO ---help--- 87bfab27a1SGiuseppe CAVALLARO This is to select the Synopsys DWMAC available on PCI devices, 88bfab27a1SGiuseppe CAVALLARO if you have a controller with this interface, say Y or M here. 89bfab27a1SGiuseppe CAVALLARO 90bfab27a1SGiuseppe CAVALLARO This PCI support is tested on XLINX XC2V3000 FF1152AMT0221 91bfab27a1SGiuseppe CAVALLARO D1215994A VIRTEX FPGA board. 92bfab27a1SGiuseppe CAVALLARO 93bfab27a1SGiuseppe CAVALLARO If unsure, say N. 947ac6653aSJeff Kirsherendif 95