blob: 69e4d946cd7388ca489bae1975e78d9f350dbc64 [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
Jerome Forissiere0f95512024-10-16 12:03:59 +020051 depends on !NET_LWIP
Claudiu Manoilc0566c22021-01-25 14:23:53 +020052 help
53 Enable driver model for DSA switches
54
55 Adds UCLASS_DSA class supporting switches that follow the Distributed
56 Switch Architecture (DSA). These switches rely on the presence of a
57 management switch port connected to an Ethernet controller capable of
58 receiving frames from the switch. This host Ethernet controller is
59 called the "master" Ethernet interface in DSA terminology.
60 This is currently implemented in net/dsa-uclass.c, refer to
61 include/net/dsa.h for API details.
62
Alex Marginean0daa53a2019-06-03 19:12:28 +030063config MDIO_SANDBOX
64 depends on DM_MDIO && SANDBOX
65 default y
66 bool "Sandbox: Mocked MDIO driver"
67 help
68 This driver implements dummy read/write/reset MDIO functions mimicking
69 a bus with a single PHY.
70
71 This driver is used in for testing in test/dm/mdio.c
72
Alex Marginean0649be52019-07-12 10:13:53 +030073config MDIO_MUX_SANDBOX
74 depends on DM_MDIO_MUX && MDIO_SANDBOX
75 default y
76 bool "Sandbox: Mocked MDIO-MUX driver"
77 help
78 This driver implements dummy select/deselect ops mimicking a MUX on
79 the MDIO bux. It uses mdio_sandbox driver as parent MDIO.
80
81 This driver is used for testing in test/dm/mdio.c
82
Ye Licd5bb772020-05-03 22:41:14 +080083config DM_ETH_PHY
84 bool "Enable Driver Model for Ethernet Generic PHY drivers"
85 depends on DM
86 help
87 Enable driver model for Ethernet Generic PHY .
88
Claudiu Manoild9eaa922021-03-14 20:14:57 +080089config DSA_SANDBOX
90 depends on DM_DSA && SANDBOX
91 default y
92 bool "Sandbox: Mocked DSA driver"
93 help
94 This driver implements a dummy DSA switch connected to a dummy sandbox
95 Ethernet device used as DSA master, to test DSA class code, including
96 exported DSA API and datapath processing of Ethernet traffic.
97
Joe Hershberger6ab76992015-03-22 17:09:13 -050098menuconfig NETDEVICES
99 bool "Network device support"
Jerome Forissier1ff00362024-10-16 12:04:03 +0200100 depends on NET || NET_LWIP
Tom Rini4c40e732022-08-02 07:33:47 -0400101 select DM_ETH
Joe Hershberger6ab76992015-03-22 17:09:13 -0500102 help
103 You must select Y to enable any network device support
104 Generally if you have any networking support this is a given
105
106 If unsure, say Y
107
108if NETDEVICES
109
Philipp Tomsich00c33612017-03-26 18:50:23 +0200110config PHY_GIGE
111 bool "Enable GbE PHY status parsing and configuration"
112 help
113 Enables support for parsing the status output and for
114 configuring GbE PHYs (affects the inner workings of some
115 commands and miiphyutil.c).
116
Marek Vasut0a3d0e12016-05-24 23:29:09 +0200117config AG7XXX
118 bool "Atheros AG7xxx Ethernet MAC support"
Tom Rini4c40e732022-08-02 07:33:47 -0400119 depends on ARCH_ATH79
Marek Vasut0a3d0e12016-05-24 23:29:09 +0200120 select PHYLIB
121 help
122 This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
123 present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
124
Christian Marangid43f7742025-04-07 22:01:46 +0200125config AIROHA_ETH
126 bool "Airoha Ethernet QDMA Driver"
127 depends on ARCH_AIROHA
128 select PHYLIB
129 select DM_RESET
130 help
131 This Driver support Airoha Ethernet QDMA Driver
132 Say Y to enable support for the Airoha Ethernet QDMA.
Marek Vasut0a3d0e12016-05-24 23:29:09 +0200133
Thomas Chouec06dd82015-10-22 15:29:11 +0800134config ALTERA_TSE
135 bool "Altera Triple-Speed Ethernet MAC support"
Thomas Chouec06dd82015-10-22 15:29:11 +0800136 select PHYLIB
137 help
138 This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
139 Please find details on the "Triple-Speed Ethernet MegaCore Function
140 Resource Center" of Altera.
141
Suji Velupillaid2f677a2017-07-10 14:05:41 -0700142config BCM_SF2_ETH
143 bool "Broadcom SF2 (Starfighter2) Ethernet support"
144 select PHYLIB
145 help
146 This is an abstract framework which provides a generic interface
147 to MAC and DMA management for multiple Broadcom SoCs such as
148 Cygnus, NSP and bcm28155_ap platforms.
149
150config BCM_SF2_ETH_DEFAULT_PORT
151 int "Broadcom SF2 (Starfighter2) Ethernet default port number"
152 depends on BCM_SF2_ETH
153 default 0
154 help
155 Default port number for the Starfighter2 ethernet driver.
156
157config BCM_SF2_ETH_GMAC
158 bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support"
159 depends on BCM_SF2_ETH
160 help
161 This flag enables the ethernet support for Broadcom platforms with
162 GMAC such as Cygnus. This driver is based on the framework provided
163 by the BCM_SF2_ETH driver.
164 Say Y to any bcmcygnus based platforms.
165
Álvaro Fernández Rojas204fd5e2018-12-01 19:00:24 +0100166config BCM6348_ETH
167 bool "BCM6348 EMAC support"
Tom Rini4c40e732022-08-02 07:33:47 -0400168 depends on ARCH_BMIPS
Álvaro Fernández Rojas204fd5e2018-12-01 19:00:24 +0100169 select DMA
170 select DMA_CHANNELS
171 select MII
172 select PHYLIB
173 help
174 This driver supports the BCM6348 Ethernet MAC.
175
Álvaro Fernández Rojasb0b22542018-12-01 19:00:32 +0100176config BCM6368_ETH
177 bool "BCM6368 EMAC support"
Tom Rini4c40e732022-08-02 07:33:47 -0400178 depends on ARCH_BMIPS
Álvaro Fernández Rojasb0b22542018-12-01 19:00:32 +0100179 select DMA
180 select MII
181 help
182 This driver supports the BCM6368 Ethernet MAC.
183
Amit Singh Tomar8f656c52020-01-27 01:14:42 +0000184config BCMGENET
185 bool "BCMGENET V5 support"
Amit Singh Tomar8f656c52020-01-27 01:14:42 +0000186 select PHYLIB
187 help
188 This driver supports the BCMGENET Ethernet MAC.
189
Tom Rinifc42f2c2022-11-27 10:25:02 -0500190source "drivers/net/bnxt/Kconfig"
191
Aaron Tsengebcdddd2021-01-14 13:34:11 -0800192config CORTINA_NI_ENET
193 bool "Cortina-Access Ethernet driver"
Tom Rini4c40e732022-08-02 07:33:47 -0400194 depends on CORTINA_PLATFORM
Aaron Tsengebcdddd2021-01-14 13:34:11 -0800195 help
196 This driver supports the Cortina-Access Ethernet MAC for
197 all supported CAxxxx SoCs.
198
Andre Przywara7352fb92021-04-12 01:04:52 +0100199config CALXEDA_XGMAC
200 bool "Calxeda XGMAC support"
Andre Przywara7352fb92021-04-12 01:04:52 +0100201 help
202 This driver supports the XGMAC in Calxeda Highbank and Midway
203 machines.
204
Tom Rinidec7ea02024-05-20 13:35:03 -0600205config DWC_ETH_XGMAC
206 bool "Synopsys DWC Ethernet XGMAC device support"
207 select PHYLIB
208 help
209 This driver supports the Synopsys Designware Ethernet XGMAC (10G
210 Ethernet MAC) IP block. The IP supports many options for bus type,
211 clocking/reset structure, and feature list.
212
213config DWC_ETH_XGMAC_SOCFPGA
214 bool "Synopsys DWC Ethernet XGMAC device support for SOCFPGA"
215 select REGMAP
216 select SYSCON
217 depends on DWC_ETH_XGMAC
218 default y if TARGET_SOCFPGA_AGILEX5
219 help
220 The Synopsys Designware Ethernet XGMAC IP block with specific
221 configuration used in Intel SoC FPGA chip.
222
Marek Vasutd2105972022-04-13 04:15:38 +0200223config DRIVER_DM9000
224 bool "Davicom DM9000 controller driver"
225 help
226 The Davicom DM9000 parallel bus external ethernet interface chip.
227
Tom Rini599b11b2022-12-02 16:42:18 -0500228config DM9000_BYTE_SWAPPED
229 bool "Byte swapped access for DM9000"
230 depends on DRIVER_DM9000
231
232config DM9000_NO_SROM
233 bool "No SROM on DM9000"
234 depends on DRIVER_DM9000
235
236config DM9000_USE_16BIT
237 bool "Use 16bit access in DM9000"
238 depends on DRIVER_DM9000
239
Stephen Warren50709602016-10-21 14:46:47 -0600240config DWC_ETH_QOS
241 bool "Synopsys DWC Ethernet QOS device support"
Stephen Warren50709602016-10-21 14:46:47 -0600242 select PHYLIB
243 help
244 This driver supports the Synopsys Designware Ethernet QOS (Quality
245 Of Service) IP block. The IP supports many options for bus type,
Patrick Delaunay68083902020-06-08 11:27:19 +0200246 clocking/reset structure, and feature list.
247
Greg Malysaeabf2322025-02-26 12:30:29 -0500248config DWC_ETH_QOS_ADI
249 bool "Synopsys DWC Ethernet QOS device support for ADI SC59x-64 parts"
250 depends on DWC_ETH_QOS
251 help
252 The Synopsis Designware Ethernet QoS IP block with the specific
253 configuration used in the ADI ADSP-SC59X 64 bit SoCs
254
Patrick Delaunay68083902020-06-08 11:27:19 +0200255config DWC_ETH_QOS_IMX
256 bool "Synopsys DWC Ethernet QOS device support for IMX"
257 depends on DWC_ETH_QOS
258 help
259 The Synopsys Designware Ethernet QOS IP block with the specific
260 configuration used in IMX soc.
261
Philip Oberfichtner42460352024-08-02 11:25:39 +0200262config DWC_ETH_QOS_INTEL
263 bool "Synopsys DWC Ethernet QOS device support for Intel"
264 depends on DWC_ETH_QOS
265 help
266 The Synopsys Designware Ethernet QOS IP block with the specific
267 configuration used in the Intel Elkhart-Lake soc.
268
Jonas Karlman098ee4f2023-10-01 19:17:19 +0000269config DWC_ETH_QOS_ROCKCHIP
270 bool "Synopsys DWC Ethernet QOS device support for Rockchip SoCs"
271 depends on DWC_ETH_QOS
272 select DM_ETH_PHY
273 help
274 The Synopsys Designware Ethernet QOS IP block with specific
275 configuration used in Rockchip SoCs.
276
Patrick Delaunay68083902020-06-08 11:27:19 +0200277config DWC_ETH_QOS_STM32
278 bool "Synopsys DWC Ethernet QOS device support for STM32"
279 depends on DWC_ETH_QOS
Patrick Delaunayd9dc80c2021-07-20 20:09:55 +0200280 select DM_ETH_PHY
Patrick Delaunay68083902020-06-08 11:27:19 +0200281 default y if ARCH_STM32MP
282 help
283 The Synopsys Designware Ethernet QOS IP block with the specific
284 configuration used in STM32MP soc.
285
286config DWC_ETH_QOS_TEGRA186
287 bool "Synopsys DWC Ethernet QOS device support for TEGRA186"
288 depends on DWC_ETH_QOS
289 default y if TEGRA186
290 help
291 The Synopsys Designware Ethernet QOS IP block with specific
292 configuration used in NVIDIA's Tegra186 chip.
Stephen Warren50709602016-10-21 14:46:47 -0600293
Sumit Garg7c3be942023-02-01 19:28:55 +0530294config DWC_ETH_QOS_QCOM
295 bool "Synopsys DWC Ethernet QOS device support for Qcom SoCs"
296 depends on DWC_ETH_QOS
297 help
298 The Synopsys Designware Ethernet QOS IP block with specific
299 configuration used in Qcom QCS404 SoC.
300
Yanhong Wang1f502ee2023-06-15 17:36:43 +0800301config DWC_ETH_QOS_STARFIVE
302 bool "Synopsys DWC Ethernet QOS device support for STARFIVE"
303 depends on DWC_ETH_QOS
304 help
305 The Synopsys Designware Ethernet QOS IP block with specific
306 configuration used in STARFIVE JH7110 soc.
307
Simon Glassa83ccd52015-08-19 09:33:41 -0600308config E1000
309 bool "Intel PRO/1000 Gigabit Ethernet support"
Sean Andersond22315a2022-04-26 14:35:33 -0400310 depends on PCI
Simon Glassa83ccd52015-08-19 09:33:41 -0600311 help
312 This driver supports Intel(R) PRO/1000 gigabit ethernet family of
313 adapters. For more information on how to identify your adapter, go
314 to the Adapter & Driver ID Guide at:
315
316 <http://support.intel.com/support/network/adapter/pro100/21397.htm>
317
Tom Rinia35003b2022-06-08 08:24:23 -0400318config E1000_NO_NVM
319 bool "Intel PRO/1000 has no NVMEM / EEPROM"
320 depends on E1000
321
Simon Glassa83ccd52015-08-19 09:33:41 -0600322config E1000_SPI_GENERIC
323 bool "Allow access to the Intel 8257x SPI bus"
324 depends on E1000
325 help
326 Allow generic access to the SPI bus on the Intel 8257x, for
327 example with the "sspi" command.
328
329config E1000_SPI
330 bool "Enable SPI bus utility code"
331 depends on E1000
332 help
333 Utility code for direct access to the SPI bus on Intel 8257x.
334 This does not do anything useful unless you set at least one
335 of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
336
337config CMD_E1000
338 bool "Enable the e1000 command"
339 depends on E1000
340 help
341 This enables the 'e1000' management command for E1000 devices. When
342 used on devices with SPI support you can reprogram the EEPROM from
343 U-Boot.
344
Marek Vasut2dcaf852020-05-23 18:07:53 +0200345config EEPRO100
346 bool "Intel PRO/100 82557/82559/82559ER Fast Ethernet support"
347 help
348 This driver supports Intel(R) PRO/100 82557/82559/82559ER fast
349 ethernet family of adapters.
350
Robert Markoea1b88b2024-06-03 14:06:15 +0200351config ESSEDMA
352 bool "Qualcomm ESS Edma support"
353 depends on DM_ETH && ARCH_IPQ40XX
354 select PHYLIB
355 help
356 This driver supports ethernet DMA adapter found in
357 Qualcomm IPQ40xx series SoC-s.
358
Joe Hershberger6ab76992015-03-22 17:09:13 -0500359config ETH_SANDBOX
Tom Rini4c40e732022-08-02 07:33:47 -0400360 depends on SANDBOX
Jerome Forissier04c4f332025-04-15 23:17:40 +0200361 depends on NET || NET_LWIP
Joe Hershberger6ab76992015-03-22 17:09:13 -0500362 default y
363 bool "Sandbox: Mocked Ethernet driver"
364 help
365 This driver simply responds with fake ARP replies and ping
366 replies that are used to verify network stack functionality
367
368 This driver is particularly useful in the test/dm/eth.c tests
369
Joe Hershberger586cbd12015-03-22 17:09:21 -0500370config ETH_SANDBOX_RAW
Tom Rini4c40e732022-08-02 07:33:47 -0400371 depends on SANDBOX
Jerome Forissiere0f95512024-10-16 12:03:59 +0200372 depends on NET
Joe Hershberger586cbd12015-03-22 17:09:21 -0500373 default y
374 bool "Sandbox: Bridge to Linux Raw Sockets"
375 help
376 This driver is a bridge from the bottom of the network stack
377 in U-Boot to the RAW AF_PACKET API in Linux. This allows real
378 network traffic to be tested from within sandbox. See
Keerthyfa002552019-07-29 13:52:04 +0530379 doc/arch/index.rst for more details.
Joe Hershberger586cbd12015-03-22 17:09:21 -0500380
Simon Glass6e378742015-04-05 16:07:34 -0600381config ETH_DESIGNWARE
382 bool "Synopsys Designware Ethernet MAC"
Thomas Chou7a0dfa62015-12-07 20:53:29 +0800383 select PHYLIB
Simon Goldschmidtad588932019-01-13 19:58:41 +0100384 imply ETH_DESIGNWARE_SOCFPGA if ARCH_SOCFPGA
Simon Glass6e378742015-04-05 16:07:34 -0600385 help
386 This MAC is present in SoCs from various vendors. It supports
387 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
388 provide the PHY (physical media interface).
389
Neil Armstrong145aff72021-02-24 20:33:56 +0100390config ETH_DESIGNWARE_MESON8B
391 bool "Amlogic Meson8b and later glue driver for Synopsys Designware Ethernet MAC"
Neil Armstrong145aff72021-02-24 20:33:56 +0100392 select ETH_DESIGNWARE
393 help
394 This provides glue layer to use Synopsys Designware Ethernet MAC
395 present on the Amlogic Meson8b, GX, AXG & G12A SoCs.
396
Marek Vasut0d9a4a02018-08-13 19:32:14 +0200397config ETH_DESIGNWARE_SOCFPGA
Simon Goldschmidtb50afc82019-01-13 19:58:40 +0100398 select REGMAP
399 select SYSCON
Tom Rini7ac21a32022-06-15 12:03:43 -0400400 select DW_ALTDESCRIPTOR
Marek Vasut0d9a4a02018-08-13 19:32:14 +0200401 bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
Tom Rini4c40e732022-08-02 07:33:47 -0400402 depends on ETH_DESIGNWARE
Marek Vasut0d9a4a02018-08-13 19:32:14 +0200403 help
404 The Altera SoCFPGA requires additional configuration of the
405 Altera system manager to correctly interface with the PHY.
406 This code handles those SoC specifics.
407
Amit Singh Tomar03d6edb2020-05-09 19:55:12 +0530408config ETH_DESIGNWARE_S700
409 bool "Actins S700 glue driver for Synopsys Designware Ethernet MAC"
Tom Rini4c40e732022-08-02 07:33:47 -0400410 depends on ETH_DESIGNWARE
Amit Singh Tomar03d6edb2020-05-09 19:55:12 +0530411 help
412 This provides glue layer to use Synopsys Designware Ethernet MAC
413 present on Actions S700 SoC.
414
Tom Rini7ac21a32022-06-15 12:03:43 -0400415config DW_ALTDESCRIPTOR
416 bool "Designware Ethernet MAC uses alternate (enhanced) descriptors"
417 depends on ETH_DESIGNWARE
418
Max Filippove07d3d22016-08-05 18:26:15 +0300419config ETHOC
420 bool "OpenCores 10/100 Mbps Ethernet MAC"
421 help
422 This MAC is present in OpenRISC and Xtensa XTFPGA boards.
423
Peng Fana65e0362018-03-28 20:54:14 +0800424config FEC_MXC_SHARE_MDIO
425 bool "Share the MDIO bus for FEC controller"
426 depends on FEC_MXC
427
428config FEC_MXC_MDIO_BASE
429 hex "MDIO base address for the FEC controller"
430 depends on FEC_MXC_SHARE_MDIO
431 help
432 This specifies the MDIO registers base address. It is used when
433 two FEC controllers share MDIO bus.
434
Jagan Tekia48af852016-10-08 18:00:12 +0530435config FEC_MXC
436 bool "FEC Ethernet controller"
Peng Fanfad6d902022-07-26 16:41:12 +0800437 depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || IMX8ULP || IMX93 || VF610
Jagan Tekia48af852016-10-08 18:00:12 +0530438 help
439 This driver supports the 10/100 Fast Ethernet controller for
440 NXP i.MX processors.
441
Tom Rinifa911f82019-05-12 07:59:12 -0400442config FMAN_ENET
443 bool "Freescale FMan ethernet support"
444 depends on ARM || PPC
Tom Rini82a703b2022-07-23 13:05:06 -0400445 select SYS_FMAN_V3 if ARCH_B4420 || ARCH_B4860 || ARCH_LS1043A || \
446 ARCH_LS1046A || ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || \
447 ARCH_T2080 || ARCH_T4240
Tom Rini6fb86c12022-12-02 16:42:21 -0500448 select FSL_FM_10GEC_REGULAR_NOTATION if ARCH_T1024
Tom Rinifa911f82019-05-12 07:59:12 -0400449 help
450 This driver support the Freescale FMan Ethernet controller
451
Rajesh Bhagataec38012021-11-09 16:30:38 +0530452config SYS_FMAN_FW_ADDR
453 hex "FMAN Firmware Address"
454 depends on FMAN_ENET
455 default 0x0
456
457config SYS_QE_FMAN_FW_LENGTH
458 hex "FMAN QE Firmware length"
459 depends on FMAN_ENET || QE || U_QE
460 default 0x10000
461
Tom Rini82a703b2022-07-23 13:05:06 -0400462config SYS_FMAN_V3
463 bool
Tom Rini33ae6a72022-07-23 13:05:10 -0400464 select FSL_MEMAC
Tom Rini82a703b2022-07-23 13:05:06 -0400465 help
466 SoC has FMan v3 with mEMAC
467
Tom Rini6fb86c12022-12-02 16:42:21 -0500468config FSL_FM_10GEC_REGULAR_NOTATION
469 bool
470 help
471 On SoCs T4240, T2080, LS1043A, etc, the notation between 10GEC and
472 MAC as below:
473 10GEC1->MAC9, 10GEC2->MAC10, 10GEC3->MAC1, 10GEC4->MAC2
474 While on SoCs T1024, etc, the notation between 10GEC and MAC as below:
475 10GEC1->MAC1, 10GEC2->MAC2
476 so we introduce CONFIG_FSL_FM_10GEC_REGULAR_NOTATION to identify the
477 new SoCs on which 10GEC enumeration is consistent with MAC
478 enumeration.
479
Tom Rinic5ea8ed2017-05-26 11:18:53 -0400480config FTMAC100
481 bool "Ftmac100 Ethernet Support"
Sergei Antonovb8a0ab92023-02-03 22:09:04 +0300482 select MII
Tom Rinic5ea8ed2017-05-26 11:18:53 -0400483 help
484 This MAC is present in Andestech SoCs.
485
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100486config FTGMAC100
487 bool "Ftgmac100 Ethernet Support"
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100488 select PHYLIB
Jerome Forissier69c5b052024-09-11 11:58:21 +0200489 depends on NET
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100490 help
491 This driver supports the Faraday's FTGMAC100 Gigabit SoC
492 Ethernet controller that can be found on Aspeed SoCs (which
493 include NCSI).
494
495 It is fully compliant with IEEE 802.3 specification for
496 10/100 Mbps Ethernet and IEEE 802.3z specification for 1000
497 Mbps Ethernet and includes Reduced Media Independent
498 Interface (RMII) and Reduced Gigabit Media Independent
499 Interface (RGMII) interfaces. It adopts an AHB bus interface
500 and integrates a link list DMA engine with direct M-Bus
501 accesses for transmitting and receiving packets. It has
502 independent TX/RX fifos, supports half and full duplex (1000
503 Mbps mode only supports full duplex), flow control for full
504 duplex and backpressure for half duplex.
505
506 The FTGMAC100 also implements IP, TCP, UDP checksum offloads
507 and supports IEEE 802.1Q VLAN tag insertion and removal. It
508 offers high-priority transmit queue for QoS and CoS
509 applications.
510
Tom Rinibd8253d2022-06-25 11:02:36 -0400511config SYS_DISCOVER_PHY
512 bool
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100513
Angelo Durgehelloa1d3d9f2019-11-15 23:54:17 +0100514config MCFFEC
515 bool "ColdFire Ethernet Support"
Angelo Durgehelloa1d3d9f2019-11-15 23:54:17 +0100516 select PHYLIB
Tom Rinibd8253d2022-06-25 11:02:36 -0400517 select SYS_DISCOVER_PHY
Angelo Durgehelloa1d3d9f2019-11-15 23:54:17 +0100518 help
519 This driver supports the network interface units in the
520 ColdFire family.
521
Tom Rini74d888f2022-06-25 11:02:35 -0400522config SYS_UNIFY_CACHE
523 depends on MCFFEC
524 bool "Invalidate icache during ethernet operations"
525
Marek Vasutf4622282020-03-25 19:08:59 +0100526config KS8851_MLL
527 bool "Microchip KS8851-MLL controller driver"
528 help
529 The Microchip KS8851 parallel bus external ethernet interface chip.
530
Tim Harvey06dea1e2021-06-30 16:50:08 -0700531config KSZ9477
Romain Naour98a124d2024-10-08 09:54:32 +0200532 bool "Microchip KSZ9477 controller driver"
533 depends on DM_DSA && (DM_I2C || DM_SPI)
Tim Harvey06dea1e2021-06-30 16:50:08 -0700534 help
535 This driver implements a DSA switch driver for the KSZ9477 family
Romain Naour98a124d2024-10-08 09:54:32 +0200536 of GbE switches using the I2C or SPI interface.
Tim Harvey06dea1e2021-06-30 16:50:08 -0700537
Joel Stanley705017a2022-09-26 15:35:58 +0930538config LITEETH
539 bool "LiteX LiteEth Ethernet MAC"
540 help
541 Driver for the LiteEth Ethernet MAC from LiteX.
542
Tim Harveyc3cd7f12022-11-30 09:42:50 -0800543config MV88E6XXX
544 bool "Marvell MV88E6xxx Ethernet switch DSA driver"
545 depends on DM_DSA && DM_MDIO
546 help
547 This driver implements a DSA switch driver for the MV88E6xxx family
548 of Ethernet switches using the MDIO interface
549
Chris Packham943679d2018-05-03 23:00:35 +1200550config MVGBE
551 bool "Marvell Orion5x/Kirkwood network interface support"
Trevor Woernerbb7ab072020-05-06 08:02:40 -0400552 depends on ARCH_KIRKWOOD || ARCH_ORION5X
Tom Rini4c40e732022-08-02 07:33:47 -0400553 select PHYLIB
Chris Packham943679d2018-05-03 23:00:35 +1200554 help
555 This driver supports the network interface units in the
556 Marvell Orion5x and Kirkwood SoCs
557
Chris Packham919041c2017-08-21 20:17:03 +1200558config MVNETA
Miquel Raynal59d42cd2017-12-28 15:43:09 +0100559 bool "Marvell Armada XP/385/3700 network interface support"
Chris Packham44b7cc72022-11-05 17:23:56 +1300560 depends on ARMADA_XP || ARMADA_38X || ARMADA_3700 || ALLEYCAT_5
Chris Packham919041c2017-08-21 20:17:03 +1200561 select PHYLIB
Marek Behún99e296f2022-04-27 12:41:46 +0200562 select DM_MDIO
Chris Packham919041c2017-08-21 20:17:03 +1200563 help
564 This driver supports the network interface units in the
Miquel Raynal59d42cd2017-12-28 15:43:09 +0100565 Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
Chris Packham919041c2017-08-21 20:17:03 +1200566
Stefan Roese96c19042016-02-10 07:22:10 +0100567config MVPP2
Stefan Roese78a112b2017-02-15 11:42:59 +0100568 bool "Marvell Armada 375/7K/8K network interface support"
569 depends on ARMADA_375 || ARMADA_8K
Stefan Roese96c19042016-02-10 07:22:10 +0100570 select PHYLIB
Nevo Hed5da38842019-08-15 18:08:45 -0400571 select MVMDIO
572 select DM_MDIO
Stefan Roese96c19042016-02-10 07:22:10 +0100573 help
574 This driver supports the network interface units in the
Stefan Roese78a112b2017-02-15 11:42:59 +0100575 Marvell ARMADA 375, 7K and 8K SoCs.
Stefan Roese96c19042016-02-10 07:22:10 +0100576
Wenyou Yange7183de2016-11-02 10:06:55 +0800577config MACB
578 bool "Cadence MACB/GEM Ethernet Interface"
Wenyou Yange7183de2016-11-02 10:06:55 +0800579 select PHYLIB
580 help
581 The Cadence MACB ethernet interface is found on many Atmel
582 AT91 and SAMA5 parts. This driver also supports the Cadence
583 GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
584 Say Y to include support for the MACB/GEM chip.
585
Wilson Lee41d6d1e2017-08-22 20:25:07 -0700586config MACB_ZYNQ
587 bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
588 depends on MACB
589 help
590 The Cadence MACB ethernet interface was used on Zynq platform.
591 Say Y to enable support for the MACB/GEM in Zynq chip.
592
developer7b4c8be2020-11-12 16:36:53 +0800593config MT7620_ETH
594 bool "MediaTek MT7620 Ethernet Interface"
595 depends on SOC_MT7620
596 select PHYLIB
597 select DM_RESET
598 select DM_GPIO
599 select CLK
600 help
601 The MediaTek MT7620 ethernet interface is used on MT7620 based
602 boards. It has a built-in switch with two configurable ports which
603 can connect to external PHY/MACs.
604
Stefan Roesef9947682018-10-26 14:53:27 +0200605config MT7628_ETH
606 bool "MediaTek MT7628 Ethernet Interface"
developer89f051b2019-04-30 11:13:58 +0800607 depends on SOC_MT7628
developera5644112019-09-25 17:45:33 +0800608 select PHYLIB
Stefan Roesef9947682018-10-26 14:53:27 +0200609 help
610 The MediaTek MT7628 ethernet interface is used on MT7628 and
611 MT7688 based boards.
612
Jim Liueaddbcb2022-05-17 16:28:11 +0800613config NET_NPCM750
614 bool "Nuvoton NPCM750 Ethernet MAC"
615 help
616 support NPCM750 EMAC
617
Stefan Roesec404ac72022-04-07 09:11:52 +0200618config NET_OCTEON
619 bool "MIPS Octeon ethernet support"
620 depends on ARCH_OCTEON
621 help
622 You must select Y to enable network device support for
623 MIPS Octeon SoCs. If unsure, say n
624
Suneel Garapati53dc4482020-08-26 14:37:33 +0200625config NET_OCTEONTX
626 bool "OcteonTX Ethernet support"
627 depends on ARCH_OCTEONTX
628 depends on PCI_SRIOV
629 help
630 You must select Y to enable network device support for
631 OcteonTX SoCs. If unsure, say n
Suneel Garapati8666ae82020-08-26 14:37:42 +0200632
633config NET_OCTEONTX2
634 bool "OcteonTX2 Ethernet support"
635 depends on ARCH_OCTEONTX2
636 select OCTEONTX2_CGX_INTF
637 help
638 You must select Y to enable network device support for
639 OcteonTX2 SoCs. If unsure, say n
640
Suneel Garapati53dc4482020-08-26 14:37:33 +0200641config OCTEONTX_SMI
642 bool "OcteonTX SMI Device support"
643 depends on ARCH_OCTEONTX || ARCH_OCTEONTX2
644 help
645 You must select Y to enable SMI controller support for
646 OcteonTX or OcteonTX2 SoCs. If unsure, say n
647
Suneel Garapati8666ae82020-08-26 14:37:42 +0200648config OCTEONTX2_CGX_INTF
649 bool "OcteonTX2 CGX ATF interface support"
650 depends on ARCH_OCTEONTX2
651 default y if ARCH_OCTEONTX2
652 help
653 You must select Y to enable CGX ATF interface support for
654 OcteonTX2 SoCs. If unsure, say n
655
Bin Meng64d3dca2015-08-27 22:25:58 -0700656config PCH_GBE
657 bool "Intel Platform Controller Hub EG20T GMAC driver"
Bin Meng64d3dca2015-08-27 22:25:58 -0700658 select PHYLIB
659 help
660 This MAC is present in Intel Platform Controller Hub EG20T. It
661 supports 10/100/1000 Mbps operation.
662
Mylène Josserande44eb3a2017-04-02 12:59:08 +0200663config RGMII
664 bool "Enable RGMII"
665 help
666 Enable the support of the Reduced Gigabit Media-Independent
667 Interface (RGMII).
668
Adam Ford53705472018-07-20 23:03:57 -0500669config MII
670 bool "Enable MII"
671 help
672 Enable support of the Media-Independent Interface (MII)
673
Tom Rinie09aab12022-03-18 08:38:22 -0400674config RMII
675 bool "Enable RMII"
676 help
677 Enable support of the Reduced Media-Independent Interface (MII)
678
Marek Vasut7275b622020-05-17 18:14:17 +0200679config PCNET
680 bool "AMD PCnet series Ethernet controller driver"
681 help
682 This driver supports AMD PCnet series fast ethernet family of
683 PCI chipsets/adapters.
684
Heiko Schocher41b64a82020-02-06 09:48:16 +0100685source "drivers/net/qe/Kconfig"
686
Bin Menga6448df2016-03-21 06:47:41 -0700687config RTL8139
688 bool "Realtek 8139 series Ethernet controller driver"
689 help
690 This driver supports Realtek 8139 series fast ethernet family of
691 PCI chipsets/adapters.
692
Bin Meng29971222016-03-21 06:47:42 -0700693config RTL8169
694 bool "Realtek 8169 series Ethernet controller driver"
Eugen Hristev88978dd2023-05-17 13:41:24 +0300695 depends on PCI
Bin Meng29971222016-03-21 06:47:42 -0700696 help
697 This driver supports Realtek 8169 series gigabit ethernet family of
698 PCI/PCIe chipsets/adapters.
699
Vladimir Oltean67bfc852021-09-29 18:04:41 +0300700config SJA1105
701 bool "NXP SJA1105 Ethernet switch family driver"
702 depends on DM_DSA && DM_SPI
703 select BITREVERSE
704 help
705 This is the driver for the NXP SJA1105 automotive Ethernet switch
706 family. These are 5-port devices and are managed over an SPI
707 interface. Probing is handled based on OF bindings. The driver
708 supports the following revisions:
709 - SJA1105E (Gen. 1, No TT-Ethernet)
710 - SJA1105T (Gen. 1, TT-Ethernet)
711 - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet)
712 - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet)
713 - SJA1105R (Gen. 2, SGMII, No TT-Ethernet)
714 - SJA1105S (Gen. 2, SGMII, TT-Ethernet)
715
Adam Ford0a044f82017-09-05 15:20:44 -0500716config SMC911X
717 bool "SMSC LAN911x and LAN921x controller driver"
718
Adam Ford0a044f82017-09-05 15:20:44 -0500719config SMC911X_32_BIT
Andre Przywara30301e52021-06-28 14:30:30 +0100720 bool "Enable SMC911X 32-bit interface"
Tom Rini4c40e732022-08-02 07:33:47 -0400721 depends on SMC911X
Adam Ford0a044f82017-09-05 15:20:44 -0500722 help
Andre Przywara30301e52021-06-28 14:30:30 +0100723 Define this if data bus is 32 bits. If your processor use a
724 narrower 16 bit bus or cannot convert one 32 bit word to two 16 bit
725 words, leave this to "n".
Adam Ford0a044f82017-09-05 15:20:44 -0500726
Mylène Josserandc1506ef2017-04-02 12:59:03 +0200727config SUN7I_GMAC
728 bool "Enable Allwinner GMAC Ethernet support"
729 help
730 Enable the support for Sun7i GMAC Ethernet controller
731
Stefan Mavrodieveaee8582017-11-03 08:56:51 +0200732config SUN7I_GMAC_FORCE_TXERR
733 bool "Force PA17 as gmac function"
734 depends on SUN7I_GMAC
735 help
736 Some ethernet phys needs TXERR control. Since the GMAC
737 doesn't have such signal, setting PA17 as GMAC function
738 makes the pin output low, which enables data transmission.
739
Mylène Josserand43ef1842017-04-02 12:59:07 +0200740config SUN4I_EMAC
741 bool "Allwinner Sun4i Ethernet MAC support"
Artturi Alm8ed09172017-11-08 05:08:58 +0200742 select PHYLIB
Mylène Josserand43ef1842017-04-02 12:59:07 +0200743 help
744 This driver supports the Allwinner based SUN4I Ethernet MAC.
745
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530746config SUN8I_EMAC
747 bool "Allwinner Sun8i Ethernet MAC support"
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530748 select PHYLIB
Philipp Tomsich00c33612017-03-26 18:50:23 +0200749 select PHY_GIGE
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530750 help
751 This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC.
752 It can be found in H3/A64/A83T based SoCs and compatible with both
Tom Rini1eee1172017-02-20 09:38:03 -0500753 External and Internal PHYs.
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530754
Nobuhiro Iwamatsuf593ecb2017-12-01 16:08:03 +0900755config SH_ETHER
756 bool "Renesas SH Ethernet MAC"
757 select PHYLIB
Marek Vasutfc479f62023-05-31 00:51:29 +0200758 select PHY_ETHERNET_ID
Nobuhiro Iwamatsuf593ecb2017-12-01 16:08:03 +0900759 help
760 This driver supports the Ethernet for Renesas SH and ARM SoCs.
761
Grygorii Strashko5693dee2018-10-31 16:21:39 -0500762source "drivers/net/ti/Kconfig"
Adam Ford53705472018-07-20 23:03:57 -0500763
Marek Vasut880287c2020-06-20 17:43:29 +0200764config TULIP
765 bool "DEC Tulip DC2114x Ethernet support"
Marek Vasut880287c2020-06-20 17:43:29 +0200766 help
767 This driver supports DEC DC2114x Fast ethernet chips.
768
Hanyuan Zhaoa45684c2024-08-09 16:56:54 +0800769config TULIP_SUPPORT_NON_PCI
770 bool "No PCI controller"
771 depends on TULIP
772 default n
773 help
774 Say Y to this and you can run this driver on platforms that do not
775 have PCI controllers.
776
Hanyuan Zhaoa34fa7d2024-08-09 16:56:59 +0800777config TULIP_IGNORE_TX_NO_CARRIER
778 bool "Ignore tx no carrier error"
779 depends on TULIP
780 default n
781 help
782 Some IP cores of dc2114x or its variants do not comply so well with
783 the behaviors described by the official document. A packet could be
784 sent successfully but reported with No Carrier error. Latest drivers
785 of this IP core do not detect this error anymore. Say Y to this could
786 disable handling of this error.
787
Hanyuan Zhao4e4e1b92024-08-09 16:57:00 +0800788config TULIP_MULTIPLE_TX_DESC
789 bool "Use multiple tx descriptors"
790 depends on TULIP
791 default n
792 help
793 Some IP cores of dc2114x or its variants do not comply so well with
794 the behaviors described by the official document. Originally this
795 driver uses only one tx descriptor and organizes it as a ring buffer,
796 which would lead to a problem that one packet would be sent twice.
797 Say Y to this could prevent this bug if you are using IP cores with
798 this issue, by using multiple tx descriptors and organizing them as
799 a real well-defined ring buffer.
800
Michal Simek07d204f2015-12-09 16:54:42 +0100801config XILINX_AXIEMAC
Michal Simek07d204f2015-12-09 16:54:42 +0100802 select PHYLIB
803 select MII
804 bool "Xilinx AXI Ethernet"
805 help
806 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
807
Ashok Reddy Soma6f5480c2021-07-02 04:40:34 -0600808config XILINX_AXIMRMAC
Tom Rini4c40e732022-08-02 07:33:47 -0400809 depends on ARCH_VERSAL
Ashok Reddy Soma6f5480c2021-07-02 04:40:34 -0600810 bool "Xilinx AXI MRMAC"
811 help
812 MRMAC is a high performance, low latency, adaptable Ethernet
813 integrated hard IP. This can be configured up to four ports with MAC
814 rates from 10GE to 100GE. This could be present in some of the Xilinx
815 Versal designs.
816
Tom Rini3d439872022-11-19 18:45:39 -0500817config VSC7385_ENET
818 bool "Vitesse 7385 Switch Firmware Upload driver"
819
Michal Simekeaee95a2015-12-11 09:41:49 +0100820config XILINX_EMACLITE
Michal Simekeaee95a2015-12-11 09:41:49 +0100821 select PHYLIB
822 select MII
823 bool "Xilinx Ethernetlite"
824 help
825 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
826
Michal Simek3d7285f2015-11-30 14:34:52 +0100827config ZYNQ_GEM
Michal Simek27ba0902015-12-11 09:14:31 +0100828 select PHYLIB
Michal Simek3d7285f2015-11-30 14:34:52 +0100829 bool "Xilinx Ethernet GEM"
830 help
Michal Simek7fb1d232015-12-09 16:53:52 +0100831 This MAC is present in Xilinx Zynq and ZynqMP SoCs.
Michal Simek3d7285f2015-11-30 14:34:52 +0100832
Purna Chandra Mandal6b731c92016-01-28 15:30:21 +0530833config PIC32_ETH
834 bool "Microchip PIC32 Ethernet Support"
Tom Rini4c40e732022-08-02 07:33:47 -0400835 depends on MACH_PIC32
Purna Chandra Mandal6b731c92016-01-28 15:30:21 +0530836 select PHYLIB
837 help
838 This driver implements 10/100 Mbps Ethernet and MAC layer for
839 Microchip PIC32 microcontrollers.
840
Sjoerd Simons54c46f92017-01-11 11:46:11 +0100841config GMAC_ROCKCHIP
842 bool "Rockchip Synopsys Designware Ethernet MAC"
Tom Rini4c40e732022-08-02 07:33:47 -0400843 depends on ETH_DESIGNWARE
Sjoerd Simons54c46f92017-01-11 11:46:11 +0100844 help
845 This driver provides Rockchip SoCs network support based on the
846 Synopsys Designware driver.
847
Phong Hoange44a3112023-03-20 21:05:04 +0100848config RENESAS_ETHER_SWITCH
849 bool "Renesas Ethernet Switch support"
850 depends on DM_ETH && R8A779F0
851 select PHYLIB
852 help
853 This driver implements support for the Renesas Ethernet Switch
854 which is available on R-Car S4 SoC (r8a779f0).
855
Marek Vasut17714cb2017-05-13 15:54:28 +0200856config RENESAS_RAVB
857 bool "Renesas Ethernet AVB MAC"
Hai Phamaee59c52023-04-07 17:12:17 +0200858 depends on RCAR_64
Paul Barker8e0d7de2025-03-04 20:07:07 +0000859 select BITBANGMII
Marek Vasut17714cb2017-05-13 15:54:28 +0200860 select PHYLIB
Marek Vasutad778bc2023-05-31 00:51:28 +0200861 select PHY_ETHERNET_ID
Marek Vasut17714cb2017-05-13 15:54:28 +0200862 help
863 This driver implements support for the Ethernet AVB block in
864 Renesas M3 and H3 SoCs.
865
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200866config MPC8XX_FEC
867 bool "Fast Ethernet Controller on MPC8XX"
Christophe Leroyb3510fb2018-03-16 17:20:41 +0100868 depends on MPC8xx
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200869 select MII
Tom Rinibd8253d2022-06-25 11:02:36 -0400870 select SYS_DISCOVER_PHY
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200871 help
872 This driver implements support for the Fast Ethernet Controller
873 on MPC8XX
874
Kunihiko Hayashi7dcdc222018-05-24 19:24:37 +0900875config SNI_AVE
876 bool "Socionext AVE Ethernet support"
Tom Rini4c40e732022-08-02 07:33:47 -0400877 depends on ARCH_UNIPHIER
Kunihiko Hayashi7dcdc222018-05-24 19:24:37 +0900878 select PHYLIB
879 select SYSCON
880 select REGMAP
881 help
882 This driver implements support for the Socionext AVE Ethernet
883 controller, as found on the Socionext UniPhier family.
884
Jassi Brar29c58b02021-06-04 18:44:38 +0900885config SNI_NETSEC
886 bool "Socionext NETSEC Ethernet support"
Tom Rini4c40e732022-08-02 07:33:47 -0400887 depends on SYNQUACER_SPI
Jassi Brar29c58b02021-06-04 18:44:38 +0900888 select PHYLIB
889 help
890 This driver implements support for the Socionext SynQuacer NETSEC
891 ethernet controller, as found on the Socionext SynQuacer family.
892
Horatiu Vulturad2bf652019-01-31 15:30:33 +0100893source "drivers/net/mscc_eswitch/Kconfig"
Gregory CLEMENTeca26c82019-01-17 17:07:13 +0100894
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200895config ETHER_ON_FEC1
896 bool "FEC1"
897 depends on MPC8XX_FEC
898 default y
899
900config FEC1_PHY
901 int "FEC1 PHY"
902 depends on ETHER_ON_FEC1
903 default -1
904 help
905 Define to the hardcoded PHY address which corresponds
906 to the given FEC; i. e.
907 #define CONFIG_FEC1_PHY 4
908 means that the PHY with address 4 is connected to FEC1
909
910 When set to -1, means to probe for first available.
911
912config PHY_NORXERR
913 bool "PHY_NORXERR"
914 depends on ETHER_ON_FEC1
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200915 help
916 The PHY does not have a RXERR line (RMII only).
917 (so program the FEC to ignore it).
918
919config ETHER_ON_FEC2
920 bool "FEC2"
921 depends on MPC8XX_FEC && MPC885
922 default y
923
924config FEC2_PHY
925 int "FEC2 PHY"
926 depends on ETHER_ON_FEC2
927 default -1
928 help
929 Define to the hardcoded PHY address which corresponds
930 to the given FEC; i. e.
931 #define CONFIG_FEC1_PHY 4
932 means that the PHY with address 4 is connected to FEC1
933
934 When set to -1, means to probe for first available.
935
936config FEC2_PHY_NORXERR
937 bool "PHY_NORXERR"
938 depends on ETHER_ON_FEC2
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200939 help
940 The PHY does not have a RXERR line (RMII only).
941 (so program the FEC to ignore it).
942
Ahmed Mansour816bc412017-12-15 16:01:01 -0500943config SYS_DPAA_QBMAN
944 bool "Device tree fixup for QBMan on freescale SOCs"
Simon Glassd4bcfed2024-09-29 19:49:27 -0600945 depends on ARM || PPC
Ahmed Mansour816bc412017-12-15 16:01:01 -0500946 default y if ARCH_B4860 || \
947 ARCH_B4420 || \
948 ARCH_P1023 || \
949 ARCH_P2041 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500950 ARCH_T1024 || \
951 ARCH_T1040 || \
952 ARCH_T1042 || \
953 ARCH_T2080 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500954 ARCH_T4240 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500955 ARCH_P4080 || \
956 ARCH_P3041 || \
957 ARCH_P5040 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500958 ARCH_LS1043A || \
959 ARCH_LS1046A
960 help
961 QBman fixups to allow deep sleep in DPAA 1 SOCs
962
Tom Rini8d7aa572022-07-31 21:08:29 -0400963config SYS_FSL_QMAN_V3
964 bool # QMAN version 3
965 depends on SYS_DPAA_QBMAN
966
Mario Sixda4fc932018-03-28 14:38:18 +0200967config TSEC_ENET
968 select PHYLIB
969 bool "Enable Three-Speed Ethernet Controller"
970 help
971 This driver implements support for the (Enhanced) Three-Speed
972 Ethernet Controller found on Freescale SoCs.
973
developer29d9d9f2025-01-10 16:41:13 +0800974source "drivers/net/mtk_eth/Kconfig"
developera2a01412024-12-17 16:39:55 +0800975
Yang Xiwend9717112023-08-23 01:03:42 +0800976config HIFEMAC_ETH
977 bool "HiSilicon Fast Ethernet Controller"
978 select DM_CLK
979 select DM_RESET
980 select PHYLIB
981 help
982 This driver supports HIFEMAC Ethernet controller found on
983 HiSilicon SoCs.
984
Yang Xiwendabe1db2023-08-23 01:03:43 +0800985config HIFEMAC_MDIO
986 bool "HiSilicon Fast Ethernet Controller MDIO interface"
987 depends on DM_MDIO
988 select DM_CLK
989 help
990 This driver supports the internal MDIO interface of HIFEMAC
991 Ethernet controller.
992
Shawn Guo0e1cc912019-03-20 15:32:40 +0800993config HIGMACV300_ETH
994 bool "HiSilicon Gigabit Ethernet Controller"
Shawn Guo0e1cc912019-03-20 15:32:40 +0800995 select DM_RESET
996 select PHYLIB
997 help
998 This driver supports HIGMACV300 Ethernet controller found on
999 HiSilicon SoCs.
1000
Alex Marginean7a910c12019-07-03 12:11:40 +03001001config FSL_ENETC
1002 bool "NXP ENETC Ethernet controller"
Tom Rini4c40e732022-08-02 07:33:47 -04001003 depends on DM_MDIO
Alex Marginean7a910c12019-07-03 12:11:40 +03001004 help
1005 This driver supports the NXP ENETC Ethernet controller found on some
1006 of the NXP SoCs.
1007
Marek Vasuta54e8862025-01-16 05:03:28 +01001008config FSL_ENETC_NETC_BLK_CTRL
1009 bool "NXP ENETC NETC blocks control driver"
1010 depends on FSL_ENETC && IMX95
1011 default y if IMX95
1012 help
1013 This driver configures Integrated Endpoint Register Block (IERB) and
1014 Privileged Register Block (PRB) of NETC. For i.MX platforms, it also
1015 includes the configuration of NETCMIX block.
1016 The IERB contains registers that are used for pre-boot initialization,
1017 debug, and non-customer configuration. The PRB controls global reset
1018 and global error handling for NETC. The NETCMIX block is mainly used
1019 to set MII protocol and PCS protocol of the links, it also contains
1020 settings for some other functions.
1021
Markus Gothefba38bf2024-11-19 08:26:44 -06001022config MDIO_GPIO_BITBANG
1023 bool "GPIO bitbanging MDIO driver"
1024 depends on DM_MDIO && DM_GPIO
1025 help
1026 Driver for bitbanging MDIO
1027
Alex Marginean3234a5e2019-07-16 11:21:17 +03001028config MDIO_MUX_I2CREG
1029 bool "MDIO MUX accessed as a register over I2C"
1030 depends on DM_MDIO_MUX && DM_I2C
1031 help
1032 This driver is used for MDIO muxes driven by writing to a register of
1033 an I2C chip. The board it was developed for uses a mux controlled by
1034 on-board FPGA which in turn is accessed as a chip over I2C.
1035
Robert Marko90dfaeb2020-10-08 22:05:11 +02001036config MDIO_IPQ4019
1037 bool "Qualcomm IPQ4019 MDIO interface support"
1038 depends on DM_MDIO
1039 help
1040 This driver supports the MDIO interface found in Qualcomm
1041 IPQ40xx series Soc-s.
1042
Alex Margineande3e55b2019-07-25 12:33:19 +03001043config MVMDIO
1044 bool "Marvell MDIO interface support"
1045 depends on DM_MDIO
1046 help
1047 This driver supports the MDIO interface found in the network
1048 interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
1049 Dove, Armada 370, Armada XP, Armada 37xx and Armada7K/8K/8KP).
1050
1051 This driver is used by the MVPP2 and MVNETA drivers.
1052
Ioana Ciornei799a4432020-03-18 16:47:36 +02001053config FSL_LS_MDIO
1054 bool "NXP Layerscape MDIO interface support"
1055 depends on DM_MDIO
1056 help
1057 This driver supports the MDIO bus found on the Fman 10G Ethernet MACs and
1058 on the mEMAC (which supports both Clauses 22 and 45).
1059
Dylan Hungb450ee62021-11-02 13:41:54 +08001060config ASPEED_MDIO
1061 bool "Aspeed MDIO interface support"
1062 depends on DM_MDIO
1063 help
1064 This driver supports the MDIO bus of Aspeed AST2600 SOC. The driver
1065 currently supports Clause 22.
1066
Neil Armstrongb66cbb32021-02-24 15:02:23 +01001067config MDIO_MUX_MMIOREG
1068 bool "MDIO MUX accessed as a MMIO register access"
1069 depends on DM_MDIO_MUX
1070 help
1071 This driver is used for MDIO muxes driven by writing to a register in
1072 the MMIO physical memory.
1073
Neil Armstrongd0ddbb92021-02-24 17:31:53 +01001074config MDIO_MUX_MESON_G12A
1075 bool "MDIO MUX for Amlogic Meson G12A SoCs"
1076 depends on DM_MDIO_MUX
1077 help
1078 This driver is used for the MDIO mux found on the Amlogic G12A & compatible
1079 SoCs.
1080
Neil Armstrong28fade72023-12-13 10:30:12 +01001081config MDIO_MUX_MESON_GXL
1082 bool "MDIO MUX for Amlogic Meson GXL SoCs"
1083 depends on DM_MDIO_MUX
1084 help
1085 This driver is used for the MDIO mux found on the Amlogic GXL & compatible
1086 SoCs.
1087
Joe Hershberger6ab76992015-03-22 17:09:13 -05001088endif # NETDEVICES