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 |
Mathieu Olivari | b1c1721 | 2015-05-27 11:02:49 -0700 | [diff] [blame] | 19 | select MFD_SYSCON |
Giuseppe CAVALLARO | 33d5e33 | 2012-06-07 19:25:07 +0000 | [diff] [blame] | 20 | default y |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 21 | ---help--- |
Giuseppe CAVALLARO | c0d5406 | 2014-11-04 15:49:32 +0100 | [diff] [blame] | 22 | This selects the platform specific bus support for the stmmac driver. |
| 23 | This is the driver used on several SoCs: |
| 24 | STi, Allwinner, Amlogic Meson, Altera SOCFPGA. |
| 25 | |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 26 | If you have a controller with this interface, say Y or M here. |
| 27 | |
| 28 | If unsure, say N. |
| 29 | |
Joachim Eastwood | ba25020 | 2015-05-14 12:10:59 +0200 | [diff] [blame] | 30 | if STMMAC_PLATFORM |
| 31 | |
| 32 | config DWMAC_GENERIC |
| 33 | tristate "Generic driver for DWMAC" |
| 34 | default STMMAC_PLATFORM |
| 35 | ---help--- |
| 36 | Generic DWMAC driver for platforms that don't require any |
| 37 | platform specific code to function or is using platform |
| 38 | data for setup. |
| 39 | |
Mathieu Olivari | b1c1721 | 2015-05-27 11:02:49 -0700 | [diff] [blame] | 40 | config DWMAC_IPQ806X |
| 41 | tristate "QCA IPQ806x DWMAC support" |
| 42 | default ARCH_QCOM |
| 43 | depends on OF |
| 44 | select MFD_SYSCON |
| 45 | help |
| 46 | Support for QCA IPQ806X DWMAC Ethernet. |
| 47 | |
| 48 | This selects the IPQ806x SoC glue layer support for the stmmac |
| 49 | device driver. This driver does not use any of the hardware |
| 50 | acceleration features available on this SoC. Network devices |
| 51 | will behave like standard non-accelerated ethernet interfaces. |
| 52 | |
Joachim Eastwood | 69bdd2d | 2015-05-14 12:11:00 +0200 | [diff] [blame] | 53 | config DWMAC_LPC18XX |
| 54 | tristate "NXP LPC18xx/43xx DWMAC support" |
| 55 | default ARCH_LPC18XX |
| 56 | depends on OF |
| 57 | select MFD_SYSCON |
| 58 | ---help--- |
| 59 | Support for NXP LPC18xx/43xx DWMAC Ethernet. |
| 60 | |
Joachim Eastwood | 40e6b0b | 2015-05-14 12:11:01 +0200 | [diff] [blame] | 61 | config DWMAC_MESON |
| 62 | tristate "Amlogic Meson dwmac support" |
| 63 | default ARCH_MESON |
| 64 | depends on OF |
| 65 | help |
| 66 | Support for Ethernet controller on Amlogic Meson SoCs. |
| 67 | |
| 68 | This selects the Amlogic Meson SoC glue layer support for |
| 69 | the stmmac device driver. This driver is used for Meson6 and |
| 70 | Meson8 SoCs. |
| 71 | |
Joachim Eastwood | e0fb401 | 2015-05-14 12:11:02 +0200 | [diff] [blame] | 72 | config DWMAC_ROCKCHIP |
| 73 | tristate "Rockchip dwmac support" |
| 74 | default ARCH_ROCKCHIP |
| 75 | depends on OF |
| 76 | select MFD_SYSCON |
| 77 | help |
| 78 | Support for Ethernet controller on Rockchip RK3288 SoC. |
| 79 | |
| 80 | This selects the Rockchip RK3288 SoC glue layer support for |
| 81 | the stmmac device driver. |
| 82 | |
Joachim Eastwood | c7c52ae | 2015-05-14 12:11:03 +0200 | [diff] [blame] | 83 | config DWMAC_SOCFPGA |
| 84 | tristate "SOCFPGA dwmac support" |
| 85 | default ARCH_SOCFPGA |
| 86 | depends on OF |
| 87 | select MFD_SYSCON |
| 88 | help |
| 89 | Support for ethernet controller on Altera SOCFPGA |
| 90 | |
| 91 | This selects the Altera SOCFPGA SoC glue layer support |
| 92 | for the stmmac device driver. This driver is used for |
| 93 | arria5 and cyclone5 FPGA SoCs. |
| 94 | |
Joachim Eastwood | 2a32179 | 2015-05-14 12:11:04 +0200 | [diff] [blame] | 95 | config DWMAC_STI |
| 96 | tristate "STi GMAC support" |
| 97 | default ARCH_STI |
| 98 | depends on OF |
| 99 | select MFD_SYSCON |
| 100 | ---help--- |
| 101 | Support for ethernet controller on STi SOCs. |
| 102 | |
| 103 | This selects STi SoC glue layer support for the stmmac |
| 104 | device driver. This driver is used on for the STi series |
| 105 | SOCs GMAC ethernet controller. |
| 106 | |
Joachim Eastwood | 4198b7d | 2015-05-14 12:11:05 +0200 | [diff] [blame] | 107 | config DWMAC_SUNXI |
| 108 | tristate "Allwinner GMAC support" |
| 109 | default ARCH_SUNXI |
| 110 | depends on OF |
| 111 | ---help--- |
| 112 | Support for Allwinner A20/A31 GMAC ethernet controllers. |
| 113 | |
| 114 | This selects Allwinner SoC glue layer support for the |
| 115 | stmmac device driver. This driver is used for A20/A31 |
| 116 | GMAC ethernet controller. |
Joachim Eastwood | ba25020 | 2015-05-14 12:10:59 +0200 | [diff] [blame] | 117 | endif |
| 118 | |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 119 | config STMMAC_PCI |
Andy Shevchenko | b2e2f0c | 2014-11-10 12:38:59 +0200 | [diff] [blame] | 120 | tristate "STMMAC PCI bus support" |
Kees Cook | 6e1215a | 2013-01-22 10:30:30 -0800 | [diff] [blame] | 121 | depends on STMMAC_ETH && PCI |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 122 | ---help--- |
| 123 | This is to select the Synopsys DWMAC available on PCI devices, |
| 124 | if you have a controller with this interface, say Y or M here. |
| 125 | |
| 126 | This PCI support is tested on XLINX XC2V3000 FF1152AMT0221 |
| 127 | D1215994A VIRTEX FPGA board. |
| 128 | |
| 129 | If unsure, say N. |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 130 | endif |