blob: 950ed0f25a9ac5f08a6758ac5cbc3eaf2a1033eb [file] [log] [blame]
Alex89e50d92017-02-06 19:17:34 -08001source "drivers/net/phy/Kconfig"
Calvin Johnson0e6101a2018-03-08 15:30:35 +05302source "drivers/net/pfe_eth/Kconfig"
Florinel Iordachedfd4c0f2019-05-15 09:09:21 +00003source "drivers/net/fsl-mc/Kconfig"
Alex89e50d92017-02-06 19:17:34 -08004
Simon Glass1d926242021-08-08 12:20:31 -06005config ETH
6 def_bool y
7
Joe Hershbergerc7eceaf2015-03-22 17:09:10 -05008config DM_ETH
Tom Rini4c40e732022-08-02 07:33:47 -04009 bool
Joe Hershbergerc7eceaf2015-03-22 17:09:10 -050010 depends on DM
11 help
12 Enable driver model for Ethernet.
13
Joe Hershberger54214e62018-07-02 14:47:48 -050014 The eth_*() interface will be implemented by the UCLASS_ETH class
15 This is currently implemented in net/eth-uclass.c
Joe Hershbergerc7eceaf2015-03-22 17:09:10 -050016 Look in include/net.h for details.
Joe Hershberger6ab76992015-03-22 17:09:13 -050017
Tom Rini68fc04c2022-11-27 10:25:36 -050018config SPL_DM_ETH
19 depends on SPL_NET
20 def_bool y
21
Alex Marginean1a5b0982019-06-03 19:10:30 +030022config DM_MDIO
23 bool "Enable Driver Model for MDIO devices"
Tom Rini4c40e732022-08-02 07:33:47 -040024 depends on PHYLIB
Alex Marginean1a5b0982019-06-03 19:10:30 +030025 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 Margineanab8c2a52019-07-12 10:13:50 +030035config 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 Manoilc0566c22021-01-25 14:23:53 +020047config DM_DSA
48 bool "Enable Driver Model for DSA switches"
Tom Rini4c40e732022-08-02 07:33:47 -040049 depends on DM_MDIO
Claudiu Manoilc0566c22021-01-25 14:23:53 +020050 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 Marginean0daa53a2019-06-03 19:12:28 +030062config 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 Marginean0649be52019-07-12 10:13:53 +030072config 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 Licd5bb772020-05-03 22:41:14 +080082config 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 Manoild9eaa922021-03-14 20:14:57 +080088config 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 Hershberger6ab76992015-03-22 17:09:13 -050097menuconfig NETDEVICES
98 bool "Network device support"
Jerome Forissier1ff00362024-10-16 12:04:03 +020099 depends on NET || NET_LWIP
Tom Rini4c40e732022-08-02 07:33:47 -0400100 select DM_ETH
Joe Hershberger6ab76992015-03-22 17:09:13 -0500101 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
107if NETDEVICES
108
Philipp Tomsich00c33612017-03-26 18:50:23 +0200109config 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 Vasut0a3d0e12016-05-24 23:29:09 +0200116config AG7XXX
117 bool "Atheros AG7xxx Ethernet MAC support"
Tom Rini4c40e732022-08-02 07:33:47 -0400118 depends on ARCH_ATH79
Marek Vasut0a3d0e12016-05-24 23:29:09 +0200119 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
Christian Marangid43f7742025-04-07 22:01:46 +0200124config AIROHA_ETH
125 bool "Airoha Ethernet QDMA Driver"
126 depends on ARCH_AIROHA
127 select PHYLIB
128 select DM_RESET
129 help
130 This Driver support Airoha Ethernet QDMA Driver
131 Say Y to enable support for the Airoha Ethernet QDMA.
Marek Vasut0a3d0e12016-05-24 23:29:09 +0200132
Thomas Chouec06dd82015-10-22 15:29:11 +0800133config ALTERA_TSE
134 bool "Altera Triple-Speed Ethernet MAC support"
Thomas Chouec06dd82015-10-22 15:29:11 +0800135 select PHYLIB
136 help
137 This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
138 Please find details on the "Triple-Speed Ethernet MegaCore Function
139 Resource Center" of Altera.
140
Suji Velupillaid2f677a2017-07-10 14:05:41 -0700141config BCM_SF2_ETH
142 bool "Broadcom SF2 (Starfighter2) Ethernet support"
143 select PHYLIB
144 help
145 This is an abstract framework which provides a generic interface
146 to MAC and DMA management for multiple Broadcom SoCs such as
147 Cygnus, NSP and bcm28155_ap platforms.
148
149config BCM_SF2_ETH_DEFAULT_PORT
150 int "Broadcom SF2 (Starfighter2) Ethernet default port number"
151 depends on BCM_SF2_ETH
152 default 0
153 help
154 Default port number for the Starfighter2 ethernet driver.
155
156config BCM_SF2_ETH_GMAC
157 bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support"
158 depends on BCM_SF2_ETH
159 help
160 This flag enables the ethernet support for Broadcom platforms with
161 GMAC such as Cygnus. This driver is based on the framework provided
162 by the BCM_SF2_ETH driver.
163 Say Y to any bcmcygnus based platforms.
164
Álvaro Fernández Rojas204fd5e2018-12-01 19:00:24 +0100165config BCM6348_ETH
166 bool "BCM6348 EMAC support"
Tom Rini4c40e732022-08-02 07:33:47 -0400167 depends on ARCH_BMIPS
Álvaro Fernández Rojas204fd5e2018-12-01 19:00:24 +0100168 select DMA
169 select DMA_CHANNELS
170 select MII
171 select PHYLIB
172 help
173 This driver supports the BCM6348 Ethernet MAC.
174
Álvaro Fernández Rojasb0b22542018-12-01 19:00:32 +0100175config BCM6368_ETH
176 bool "BCM6368 EMAC support"
Tom Rini4c40e732022-08-02 07:33:47 -0400177 depends on ARCH_BMIPS
Álvaro Fernández Rojasb0b22542018-12-01 19:00:32 +0100178 select DMA
179 select MII
180 help
181 This driver supports the BCM6368 Ethernet MAC.
182
Amit Singh Tomar8f656c52020-01-27 01:14:42 +0000183config BCMGENET
184 bool "BCMGENET V5 support"
Amit Singh Tomar8f656c52020-01-27 01:14:42 +0000185 select PHYLIB
186 help
187 This driver supports the BCMGENET Ethernet MAC.
188
Tom Rinifc42f2c2022-11-27 10:25:02 -0500189source "drivers/net/bnxt/Kconfig"
190
Aaron Tsengebcdddd2021-01-14 13:34:11 -0800191config CORTINA_NI_ENET
192 bool "Cortina-Access Ethernet driver"
Tom Rini4c40e732022-08-02 07:33:47 -0400193 depends on CORTINA_PLATFORM
Aaron Tsengebcdddd2021-01-14 13:34:11 -0800194 help
195 This driver supports the Cortina-Access Ethernet MAC for
196 all supported CAxxxx SoCs.
197
Andre Przywara7352fb92021-04-12 01:04:52 +0100198config CALXEDA_XGMAC
199 bool "Calxeda XGMAC support"
Andre Przywara7352fb92021-04-12 01:04:52 +0100200 help
201 This driver supports the XGMAC in Calxeda Highbank and Midway
202 machines.
203
Tom Rinidec7ea02024-05-20 13:35:03 -0600204config DWC_ETH_XGMAC
205 bool "Synopsys DWC Ethernet XGMAC device support"
206 select PHYLIB
207 help
208 This driver supports the Synopsys Designware Ethernet XGMAC (10G
209 Ethernet MAC) IP block. The IP supports many options for bus type,
210 clocking/reset structure, and feature list.
211
212config DWC_ETH_XGMAC_SOCFPGA
213 bool "Synopsys DWC Ethernet XGMAC device support for SOCFPGA"
214 select REGMAP
215 select SYSCON
216 depends on DWC_ETH_XGMAC
217 default y if TARGET_SOCFPGA_AGILEX5
218 help
219 The Synopsys Designware Ethernet XGMAC IP block with specific
220 configuration used in Intel SoC FPGA chip.
221
Marek Vasutd2105972022-04-13 04:15:38 +0200222config DRIVER_DM9000
223 bool "Davicom DM9000 controller driver"
224 help
225 The Davicom DM9000 parallel bus external ethernet interface chip.
226
Tom Rini599b11b2022-12-02 16:42:18 -0500227config DM9000_BYTE_SWAPPED
228 bool "Byte swapped access for DM9000"
229 depends on DRIVER_DM9000
230
231config DM9000_NO_SROM
232 bool "No SROM on DM9000"
233 depends on DRIVER_DM9000
234
235config DM9000_USE_16BIT
236 bool "Use 16bit access in DM9000"
237 depends on DRIVER_DM9000
238
Stephen Warren50709602016-10-21 14:46:47 -0600239config DWC_ETH_QOS
240 bool "Synopsys DWC Ethernet QOS device support"
Stephen Warren50709602016-10-21 14:46:47 -0600241 select PHYLIB
242 help
243 This driver supports the Synopsys Designware Ethernet QOS (Quality
244 Of Service) IP block. The IP supports many options for bus type,
Patrick Delaunay68083902020-06-08 11:27:19 +0200245 clocking/reset structure, and feature list.
246
Greg Malysaeabf2322025-02-26 12:30:29 -0500247config DWC_ETH_QOS_ADI
248 bool "Synopsys DWC Ethernet QOS device support for ADI SC59x-64 parts"
249 depends on DWC_ETH_QOS
250 help
251 The Synopsis Designware Ethernet QoS IP block with the specific
252 configuration used in the ADI ADSP-SC59X 64 bit SoCs
253
Patrick Delaunay68083902020-06-08 11:27:19 +0200254config DWC_ETH_QOS_IMX
255 bool "Synopsys DWC Ethernet QOS device support for IMX"
256 depends on DWC_ETH_QOS
257 help
258 The Synopsys Designware Ethernet QOS IP block with the specific
259 configuration used in IMX soc.
260
Philip Oberfichtner42460352024-08-02 11:25:39 +0200261config DWC_ETH_QOS_INTEL
262 bool "Synopsys DWC Ethernet QOS device support for Intel"
263 depends on DWC_ETH_QOS
264 help
265 The Synopsys Designware Ethernet QOS IP block with the specific
266 configuration used in the Intel Elkhart-Lake soc.
267
Jonas Karlman098ee4f2023-10-01 19:17:19 +0000268config DWC_ETH_QOS_ROCKCHIP
269 bool "Synopsys DWC Ethernet QOS device support for Rockchip SoCs"
270 depends on DWC_ETH_QOS
271 select DM_ETH_PHY
272 help
273 The Synopsys Designware Ethernet QOS IP block with specific
274 configuration used in Rockchip SoCs.
275
Patrick Delaunay68083902020-06-08 11:27:19 +0200276config DWC_ETH_QOS_STM32
277 bool "Synopsys DWC Ethernet QOS device support for STM32"
278 depends on DWC_ETH_QOS
Patrick Delaunayd9dc80c2021-07-20 20:09:55 +0200279 select DM_ETH_PHY
Patrick Delaunay68083902020-06-08 11:27:19 +0200280 default y if ARCH_STM32MP
281 help
282 The Synopsys Designware Ethernet QOS IP block with the specific
283 configuration used in STM32MP soc.
284
285config DWC_ETH_QOS_TEGRA186
286 bool "Synopsys DWC Ethernet QOS device support for TEGRA186"
287 depends on DWC_ETH_QOS
288 default y if TEGRA186
289 help
290 The Synopsys Designware Ethernet QOS IP block with specific
291 configuration used in NVIDIA's Tegra186 chip.
Stephen Warren50709602016-10-21 14:46:47 -0600292
Sumit Garg7c3be942023-02-01 19:28:55 +0530293config DWC_ETH_QOS_QCOM
294 bool "Synopsys DWC Ethernet QOS device support for Qcom SoCs"
295 depends on DWC_ETH_QOS
296 help
297 The Synopsys Designware Ethernet QOS IP block with specific
298 configuration used in Qcom QCS404 SoC.
299
Yanhong Wang1f502ee2023-06-15 17:36:43 +0800300config DWC_ETH_QOS_STARFIVE
301 bool "Synopsys DWC Ethernet QOS device support for STARFIVE"
302 depends on DWC_ETH_QOS
303 help
304 The Synopsys Designware Ethernet QOS IP block with specific
305 configuration used in STARFIVE JH7110 soc.
306
Simon Glassa83ccd52015-08-19 09:33:41 -0600307config E1000
308 bool "Intel PRO/1000 Gigabit Ethernet support"
Sean Andersond22315a2022-04-26 14:35:33 -0400309 depends on PCI
Simon Glassa83ccd52015-08-19 09:33:41 -0600310 help
311 This driver supports Intel(R) PRO/1000 gigabit ethernet family of
312 adapters. For more information on how to identify your adapter, go
313 to the Adapter & Driver ID Guide at:
314
315 <http://support.intel.com/support/network/adapter/pro100/21397.htm>
316
Tom Rinia35003b2022-06-08 08:24:23 -0400317config E1000_NO_NVM
318 bool "Intel PRO/1000 has no NVMEM / EEPROM"
319 depends on E1000
320
Simon Glassa83ccd52015-08-19 09:33:41 -0600321config E1000_SPI_GENERIC
322 bool "Allow access to the Intel 8257x SPI bus"
323 depends on E1000
324 help
325 Allow generic access to the SPI bus on the Intel 8257x, for
326 example with the "sspi" command.
327
328config E1000_SPI
329 bool "Enable SPI bus utility code"
330 depends on E1000
331 help
332 Utility code for direct access to the SPI bus on Intel 8257x.
333 This does not do anything useful unless you set at least one
334 of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
335
336config CMD_E1000
337 bool "Enable the e1000 command"
338 depends on E1000
339 help
340 This enables the 'e1000' management command for E1000 devices. When
341 used on devices with SPI support you can reprogram the EEPROM from
342 U-Boot.
343
Marek Vasut2dcaf852020-05-23 18:07:53 +0200344config EEPRO100
345 bool "Intel PRO/100 82557/82559/82559ER Fast Ethernet support"
346 help
347 This driver supports Intel(R) PRO/100 82557/82559/82559ER fast
348 ethernet family of adapters.
349
Robert Markoea1b88b2024-06-03 14:06:15 +0200350config ESSEDMA
351 bool "Qualcomm ESS Edma support"
352 depends on DM_ETH && ARCH_IPQ40XX
353 select PHYLIB
354 help
355 This driver supports ethernet DMA adapter found in
356 Qualcomm IPQ40xx series SoC-s.
357
Joe Hershberger6ab76992015-03-22 17:09:13 -0500358config ETH_SANDBOX
Tom Rini4c40e732022-08-02 07:33:47 -0400359 depends on SANDBOX
Jerome Forissier04c4f332025-04-15 23:17:40 +0200360 depends on NET || NET_LWIP
Joe Hershberger6ab76992015-03-22 17:09:13 -0500361 default y
362 bool "Sandbox: Mocked Ethernet driver"
363 help
364 This driver simply responds with fake ARP replies and ping
365 replies that are used to verify network stack functionality
366
367 This driver is particularly useful in the test/dm/eth.c tests
368
Joe Hershberger586cbd12015-03-22 17:09:21 -0500369config ETH_SANDBOX_RAW
Tom Rini4c40e732022-08-02 07:33:47 -0400370 depends on SANDBOX
Jerome Forissiere0f95512024-10-16 12:03:59 +0200371 depends on NET
Joe Hershberger586cbd12015-03-22 17:09:21 -0500372 default y
373 bool "Sandbox: Bridge to Linux Raw Sockets"
374 help
375 This driver is a bridge from the bottom of the network stack
376 in U-Boot to the RAW AF_PACKET API in Linux. This allows real
377 network traffic to be tested from within sandbox. See
Keerthyfa002552019-07-29 13:52:04 +0530378 doc/arch/index.rst for more details.
Joe Hershberger586cbd12015-03-22 17:09:21 -0500379
Simon Glass6e378742015-04-05 16:07:34 -0600380config ETH_DESIGNWARE
381 bool "Synopsys Designware Ethernet MAC"
Thomas Chou7a0dfa62015-12-07 20:53:29 +0800382 select PHYLIB
Simon Goldschmidtad588932019-01-13 19:58:41 +0100383 imply ETH_DESIGNWARE_SOCFPGA if ARCH_SOCFPGA
Simon Glass6e378742015-04-05 16:07:34 -0600384 help
385 This MAC is present in SoCs from various vendors. It supports
386 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
387 provide the PHY (physical media interface).
388
Neil Armstrong145aff72021-02-24 20:33:56 +0100389config ETH_DESIGNWARE_MESON8B
390 bool "Amlogic Meson8b and later glue driver for Synopsys Designware Ethernet MAC"
Neil Armstrong145aff72021-02-24 20:33:56 +0100391 select ETH_DESIGNWARE
392 help
393 This provides glue layer to use Synopsys Designware Ethernet MAC
394 present on the Amlogic Meson8b, GX, AXG & G12A SoCs.
395
Marek Vasut0d9a4a02018-08-13 19:32:14 +0200396config ETH_DESIGNWARE_SOCFPGA
Simon Goldschmidtb50afc82019-01-13 19:58:40 +0100397 select REGMAP
398 select SYSCON
Tom Rini7ac21a32022-06-15 12:03:43 -0400399 select DW_ALTDESCRIPTOR
Marek Vasut0d9a4a02018-08-13 19:32:14 +0200400 bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
Tom Rini4c40e732022-08-02 07:33:47 -0400401 depends on ETH_DESIGNWARE
Marek Vasut0d9a4a02018-08-13 19:32:14 +0200402 help
403 The Altera SoCFPGA requires additional configuration of the
404 Altera system manager to correctly interface with the PHY.
405 This code handles those SoC specifics.
406
Amit Singh Tomar03d6edb2020-05-09 19:55:12 +0530407config ETH_DESIGNWARE_S700
408 bool "Actins S700 glue driver for Synopsys Designware Ethernet MAC"
Tom Rini4c40e732022-08-02 07:33:47 -0400409 depends on ETH_DESIGNWARE
Amit Singh Tomar03d6edb2020-05-09 19:55:12 +0530410 help
411 This provides glue layer to use Synopsys Designware Ethernet MAC
412 present on Actions S700 SoC.
413
Tom Rini7ac21a32022-06-15 12:03:43 -0400414config DW_ALTDESCRIPTOR
415 bool "Designware Ethernet MAC uses alternate (enhanced) descriptors"
416 depends on ETH_DESIGNWARE
417
Max Filippove07d3d22016-08-05 18:26:15 +0300418config ETHOC
419 bool "OpenCores 10/100 Mbps Ethernet MAC"
420 help
421 This MAC is present in OpenRISC and Xtensa XTFPGA boards.
422
Peng Fana65e0362018-03-28 20:54:14 +0800423config FEC_MXC_SHARE_MDIO
424 bool "Share the MDIO bus for FEC controller"
425 depends on FEC_MXC
426
427config FEC_MXC_MDIO_BASE
428 hex "MDIO base address for the FEC controller"
429 depends on FEC_MXC_SHARE_MDIO
430 help
431 This specifies the MDIO registers base address. It is used when
432 two FEC controllers share MDIO bus.
433
Jagan Tekia48af852016-10-08 18:00:12 +0530434config FEC_MXC
435 bool "FEC Ethernet controller"
Peng Fanfad6d902022-07-26 16:41:12 +0800436 depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || IMX8ULP || IMX93 || VF610
Jagan Tekia48af852016-10-08 18:00:12 +0530437 help
438 This driver supports the 10/100 Fast Ethernet controller for
439 NXP i.MX processors.
440
Tom Rinifa911f82019-05-12 07:59:12 -0400441config FMAN_ENET
442 bool "Freescale FMan ethernet support"
443 depends on ARM || PPC
Tom Rini82a703b2022-07-23 13:05:06 -0400444 select SYS_FMAN_V3 if ARCH_B4420 || ARCH_B4860 || ARCH_LS1043A || \
445 ARCH_LS1046A || ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || \
446 ARCH_T2080 || ARCH_T4240
Tom Rini6fb86c12022-12-02 16:42:21 -0500447 select FSL_FM_10GEC_REGULAR_NOTATION if ARCH_T1024
Tom Rinifa911f82019-05-12 07:59:12 -0400448 help
449 This driver support the Freescale FMan Ethernet controller
450
Rajesh Bhagataec38012021-11-09 16:30:38 +0530451config SYS_FMAN_FW_ADDR
452 hex "FMAN Firmware Address"
453 depends on FMAN_ENET
454 default 0x0
455
456config SYS_QE_FMAN_FW_LENGTH
457 hex "FMAN QE Firmware length"
458 depends on FMAN_ENET || QE || U_QE
459 default 0x10000
460
Tom Rini82a703b2022-07-23 13:05:06 -0400461config SYS_FMAN_V3
462 bool
Tom Rini33ae6a72022-07-23 13:05:10 -0400463 select FSL_MEMAC
Tom Rini82a703b2022-07-23 13:05:06 -0400464 help
465 SoC has FMan v3 with mEMAC
466
Tom Rini6fb86c12022-12-02 16:42:21 -0500467config FSL_FM_10GEC_REGULAR_NOTATION
468 bool
469 help
470 On SoCs T4240, T2080, LS1043A, etc, the notation between 10GEC and
471 MAC as below:
472 10GEC1->MAC9, 10GEC2->MAC10, 10GEC3->MAC1, 10GEC4->MAC2
473 While on SoCs T1024, etc, the notation between 10GEC and MAC as below:
474 10GEC1->MAC1, 10GEC2->MAC2
475 so we introduce CONFIG_FSL_FM_10GEC_REGULAR_NOTATION to identify the
476 new SoCs on which 10GEC enumeration is consistent with MAC
477 enumeration.
478
Tom Rinic5ea8ed2017-05-26 11:18:53 -0400479config FTMAC100
480 bool "Ftmac100 Ethernet Support"
Sergei Antonovb8a0ab92023-02-03 22:09:04 +0300481 select MII
Tom Rinic5ea8ed2017-05-26 11:18:53 -0400482 help
483 This MAC is present in Andestech SoCs.
484
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100485config FTGMAC100
486 bool "Ftgmac100 Ethernet Support"
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100487 select PHYLIB
Jerome Forissier69c5b052024-09-11 11:58:21 +0200488 depends on NET
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100489 help
490 This driver supports the Faraday's FTGMAC100 Gigabit SoC
491 Ethernet controller that can be found on Aspeed SoCs (which
492 include NCSI).
493
494 It is fully compliant with IEEE 802.3 specification for
495 10/100 Mbps Ethernet and IEEE 802.3z specification for 1000
496 Mbps Ethernet and includes Reduced Media Independent
497 Interface (RMII) and Reduced Gigabit Media Independent
498 Interface (RGMII) interfaces. It adopts an AHB bus interface
499 and integrates a link list DMA engine with direct M-Bus
500 accesses for transmitting and receiving packets. It has
501 independent TX/RX fifos, supports half and full duplex (1000
502 Mbps mode only supports full duplex), flow control for full
503 duplex and backpressure for half duplex.
504
505 The FTGMAC100 also implements IP, TCP, UDP checksum offloads
506 and supports IEEE 802.1Q VLAN tag insertion and removal. It
507 offers high-priority transmit queue for QoS and CoS
508 applications.
509
Tom Rinibd8253d2022-06-25 11:02:36 -0400510config SYS_DISCOVER_PHY
511 bool
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100512
Angelo Durgehelloa1d3d9f2019-11-15 23:54:17 +0100513config MCFFEC
514 bool "ColdFire Ethernet Support"
Angelo Durgehelloa1d3d9f2019-11-15 23:54:17 +0100515 select PHYLIB
Tom Rinibd8253d2022-06-25 11:02:36 -0400516 select SYS_DISCOVER_PHY
Angelo Durgehelloa1d3d9f2019-11-15 23:54:17 +0100517 help
518 This driver supports the network interface units in the
519 ColdFire family.
520
Tom Rini74d888f2022-06-25 11:02:35 -0400521config SYS_UNIFY_CACHE
522 depends on MCFFEC
523 bool "Invalidate icache during ethernet operations"
524
Marek Vasutf4622282020-03-25 19:08:59 +0100525config KS8851_MLL
526 bool "Microchip KS8851-MLL controller driver"
527 help
528 The Microchip KS8851 parallel bus external ethernet interface chip.
529
Tim Harvey06dea1e2021-06-30 16:50:08 -0700530config KSZ9477
Romain Naour98a124d2024-10-08 09:54:32 +0200531 bool "Microchip KSZ9477 controller driver"
532 depends on DM_DSA && (DM_I2C || DM_SPI)
Tim Harvey06dea1e2021-06-30 16:50:08 -0700533 help
534 This driver implements a DSA switch driver for the KSZ9477 family
Romain Naour98a124d2024-10-08 09:54:32 +0200535 of GbE switches using the I2C or SPI interface.
Tim Harvey06dea1e2021-06-30 16:50:08 -0700536
Joel Stanley705017a2022-09-26 15:35:58 +0930537config LITEETH
538 bool "LiteX LiteEth Ethernet MAC"
539 help
540 Driver for the LiteEth Ethernet MAC from LiteX.
541
Tim Harveyc3cd7f12022-11-30 09:42:50 -0800542config MV88E6XXX
543 bool "Marvell MV88E6xxx Ethernet switch DSA driver"
544 depends on DM_DSA && DM_MDIO
545 help
546 This driver implements a DSA switch driver for the MV88E6xxx family
547 of Ethernet switches using the MDIO interface
548
Chris Packham943679d2018-05-03 23:00:35 +1200549config MVGBE
550 bool "Marvell Orion5x/Kirkwood network interface support"
Trevor Woernerbb7ab072020-05-06 08:02:40 -0400551 depends on ARCH_KIRKWOOD || ARCH_ORION5X
Tom Rini4c40e732022-08-02 07:33:47 -0400552 select PHYLIB
Chris Packham943679d2018-05-03 23:00:35 +1200553 help
554 This driver supports the network interface units in the
555 Marvell Orion5x and Kirkwood SoCs
556
Chris Packham919041c2017-08-21 20:17:03 +1200557config MVNETA
Miquel Raynal59d42cd2017-12-28 15:43:09 +0100558 bool "Marvell Armada XP/385/3700 network interface support"
Chris Packham44b7cc72022-11-05 17:23:56 +1300559 depends on ARMADA_XP || ARMADA_38X || ARMADA_3700 || ALLEYCAT_5
Chris Packham919041c2017-08-21 20:17:03 +1200560 select PHYLIB
Marek Behún99e296f2022-04-27 12:41:46 +0200561 select DM_MDIO
Chris Packham919041c2017-08-21 20:17:03 +1200562 help
563 This driver supports the network interface units in the
Miquel Raynal59d42cd2017-12-28 15:43:09 +0100564 Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
Chris Packham919041c2017-08-21 20:17:03 +1200565
Stefan Roese96c19042016-02-10 07:22:10 +0100566config MVPP2
Stefan Roese78a112b2017-02-15 11:42:59 +0100567 bool "Marvell Armada 375/7K/8K network interface support"
568 depends on ARMADA_375 || ARMADA_8K
Stefan Roese96c19042016-02-10 07:22:10 +0100569 select PHYLIB
Nevo Hed5da38842019-08-15 18:08:45 -0400570 select MVMDIO
571 select DM_MDIO
Stefan Roese96c19042016-02-10 07:22:10 +0100572 help
573 This driver supports the network interface units in the
Stefan Roese78a112b2017-02-15 11:42:59 +0100574 Marvell ARMADA 375, 7K and 8K SoCs.
Stefan Roese96c19042016-02-10 07:22:10 +0100575
Wenyou Yange7183de2016-11-02 10:06:55 +0800576config MACB
577 bool "Cadence MACB/GEM Ethernet Interface"
Wenyou Yange7183de2016-11-02 10:06:55 +0800578 select PHYLIB
579 help
580 The Cadence MACB ethernet interface is found on many Atmel
581 AT91 and SAMA5 parts. This driver also supports the Cadence
582 GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
583 Say Y to include support for the MACB/GEM chip.
584
Wilson Lee41d6d1e2017-08-22 20:25:07 -0700585config MACB_ZYNQ
586 bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
587 depends on MACB
588 help
589 The Cadence MACB ethernet interface was used on Zynq platform.
590 Say Y to enable support for the MACB/GEM in Zynq chip.
591
developer7b4c8be2020-11-12 16:36:53 +0800592config MT7620_ETH
593 bool "MediaTek MT7620 Ethernet Interface"
594 depends on SOC_MT7620
595 select PHYLIB
596 select DM_RESET
597 select DM_GPIO
598 select CLK
599 help
600 The MediaTek MT7620 ethernet interface is used on MT7620 based
601 boards. It has a built-in switch with two configurable ports which
602 can connect to external PHY/MACs.
603
Stefan Roesef9947682018-10-26 14:53:27 +0200604config MT7628_ETH
605 bool "MediaTek MT7628 Ethernet Interface"
developer89f051b2019-04-30 11:13:58 +0800606 depends on SOC_MT7628
developera5644112019-09-25 17:45:33 +0800607 select PHYLIB
Stefan Roesef9947682018-10-26 14:53:27 +0200608 help
609 The MediaTek MT7628 ethernet interface is used on MT7628 and
610 MT7688 based boards.
611
Jim Liueaddbcb2022-05-17 16:28:11 +0800612config NET_NPCM750
613 bool "Nuvoton NPCM750 Ethernet MAC"
614 help
615 support NPCM750 EMAC
616
Stefan Roesec404ac72022-04-07 09:11:52 +0200617config NET_OCTEON
618 bool "MIPS Octeon ethernet support"
619 depends on ARCH_OCTEON
620 help
621 You must select Y to enable network device support for
622 MIPS Octeon SoCs. If unsure, say n
623
Suneel Garapati53dc4482020-08-26 14:37:33 +0200624config NET_OCTEONTX
625 bool "OcteonTX Ethernet support"
626 depends on ARCH_OCTEONTX
627 depends on PCI_SRIOV
628 help
629 You must select Y to enable network device support for
630 OcteonTX SoCs. If unsure, say n
Suneel Garapati8666ae82020-08-26 14:37:42 +0200631
632config NET_OCTEONTX2
633 bool "OcteonTX2 Ethernet support"
634 depends on ARCH_OCTEONTX2
635 select OCTEONTX2_CGX_INTF
636 help
637 You must select Y to enable network device support for
638 OcteonTX2 SoCs. If unsure, say n
639
Suneel Garapati53dc4482020-08-26 14:37:33 +0200640config OCTEONTX_SMI
641 bool "OcteonTX SMI Device support"
642 depends on ARCH_OCTEONTX || ARCH_OCTEONTX2
643 help
644 You must select Y to enable SMI controller support for
645 OcteonTX or OcteonTX2 SoCs. If unsure, say n
646
Suneel Garapati8666ae82020-08-26 14:37:42 +0200647config OCTEONTX2_CGX_INTF
648 bool "OcteonTX2 CGX ATF interface support"
649 depends on ARCH_OCTEONTX2
650 default y if ARCH_OCTEONTX2
651 help
652 You must select Y to enable CGX ATF interface support for
653 OcteonTX2 SoCs. If unsure, say n
654
Bin Meng64d3dca2015-08-27 22:25:58 -0700655config PCH_GBE
656 bool "Intel Platform Controller Hub EG20T GMAC driver"
Bin Meng64d3dca2015-08-27 22:25:58 -0700657 select PHYLIB
658 help
659 This MAC is present in Intel Platform Controller Hub EG20T. It
660 supports 10/100/1000 Mbps operation.
661
Mylène Josserande44eb3a2017-04-02 12:59:08 +0200662config RGMII
663 bool "Enable RGMII"
664 help
665 Enable the support of the Reduced Gigabit Media-Independent
666 Interface (RGMII).
667
Adam Ford53705472018-07-20 23:03:57 -0500668config MII
669 bool "Enable MII"
670 help
671 Enable support of the Media-Independent Interface (MII)
672
Tom Rinie09aab12022-03-18 08:38:22 -0400673config RMII
674 bool "Enable RMII"
675 help
676 Enable support of the Reduced Media-Independent Interface (MII)
677
Marek Vasut7275b622020-05-17 18:14:17 +0200678config PCNET
679 bool "AMD PCnet series Ethernet controller driver"
680 help
681 This driver supports AMD PCnet series fast ethernet family of
682 PCI chipsets/adapters.
683
Heiko Schocher41b64a82020-02-06 09:48:16 +0100684source "drivers/net/qe/Kconfig"
685
Bin Menga6448df2016-03-21 06:47:41 -0700686config RTL8139
687 bool "Realtek 8139 series Ethernet controller driver"
688 help
689 This driver supports Realtek 8139 series fast ethernet family of
690 PCI chipsets/adapters.
691
Bin Meng29971222016-03-21 06:47:42 -0700692config RTL8169
693 bool "Realtek 8169 series Ethernet controller driver"
Eugen Hristev88978dd2023-05-17 13:41:24 +0300694 depends on PCI
Bin Meng29971222016-03-21 06:47:42 -0700695 help
696 This driver supports Realtek 8169 series gigabit ethernet family of
697 PCI/PCIe chipsets/adapters.
698
Vladimir Oltean67bfc852021-09-29 18:04:41 +0300699config SJA1105
700 bool "NXP SJA1105 Ethernet switch family driver"
701 depends on DM_DSA && DM_SPI
702 select BITREVERSE
703 help
704 This is the driver for the NXP SJA1105 automotive Ethernet switch
705 family. These are 5-port devices and are managed over an SPI
706 interface. Probing is handled based on OF bindings. The driver
707 supports the following revisions:
708 - SJA1105E (Gen. 1, No TT-Ethernet)
709 - SJA1105T (Gen. 1, TT-Ethernet)
710 - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet)
711 - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet)
712 - SJA1105R (Gen. 2, SGMII, No TT-Ethernet)
713 - SJA1105S (Gen. 2, SGMII, TT-Ethernet)
714
Adam Ford0a044f82017-09-05 15:20:44 -0500715config SMC911X
716 bool "SMSC LAN911x and LAN921x controller driver"
717
Adam Ford0a044f82017-09-05 15:20:44 -0500718config SMC911X_32_BIT
Andre Przywara30301e52021-06-28 14:30:30 +0100719 bool "Enable SMC911X 32-bit interface"
Tom Rini4c40e732022-08-02 07:33:47 -0400720 depends on SMC911X
Adam Ford0a044f82017-09-05 15:20:44 -0500721 help
Andre Przywara30301e52021-06-28 14:30:30 +0100722 Define this if data bus is 32 bits. If your processor use a
723 narrower 16 bit bus or cannot convert one 32 bit word to two 16 bit
724 words, leave this to "n".
Adam Ford0a044f82017-09-05 15:20:44 -0500725
Mylène Josserandc1506ef2017-04-02 12:59:03 +0200726config SUN7I_GMAC
727 bool "Enable Allwinner GMAC Ethernet support"
728 help
729 Enable the support for Sun7i GMAC Ethernet controller
730
Stefan Mavrodieveaee8582017-11-03 08:56:51 +0200731config SUN7I_GMAC_FORCE_TXERR
732 bool "Force PA17 as gmac function"
733 depends on SUN7I_GMAC
734 help
735 Some ethernet phys needs TXERR control. Since the GMAC
736 doesn't have such signal, setting PA17 as GMAC function
737 makes the pin output low, which enables data transmission.
738
Mylène Josserand43ef1842017-04-02 12:59:07 +0200739config SUN4I_EMAC
740 bool "Allwinner Sun4i Ethernet MAC support"
Artturi Alm8ed09172017-11-08 05:08:58 +0200741 select PHYLIB
Mylène Josserand43ef1842017-04-02 12:59:07 +0200742 help
743 This driver supports the Allwinner based SUN4I Ethernet MAC.
744
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530745config SUN8I_EMAC
746 bool "Allwinner Sun8i Ethernet MAC support"
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530747 select PHYLIB
Philipp Tomsich00c33612017-03-26 18:50:23 +0200748 select PHY_GIGE
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530749 help
750 This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC.
751 It can be found in H3/A64/A83T based SoCs and compatible with both
Tom Rini1eee1172017-02-20 09:38:03 -0500752 External and Internal PHYs.
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530753
Nobuhiro Iwamatsuf593ecb2017-12-01 16:08:03 +0900754config SH_ETHER
755 bool "Renesas SH Ethernet MAC"
756 select PHYLIB
Marek Vasutfc479f62023-05-31 00:51:29 +0200757 select PHY_ETHERNET_ID
Nobuhiro Iwamatsuf593ecb2017-12-01 16:08:03 +0900758 help
759 This driver supports the Ethernet for Renesas SH and ARM SoCs.
760
Grygorii Strashko5693dee2018-10-31 16:21:39 -0500761source "drivers/net/ti/Kconfig"
Adam Ford53705472018-07-20 23:03:57 -0500762
Marek Vasut880287c2020-06-20 17:43:29 +0200763config TULIP
764 bool "DEC Tulip DC2114x Ethernet support"
Marek Vasut880287c2020-06-20 17:43:29 +0200765 help
766 This driver supports DEC DC2114x Fast ethernet chips.
767
Hanyuan Zhaoa45684c2024-08-09 16:56:54 +0800768config TULIP_SUPPORT_NON_PCI
769 bool "No PCI controller"
770 depends on TULIP
771 default n
772 help
773 Say Y to this and you can run this driver on platforms that do not
774 have PCI controllers.
775
Hanyuan Zhaoa34fa7d2024-08-09 16:56:59 +0800776config TULIP_IGNORE_TX_NO_CARRIER
777 bool "Ignore tx no carrier error"
778 depends on TULIP
779 default n
780 help
781 Some IP cores of dc2114x or its variants do not comply so well with
782 the behaviors described by the official document. A packet could be
783 sent successfully but reported with No Carrier error. Latest drivers
784 of this IP core do not detect this error anymore. Say Y to this could
785 disable handling of this error.
786
Hanyuan Zhao4e4e1b92024-08-09 16:57:00 +0800787config TULIP_MULTIPLE_TX_DESC
788 bool "Use multiple tx descriptors"
789 depends on TULIP
790 default n
791 help
792 Some IP cores of dc2114x or its variants do not comply so well with
793 the behaviors described by the official document. Originally this
794 driver uses only one tx descriptor and organizes it as a ring buffer,
795 which would lead to a problem that one packet would be sent twice.
796 Say Y to this could prevent this bug if you are using IP cores with
797 this issue, by using multiple tx descriptors and organizing them as
798 a real well-defined ring buffer.
799
Michal Simek07d204f2015-12-09 16:54:42 +0100800config XILINX_AXIEMAC
Michal Simek07d204f2015-12-09 16:54:42 +0100801 select PHYLIB
802 select MII
803 bool "Xilinx AXI Ethernet"
804 help
805 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
806
Ashok Reddy Soma6f5480c2021-07-02 04:40:34 -0600807config XILINX_AXIMRMAC
Tom Rini4c40e732022-08-02 07:33:47 -0400808 depends on ARCH_VERSAL
Ashok Reddy Soma6f5480c2021-07-02 04:40:34 -0600809 bool "Xilinx AXI MRMAC"
810 help
811 MRMAC is a high performance, low latency, adaptable Ethernet
812 integrated hard IP. This can be configured up to four ports with MAC
813 rates from 10GE to 100GE. This could be present in some of the Xilinx
814 Versal designs.
815
Tom Rini3d439872022-11-19 18:45:39 -0500816config VSC7385_ENET
817 bool "Vitesse 7385 Switch Firmware Upload driver"
818
Michal Simekeaee95a2015-12-11 09:41:49 +0100819config XILINX_EMACLITE
Michal Simekeaee95a2015-12-11 09:41:49 +0100820 select PHYLIB
821 select MII
822 bool "Xilinx Ethernetlite"
823 help
824 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
825
Michal Simek3d7285f2015-11-30 14:34:52 +0100826config ZYNQ_GEM
Michal Simek27ba0902015-12-11 09:14:31 +0100827 select PHYLIB
Michal Simek3d7285f2015-11-30 14:34:52 +0100828 bool "Xilinx Ethernet GEM"
829 help
Michal Simek7fb1d232015-12-09 16:53:52 +0100830 This MAC is present in Xilinx Zynq and ZynqMP SoCs.
Michal Simek3d7285f2015-11-30 14:34:52 +0100831
Purna Chandra Mandal6b731c92016-01-28 15:30:21 +0530832config PIC32_ETH
833 bool "Microchip PIC32 Ethernet Support"
Tom Rini4c40e732022-08-02 07:33:47 -0400834 depends on MACH_PIC32
Purna Chandra Mandal6b731c92016-01-28 15:30:21 +0530835 select PHYLIB
836 help
837 This driver implements 10/100 Mbps Ethernet and MAC layer for
838 Microchip PIC32 microcontrollers.
839
Sjoerd Simons54c46f92017-01-11 11:46:11 +0100840config GMAC_ROCKCHIP
841 bool "Rockchip Synopsys Designware Ethernet MAC"
Tom Rini4c40e732022-08-02 07:33:47 -0400842 depends on ETH_DESIGNWARE
Sjoerd Simons54c46f92017-01-11 11:46:11 +0100843 help
844 This driver provides Rockchip SoCs network support based on the
845 Synopsys Designware driver.
846
Phong Hoange44a3112023-03-20 21:05:04 +0100847config RENESAS_ETHER_SWITCH
848 bool "Renesas Ethernet Switch support"
849 depends on DM_ETH && R8A779F0
850 select PHYLIB
851 help
852 This driver implements support for the Renesas Ethernet Switch
853 which is available on R-Car S4 SoC (r8a779f0).
854
Marek Vasut17714cb2017-05-13 15:54:28 +0200855config RENESAS_RAVB
856 bool "Renesas Ethernet AVB MAC"
Hai Phamaee59c52023-04-07 17:12:17 +0200857 depends on RCAR_64
Paul Barker8e0d7de2025-03-04 20:07:07 +0000858 select BITBANGMII
Marek Vasut17714cb2017-05-13 15:54:28 +0200859 select PHYLIB
Marek Vasutad778bc2023-05-31 00:51:28 +0200860 select PHY_ETHERNET_ID
Marek Vasut17714cb2017-05-13 15:54:28 +0200861 help
862 This driver implements support for the Ethernet AVB block in
Paul Barkerb7c0a592025-03-19 12:03:59 +0000863 several Renesas R-Car and RZ SoCs.
Marek Vasut17714cb2017-05-13 15:54:28 +0200864
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200865config MPC8XX_FEC
866 bool "Fast Ethernet Controller on MPC8XX"
Christophe Leroyb3510fb2018-03-16 17:20:41 +0100867 depends on MPC8xx
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200868 select MII
Tom Rinibd8253d2022-06-25 11:02:36 -0400869 select SYS_DISCOVER_PHY
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200870 help
871 This driver implements support for the Fast Ethernet Controller
872 on MPC8XX
873
Kunihiko Hayashi7dcdc222018-05-24 19:24:37 +0900874config SNI_AVE
875 bool "Socionext AVE Ethernet support"
Tom Rini4c40e732022-08-02 07:33:47 -0400876 depends on ARCH_UNIPHIER
Kunihiko Hayashi7dcdc222018-05-24 19:24:37 +0900877 select PHYLIB
878 select SYSCON
879 select REGMAP
880 help
881 This driver implements support for the Socionext AVE Ethernet
882 controller, as found on the Socionext UniPhier family.
883
Jassi Brar29c58b02021-06-04 18:44:38 +0900884config SNI_NETSEC
885 bool "Socionext NETSEC Ethernet support"
Tom Rini4c40e732022-08-02 07:33:47 -0400886 depends on SYNQUACER_SPI
Jassi Brar29c58b02021-06-04 18:44:38 +0900887 select PHYLIB
888 help
889 This driver implements support for the Socionext SynQuacer NETSEC
890 ethernet controller, as found on the Socionext SynQuacer family.
891
Horatiu Vulturad2bf652019-01-31 15:30:33 +0100892source "drivers/net/mscc_eswitch/Kconfig"
Gregory CLEMENTeca26c82019-01-17 17:07:13 +0100893
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200894config ETHER_ON_FEC1
895 bool "FEC1"
896 depends on MPC8XX_FEC
897 default y
898
899config FEC1_PHY
900 int "FEC1 PHY"
901 depends on ETHER_ON_FEC1
902 default -1
903 help
904 Define to the hardcoded PHY address which corresponds
905 to the given FEC; i. e.
906 #define CONFIG_FEC1_PHY 4
907 means that the PHY with address 4 is connected to FEC1
908
909 When set to -1, means to probe for first available.
910
911config PHY_NORXERR
912 bool "PHY_NORXERR"
913 depends on ETHER_ON_FEC1
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200914 help
915 The PHY does not have a RXERR line (RMII only).
916 (so program the FEC to ignore it).
917
918config ETHER_ON_FEC2
919 bool "FEC2"
920 depends on MPC8XX_FEC && MPC885
921 default y
922
923config FEC2_PHY
924 int "FEC2 PHY"
925 depends on ETHER_ON_FEC2
926 default -1
927 help
928 Define to the hardcoded PHY address which corresponds
929 to the given FEC; i. e.
930 #define CONFIG_FEC1_PHY 4
931 means that the PHY with address 4 is connected to FEC1
932
933 When set to -1, means to probe for first available.
934
935config FEC2_PHY_NORXERR
936 bool "PHY_NORXERR"
937 depends on ETHER_ON_FEC2
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200938 help
939 The PHY does not have a RXERR line (RMII only).
940 (so program the FEC to ignore it).
941
Ahmed Mansour816bc412017-12-15 16:01:01 -0500942config SYS_DPAA_QBMAN
943 bool "Device tree fixup for QBMan on freescale SOCs"
Simon Glassd4bcfed2024-09-29 19:49:27 -0600944 depends on ARM || PPC
Ahmed Mansour816bc412017-12-15 16:01:01 -0500945 default y if ARCH_B4860 || \
946 ARCH_B4420 || \
947 ARCH_P1023 || \
948 ARCH_P2041 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500949 ARCH_T1024 || \
950 ARCH_T1040 || \
951 ARCH_T1042 || \
952 ARCH_T2080 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500953 ARCH_T4240 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500954 ARCH_P4080 || \
955 ARCH_P3041 || \
956 ARCH_P5040 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500957 ARCH_LS1043A || \
958 ARCH_LS1046A
959 help
960 QBman fixups to allow deep sleep in DPAA 1 SOCs
961
Tom Rini8d7aa572022-07-31 21:08:29 -0400962config SYS_FSL_QMAN_V3
963 bool # QMAN version 3
964 depends on SYS_DPAA_QBMAN
965
Mario Sixda4fc932018-03-28 14:38:18 +0200966config TSEC_ENET
967 select PHYLIB
968 bool "Enable Three-Speed Ethernet Controller"
969 help
970 This driver implements support for the (Enhanced) Three-Speed
971 Ethernet Controller found on Freescale SoCs.
972
developer29d9d9f2025-01-10 16:41:13 +0800973source "drivers/net/mtk_eth/Kconfig"
developera2a01412024-12-17 16:39:55 +0800974
Yang Xiwend9717112023-08-23 01:03:42 +0800975config HIFEMAC_ETH
976 bool "HiSilicon Fast Ethernet Controller"
977 select DM_CLK
978 select DM_RESET
979 select PHYLIB
980 help
981 This driver supports HIFEMAC Ethernet controller found on
982 HiSilicon SoCs.
983
Yang Xiwendabe1db2023-08-23 01:03:43 +0800984config HIFEMAC_MDIO
985 bool "HiSilicon Fast Ethernet Controller MDIO interface"
986 depends on DM_MDIO
987 select DM_CLK
988 help
989 This driver supports the internal MDIO interface of HIFEMAC
990 Ethernet controller.
991
Shawn Guo0e1cc912019-03-20 15:32:40 +0800992config HIGMACV300_ETH
993 bool "HiSilicon Gigabit Ethernet Controller"
Shawn Guo0e1cc912019-03-20 15:32:40 +0800994 select DM_RESET
995 select PHYLIB
996 help
997 This driver supports HIGMACV300 Ethernet controller found on
998 HiSilicon SoCs.
999
Alex Marginean7a910c12019-07-03 12:11:40 +03001000config FSL_ENETC
1001 bool "NXP ENETC Ethernet controller"
Tom Rini4c40e732022-08-02 07:33:47 -04001002 depends on DM_MDIO
Alex Marginean7a910c12019-07-03 12:11:40 +03001003 help
1004 This driver supports the NXP ENETC Ethernet controller found on some
1005 of the NXP SoCs.
1006
Marek Vasuta54e8862025-01-16 05:03:28 +01001007config FSL_ENETC_NETC_BLK_CTRL
1008 bool "NXP ENETC NETC blocks control driver"
1009 depends on FSL_ENETC && IMX95
1010 default y if IMX95
1011 help
1012 This driver configures Integrated Endpoint Register Block (IERB) and
1013 Privileged Register Block (PRB) of NETC. For i.MX platforms, it also
1014 includes the configuration of NETCMIX block.
1015 The IERB contains registers that are used for pre-boot initialization,
1016 debug, and non-customer configuration. The PRB controls global reset
1017 and global error handling for NETC. The NETCMIX block is mainly used
1018 to set MII protocol and PCS protocol of the links, it also contains
1019 settings for some other functions.
1020
Markus Gothefba38bf2024-11-19 08:26:44 -06001021config MDIO_GPIO_BITBANG
1022 bool "GPIO bitbanging MDIO driver"
1023 depends on DM_MDIO && DM_GPIO
1024 help
1025 Driver for bitbanging MDIO
1026
Alex Marginean3234a5e2019-07-16 11:21:17 +03001027config MDIO_MUX_I2CREG
1028 bool "MDIO MUX accessed as a register over I2C"
1029 depends on DM_MDIO_MUX && DM_I2C
1030 help
1031 This driver is used for MDIO muxes driven by writing to a register of
1032 an I2C chip. The board it was developed for uses a mux controlled by
1033 on-board FPGA which in turn is accessed as a chip over I2C.
1034
Robert Marko90dfaeb2020-10-08 22:05:11 +02001035config MDIO_IPQ4019
1036 bool "Qualcomm IPQ4019 MDIO interface support"
1037 depends on DM_MDIO
1038 help
1039 This driver supports the MDIO interface found in Qualcomm
1040 IPQ40xx series Soc-s.
1041
Alex Margineande3e55b2019-07-25 12:33:19 +03001042config MVMDIO
1043 bool "Marvell MDIO interface support"
1044 depends on DM_MDIO
1045 help
1046 This driver supports the MDIO interface found in the network
1047 interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
1048 Dove, Armada 370, Armada XP, Armada 37xx and Armada7K/8K/8KP).
1049
1050 This driver is used by the MVPP2 and MVNETA drivers.
1051
Ioana Ciornei799a4432020-03-18 16:47:36 +02001052config FSL_LS_MDIO
1053 bool "NXP Layerscape MDIO interface support"
1054 depends on DM_MDIO
1055 help
1056 This driver supports the MDIO bus found on the Fman 10G Ethernet MACs and
1057 on the mEMAC (which supports both Clauses 22 and 45).
1058
Dylan Hungb450ee62021-11-02 13:41:54 +08001059config ASPEED_MDIO
1060 bool "Aspeed MDIO interface support"
1061 depends on DM_MDIO
1062 help
1063 This driver supports the MDIO bus of Aspeed AST2600 SOC. The driver
1064 currently supports Clause 22.
1065
Neil Armstrongb66cbb32021-02-24 15:02:23 +01001066config MDIO_MUX_MMIOREG
1067 bool "MDIO MUX accessed as a MMIO register access"
1068 depends on DM_MDIO_MUX
1069 help
1070 This driver is used for MDIO muxes driven by writing to a register in
1071 the MMIO physical memory.
1072
Neil Armstrongd0ddbb92021-02-24 17:31:53 +01001073config MDIO_MUX_MESON_G12A
1074 bool "MDIO MUX for Amlogic Meson G12A SoCs"
1075 depends on DM_MDIO_MUX
1076 help
1077 This driver is used for the MDIO mux found on the Amlogic G12A & compatible
1078 SoCs.
1079
Neil Armstrong28fade72023-12-13 10:30:12 +01001080config MDIO_MUX_MESON_GXL
1081 bool "MDIO MUX for Amlogic Meson GXL SoCs"
1082 depends on DM_MDIO_MUX
1083 help
1084 This driver is used for the MDIO mux found on the Amlogic GXL & compatible
1085 SoCs.
1086
Joe Hershberger6ab76992015-03-22 17:09:13 -05001087endif # NETDEVICES