Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 1 | config STMMAC_ETH |
jpinto | ab70e58 | 2017-01-17 14:53:07 +0000 | [diff] [blame] | 2 | tristate "STMicroelectronics 10/100/1000/EQOS 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 |
Nicolas Pitre | d1cbfd7 | 2016-11-11 00:10:07 -0500 | [diff] [blame] | 7 | imply 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--- |
jpinto | ab70e58 | 2017-01-17 14:53:07 +0000 | [diff] [blame] | 10 | This is the driver for the Ethernet IPs built around a |
| 11 | Synopsys IP Core. |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 12 | |
| 13 | if STMMAC_ETH |
| 14 | |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 15 | config STMMAC_PLATFORM |
Andy Shevchenko | b2e2f0c | 2014-11-10 12:38:59 +0200 | [diff] [blame] | 16 | tristate "STMMAC Platform bus support" |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 17 | depends on STMMAC_ETH |
Mathieu Olivari | b1c1721 | 2015-05-27 11:02:49 -0700 | [diff] [blame] | 18 | select MFD_SYSCON |
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 | |
jpinto | d825612 | 2017-01-09 12:35:10 +0000 | [diff] [blame] | 31 | config DWMAC_DWC_QOS_ETH |
| 32 | tristate "Support for snps,dwc-qos-ethernet.txt DT binding." |
| 33 | select PHYLIB |
| 34 | select CRC32 |
| 35 | select MII |
| 36 | depends on OF && HAS_DMA |
| 37 | help |
| 38 | Support for chips using the snps,dwc-qos-ethernet.txt DT binding. |
| 39 | |
Joachim Eastwood | ba25020 | 2015-05-14 12:10:59 +0200 | [diff] [blame] | 40 | config DWMAC_GENERIC |
| 41 | tristate "Generic driver for DWMAC" |
| 42 | default STMMAC_PLATFORM |
| 43 | ---help--- |
| 44 | Generic DWMAC driver for platforms that don't require any |
| 45 | platform specific code to function or is using platform |
| 46 | data for setup. |
| 47 | |
Mathieu Olivari | b1c1721 | 2015-05-27 11:02:49 -0700 | [diff] [blame] | 48 | config DWMAC_IPQ806X |
| 49 | tristate "QCA IPQ806x DWMAC support" |
| 50 | default ARCH_QCOM |
Peter Robinson | 2e280c1 | 2016-06-01 13:28:58 +0100 | [diff] [blame] | 51 | depends on OF && (ARCH_QCOM || COMPILE_TEST) |
Mathieu Olivari | b1c1721 | 2015-05-27 11:02:49 -0700 | [diff] [blame] | 52 | select MFD_SYSCON |
| 53 | help |
| 54 | Support for QCA IPQ806X DWMAC Ethernet. |
| 55 | |
| 56 | This selects the IPQ806x SoC glue layer support for the stmmac |
| 57 | device driver. This driver does not use any of the hardware |
| 58 | acceleration features available on this SoC. Network devices |
| 59 | will behave like standard non-accelerated ethernet interfaces. |
| 60 | |
Joachim Eastwood | 69bdd2d | 2015-05-14 12:11:00 +0200 | [diff] [blame] | 61 | config DWMAC_LPC18XX |
| 62 | tristate "NXP LPC18xx/43xx DWMAC support" |
| 63 | default ARCH_LPC18XX |
Peter Robinson | 2e280c1 | 2016-06-01 13:28:58 +0100 | [diff] [blame] | 64 | depends on OF && (ARCH_LPC18XX || COMPILE_TEST) |
Joachim Eastwood | 69bdd2d | 2015-05-14 12:11:00 +0200 | [diff] [blame] | 65 | select MFD_SYSCON |
| 66 | ---help--- |
| 67 | Support for NXP LPC18xx/43xx DWMAC Ethernet. |
| 68 | |
Joachim Eastwood | 40e6b0b | 2015-05-14 12:11:01 +0200 | [diff] [blame] | 69 | config DWMAC_MESON |
| 70 | tristate "Amlogic Meson dwmac support" |
| 71 | default ARCH_MESON |
Martin Blumenstingl | 566e825 | 2016-09-06 23:38:46 +0200 | [diff] [blame] | 72 | depends on OF && COMMON_CLK && (ARCH_MESON || COMPILE_TEST) |
Joachim Eastwood | 40e6b0b | 2015-05-14 12:11:01 +0200 | [diff] [blame] | 73 | help |
| 74 | Support for Ethernet controller on Amlogic Meson SoCs. |
| 75 | |
| 76 | This selects the Amlogic Meson SoC glue layer support for |
Martin Blumenstingl | 566e825 | 2016-09-06 23:38:46 +0200 | [diff] [blame] | 77 | the stmmac device driver. This driver is used for Meson6, |
| 78 | Meson8, Meson8b and GXBB SoCs. |
Joachim Eastwood | 40e6b0b | 2015-05-14 12:11:01 +0200 | [diff] [blame] | 79 | |
Neil Armstrong | 5ed7414 | 2016-11-02 15:02:36 +0100 | [diff] [blame] | 80 | config DWMAC_OXNAS |
| 81 | tristate "Oxford Semiconductor OXNAS dwmac support" |
| 82 | default ARCH_OXNAS |
| 83 | depends on OF && COMMON_CLK && (ARCH_OXNAS || COMPILE_TEST) |
| 84 | select MFD_SYSCON |
| 85 | help |
| 86 | Support for Ethernet controller on Oxford Semiconductor OXNAS SoCs. |
| 87 | |
| 88 | This selects the Oxford Semiconductor OXNASSoC glue layer support for |
| 89 | the stmmac device driver. This driver is used for OX820. |
| 90 | |
Joachim Eastwood | e0fb401 | 2015-05-14 12:11:02 +0200 | [diff] [blame] | 91 | config DWMAC_ROCKCHIP |
| 92 | tristate "Rockchip dwmac support" |
| 93 | default ARCH_ROCKCHIP |
Peter Robinson | 2e280c1 | 2016-06-01 13:28:58 +0100 | [diff] [blame] | 94 | depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST) |
Joachim Eastwood | e0fb401 | 2015-05-14 12:11:02 +0200 | [diff] [blame] | 95 | select MFD_SYSCON |
| 96 | help |
| 97 | Support for Ethernet controller on Rockchip RK3288 SoC. |
| 98 | |
| 99 | This selects the Rockchip RK3288 SoC glue layer support for |
| 100 | the stmmac device driver. |
| 101 | |
Joachim Eastwood | c7c52ae | 2015-05-14 12:11:03 +0200 | [diff] [blame] | 102 | config DWMAC_SOCFPGA |
| 103 | tristate "SOCFPGA dwmac support" |
| 104 | default ARCH_SOCFPGA |
Peter Robinson | 2e280c1 | 2016-06-01 13:28:58 +0100 | [diff] [blame] | 105 | depends on OF && (ARCH_SOCFPGA || COMPILE_TEST) |
Joachim Eastwood | c7c52ae | 2015-05-14 12:11:03 +0200 | [diff] [blame] | 106 | select MFD_SYSCON |
| 107 | help |
| 108 | Support for ethernet controller on Altera SOCFPGA |
| 109 | |
| 110 | This selects the Altera SOCFPGA SoC glue layer support |
| 111 | for the stmmac device driver. This driver is used for |
| 112 | arria5 and cyclone5 FPGA SoCs. |
| 113 | |
Joachim Eastwood | 2a32179 | 2015-05-14 12:11:04 +0200 | [diff] [blame] | 114 | config DWMAC_STI |
| 115 | tristate "STi GMAC support" |
| 116 | default ARCH_STI |
Peter Robinson | 2e280c1 | 2016-06-01 13:28:58 +0100 | [diff] [blame] | 117 | depends on OF && (ARCH_STI || COMPILE_TEST) |
Joachim Eastwood | 2a32179 | 2015-05-14 12:11:04 +0200 | [diff] [blame] | 118 | select MFD_SYSCON |
| 119 | ---help--- |
| 120 | Support for ethernet controller on STi SOCs. |
| 121 | |
| 122 | This selects STi SoC glue layer support for the stmmac |
| 123 | device driver. This driver is used on for the STi series |
| 124 | SOCs GMAC ethernet controller. |
| 125 | |
Alexandre TORGUE | c6eec6f | 2016-08-29 18:23:38 +0200 | [diff] [blame] | 126 | config DWMAC_STM32 |
| 127 | tristate "STM32 DWMAC support" |
| 128 | default ARCH_STM32 |
Peter Robinson | 6bc5445 | 2016-11-20 17:22:38 +0000 | [diff] [blame] | 129 | depends on OF && HAS_IOMEM && (ARCH_STM32 || COMPILE_TEST) |
Alexandre TORGUE | c6eec6f | 2016-08-29 18:23:38 +0200 | [diff] [blame] | 130 | select MFD_SYSCON |
| 131 | ---help--- |
| 132 | Support for ethernet controller on STM32 SOCs. |
| 133 | |
| 134 | This selects STM32 SoC glue layer support for the stmmac |
| 135 | device driver. This driver is used on for the STM32 series |
| 136 | SOCs GMAC ethernet controller. |
| 137 | |
Joachim Eastwood | 4198b7d | 2015-05-14 12:11:05 +0200 | [diff] [blame] | 138 | config DWMAC_SUNXI |
| 139 | tristate "Allwinner GMAC support" |
| 140 | default ARCH_SUNXI |
Peter Robinson | 2e280c1 | 2016-06-01 13:28:58 +0100 | [diff] [blame] | 141 | depends on OF && (ARCH_SUNXI || COMPILE_TEST) |
Joachim Eastwood | 4198b7d | 2015-05-14 12:11:05 +0200 | [diff] [blame] | 142 | ---help--- |
| 143 | Support for Allwinner A20/A31 GMAC ethernet controllers. |
| 144 | |
| 145 | This selects Allwinner SoC glue layer support for the |
| 146 | stmmac device driver. This driver is used for A20/A31 |
| 147 | GMAC ethernet controller. |
Joachim Eastwood | ba25020 | 2015-05-14 12:10:59 +0200 | [diff] [blame] | 148 | endif |
| 149 | |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 150 | config STMMAC_PCI |
Andy Shevchenko | b2e2f0c | 2014-11-10 12:38:59 +0200 | [diff] [blame] | 151 | tristate "STMMAC PCI bus support" |
Kees Cook | 6e1215a | 2013-01-22 10:30:30 -0800 | [diff] [blame] | 152 | depends on STMMAC_ETH && PCI |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 153 | ---help--- |
jpinto | ab70e58 | 2017-01-17 14:53:07 +0000 | [diff] [blame] | 154 | This selects the platform specific bus support for the stmmac driver. |
| 155 | This driver was tested on XLINX XC2V3000 FF1152AMT0221 |
| 156 | D1215994A VIRTEX FPGA board and SNPS QoS IPK Prototyping Kit. |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 157 | |
jpinto | ab70e58 | 2017-01-17 14:53:07 +0000 | [diff] [blame] | 158 | If you have a controller with this interface, say Y or M here. |
Giuseppe CAVALLARO | bfab27a | 2011-12-21 03:58:19 +0000 | [diff] [blame] | 159 | |
| 160 | If unsure, say N. |
Giuseppe Cavallaro | 47dd7a5 | 2009-10-14 15:13:45 -0700 | [diff] [blame] | 161 | endif |