Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 1 | config STMMAC_ETH |
| 2 | tristate "STMicroelectronics 10/100/1000 Ethernet driver" |
Geert Uytterhoeven | fd1eb9e | 2013-05-09 11:04:46 +0000 | [diff] [blame] | 3 | depends on HAS_IOMEM && HAS_DMA |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 4 | select MII |
| 5 | select PHYLIB |
Carmelo AMOROSO | 7ba8a9b | 2010-03-31 21:44:03 +0000 | [diff] [blame] | 6 | select CRC32 |
Rayagond Kokatanur | 92ba688 | 2013-03-26 04:43:11 +0000 | [diff] [blame] | 7 | select PTP_1588_CLOCK |
Chen-Yu Tsai | c5e4ddb | 2014-01-17 21:24:41 +0800 | [diff] [blame] | 8 | select RESET_CONTROLLER |
Jeff Kirsher | 7ac6653 | 2011-05-16 00:05:19 -0700 | [diff] [blame] | 9 | ---help--- |
Giuseppe CAVALLARO | 7187c1a | 2010-01-06 23:07:22 +0000 | [diff] [blame] | 10 | This is the driver for the Ethernet IPs are built around a |
Giuseppe CAVALLARO | ac75791 | 2010-08-23 20:40:41 +0000 | [diff] [blame] | 11 | Synopsys IP Core and only tested on the STMicroelectronics |
Giuseppe CAVALLARO | 7187c1a | 2010-01-06 23:07:22 +0000 | [diff] [blame] | 12 | platforms. |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 13 | |
| 14 | if STMMAC_ETH |
| 15 | |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 16 | config STMMAC_PLATFORM |
Andy Shevchenko | b2e2f0c | 2014-11-10 12:38:59 +0200 | [diff] [blame] | 17 | tristate "STMMAC Platform bus support" |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 18 | depends on STMMAC_ETH |
Giuseppe CAVALLARO | 33d5e33 | 2012-06-07 19:25:07 +0000 | [diff] [blame] | 19 | default y |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 20 | ---help--- |
Giuseppe CAVALLARO | c0d5406 | 2014-11-04 15:49:32 +0100 | [diff] [blame] | 21 | This selects the platform specific bus support for the stmmac driver. |
| 22 | This is the driver used on several SoCs: |
| 23 | STi, Allwinner, Amlogic Meson, Altera SOCFPGA. |
| 24 | |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 25 | If you have a controller with this interface, say Y or M here. |
| 26 | |
| 27 | If unsure, say N. |
| 28 | |
Joachim Eastwood | ba25020 | 2015-05-14 12:10:59 +0200 | [diff] [blame] | 29 | if STMMAC_PLATFORM |
| 30 | |
| 31 | config DWMAC_GENERIC |
| 32 | tristate "Generic driver for DWMAC" |
| 33 | default STMMAC_PLATFORM |
| 34 | ---help--- |
| 35 | Generic DWMAC driver for platforms that don't require any |
| 36 | platform specific code to function or is using platform |
| 37 | data for setup. |
| 38 | |
Joachim Eastwood | 69bdd2d | 2015-05-14 12:11:00 +0200 | [diff] [blame] | 39 | config DWMAC_LPC18XX |
| 40 | tristate "NXP LPC18xx/43xx DWMAC support" |
| 41 | default ARCH_LPC18XX |
| 42 | depends on OF |
| 43 | select MFD_SYSCON |
| 44 | ---help--- |
| 45 | Support for NXP LPC18xx/43xx DWMAC Ethernet. |
| 46 | |
Joachim Eastwood | 40e6b0b | 2015-05-14 12:11:01 +0200 | [diff] [blame] | 47 | config DWMAC_MESON |
| 48 | tristate "Amlogic Meson dwmac support" |
| 49 | default ARCH_MESON |
| 50 | depends on OF |
| 51 | help |
| 52 | Support for Ethernet controller on Amlogic Meson SoCs. |
| 53 | |
| 54 | This selects the Amlogic Meson SoC glue layer support for |
| 55 | the stmmac device driver. This driver is used for Meson6 and |
| 56 | Meson8 SoCs. |
| 57 | |
Joachim Eastwood | e0fb401 | 2015-05-14 12:11:02 +0200 | [diff] [blame] | 58 | config DWMAC_ROCKCHIP |
| 59 | tristate "Rockchip dwmac support" |
| 60 | default ARCH_ROCKCHIP |
| 61 | depends on OF |
| 62 | select MFD_SYSCON |
| 63 | help |
| 64 | Support for Ethernet controller on Rockchip RK3288 SoC. |
| 65 | |
| 66 | This selects the Rockchip RK3288 SoC glue layer support for |
| 67 | the stmmac device driver. |
| 68 | |
Joachim Eastwood | c7c52ae | 2015-05-14 12:11:03 +0200 | [diff] [blame] | 69 | config DWMAC_SOCFPGA |
| 70 | tristate "SOCFPGA dwmac support" |
| 71 | default ARCH_SOCFPGA |
| 72 | depends on OF |
| 73 | select MFD_SYSCON |
| 74 | help |
| 75 | Support for ethernet controller on Altera SOCFPGA |
| 76 | |
| 77 | This selects the Altera SOCFPGA SoC glue layer support |
| 78 | for the stmmac device driver. This driver is used for |
| 79 | arria5 and cyclone5 FPGA SoCs. |
| 80 | |
Joachim Eastwood | 2a32179 | 2015-05-14 12:11:04 +0200 | [diff] [blame] | 81 | config DWMAC_STI |
| 82 | tristate "STi GMAC support" |
| 83 | default ARCH_STI |
| 84 | depends on OF |
| 85 | select MFD_SYSCON |
| 86 | ---help--- |
| 87 | Support for ethernet controller on STi SOCs. |
| 88 | |
| 89 | This selects STi SoC glue layer support for the stmmac |
| 90 | device driver. This driver is used on for the STi series |
| 91 | SOCs GMAC ethernet controller. |
| 92 | |
Joachim Eastwood | 4198b7d | 2015-05-14 12:11:05 +0200 | [diff] [blame^] | 93 | config DWMAC_SUNXI |
| 94 | tristate "Allwinner GMAC support" |
| 95 | default ARCH_SUNXI |
| 96 | depends on OF |
| 97 | ---help--- |
| 98 | Support for Allwinner A20/A31 GMAC ethernet controllers. |
| 99 | |
| 100 | This selects Allwinner SoC glue layer support for the |
| 101 | stmmac device driver. This driver is used for A20/A31 |
| 102 | GMAC ethernet controller. |
Joachim Eastwood | ba25020 | 2015-05-14 12:10:59 +0200 | [diff] [blame] | 103 | endif |
| 104 | |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 105 | config STMMAC_PCI |
Andy Shevchenko | b2e2f0c | 2014-11-10 12:38:59 +0200 | [diff] [blame] | 106 | tristate "STMMAC PCI bus support" |
Kees Cook | 6e1215a | 2013-01-22 10:30:30 -0800 | [diff] [blame] | 107 | depends on STMMAC_ETH && PCI |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 108 | ---help--- |
| 109 | This is to select the Synopsys DWMAC available on PCI devices, |
| 110 | if you have a controller with this interface, say Y or M here. |
| 111 | |
| 112 | This PCI support is tested on XLINX XC2V3000 FF1152AMT0221 |
| 113 | D1215994A VIRTEX FPGA board. |
| 114 | |
| 115 | If unsure, say N. |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 116 | endif |