Alex | 89e50d9 | 2017-02-06 19:17:34 -0800 | [diff] [blame] | 1 | source "drivers/net/phy/Kconfig" |
Calvin Johnson | 0e6101a | 2018-03-08 15:30:35 +0530 | [diff] [blame] | 2 | source "drivers/net/pfe_eth/Kconfig" |
Florinel Iordache | dfd4c0f | 2019-05-15 09:09:21 +0000 | [diff] [blame] | 3 | source "drivers/net/fsl-mc/Kconfig" |
Alex | 89e50d9 | 2017-02-06 19:17:34 -0800 | [diff] [blame] | 4 | |
Simon Glass | 1d92624 | 2021-08-08 12:20:31 -0600 | [diff] [blame] | 5 | config ETH |
| 6 | def_bool y |
| 7 | |
Joe Hershberger | c7eceaf | 2015-03-22 17:09:10 -0500 | [diff] [blame] | 8 | config DM_ETH |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 9 | bool |
Joe Hershberger | c7eceaf | 2015-03-22 17:09:10 -0500 | [diff] [blame] | 10 | depends on DM |
| 11 | help |
| 12 | Enable driver model for Ethernet. |
| 13 | |
Joe Hershberger | 54214e6 | 2018-07-02 14:47:48 -0500 | [diff] [blame] | 14 | The eth_*() interface will be implemented by the UCLASS_ETH class |
| 15 | This is currently implemented in net/eth-uclass.c |
Joe Hershberger | c7eceaf | 2015-03-22 17:09:10 -0500 | [diff] [blame] | 16 | Look in include/net.h for details. |
Joe Hershberger | 6ab7699 | 2015-03-22 17:09:13 -0500 | [diff] [blame] | 17 | |
Tom Rini | 68fc04c | 2022-11-27 10:25:36 -0500 | [diff] [blame] | 18 | config SPL_DM_ETH |
| 19 | depends on SPL_NET |
| 20 | def_bool y |
| 21 | |
Alex Marginean | 1a5b098 | 2019-06-03 19:10:30 +0300 | [diff] [blame] | 22 | config DM_MDIO |
| 23 | bool "Enable Driver Model for MDIO devices" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 24 | depends on PHYLIB |
Alex Marginean | 1a5b098 | 2019-06-03 19:10:30 +0300 | [diff] [blame] | 25 | help |
| 26 | Enable driver model for MDIO devices |
| 27 | |
| 28 | Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as |
| 29 | stand-alone devices. Useful in particular for systems that support |
| 30 | DM_ETH and have a stand-alone MDIO hardware block shared by multiple |
| 31 | Ethernet interfaces. |
| 32 | This is currently implemented in net/mdio-uclass.c |
| 33 | Look in include/miiphy.h for details. |
| 34 | |
Alex Marginean | ab8c2a5 | 2019-07-12 10:13:50 +0300 | [diff] [blame] | 35 | config DM_MDIO_MUX |
| 36 | bool "Enable Driver Model for MDIO MUX devices" |
| 37 | depends on DM_MDIO |
| 38 | help |
| 39 | Enable driver model for MDIO MUX devices |
| 40 | |
| 41 | Adds UCLASS_MDIO_MUX DM class supporting MDIO MUXes. Useful for |
| 42 | systems that support DM_MDIO and integrate one or multiple muxes on |
| 43 | the MDIO bus. |
| 44 | This is currently implemented in net/mdio-mux-uclass.c |
| 45 | Look in include/miiphy.h for details. |
| 46 | |
Claudiu Manoil | c0566c2 | 2021-01-25 14:23:53 +0200 | [diff] [blame] | 47 | config DM_DSA |
| 48 | bool "Enable Driver Model for DSA switches" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 49 | depends on DM_MDIO |
Claudiu Manoil | c0566c2 | 2021-01-25 14:23:53 +0200 | [diff] [blame] | 50 | depends on PHY_FIXED |
| 51 | help |
| 52 | Enable driver model for DSA switches |
| 53 | |
| 54 | Adds UCLASS_DSA class supporting switches that follow the Distributed |
| 55 | Switch Architecture (DSA). These switches rely on the presence of a |
| 56 | management switch port connected to an Ethernet controller capable of |
| 57 | receiving frames from the switch. This host Ethernet controller is |
| 58 | called the "master" Ethernet interface in DSA terminology. |
| 59 | This is currently implemented in net/dsa-uclass.c, refer to |
| 60 | include/net/dsa.h for API details. |
| 61 | |
Alex Marginean | 0daa53a | 2019-06-03 19:12:28 +0300 | [diff] [blame] | 62 | config MDIO_SANDBOX |
| 63 | depends on DM_MDIO && SANDBOX |
| 64 | default y |
| 65 | bool "Sandbox: Mocked MDIO driver" |
| 66 | help |
| 67 | This driver implements dummy read/write/reset MDIO functions mimicking |
| 68 | a bus with a single PHY. |
| 69 | |
| 70 | This driver is used in for testing in test/dm/mdio.c |
| 71 | |
Alex Marginean | 0649be5 | 2019-07-12 10:13:53 +0300 | [diff] [blame] | 72 | config MDIO_MUX_SANDBOX |
| 73 | depends on DM_MDIO_MUX && MDIO_SANDBOX |
| 74 | default y |
| 75 | bool "Sandbox: Mocked MDIO-MUX driver" |
| 76 | help |
| 77 | This driver implements dummy select/deselect ops mimicking a MUX on |
| 78 | the MDIO bux. It uses mdio_sandbox driver as parent MDIO. |
| 79 | |
| 80 | This driver is used for testing in test/dm/mdio.c |
| 81 | |
Ye Li | cd5bb77 | 2020-05-03 22:41:14 +0800 | [diff] [blame] | 82 | config DM_ETH_PHY |
| 83 | bool "Enable Driver Model for Ethernet Generic PHY drivers" |
| 84 | depends on DM |
| 85 | help |
| 86 | Enable driver model for Ethernet Generic PHY . |
| 87 | |
Claudiu Manoil | d9eaa92 | 2021-03-14 20:14:57 +0800 | [diff] [blame] | 88 | config DSA_SANDBOX |
| 89 | depends on DM_DSA && SANDBOX |
| 90 | default y |
| 91 | bool "Sandbox: Mocked DSA driver" |
| 92 | help |
| 93 | This driver implements a dummy DSA switch connected to a dummy sandbox |
| 94 | Ethernet device used as DSA master, to test DSA class code, including |
| 95 | exported DSA API and datapath processing of Ethernet traffic. |
| 96 | |
Joe Hershberger | 6ab7699 | 2015-03-22 17:09:13 -0500 | [diff] [blame] | 97 | menuconfig NETDEVICES |
| 98 | bool "Network device support" |
| 99 | depends on NET |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 100 | select DM_ETH |
Joe Hershberger | 6ab7699 | 2015-03-22 17:09:13 -0500 | [diff] [blame] | 101 | help |
| 102 | You must select Y to enable any network device support |
| 103 | Generally if you have any networking support this is a given |
| 104 | |
| 105 | If unsure, say Y |
| 106 | |
| 107 | if NETDEVICES |
| 108 | |
Philipp Tomsich | 00c3361 | 2017-03-26 18:50:23 +0200 | [diff] [blame] | 109 | config PHY_GIGE |
| 110 | bool "Enable GbE PHY status parsing and configuration" |
| 111 | help |
| 112 | Enables support for parsing the status output and for |
| 113 | configuring GbE PHYs (affects the inner workings of some |
| 114 | commands and miiphyutil.c). |
| 115 | |
Marek Vasut | 0a3d0e1 | 2016-05-24 23:29:09 +0200 | [diff] [blame] | 116 | config AG7XXX |
| 117 | bool "Atheros AG7xxx Ethernet MAC support" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 118 | depends on ARCH_ATH79 |
Marek Vasut | 0a3d0e1 | 2016-05-24 23:29:09 +0200 | [diff] [blame] | 119 | select PHYLIB |
| 120 | help |
| 121 | This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is |
| 122 | present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips. |
| 123 | |
| 124 | |
Thomas Chou | ec06dd8 | 2015-10-22 15:29:11 +0800 | [diff] [blame] | 125 | config ALTERA_TSE |
| 126 | bool "Altera Triple-Speed Ethernet MAC support" |
Thomas Chou | ec06dd8 | 2015-10-22 15:29:11 +0800 | [diff] [blame] | 127 | select PHYLIB |
| 128 | help |
| 129 | This driver supports the Altera Triple-Speed (TSE) Ethernet MAC. |
| 130 | Please find details on the "Triple-Speed Ethernet MegaCore Function |
| 131 | Resource Center" of Altera. |
| 132 | |
Suji Velupillai | d2f677a | 2017-07-10 14:05:41 -0700 | [diff] [blame] | 133 | config BCM_SF2_ETH |
| 134 | bool "Broadcom SF2 (Starfighter2) Ethernet support" |
| 135 | select PHYLIB |
| 136 | help |
| 137 | This is an abstract framework which provides a generic interface |
| 138 | to MAC and DMA management for multiple Broadcom SoCs such as |
| 139 | Cygnus, NSP and bcm28155_ap platforms. |
| 140 | |
| 141 | config BCM_SF2_ETH_DEFAULT_PORT |
| 142 | int "Broadcom SF2 (Starfighter2) Ethernet default port number" |
| 143 | depends on BCM_SF2_ETH |
| 144 | default 0 |
| 145 | help |
| 146 | Default port number for the Starfighter2 ethernet driver. |
| 147 | |
| 148 | config BCM_SF2_ETH_GMAC |
| 149 | bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support" |
| 150 | depends on BCM_SF2_ETH |
| 151 | help |
| 152 | This flag enables the ethernet support for Broadcom platforms with |
| 153 | GMAC such as Cygnus. This driver is based on the framework provided |
| 154 | by the BCM_SF2_ETH driver. |
| 155 | Say Y to any bcmcygnus based platforms. |
| 156 | |
Álvaro Fernández Rojas | 204fd5e | 2018-12-01 19:00:24 +0100 | [diff] [blame] | 157 | config BCM6348_ETH |
| 158 | bool "BCM6348 EMAC support" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 159 | depends on ARCH_BMIPS |
Álvaro Fernández Rojas | 204fd5e | 2018-12-01 19:00:24 +0100 | [diff] [blame] | 160 | select DMA |
| 161 | select DMA_CHANNELS |
| 162 | select MII |
| 163 | select PHYLIB |
| 164 | help |
| 165 | This driver supports the BCM6348 Ethernet MAC. |
| 166 | |
Álvaro Fernández Rojas | b0b2254 | 2018-12-01 19:00:32 +0100 | [diff] [blame] | 167 | config BCM6368_ETH |
| 168 | bool "BCM6368 EMAC support" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 169 | depends on ARCH_BMIPS |
Álvaro Fernández Rojas | b0b2254 | 2018-12-01 19:00:32 +0100 | [diff] [blame] | 170 | select DMA |
| 171 | select MII |
| 172 | help |
| 173 | This driver supports the BCM6368 Ethernet MAC. |
| 174 | |
Amit Singh Tomar | 8f656c5 | 2020-01-27 01:14:42 +0000 | [diff] [blame] | 175 | config BCMGENET |
| 176 | bool "BCMGENET V5 support" |
Amit Singh Tomar | 8f656c5 | 2020-01-27 01:14:42 +0000 | [diff] [blame] | 177 | select PHYLIB |
| 178 | help |
| 179 | This driver supports the BCMGENET Ethernet MAC. |
| 180 | |
Tom Rini | fc42f2c | 2022-11-27 10:25:02 -0500 | [diff] [blame] | 181 | source "drivers/net/bnxt/Kconfig" |
| 182 | |
Aaron Tseng | ebcdddd | 2021-01-14 13:34:11 -0800 | [diff] [blame] | 183 | config CORTINA_NI_ENET |
| 184 | bool "Cortina-Access Ethernet driver" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 185 | depends on CORTINA_PLATFORM |
Aaron Tseng | ebcdddd | 2021-01-14 13:34:11 -0800 | [diff] [blame] | 186 | help |
| 187 | This driver supports the Cortina-Access Ethernet MAC for |
| 188 | all supported CAxxxx SoCs. |
| 189 | |
Andre Przywara | 7352fb9 | 2021-04-12 01:04:52 +0100 | [diff] [blame] | 190 | config CALXEDA_XGMAC |
| 191 | bool "Calxeda XGMAC support" |
Andre Przywara | 7352fb9 | 2021-04-12 01:04:52 +0100 | [diff] [blame] | 192 | help |
| 193 | This driver supports the XGMAC in Calxeda Highbank and Midway |
| 194 | machines. |
| 195 | |
Marek Vasut | d210597 | 2022-04-13 04:15:38 +0200 | [diff] [blame] | 196 | config DRIVER_DM9000 |
| 197 | bool "Davicom DM9000 controller driver" |
| 198 | help |
| 199 | The Davicom DM9000 parallel bus external ethernet interface chip. |
| 200 | |
Tom Rini | 599b11b | 2022-12-02 16:42:18 -0500 | [diff] [blame] | 201 | config DM9000_BYTE_SWAPPED |
| 202 | bool "Byte swapped access for DM9000" |
| 203 | depends on DRIVER_DM9000 |
| 204 | |
| 205 | config DM9000_NO_SROM |
| 206 | bool "No SROM on DM9000" |
| 207 | depends on DRIVER_DM9000 |
| 208 | |
| 209 | config DM9000_USE_16BIT |
| 210 | bool "Use 16bit access in DM9000" |
| 211 | depends on DRIVER_DM9000 |
| 212 | |
Stephen Warren | 5070960 | 2016-10-21 14:46:47 -0600 | [diff] [blame] | 213 | config DWC_ETH_QOS |
| 214 | bool "Synopsys DWC Ethernet QOS device support" |
Stephen Warren | 5070960 | 2016-10-21 14:46:47 -0600 | [diff] [blame] | 215 | select PHYLIB |
| 216 | help |
| 217 | This driver supports the Synopsys Designware Ethernet QOS (Quality |
| 218 | Of Service) IP block. The IP supports many options for bus type, |
Patrick Delaunay | 6808390 | 2020-06-08 11:27:19 +0200 | [diff] [blame] | 219 | clocking/reset structure, and feature list. |
| 220 | |
| 221 | config DWC_ETH_QOS_IMX |
| 222 | bool "Synopsys DWC Ethernet QOS device support for IMX" |
| 223 | depends on DWC_ETH_QOS |
| 224 | help |
| 225 | The Synopsys Designware Ethernet QOS IP block with the specific |
| 226 | configuration used in IMX soc. |
| 227 | |
Jonas Karlman | 098ee4f | 2023-10-01 19:17:19 +0000 | [diff] [blame] | 228 | config DWC_ETH_QOS_ROCKCHIP |
| 229 | bool "Synopsys DWC Ethernet QOS device support for Rockchip SoCs" |
| 230 | depends on DWC_ETH_QOS |
| 231 | select DM_ETH_PHY |
| 232 | help |
| 233 | The Synopsys Designware Ethernet QOS IP block with specific |
| 234 | configuration used in Rockchip SoCs. |
| 235 | |
Patrick Delaunay | 6808390 | 2020-06-08 11:27:19 +0200 | [diff] [blame] | 236 | config DWC_ETH_QOS_STM32 |
| 237 | bool "Synopsys DWC Ethernet QOS device support for STM32" |
| 238 | depends on DWC_ETH_QOS |
Patrick Delaunay | d9dc80c | 2021-07-20 20:09:55 +0200 | [diff] [blame] | 239 | select DM_ETH_PHY |
Patrick Delaunay | 6808390 | 2020-06-08 11:27:19 +0200 | [diff] [blame] | 240 | default y if ARCH_STM32MP |
| 241 | help |
| 242 | The Synopsys Designware Ethernet QOS IP block with the specific |
| 243 | configuration used in STM32MP soc. |
| 244 | |
| 245 | config DWC_ETH_QOS_TEGRA186 |
| 246 | bool "Synopsys DWC Ethernet QOS device support for TEGRA186" |
| 247 | depends on DWC_ETH_QOS |
| 248 | default y if TEGRA186 |
| 249 | help |
| 250 | The Synopsys Designware Ethernet QOS IP block with specific |
| 251 | configuration used in NVIDIA's Tegra186 chip. |
Stephen Warren | 5070960 | 2016-10-21 14:46:47 -0600 | [diff] [blame] | 252 | |
Sumit Garg | 7c3be94 | 2023-02-01 19:28:55 +0530 | [diff] [blame] | 253 | config DWC_ETH_QOS_QCOM |
| 254 | bool "Synopsys DWC Ethernet QOS device support for Qcom SoCs" |
| 255 | depends on DWC_ETH_QOS |
| 256 | help |
| 257 | The Synopsys Designware Ethernet QOS IP block with specific |
| 258 | configuration used in Qcom QCS404 SoC. |
| 259 | |
Yanhong Wang | 1f502ee | 2023-06-15 17:36:43 +0800 | [diff] [blame] | 260 | config DWC_ETH_QOS_STARFIVE |
| 261 | bool "Synopsys DWC Ethernet QOS device support for STARFIVE" |
| 262 | depends on DWC_ETH_QOS |
| 263 | help |
| 264 | The Synopsys Designware Ethernet QOS IP block with specific |
| 265 | configuration used in STARFIVE JH7110 soc. |
| 266 | |
Simon Glass | a83ccd5 | 2015-08-19 09:33:41 -0600 | [diff] [blame] | 267 | config E1000 |
| 268 | bool "Intel PRO/1000 Gigabit Ethernet support" |
Sean Anderson | d22315a | 2022-04-26 14:35:33 -0400 | [diff] [blame] | 269 | depends on PCI |
Simon Glass | a83ccd5 | 2015-08-19 09:33:41 -0600 | [diff] [blame] | 270 | help |
| 271 | This driver supports Intel(R) PRO/1000 gigabit ethernet family of |
| 272 | adapters. For more information on how to identify your adapter, go |
| 273 | to the Adapter & Driver ID Guide at: |
| 274 | |
| 275 | <http://support.intel.com/support/network/adapter/pro100/21397.htm> |
| 276 | |
Tom Rini | a35003b | 2022-06-08 08:24:23 -0400 | [diff] [blame] | 277 | config E1000_NO_NVM |
| 278 | bool "Intel PRO/1000 has no NVMEM / EEPROM" |
| 279 | depends on E1000 |
| 280 | |
Simon Glass | a83ccd5 | 2015-08-19 09:33:41 -0600 | [diff] [blame] | 281 | config E1000_SPI_GENERIC |
| 282 | bool "Allow access to the Intel 8257x SPI bus" |
| 283 | depends on E1000 |
| 284 | help |
| 285 | Allow generic access to the SPI bus on the Intel 8257x, for |
| 286 | example with the "sspi" command. |
| 287 | |
| 288 | config E1000_SPI |
| 289 | bool "Enable SPI bus utility code" |
| 290 | depends on E1000 |
| 291 | help |
| 292 | Utility code for direct access to the SPI bus on Intel 8257x. |
| 293 | This does not do anything useful unless you set at least one |
| 294 | of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC. |
| 295 | |
| 296 | config CMD_E1000 |
| 297 | bool "Enable the e1000 command" |
| 298 | depends on E1000 |
| 299 | help |
| 300 | This enables the 'e1000' management command for E1000 devices. When |
| 301 | used on devices with SPI support you can reprogram the EEPROM from |
| 302 | U-Boot. |
| 303 | |
Marek Vasut | 2dcaf85 | 2020-05-23 18:07:53 +0200 | [diff] [blame] | 304 | config EEPRO100 |
| 305 | bool "Intel PRO/100 82557/82559/82559ER Fast Ethernet support" |
| 306 | help |
| 307 | This driver supports Intel(R) PRO/100 82557/82559/82559ER fast |
| 308 | ethernet family of adapters. |
| 309 | |
Joe Hershberger | 6ab7699 | 2015-03-22 17:09:13 -0500 | [diff] [blame] | 310 | config ETH_SANDBOX |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 311 | depends on SANDBOX |
Joe Hershberger | 6ab7699 | 2015-03-22 17:09:13 -0500 | [diff] [blame] | 312 | default y |
| 313 | bool "Sandbox: Mocked Ethernet driver" |
| 314 | help |
| 315 | This driver simply responds with fake ARP replies and ping |
| 316 | replies that are used to verify network stack functionality |
| 317 | |
| 318 | This driver is particularly useful in the test/dm/eth.c tests |
| 319 | |
Joe Hershberger | 586cbd1 | 2015-03-22 17:09:21 -0500 | [diff] [blame] | 320 | config ETH_SANDBOX_RAW |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 321 | depends on SANDBOX |
Joe Hershberger | 586cbd1 | 2015-03-22 17:09:21 -0500 | [diff] [blame] | 322 | default y |
| 323 | bool "Sandbox: Bridge to Linux Raw Sockets" |
| 324 | help |
| 325 | This driver is a bridge from the bottom of the network stack |
| 326 | in U-Boot to the RAW AF_PACKET API in Linux. This allows real |
| 327 | network traffic to be tested from within sandbox. See |
Keerthy | fa00255 | 2019-07-29 13:52:04 +0530 | [diff] [blame] | 328 | doc/arch/index.rst for more details. |
Joe Hershberger | 586cbd1 | 2015-03-22 17:09:21 -0500 | [diff] [blame] | 329 | |
Simon Glass | 6e37874 | 2015-04-05 16:07:34 -0600 | [diff] [blame] | 330 | config ETH_DESIGNWARE |
| 331 | bool "Synopsys Designware Ethernet MAC" |
Thomas Chou | 7a0dfa6 | 2015-12-07 20:53:29 +0800 | [diff] [blame] | 332 | select PHYLIB |
Simon Goldschmidt | ad58893 | 2019-01-13 19:58:41 +0100 | [diff] [blame] | 333 | imply ETH_DESIGNWARE_SOCFPGA if ARCH_SOCFPGA |
Simon Glass | 6e37874 | 2015-04-05 16:07:34 -0600 | [diff] [blame] | 334 | help |
| 335 | This MAC is present in SoCs from various vendors. It supports |
| 336 | 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to |
| 337 | provide the PHY (physical media interface). |
| 338 | |
Neil Armstrong | 145aff7 | 2021-02-24 20:33:56 +0100 | [diff] [blame] | 339 | config ETH_DESIGNWARE_MESON8B |
| 340 | bool "Amlogic Meson8b and later glue driver for Synopsys Designware Ethernet MAC" |
Neil Armstrong | 145aff7 | 2021-02-24 20:33:56 +0100 | [diff] [blame] | 341 | select ETH_DESIGNWARE |
| 342 | help |
| 343 | This provides glue layer to use Synopsys Designware Ethernet MAC |
| 344 | present on the Amlogic Meson8b, GX, AXG & G12A SoCs. |
| 345 | |
Marek Vasut | 0d9a4a0 | 2018-08-13 19:32:14 +0200 | [diff] [blame] | 346 | config ETH_DESIGNWARE_SOCFPGA |
Simon Goldschmidt | b50afc8 | 2019-01-13 19:58:40 +0100 | [diff] [blame] | 347 | select REGMAP |
| 348 | select SYSCON |
Tom Rini | 7ac21a3 | 2022-06-15 12:03:43 -0400 | [diff] [blame] | 349 | select DW_ALTDESCRIPTOR |
Marek Vasut | 0d9a4a0 | 2018-08-13 19:32:14 +0200 | [diff] [blame] | 350 | bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 351 | depends on ETH_DESIGNWARE |
Marek Vasut | 0d9a4a0 | 2018-08-13 19:32:14 +0200 | [diff] [blame] | 352 | help |
| 353 | The Altera SoCFPGA requires additional configuration of the |
| 354 | Altera system manager to correctly interface with the PHY. |
| 355 | This code handles those SoC specifics. |
| 356 | |
Amit Singh Tomar | 03d6edb | 2020-05-09 19:55:12 +0530 | [diff] [blame] | 357 | config ETH_DESIGNWARE_S700 |
| 358 | bool "Actins S700 glue driver for Synopsys Designware Ethernet MAC" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 359 | depends on ETH_DESIGNWARE |
Amit Singh Tomar | 03d6edb | 2020-05-09 19:55:12 +0530 | [diff] [blame] | 360 | help |
| 361 | This provides glue layer to use Synopsys Designware Ethernet MAC |
| 362 | present on Actions S700 SoC. |
| 363 | |
Tom Rini | 7ac21a3 | 2022-06-15 12:03:43 -0400 | [diff] [blame] | 364 | config DW_ALTDESCRIPTOR |
| 365 | bool "Designware Ethernet MAC uses alternate (enhanced) descriptors" |
| 366 | depends on ETH_DESIGNWARE |
| 367 | |
Max Filippov | e07d3d2 | 2016-08-05 18:26:15 +0300 | [diff] [blame] | 368 | config ETHOC |
| 369 | bool "OpenCores 10/100 Mbps Ethernet MAC" |
| 370 | help |
| 371 | This MAC is present in OpenRISC and Xtensa XTFPGA boards. |
| 372 | |
Peng Fan | a65e036 | 2018-03-28 20:54:14 +0800 | [diff] [blame] | 373 | config FEC_MXC_SHARE_MDIO |
| 374 | bool "Share the MDIO bus for FEC controller" |
| 375 | depends on FEC_MXC |
| 376 | |
| 377 | config FEC_MXC_MDIO_BASE |
| 378 | hex "MDIO base address for the FEC controller" |
| 379 | depends on FEC_MXC_SHARE_MDIO |
| 380 | help |
| 381 | This specifies the MDIO registers base address. It is used when |
| 382 | two FEC controllers share MDIO bus. |
| 383 | |
Jagan Teki | a48af85 | 2016-10-08 18:00:12 +0530 | [diff] [blame] | 384 | config FEC_MXC |
| 385 | bool "FEC Ethernet controller" |
Peng Fan | fad6d90 | 2022-07-26 16:41:12 +0800 | [diff] [blame] | 386 | depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || IMX8ULP || IMX93 || VF610 |
Jagan Teki | a48af85 | 2016-10-08 18:00:12 +0530 | [diff] [blame] | 387 | help |
| 388 | This driver supports the 10/100 Fast Ethernet controller for |
| 389 | NXP i.MX processors. |
| 390 | |
Tom Rini | fa911f8 | 2019-05-12 07:59:12 -0400 | [diff] [blame] | 391 | config FMAN_ENET |
| 392 | bool "Freescale FMan ethernet support" |
| 393 | depends on ARM || PPC |
Tom Rini | 82a703b | 2022-07-23 13:05:06 -0400 | [diff] [blame] | 394 | select SYS_FMAN_V3 if ARCH_B4420 || ARCH_B4860 || ARCH_LS1043A || \ |
| 395 | ARCH_LS1046A || ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || \ |
| 396 | ARCH_T2080 || ARCH_T4240 |
Tom Rini | 6fb86c1 | 2022-12-02 16:42:21 -0500 | [diff] [blame] | 397 | select FSL_FM_10GEC_REGULAR_NOTATION if ARCH_T1024 |
Tom Rini | fa911f8 | 2019-05-12 07:59:12 -0400 | [diff] [blame] | 398 | help |
| 399 | This driver support the Freescale FMan Ethernet controller |
| 400 | |
Rajesh Bhagat | aec3801 | 2021-11-09 16:30:38 +0530 | [diff] [blame] | 401 | config SYS_FMAN_FW_ADDR |
| 402 | hex "FMAN Firmware Address" |
| 403 | depends on FMAN_ENET |
| 404 | default 0x0 |
| 405 | |
| 406 | config SYS_QE_FMAN_FW_LENGTH |
| 407 | hex "FMAN QE Firmware length" |
| 408 | depends on FMAN_ENET || QE || U_QE |
| 409 | default 0x10000 |
| 410 | |
Tom Rini | 82a703b | 2022-07-23 13:05:06 -0400 | [diff] [blame] | 411 | config SYS_FMAN_V3 |
| 412 | bool |
Tom Rini | 33ae6a7 | 2022-07-23 13:05:10 -0400 | [diff] [blame] | 413 | select FSL_MEMAC |
Tom Rini | 82a703b | 2022-07-23 13:05:06 -0400 | [diff] [blame] | 414 | help |
| 415 | SoC has FMan v3 with mEMAC |
| 416 | |
Tom Rini | 6fb86c1 | 2022-12-02 16:42:21 -0500 | [diff] [blame] | 417 | config FSL_FM_10GEC_REGULAR_NOTATION |
| 418 | bool |
| 419 | help |
| 420 | On SoCs T4240, T2080, LS1043A, etc, the notation between 10GEC and |
| 421 | MAC as below: |
| 422 | 10GEC1->MAC9, 10GEC2->MAC10, 10GEC3->MAC1, 10GEC4->MAC2 |
| 423 | While on SoCs T1024, etc, the notation between 10GEC and MAC as below: |
| 424 | 10GEC1->MAC1, 10GEC2->MAC2 |
| 425 | so we introduce CONFIG_FSL_FM_10GEC_REGULAR_NOTATION to identify the |
| 426 | new SoCs on which 10GEC enumeration is consistent with MAC |
| 427 | enumeration. |
| 428 | |
Tom Rini | c5ea8ed | 2017-05-26 11:18:53 -0400 | [diff] [blame] | 429 | config FTMAC100 |
| 430 | bool "Ftmac100 Ethernet Support" |
Sergei Antonov | b8a0ab9 | 2023-02-03 22:09:04 +0300 | [diff] [blame] | 431 | select MII |
Tom Rini | c5ea8ed | 2017-05-26 11:18:53 -0400 | [diff] [blame] | 432 | help |
| 433 | This MAC is present in Andestech SoCs. |
| 434 | |
Cédric Le Goater | 38b33e9 | 2018-10-29 07:06:31 +0100 | [diff] [blame] | 435 | config FTGMAC100 |
| 436 | bool "Ftgmac100 Ethernet Support" |
Cédric Le Goater | 38b33e9 | 2018-10-29 07:06:31 +0100 | [diff] [blame] | 437 | select PHYLIB |
| 438 | help |
| 439 | This driver supports the Faraday's FTGMAC100 Gigabit SoC |
| 440 | Ethernet controller that can be found on Aspeed SoCs (which |
| 441 | include NCSI). |
| 442 | |
| 443 | It is fully compliant with IEEE 802.3 specification for |
| 444 | 10/100 Mbps Ethernet and IEEE 802.3z specification for 1000 |
| 445 | Mbps Ethernet and includes Reduced Media Independent |
| 446 | Interface (RMII) and Reduced Gigabit Media Independent |
| 447 | Interface (RGMII) interfaces. It adopts an AHB bus interface |
| 448 | and integrates a link list DMA engine with direct M-Bus |
| 449 | accesses for transmitting and receiving packets. It has |
| 450 | independent TX/RX fifos, supports half and full duplex (1000 |
| 451 | Mbps mode only supports full duplex), flow control for full |
| 452 | duplex and backpressure for half duplex. |
| 453 | |
| 454 | The FTGMAC100 also implements IP, TCP, UDP checksum offloads |
| 455 | and supports IEEE 802.1Q VLAN tag insertion and removal. It |
| 456 | offers high-priority transmit queue for QoS and CoS |
| 457 | applications. |
| 458 | |
Tom Rini | bd8253d | 2022-06-25 11:02:36 -0400 | [diff] [blame] | 459 | config SYS_DISCOVER_PHY |
| 460 | bool |
Cédric Le Goater | 38b33e9 | 2018-10-29 07:06:31 +0100 | [diff] [blame] | 461 | |
Angelo Durgehello | a1d3d9f | 2019-11-15 23:54:17 +0100 | [diff] [blame] | 462 | config MCFFEC |
| 463 | bool "ColdFire Ethernet Support" |
Angelo Durgehello | a1d3d9f | 2019-11-15 23:54:17 +0100 | [diff] [blame] | 464 | select PHYLIB |
Tom Rini | bd8253d | 2022-06-25 11:02:36 -0400 | [diff] [blame] | 465 | select SYS_DISCOVER_PHY |
Angelo Durgehello | a1d3d9f | 2019-11-15 23:54:17 +0100 | [diff] [blame] | 466 | help |
| 467 | This driver supports the network interface units in the |
| 468 | ColdFire family. |
| 469 | |
Tom Rini | 74d888f | 2022-06-25 11:02:35 -0400 | [diff] [blame] | 470 | config SYS_UNIFY_CACHE |
| 471 | depends on MCFFEC |
| 472 | bool "Invalidate icache during ethernet operations" |
| 473 | |
Angelo Durgehello | a1d3d9f | 2019-11-15 23:54:17 +0100 | [diff] [blame] | 474 | config FSLDMAFEC |
| 475 | bool "ColdFire DMA Ethernet Support" |
Angelo Durgehello | a1d3d9f | 2019-11-15 23:54:17 +0100 | [diff] [blame] | 476 | select PHYLIB |
Tom Rini | bd8253d | 2022-06-25 11:02:36 -0400 | [diff] [blame] | 477 | select SYS_DISCOVER_PHY |
Angelo Durgehello | a1d3d9f | 2019-11-15 23:54:17 +0100 | [diff] [blame] | 478 | help |
| 479 | This driver supports the network interface units in the |
| 480 | ColdFire family. |
| 481 | |
Marek Vasut | f462228 | 2020-03-25 19:08:59 +0100 | [diff] [blame] | 482 | config KS8851_MLL |
| 483 | bool "Microchip KS8851-MLL controller driver" |
| 484 | help |
| 485 | The Microchip KS8851 parallel bus external ethernet interface chip. |
| 486 | |
Tim Harvey | 06dea1e | 2021-06-30 16:50:08 -0700 | [diff] [blame] | 487 | config KSZ9477 |
| 488 | bool "Microchip KSZ9477 I2C controller driver" |
| 489 | depends on DM_DSA && DM_I2C |
| 490 | help |
| 491 | This driver implements a DSA switch driver for the KSZ9477 family |
| 492 | of GbE switches using the I2C interface. |
| 493 | |
Joel Stanley | 705017a | 2022-09-26 15:35:58 +0930 | [diff] [blame] | 494 | config LITEETH |
| 495 | bool "LiteX LiteEth Ethernet MAC" |
| 496 | help |
| 497 | Driver for the LiteEth Ethernet MAC from LiteX. |
| 498 | |
Tim Harvey | c3cd7f1 | 2022-11-30 09:42:50 -0800 | [diff] [blame] | 499 | config MV88E6XXX |
| 500 | bool "Marvell MV88E6xxx Ethernet switch DSA driver" |
| 501 | depends on DM_DSA && DM_MDIO |
| 502 | help |
| 503 | This driver implements a DSA switch driver for the MV88E6xxx family |
| 504 | of Ethernet switches using the MDIO interface |
| 505 | |
Chris Packham | 943679d | 2018-05-03 23:00:35 +1200 | [diff] [blame] | 506 | config MVGBE |
| 507 | bool "Marvell Orion5x/Kirkwood network interface support" |
Trevor Woerner | bb7ab07 | 2020-05-06 08:02:40 -0400 | [diff] [blame] | 508 | depends on ARCH_KIRKWOOD || ARCH_ORION5X |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 509 | select PHYLIB |
Chris Packham | 943679d | 2018-05-03 23:00:35 +1200 | [diff] [blame] | 510 | help |
| 511 | This driver supports the network interface units in the |
| 512 | Marvell Orion5x and Kirkwood SoCs |
| 513 | |
Chris Packham | 919041c | 2017-08-21 20:17:03 +1200 | [diff] [blame] | 514 | config MVNETA |
Miquel Raynal | 59d42cd | 2017-12-28 15:43:09 +0100 | [diff] [blame] | 515 | bool "Marvell Armada XP/385/3700 network interface support" |
Chris Packham | 44b7cc7 | 2022-11-05 17:23:56 +1300 | [diff] [blame] | 516 | depends on ARMADA_XP || ARMADA_38X || ARMADA_3700 || ALLEYCAT_5 |
Chris Packham | 919041c | 2017-08-21 20:17:03 +1200 | [diff] [blame] | 517 | select PHYLIB |
Marek Behún | 99e296f | 2022-04-27 12:41:46 +0200 | [diff] [blame] | 518 | select DM_MDIO |
Chris Packham | 919041c | 2017-08-21 20:17:03 +1200 | [diff] [blame] | 519 | help |
| 520 | This driver supports the network interface units in the |
Miquel Raynal | 59d42cd | 2017-12-28 15:43:09 +0100 | [diff] [blame] | 521 | Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs |
Chris Packham | 919041c | 2017-08-21 20:17:03 +1200 | [diff] [blame] | 522 | |
Stefan Roese | 96c1904 | 2016-02-10 07:22:10 +0100 | [diff] [blame] | 523 | config MVPP2 |
Stefan Roese | 78a112b | 2017-02-15 11:42:59 +0100 | [diff] [blame] | 524 | bool "Marvell Armada 375/7K/8K network interface support" |
| 525 | depends on ARMADA_375 || ARMADA_8K |
Stefan Roese | 96c1904 | 2016-02-10 07:22:10 +0100 | [diff] [blame] | 526 | select PHYLIB |
Nevo Hed | 5da3884 | 2019-08-15 18:08:45 -0400 | [diff] [blame] | 527 | select MVMDIO |
| 528 | select DM_MDIO |
Stefan Roese | 96c1904 | 2016-02-10 07:22:10 +0100 | [diff] [blame] | 529 | help |
| 530 | This driver supports the network interface units in the |
Stefan Roese | 78a112b | 2017-02-15 11:42:59 +0100 | [diff] [blame] | 531 | Marvell ARMADA 375, 7K and 8K SoCs. |
Stefan Roese | 96c1904 | 2016-02-10 07:22:10 +0100 | [diff] [blame] | 532 | |
Wenyou Yang | e7183de | 2016-11-02 10:06:55 +0800 | [diff] [blame] | 533 | config MACB |
| 534 | bool "Cadence MACB/GEM Ethernet Interface" |
Wenyou Yang | e7183de | 2016-11-02 10:06:55 +0800 | [diff] [blame] | 535 | select PHYLIB |
| 536 | help |
| 537 | The Cadence MACB ethernet interface is found on many Atmel |
| 538 | AT91 and SAMA5 parts. This driver also supports the Cadence |
| 539 | GEM (Gigabit Ethernet MAC) found in some ARM SoC devices. |
| 540 | Say Y to include support for the MACB/GEM chip. |
| 541 | |
Wilson Lee | 41d6d1e | 2017-08-22 20:25:07 -0700 | [diff] [blame] | 542 | config MACB_ZYNQ |
| 543 | bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq" |
| 544 | depends on MACB |
| 545 | help |
| 546 | The Cadence MACB ethernet interface was used on Zynq platform. |
| 547 | Say Y to enable support for the MACB/GEM in Zynq chip. |
| 548 | |
developer | 7b4c8be | 2020-11-12 16:36:53 +0800 | [diff] [blame] | 549 | config MT7620_ETH |
| 550 | bool "MediaTek MT7620 Ethernet Interface" |
| 551 | depends on SOC_MT7620 |
| 552 | select PHYLIB |
| 553 | select DM_RESET |
| 554 | select DM_GPIO |
| 555 | select CLK |
| 556 | help |
| 557 | The MediaTek MT7620 ethernet interface is used on MT7620 based |
| 558 | boards. It has a built-in switch with two configurable ports which |
| 559 | can connect to external PHY/MACs. |
| 560 | |
Stefan Roese | f994768 | 2018-10-26 14:53:27 +0200 | [diff] [blame] | 561 | config MT7628_ETH |
| 562 | bool "MediaTek MT7628 Ethernet Interface" |
developer | 89f051b | 2019-04-30 11:13:58 +0800 | [diff] [blame] | 563 | depends on SOC_MT7628 |
developer | a564411 | 2019-09-25 17:45:33 +0800 | [diff] [blame] | 564 | select PHYLIB |
Stefan Roese | f994768 | 2018-10-26 14:53:27 +0200 | [diff] [blame] | 565 | help |
| 566 | The MediaTek MT7628 ethernet interface is used on MT7628 and |
| 567 | MT7688 based boards. |
| 568 | |
Jim Liu | eaddbcb | 2022-05-17 16:28:11 +0800 | [diff] [blame] | 569 | config NET_NPCM750 |
| 570 | bool "Nuvoton NPCM750 Ethernet MAC" |
| 571 | help |
| 572 | support NPCM750 EMAC |
| 573 | |
Stefan Roese | c404ac7 | 2022-04-07 09:11:52 +0200 | [diff] [blame] | 574 | config NET_OCTEON |
| 575 | bool "MIPS Octeon ethernet support" |
| 576 | depends on ARCH_OCTEON |
| 577 | help |
| 578 | You must select Y to enable network device support for |
| 579 | MIPS Octeon SoCs. If unsure, say n |
| 580 | |
Suneel Garapati | 53dc448 | 2020-08-26 14:37:33 +0200 | [diff] [blame] | 581 | config NET_OCTEONTX |
| 582 | bool "OcteonTX Ethernet support" |
| 583 | depends on ARCH_OCTEONTX |
| 584 | depends on PCI_SRIOV |
| 585 | help |
| 586 | You must select Y to enable network device support for |
| 587 | OcteonTX SoCs. If unsure, say n |
Suneel Garapati | 8666ae8 | 2020-08-26 14:37:42 +0200 | [diff] [blame] | 588 | |
| 589 | config NET_OCTEONTX2 |
| 590 | bool "OcteonTX2 Ethernet support" |
| 591 | depends on ARCH_OCTEONTX2 |
| 592 | select OCTEONTX2_CGX_INTF |
| 593 | help |
| 594 | You must select Y to enable network device support for |
| 595 | OcteonTX2 SoCs. If unsure, say n |
| 596 | |
Suneel Garapati | 53dc448 | 2020-08-26 14:37:33 +0200 | [diff] [blame] | 597 | config OCTEONTX_SMI |
| 598 | bool "OcteonTX SMI Device support" |
| 599 | depends on ARCH_OCTEONTX || ARCH_OCTEONTX2 |
| 600 | help |
| 601 | You must select Y to enable SMI controller support for |
| 602 | OcteonTX or OcteonTX2 SoCs. If unsure, say n |
| 603 | |
Suneel Garapati | 8666ae8 | 2020-08-26 14:37:42 +0200 | [diff] [blame] | 604 | config OCTEONTX2_CGX_INTF |
| 605 | bool "OcteonTX2 CGX ATF interface support" |
| 606 | depends on ARCH_OCTEONTX2 |
| 607 | default y if ARCH_OCTEONTX2 |
| 608 | help |
| 609 | You must select Y to enable CGX ATF interface support for |
| 610 | OcteonTX2 SoCs. If unsure, say n |
| 611 | |
Bin Meng | 64d3dca | 2015-08-27 22:25:58 -0700 | [diff] [blame] | 612 | config PCH_GBE |
| 613 | bool "Intel Platform Controller Hub EG20T GMAC driver" |
Bin Meng | 64d3dca | 2015-08-27 22:25:58 -0700 | [diff] [blame] | 614 | select PHYLIB |
| 615 | help |
| 616 | This MAC is present in Intel Platform Controller Hub EG20T. It |
| 617 | supports 10/100/1000 Mbps operation. |
| 618 | |
Mylène Josserand | e44eb3a | 2017-04-02 12:59:08 +0200 | [diff] [blame] | 619 | config RGMII |
| 620 | bool "Enable RGMII" |
| 621 | help |
| 622 | Enable the support of the Reduced Gigabit Media-Independent |
| 623 | Interface (RGMII). |
| 624 | |
Adam Ford | 5370547 | 2018-07-20 23:03:57 -0500 | [diff] [blame] | 625 | config MII |
| 626 | bool "Enable MII" |
| 627 | help |
| 628 | Enable support of the Media-Independent Interface (MII) |
| 629 | |
Tom Rini | e09aab1 | 2022-03-18 08:38:22 -0400 | [diff] [blame] | 630 | config RMII |
| 631 | bool "Enable RMII" |
| 632 | help |
| 633 | Enable support of the Reduced Media-Independent Interface (MII) |
| 634 | |
Marek Vasut | 7275b62 | 2020-05-17 18:14:17 +0200 | [diff] [blame] | 635 | config PCNET |
| 636 | bool "AMD PCnet series Ethernet controller driver" |
| 637 | help |
| 638 | This driver supports AMD PCnet series fast ethernet family of |
| 639 | PCI chipsets/adapters. |
| 640 | |
Heiko Schocher | 41b64a8 | 2020-02-06 09:48:16 +0100 | [diff] [blame] | 641 | source "drivers/net/qe/Kconfig" |
| 642 | |
Bin Meng | a6448df | 2016-03-21 06:47:41 -0700 | [diff] [blame] | 643 | config RTL8139 |
| 644 | bool "Realtek 8139 series Ethernet controller driver" |
| 645 | help |
| 646 | This driver supports Realtek 8139 series fast ethernet family of |
| 647 | PCI chipsets/adapters. |
| 648 | |
Bin Meng | 2997122 | 2016-03-21 06:47:42 -0700 | [diff] [blame] | 649 | config RTL8169 |
| 650 | bool "Realtek 8169 series Ethernet controller driver" |
Eugen Hristev | 88978dd | 2023-05-17 13:41:24 +0300 | [diff] [blame] | 651 | depends on PCI |
Bin Meng | 2997122 | 2016-03-21 06:47:42 -0700 | [diff] [blame] | 652 | help |
| 653 | This driver supports Realtek 8169 series gigabit ethernet family of |
| 654 | PCI/PCIe chipsets/adapters. |
| 655 | |
Vladimir Oltean | 67bfc85 | 2021-09-29 18:04:41 +0300 | [diff] [blame] | 656 | config SJA1105 |
| 657 | bool "NXP SJA1105 Ethernet switch family driver" |
| 658 | depends on DM_DSA && DM_SPI |
| 659 | select BITREVERSE |
| 660 | help |
| 661 | This is the driver for the NXP SJA1105 automotive Ethernet switch |
| 662 | family. These are 5-port devices and are managed over an SPI |
| 663 | interface. Probing is handled based on OF bindings. The driver |
| 664 | supports the following revisions: |
| 665 | - SJA1105E (Gen. 1, No TT-Ethernet) |
| 666 | - SJA1105T (Gen. 1, TT-Ethernet) |
| 667 | - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet) |
| 668 | - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet) |
| 669 | - SJA1105R (Gen. 2, SGMII, No TT-Ethernet) |
| 670 | - SJA1105S (Gen. 2, SGMII, TT-Ethernet) |
| 671 | |
Adam Ford | 0a044f8 | 2017-09-05 15:20:44 -0500 | [diff] [blame] | 672 | config SMC911X |
| 673 | bool "SMSC LAN911x and LAN921x controller driver" |
| 674 | |
Adam Ford | 0a044f8 | 2017-09-05 15:20:44 -0500 | [diff] [blame] | 675 | config SMC911X_32_BIT |
Andre Przywara | 30301e5 | 2021-06-28 14:30:30 +0100 | [diff] [blame] | 676 | bool "Enable SMC911X 32-bit interface" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 677 | depends on SMC911X |
Adam Ford | 0a044f8 | 2017-09-05 15:20:44 -0500 | [diff] [blame] | 678 | help |
Andre Przywara | 30301e5 | 2021-06-28 14:30:30 +0100 | [diff] [blame] | 679 | Define this if data bus is 32 bits. If your processor use a |
| 680 | narrower 16 bit bus or cannot convert one 32 bit word to two 16 bit |
| 681 | words, leave this to "n". |
Adam Ford | 0a044f8 | 2017-09-05 15:20:44 -0500 | [diff] [blame] | 682 | |
Mylène Josserand | c1506ef | 2017-04-02 12:59:03 +0200 | [diff] [blame] | 683 | config SUN7I_GMAC |
| 684 | bool "Enable Allwinner GMAC Ethernet support" |
| 685 | help |
| 686 | Enable the support for Sun7i GMAC Ethernet controller |
| 687 | |
Stefan Mavrodiev | eaee858 | 2017-11-03 08:56:51 +0200 | [diff] [blame] | 688 | config SUN7I_GMAC_FORCE_TXERR |
| 689 | bool "Force PA17 as gmac function" |
| 690 | depends on SUN7I_GMAC |
| 691 | help |
| 692 | Some ethernet phys needs TXERR control. Since the GMAC |
| 693 | doesn't have such signal, setting PA17 as GMAC function |
| 694 | makes the pin output low, which enables data transmission. |
| 695 | |
Mylène Josserand | 43ef184 | 2017-04-02 12:59:07 +0200 | [diff] [blame] | 696 | config SUN4I_EMAC |
| 697 | bool "Allwinner Sun4i Ethernet MAC support" |
Artturi Alm | 8ed0917 | 2017-11-08 05:08:58 +0200 | [diff] [blame] | 698 | select PHYLIB |
Mylène Josserand | 43ef184 | 2017-04-02 12:59:07 +0200 | [diff] [blame] | 699 | help |
| 700 | This driver supports the Allwinner based SUN4I Ethernet MAC. |
| 701 | |
Amit Singh Tomar | d194c0e | 2016-07-06 17:59:44 +0530 | [diff] [blame] | 702 | config SUN8I_EMAC |
| 703 | bool "Allwinner Sun8i Ethernet MAC support" |
Amit Singh Tomar | d194c0e | 2016-07-06 17:59:44 +0530 | [diff] [blame] | 704 | select PHYLIB |
Philipp Tomsich | 00c3361 | 2017-03-26 18:50:23 +0200 | [diff] [blame] | 705 | select PHY_GIGE |
Amit Singh Tomar | d194c0e | 2016-07-06 17:59:44 +0530 | [diff] [blame] | 706 | help |
| 707 | This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC. |
| 708 | It can be found in H3/A64/A83T based SoCs and compatible with both |
Tom Rini | 1eee117 | 2017-02-20 09:38:03 -0500 | [diff] [blame] | 709 | External and Internal PHYs. |
Amit Singh Tomar | d194c0e | 2016-07-06 17:59:44 +0530 | [diff] [blame] | 710 | |
Nobuhiro Iwamatsu | f593ecb | 2017-12-01 16:08:03 +0900 | [diff] [blame] | 711 | config SH_ETHER |
| 712 | bool "Renesas SH Ethernet MAC" |
| 713 | select PHYLIB |
Marek Vasut | fc479f6 | 2023-05-31 00:51:29 +0200 | [diff] [blame] | 714 | select PHY_ETHERNET_ID |
Nobuhiro Iwamatsu | f593ecb | 2017-12-01 16:08:03 +0900 | [diff] [blame] | 715 | help |
| 716 | This driver supports the Ethernet for Renesas SH and ARM SoCs. |
| 717 | |
Grygorii Strashko | 5693dee | 2018-10-31 16:21:39 -0500 | [diff] [blame] | 718 | source "drivers/net/ti/Kconfig" |
Adam Ford | 5370547 | 2018-07-20 23:03:57 -0500 | [diff] [blame] | 719 | |
Marek Vasut | 880287c | 2020-06-20 17:43:29 +0200 | [diff] [blame] | 720 | config TULIP |
| 721 | bool "DEC Tulip DC2114x Ethernet support" |
Marek Vasut | 880287c | 2020-06-20 17:43:29 +0200 | [diff] [blame] | 722 | help |
| 723 | This driver supports DEC DC2114x Fast ethernet chips. |
| 724 | |
Michal Simek | 07d204f | 2015-12-09 16:54:42 +0100 | [diff] [blame] | 725 | config XILINX_AXIEMAC |
Michal Simek | 07d204f | 2015-12-09 16:54:42 +0100 | [diff] [blame] | 726 | select PHYLIB |
| 727 | select MII |
| 728 | bool "Xilinx AXI Ethernet" |
| 729 | help |
| 730 | This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs. |
| 731 | |
Ashok Reddy Soma | 6f5480c | 2021-07-02 04:40:34 -0600 | [diff] [blame] | 732 | config XILINX_AXIMRMAC |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 733 | depends on ARCH_VERSAL |
Ashok Reddy Soma | 6f5480c | 2021-07-02 04:40:34 -0600 | [diff] [blame] | 734 | bool "Xilinx AXI MRMAC" |
| 735 | help |
| 736 | MRMAC is a high performance, low latency, adaptable Ethernet |
| 737 | integrated hard IP. This can be configured up to four ports with MAC |
| 738 | rates from 10GE to 100GE. This could be present in some of the Xilinx |
| 739 | Versal designs. |
| 740 | |
Tom Rini | 3d43987 | 2022-11-19 18:45:39 -0500 | [diff] [blame] | 741 | config VSC7385_ENET |
| 742 | bool "Vitesse 7385 Switch Firmware Upload driver" |
| 743 | |
Michal Simek | eaee95a | 2015-12-11 09:41:49 +0100 | [diff] [blame] | 744 | config XILINX_EMACLITE |
Michal Simek | eaee95a | 2015-12-11 09:41:49 +0100 | [diff] [blame] | 745 | select PHYLIB |
| 746 | select MII |
| 747 | bool "Xilinx Ethernetlite" |
| 748 | help |
| 749 | This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs. |
| 750 | |
Michal Simek | 3d7285f | 2015-11-30 14:34:52 +0100 | [diff] [blame] | 751 | config ZYNQ_GEM |
Michal Simek | 27ba090 | 2015-12-11 09:14:31 +0100 | [diff] [blame] | 752 | select PHYLIB |
Michal Simek | 3d7285f | 2015-11-30 14:34:52 +0100 | [diff] [blame] | 753 | bool "Xilinx Ethernet GEM" |
| 754 | help |
Michal Simek | 7fb1d23 | 2015-12-09 16:53:52 +0100 | [diff] [blame] | 755 | This MAC is present in Xilinx Zynq and ZynqMP SoCs. |
Michal Simek | 3d7285f | 2015-11-30 14:34:52 +0100 | [diff] [blame] | 756 | |
Purna Chandra Mandal | 6b731c9 | 2016-01-28 15:30:21 +0530 | [diff] [blame] | 757 | config PIC32_ETH |
| 758 | bool "Microchip PIC32 Ethernet Support" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 759 | depends on MACH_PIC32 |
Purna Chandra Mandal | 6b731c9 | 2016-01-28 15:30:21 +0530 | [diff] [blame] | 760 | select PHYLIB |
| 761 | help |
| 762 | This driver implements 10/100 Mbps Ethernet and MAC layer for |
| 763 | Microchip PIC32 microcontrollers. |
| 764 | |
Sjoerd Simons | 54c46f9 | 2017-01-11 11:46:11 +0100 | [diff] [blame] | 765 | config GMAC_ROCKCHIP |
| 766 | bool "Rockchip Synopsys Designware Ethernet MAC" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 767 | depends on ETH_DESIGNWARE |
Sjoerd Simons | 54c46f9 | 2017-01-11 11:46:11 +0100 | [diff] [blame] | 768 | help |
| 769 | This driver provides Rockchip SoCs network support based on the |
| 770 | Synopsys Designware driver. |
| 771 | |
Phong Hoang | e44a311 | 2023-03-20 21:05:04 +0100 | [diff] [blame] | 772 | config RENESAS_ETHER_SWITCH |
| 773 | bool "Renesas Ethernet Switch support" |
| 774 | depends on DM_ETH && R8A779F0 |
| 775 | select PHYLIB |
| 776 | help |
| 777 | This driver implements support for the Renesas Ethernet Switch |
| 778 | which is available on R-Car S4 SoC (r8a779f0). |
| 779 | |
Marek Vasut | 17714cb | 2017-05-13 15:54:28 +0200 | [diff] [blame] | 780 | config RENESAS_RAVB |
| 781 | bool "Renesas Ethernet AVB MAC" |
Hai Pham | aee59c5 | 2023-04-07 17:12:17 +0200 | [diff] [blame] | 782 | depends on RCAR_64 |
Marek Vasut | 17714cb | 2017-05-13 15:54:28 +0200 | [diff] [blame] | 783 | select PHYLIB |
Marek Vasut | ad778bc | 2023-05-31 00:51:28 +0200 | [diff] [blame] | 784 | select PHY_ETHERNET_ID |
Marek Vasut | 17714cb | 2017-05-13 15:54:28 +0200 | [diff] [blame] | 785 | help |
| 786 | This driver implements support for the Ethernet AVB block in |
| 787 | Renesas M3 and H3 SoCs. |
| 788 | |
Christophe Leroy | 56ef30a | 2017-07-06 10:33:23 +0200 | [diff] [blame] | 789 | config MPC8XX_FEC |
| 790 | bool "Fast Ethernet Controller on MPC8XX" |
Christophe Leroy | b3510fb | 2018-03-16 17:20:41 +0100 | [diff] [blame] | 791 | depends on MPC8xx |
Christophe Leroy | 56ef30a | 2017-07-06 10:33:23 +0200 | [diff] [blame] | 792 | select MII |
Tom Rini | bd8253d | 2022-06-25 11:02:36 -0400 | [diff] [blame] | 793 | select SYS_DISCOVER_PHY |
Christophe Leroy | 56ef30a | 2017-07-06 10:33:23 +0200 | [diff] [blame] | 794 | help |
| 795 | This driver implements support for the Fast Ethernet Controller |
| 796 | on MPC8XX |
| 797 | |
Kunihiko Hayashi | 7dcdc22 | 2018-05-24 19:24:37 +0900 | [diff] [blame] | 798 | config SNI_AVE |
| 799 | bool "Socionext AVE Ethernet support" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 800 | depends on ARCH_UNIPHIER |
Kunihiko Hayashi | 7dcdc22 | 2018-05-24 19:24:37 +0900 | [diff] [blame] | 801 | select PHYLIB |
| 802 | select SYSCON |
| 803 | select REGMAP |
| 804 | help |
| 805 | This driver implements support for the Socionext AVE Ethernet |
| 806 | controller, as found on the Socionext UniPhier family. |
| 807 | |
Jassi Brar | 29c58b0 | 2021-06-04 18:44:38 +0900 | [diff] [blame] | 808 | config SNI_NETSEC |
| 809 | bool "Socionext NETSEC Ethernet support" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 810 | depends on SYNQUACER_SPI |
Jassi Brar | 29c58b0 | 2021-06-04 18:44:38 +0900 | [diff] [blame] | 811 | select PHYLIB |
| 812 | help |
| 813 | This driver implements support for the Socionext SynQuacer NETSEC |
| 814 | ethernet controller, as found on the Socionext SynQuacer family. |
| 815 | |
Horatiu Vultur | ad2bf65 | 2019-01-31 15:30:33 +0100 | [diff] [blame] | 816 | source "drivers/net/mscc_eswitch/Kconfig" |
Gregory CLEMENT | eca26c8 | 2019-01-17 17:07:13 +0100 | [diff] [blame] | 817 | |
Christophe Leroy | 56ef30a | 2017-07-06 10:33:23 +0200 | [diff] [blame] | 818 | config ETHER_ON_FEC1 |
| 819 | bool "FEC1" |
| 820 | depends on MPC8XX_FEC |
| 821 | default y |
| 822 | |
| 823 | config FEC1_PHY |
| 824 | int "FEC1 PHY" |
| 825 | depends on ETHER_ON_FEC1 |
| 826 | default -1 |
| 827 | help |
| 828 | Define to the hardcoded PHY address which corresponds |
| 829 | to the given FEC; i. e. |
| 830 | #define CONFIG_FEC1_PHY 4 |
| 831 | means that the PHY with address 4 is connected to FEC1 |
| 832 | |
| 833 | When set to -1, means to probe for first available. |
| 834 | |
| 835 | config PHY_NORXERR |
| 836 | bool "PHY_NORXERR" |
| 837 | depends on ETHER_ON_FEC1 |
Christophe Leroy | 56ef30a | 2017-07-06 10:33:23 +0200 | [diff] [blame] | 838 | help |
| 839 | The PHY does not have a RXERR line (RMII only). |
| 840 | (so program the FEC to ignore it). |
| 841 | |
| 842 | config ETHER_ON_FEC2 |
| 843 | bool "FEC2" |
| 844 | depends on MPC8XX_FEC && MPC885 |
| 845 | default y |
| 846 | |
| 847 | config FEC2_PHY |
| 848 | int "FEC2 PHY" |
| 849 | depends on ETHER_ON_FEC2 |
| 850 | default -1 |
| 851 | help |
| 852 | Define to the hardcoded PHY address which corresponds |
| 853 | to the given FEC; i. e. |
| 854 | #define CONFIG_FEC1_PHY 4 |
| 855 | means that the PHY with address 4 is connected to FEC1 |
| 856 | |
| 857 | When set to -1, means to probe for first available. |
| 858 | |
| 859 | config FEC2_PHY_NORXERR |
| 860 | bool "PHY_NORXERR" |
| 861 | depends on ETHER_ON_FEC2 |
Christophe Leroy | 56ef30a | 2017-07-06 10:33:23 +0200 | [diff] [blame] | 862 | help |
| 863 | The PHY does not have a RXERR line (RMII only). |
| 864 | (so program the FEC to ignore it). |
| 865 | |
Ahmed Mansour | 816bc41 | 2017-12-15 16:01:01 -0500 | [diff] [blame] | 866 | config SYS_DPAA_QBMAN |
| 867 | bool "Device tree fixup for QBMan on freescale SOCs" |
| 868 | depends on (ARM || PPC) && !SPL_BUILD |
| 869 | default y if ARCH_B4860 || \ |
| 870 | ARCH_B4420 || \ |
| 871 | ARCH_P1023 || \ |
| 872 | ARCH_P2041 || \ |
Ahmed Mansour | 816bc41 | 2017-12-15 16:01:01 -0500 | [diff] [blame] | 873 | ARCH_T1024 || \ |
| 874 | ARCH_T1040 || \ |
| 875 | ARCH_T1042 || \ |
| 876 | ARCH_T2080 || \ |
Ahmed Mansour | 816bc41 | 2017-12-15 16:01:01 -0500 | [diff] [blame] | 877 | ARCH_T4240 || \ |
Ahmed Mansour | 816bc41 | 2017-12-15 16:01:01 -0500 | [diff] [blame] | 878 | ARCH_P4080 || \ |
| 879 | ARCH_P3041 || \ |
| 880 | ARCH_P5040 || \ |
Ahmed Mansour | 816bc41 | 2017-12-15 16:01:01 -0500 | [diff] [blame] | 881 | ARCH_LS1043A || \ |
| 882 | ARCH_LS1046A |
| 883 | help |
| 884 | QBman fixups to allow deep sleep in DPAA 1 SOCs |
| 885 | |
Tom Rini | 8d7aa57 | 2022-07-31 21:08:29 -0400 | [diff] [blame] | 886 | config SYS_FSL_QMAN_V3 |
| 887 | bool # QMAN version 3 |
| 888 | depends on SYS_DPAA_QBMAN |
| 889 | |
Mario Six | da4fc93 | 2018-03-28 14:38:18 +0200 | [diff] [blame] | 890 | config TSEC_ENET |
| 891 | select PHYLIB |
| 892 | bool "Enable Three-Speed Ethernet Controller" |
| 893 | help |
| 894 | This driver implements support for the (Enhanced) Three-Speed |
| 895 | Ethernet Controller found on Freescale SoCs. |
| 896 | |
developer | c3ac93d | 2018-12-20 16:12:53 +0800 | [diff] [blame] | 897 | config MEDIATEK_ETH |
| 898 | bool "MediaTek Ethernet GMAC Driver" |
developer | c3ac93d | 2018-12-20 16:12:53 +0800 | [diff] [blame] | 899 | select PHYLIB |
| 900 | select DM_GPIO |
| 901 | select DM_RESET |
| 902 | help |
| 903 | This Driver support MediaTek Ethernet GMAC |
| 904 | Say Y to enable support for the MediaTek Ethernet GMAC. |
| 905 | |
Shawn Guo | 0e1cc91 | 2019-03-20 15:32:40 +0800 | [diff] [blame] | 906 | config HIGMACV300_ETH |
| 907 | bool "HiSilicon Gigabit Ethernet Controller" |
Shawn Guo | 0e1cc91 | 2019-03-20 15:32:40 +0800 | [diff] [blame] | 908 | select DM_RESET |
| 909 | select PHYLIB |
| 910 | help |
| 911 | This driver supports HIGMACV300 Ethernet controller found on |
| 912 | HiSilicon SoCs. |
| 913 | |
Alex Marginean | 7a910c1 | 2019-07-03 12:11:40 +0300 | [diff] [blame] | 914 | config FSL_ENETC |
| 915 | bool "NXP ENETC Ethernet controller" |
Tom Rini | 4c40e73 | 2022-08-02 07:33:47 -0400 | [diff] [blame] | 916 | depends on DM_MDIO |
Alex Marginean | 7a910c1 | 2019-07-03 12:11:40 +0300 | [diff] [blame] | 917 | help |
| 918 | This driver supports the NXP ENETC Ethernet controller found on some |
| 919 | of the NXP SoCs. |
| 920 | |
Alex Marginean | 3234a5e | 2019-07-16 11:21:17 +0300 | [diff] [blame] | 921 | config MDIO_MUX_I2CREG |
| 922 | bool "MDIO MUX accessed as a register over I2C" |
| 923 | depends on DM_MDIO_MUX && DM_I2C |
| 924 | help |
| 925 | This driver is used for MDIO muxes driven by writing to a register of |
| 926 | an I2C chip. The board it was developed for uses a mux controlled by |
| 927 | on-board FPGA which in turn is accessed as a chip over I2C. |
| 928 | |
Robert Marko | 90dfaeb | 2020-10-08 22:05:11 +0200 | [diff] [blame] | 929 | config MDIO_IPQ4019 |
| 930 | bool "Qualcomm IPQ4019 MDIO interface support" |
| 931 | depends on DM_MDIO |
| 932 | help |
| 933 | This driver supports the MDIO interface found in Qualcomm |
| 934 | IPQ40xx series Soc-s. |
| 935 | |
Alex Marginean | de3e55b | 2019-07-25 12:33:19 +0300 | [diff] [blame] | 936 | config MVMDIO |
| 937 | bool "Marvell MDIO interface support" |
| 938 | depends on DM_MDIO |
| 939 | help |
| 940 | This driver supports the MDIO interface found in the network |
| 941 | interface units of the Marvell EBU SoCs (Kirkwood, Orion5x, |
| 942 | Dove, Armada 370, Armada XP, Armada 37xx and Armada7K/8K/8KP). |
| 943 | |
| 944 | This driver is used by the MVPP2 and MVNETA drivers. |
| 945 | |
Ioana Ciornei | 799a443 | 2020-03-18 16:47:36 +0200 | [diff] [blame] | 946 | config FSL_LS_MDIO |
| 947 | bool "NXP Layerscape MDIO interface support" |
| 948 | depends on DM_MDIO |
| 949 | help |
| 950 | This driver supports the MDIO bus found on the Fman 10G Ethernet MACs and |
| 951 | on the mEMAC (which supports both Clauses 22 and 45). |
| 952 | |
Dylan Hung | b450ee6 | 2021-11-02 13:41:54 +0800 | [diff] [blame] | 953 | config ASPEED_MDIO |
| 954 | bool "Aspeed MDIO interface support" |
| 955 | depends on DM_MDIO |
| 956 | help |
| 957 | This driver supports the MDIO bus of Aspeed AST2600 SOC. The driver |
| 958 | currently supports Clause 22. |
| 959 | |
Neil Armstrong | b66cbb3 | 2021-02-24 15:02:23 +0100 | [diff] [blame] | 960 | config MDIO_MUX_MMIOREG |
| 961 | bool "MDIO MUX accessed as a MMIO register access" |
| 962 | depends on DM_MDIO_MUX |
| 963 | help |
| 964 | This driver is used for MDIO muxes driven by writing to a register in |
| 965 | the MMIO physical memory. |
| 966 | |
Neil Armstrong | d0ddbb9 | 2021-02-24 17:31:53 +0100 | [diff] [blame] | 967 | config MDIO_MUX_MESON_G12A |
| 968 | bool "MDIO MUX for Amlogic Meson G12A SoCs" |
| 969 | depends on DM_MDIO_MUX |
| 970 | help |
| 971 | This driver is used for the MDIO mux found on the Amlogic G12A & compatible |
| 972 | SoCs. |
| 973 | |
Joe Hershberger | 6ab7699 | 2015-03-22 17:09:13 -0500 | [diff] [blame] | 974 | endif # NETDEVICES |