blob: a0a7890bd26055ef412f3b8438b2abd4e8519688 [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 Forissiere0f95512024-10-16 12:03:59 +0200361 depends on NET
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
Jerome Forissier537d96a2024-10-16 11:56:24 +0200370config ETH_SANDBOX_LWIP
371 depends on SANDBOX
372 depends on NET_LWIP
373 default y
374 bool "Sandbox: Mocked Ethernet driver (for NET_LWIP)"
375 help
376 This driver is meant as a replacement for ETH_SANDBOX when
377 the network stack is NET_LWIP rather than NET. It currently
378 does nothing, i.e. it drops the sent packets and never receives
379 data.
380
Joe Hershberger586cbd12015-03-22 17:09:21 -0500381config ETH_SANDBOX_RAW
Tom Rini4c40e732022-08-02 07:33:47 -0400382 depends on SANDBOX
Jerome Forissiere0f95512024-10-16 12:03:59 +0200383 depends on NET
Joe Hershberger586cbd12015-03-22 17:09:21 -0500384 default y
385 bool "Sandbox: Bridge to Linux Raw Sockets"
386 help
387 This driver is a bridge from the bottom of the network stack
388 in U-Boot to the RAW AF_PACKET API in Linux. This allows real
389 network traffic to be tested from within sandbox. See
Keerthyfa002552019-07-29 13:52:04 +0530390 doc/arch/index.rst for more details.
Joe Hershberger586cbd12015-03-22 17:09:21 -0500391
Simon Glass6e378742015-04-05 16:07:34 -0600392config ETH_DESIGNWARE
393 bool "Synopsys Designware Ethernet MAC"
Thomas Chou7a0dfa62015-12-07 20:53:29 +0800394 select PHYLIB
Simon Goldschmidtad588932019-01-13 19:58:41 +0100395 imply ETH_DESIGNWARE_SOCFPGA if ARCH_SOCFPGA
Simon Glass6e378742015-04-05 16:07:34 -0600396 help
397 This MAC is present in SoCs from various vendors. It supports
398 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
399 provide the PHY (physical media interface).
400
Neil Armstrong145aff72021-02-24 20:33:56 +0100401config ETH_DESIGNWARE_MESON8B
402 bool "Amlogic Meson8b and later glue driver for Synopsys Designware Ethernet MAC"
Neil Armstrong145aff72021-02-24 20:33:56 +0100403 select ETH_DESIGNWARE
404 help
405 This provides glue layer to use Synopsys Designware Ethernet MAC
406 present on the Amlogic Meson8b, GX, AXG & G12A SoCs.
407
Marek Vasut0d9a4a02018-08-13 19:32:14 +0200408config ETH_DESIGNWARE_SOCFPGA
Simon Goldschmidtb50afc82019-01-13 19:58:40 +0100409 select REGMAP
410 select SYSCON
Tom Rini7ac21a32022-06-15 12:03:43 -0400411 select DW_ALTDESCRIPTOR
Marek Vasut0d9a4a02018-08-13 19:32:14 +0200412 bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
Tom Rini4c40e732022-08-02 07:33:47 -0400413 depends on ETH_DESIGNWARE
Marek Vasut0d9a4a02018-08-13 19:32:14 +0200414 help
415 The Altera SoCFPGA requires additional configuration of the
416 Altera system manager to correctly interface with the PHY.
417 This code handles those SoC specifics.
418
Amit Singh Tomar03d6edb2020-05-09 19:55:12 +0530419config ETH_DESIGNWARE_S700
420 bool "Actins S700 glue driver for Synopsys Designware Ethernet MAC"
Tom Rini4c40e732022-08-02 07:33:47 -0400421 depends on ETH_DESIGNWARE
Amit Singh Tomar03d6edb2020-05-09 19:55:12 +0530422 help
423 This provides glue layer to use Synopsys Designware Ethernet MAC
424 present on Actions S700 SoC.
425
Tom Rini7ac21a32022-06-15 12:03:43 -0400426config DW_ALTDESCRIPTOR
427 bool "Designware Ethernet MAC uses alternate (enhanced) descriptors"
428 depends on ETH_DESIGNWARE
429
Max Filippove07d3d22016-08-05 18:26:15 +0300430config ETHOC
431 bool "OpenCores 10/100 Mbps Ethernet MAC"
432 help
433 This MAC is present in OpenRISC and Xtensa XTFPGA boards.
434
Peng Fana65e0362018-03-28 20:54:14 +0800435config FEC_MXC_SHARE_MDIO
436 bool "Share the MDIO bus for FEC controller"
437 depends on FEC_MXC
438
439config FEC_MXC_MDIO_BASE
440 hex "MDIO base address for the FEC controller"
441 depends on FEC_MXC_SHARE_MDIO
442 help
443 This specifies the MDIO registers base address. It is used when
444 two FEC controllers share MDIO bus.
445
Jagan Tekia48af852016-10-08 18:00:12 +0530446config FEC_MXC
447 bool "FEC Ethernet controller"
Peng Fanfad6d902022-07-26 16:41:12 +0800448 depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || IMX8ULP || IMX93 || VF610
Jagan Tekia48af852016-10-08 18:00:12 +0530449 help
450 This driver supports the 10/100 Fast Ethernet controller for
451 NXP i.MX processors.
452
Tom Rinifa911f82019-05-12 07:59:12 -0400453config FMAN_ENET
454 bool "Freescale FMan ethernet support"
455 depends on ARM || PPC
Tom Rini82a703b2022-07-23 13:05:06 -0400456 select SYS_FMAN_V3 if ARCH_B4420 || ARCH_B4860 || ARCH_LS1043A || \
457 ARCH_LS1046A || ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || \
458 ARCH_T2080 || ARCH_T4240
Tom Rini6fb86c12022-12-02 16:42:21 -0500459 select FSL_FM_10GEC_REGULAR_NOTATION if ARCH_T1024
Tom Rinifa911f82019-05-12 07:59:12 -0400460 help
461 This driver support the Freescale FMan Ethernet controller
462
Rajesh Bhagataec38012021-11-09 16:30:38 +0530463config SYS_FMAN_FW_ADDR
464 hex "FMAN Firmware Address"
465 depends on FMAN_ENET
466 default 0x0
467
468config SYS_QE_FMAN_FW_LENGTH
469 hex "FMAN QE Firmware length"
470 depends on FMAN_ENET || QE || U_QE
471 default 0x10000
472
Tom Rini82a703b2022-07-23 13:05:06 -0400473config SYS_FMAN_V3
474 bool
Tom Rini33ae6a72022-07-23 13:05:10 -0400475 select FSL_MEMAC
Tom Rini82a703b2022-07-23 13:05:06 -0400476 help
477 SoC has FMan v3 with mEMAC
478
Tom Rini6fb86c12022-12-02 16:42:21 -0500479config FSL_FM_10GEC_REGULAR_NOTATION
480 bool
481 help
482 On SoCs T4240, T2080, LS1043A, etc, the notation between 10GEC and
483 MAC as below:
484 10GEC1->MAC9, 10GEC2->MAC10, 10GEC3->MAC1, 10GEC4->MAC2
485 While on SoCs T1024, etc, the notation between 10GEC and MAC as below:
486 10GEC1->MAC1, 10GEC2->MAC2
487 so we introduce CONFIG_FSL_FM_10GEC_REGULAR_NOTATION to identify the
488 new SoCs on which 10GEC enumeration is consistent with MAC
489 enumeration.
490
Tom Rinic5ea8ed2017-05-26 11:18:53 -0400491config FTMAC100
492 bool "Ftmac100 Ethernet Support"
Sergei Antonovb8a0ab92023-02-03 22:09:04 +0300493 select MII
Tom Rinic5ea8ed2017-05-26 11:18:53 -0400494 help
495 This MAC is present in Andestech SoCs.
496
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100497config FTGMAC100
498 bool "Ftgmac100 Ethernet Support"
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100499 select PHYLIB
Jerome Forissier69c5b052024-09-11 11:58:21 +0200500 depends on NET
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100501 help
502 This driver supports the Faraday's FTGMAC100 Gigabit SoC
503 Ethernet controller that can be found on Aspeed SoCs (which
504 include NCSI).
505
506 It is fully compliant with IEEE 802.3 specification for
507 10/100 Mbps Ethernet and IEEE 802.3z specification for 1000
508 Mbps Ethernet and includes Reduced Media Independent
509 Interface (RMII) and Reduced Gigabit Media Independent
510 Interface (RGMII) interfaces. It adopts an AHB bus interface
511 and integrates a link list DMA engine with direct M-Bus
512 accesses for transmitting and receiving packets. It has
513 independent TX/RX fifos, supports half and full duplex (1000
514 Mbps mode only supports full duplex), flow control for full
515 duplex and backpressure for half duplex.
516
517 The FTGMAC100 also implements IP, TCP, UDP checksum offloads
518 and supports IEEE 802.1Q VLAN tag insertion and removal. It
519 offers high-priority transmit queue for QoS and CoS
520 applications.
521
Tom Rinibd8253d2022-06-25 11:02:36 -0400522config SYS_DISCOVER_PHY
523 bool
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100524
Angelo Durgehelloa1d3d9f2019-11-15 23:54:17 +0100525config MCFFEC
526 bool "ColdFire Ethernet Support"
Angelo Durgehelloa1d3d9f2019-11-15 23:54:17 +0100527 select PHYLIB
Tom Rinibd8253d2022-06-25 11:02:36 -0400528 select SYS_DISCOVER_PHY
Angelo Durgehelloa1d3d9f2019-11-15 23:54:17 +0100529 help
530 This driver supports the network interface units in the
531 ColdFire family.
532
Tom Rini74d888f2022-06-25 11:02:35 -0400533config SYS_UNIFY_CACHE
534 depends on MCFFEC
535 bool "Invalidate icache during ethernet operations"
536
Marek Vasutf4622282020-03-25 19:08:59 +0100537config KS8851_MLL
538 bool "Microchip KS8851-MLL controller driver"
539 help
540 The Microchip KS8851 parallel bus external ethernet interface chip.
541
Tim Harvey06dea1e2021-06-30 16:50:08 -0700542config KSZ9477
Romain Naour98a124d2024-10-08 09:54:32 +0200543 bool "Microchip KSZ9477 controller driver"
544 depends on DM_DSA && (DM_I2C || DM_SPI)
Tim Harvey06dea1e2021-06-30 16:50:08 -0700545 help
546 This driver implements a DSA switch driver for the KSZ9477 family
Romain Naour98a124d2024-10-08 09:54:32 +0200547 of GbE switches using the I2C or SPI interface.
Tim Harvey06dea1e2021-06-30 16:50:08 -0700548
Joel Stanley705017a2022-09-26 15:35:58 +0930549config LITEETH
550 bool "LiteX LiteEth Ethernet MAC"
551 help
552 Driver for the LiteEth Ethernet MAC from LiteX.
553
Tim Harveyc3cd7f12022-11-30 09:42:50 -0800554config MV88E6XXX
555 bool "Marvell MV88E6xxx Ethernet switch DSA driver"
556 depends on DM_DSA && DM_MDIO
557 help
558 This driver implements a DSA switch driver for the MV88E6xxx family
559 of Ethernet switches using the MDIO interface
560
Chris Packham943679d2018-05-03 23:00:35 +1200561config MVGBE
562 bool "Marvell Orion5x/Kirkwood network interface support"
Trevor Woernerbb7ab072020-05-06 08:02:40 -0400563 depends on ARCH_KIRKWOOD || ARCH_ORION5X
Tom Rini4c40e732022-08-02 07:33:47 -0400564 select PHYLIB
Chris Packham943679d2018-05-03 23:00:35 +1200565 help
566 This driver supports the network interface units in the
567 Marvell Orion5x and Kirkwood SoCs
568
Chris Packham919041c2017-08-21 20:17:03 +1200569config MVNETA
Miquel Raynal59d42cd2017-12-28 15:43:09 +0100570 bool "Marvell Armada XP/385/3700 network interface support"
Chris Packham44b7cc72022-11-05 17:23:56 +1300571 depends on ARMADA_XP || ARMADA_38X || ARMADA_3700 || ALLEYCAT_5
Chris Packham919041c2017-08-21 20:17:03 +1200572 select PHYLIB
Marek Behún99e296f2022-04-27 12:41:46 +0200573 select DM_MDIO
Chris Packham919041c2017-08-21 20:17:03 +1200574 help
575 This driver supports the network interface units in the
Miquel Raynal59d42cd2017-12-28 15:43:09 +0100576 Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
Chris Packham919041c2017-08-21 20:17:03 +1200577
Stefan Roese96c19042016-02-10 07:22:10 +0100578config MVPP2
Stefan Roese78a112b2017-02-15 11:42:59 +0100579 bool "Marvell Armada 375/7K/8K network interface support"
580 depends on ARMADA_375 || ARMADA_8K
Stefan Roese96c19042016-02-10 07:22:10 +0100581 select PHYLIB
Nevo Hed5da38842019-08-15 18:08:45 -0400582 select MVMDIO
583 select DM_MDIO
Stefan Roese96c19042016-02-10 07:22:10 +0100584 help
585 This driver supports the network interface units in the
Stefan Roese78a112b2017-02-15 11:42:59 +0100586 Marvell ARMADA 375, 7K and 8K SoCs.
Stefan Roese96c19042016-02-10 07:22:10 +0100587
Wenyou Yange7183de2016-11-02 10:06:55 +0800588config MACB
589 bool "Cadence MACB/GEM Ethernet Interface"
Wenyou Yange7183de2016-11-02 10:06:55 +0800590 select PHYLIB
591 help
592 The Cadence MACB ethernet interface is found on many Atmel
593 AT91 and SAMA5 parts. This driver also supports the Cadence
594 GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
595 Say Y to include support for the MACB/GEM chip.
596
Wilson Lee41d6d1e2017-08-22 20:25:07 -0700597config MACB_ZYNQ
598 bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
599 depends on MACB
600 help
601 The Cadence MACB ethernet interface was used on Zynq platform.
602 Say Y to enable support for the MACB/GEM in Zynq chip.
603
developer7b4c8be2020-11-12 16:36:53 +0800604config MT7620_ETH
605 bool "MediaTek MT7620 Ethernet Interface"
606 depends on SOC_MT7620
607 select PHYLIB
608 select DM_RESET
609 select DM_GPIO
610 select CLK
611 help
612 The MediaTek MT7620 ethernet interface is used on MT7620 based
613 boards. It has a built-in switch with two configurable ports which
614 can connect to external PHY/MACs.
615
Stefan Roesef9947682018-10-26 14:53:27 +0200616config MT7628_ETH
617 bool "MediaTek MT7628 Ethernet Interface"
developer89f051b2019-04-30 11:13:58 +0800618 depends on SOC_MT7628
developera5644112019-09-25 17:45:33 +0800619 select PHYLIB
Stefan Roesef9947682018-10-26 14:53:27 +0200620 help
621 The MediaTek MT7628 ethernet interface is used on MT7628 and
622 MT7688 based boards.
623
Jim Liueaddbcb2022-05-17 16:28:11 +0800624config NET_NPCM750
625 bool "Nuvoton NPCM750 Ethernet MAC"
626 help
627 support NPCM750 EMAC
628
Stefan Roesec404ac72022-04-07 09:11:52 +0200629config NET_OCTEON
630 bool "MIPS Octeon ethernet support"
631 depends on ARCH_OCTEON
632 help
633 You must select Y to enable network device support for
634 MIPS Octeon SoCs. If unsure, say n
635
Suneel Garapati53dc4482020-08-26 14:37:33 +0200636config NET_OCTEONTX
637 bool "OcteonTX Ethernet support"
638 depends on ARCH_OCTEONTX
639 depends on PCI_SRIOV
640 help
641 You must select Y to enable network device support for
642 OcteonTX SoCs. If unsure, say n
Suneel Garapati8666ae82020-08-26 14:37:42 +0200643
644config NET_OCTEONTX2
645 bool "OcteonTX2 Ethernet support"
646 depends on ARCH_OCTEONTX2
647 select OCTEONTX2_CGX_INTF
648 help
649 You must select Y to enable network device support for
650 OcteonTX2 SoCs. If unsure, say n
651
Suneel Garapati53dc4482020-08-26 14:37:33 +0200652config OCTEONTX_SMI
653 bool "OcteonTX SMI Device support"
654 depends on ARCH_OCTEONTX || ARCH_OCTEONTX2
655 help
656 You must select Y to enable SMI controller support for
657 OcteonTX or OcteonTX2 SoCs. If unsure, say n
658
Suneel Garapati8666ae82020-08-26 14:37:42 +0200659config OCTEONTX2_CGX_INTF
660 bool "OcteonTX2 CGX ATF interface support"
661 depends on ARCH_OCTEONTX2
662 default y if ARCH_OCTEONTX2
663 help
664 You must select Y to enable CGX ATF interface support for
665 OcteonTX2 SoCs. If unsure, say n
666
Bin Meng64d3dca2015-08-27 22:25:58 -0700667config PCH_GBE
668 bool "Intel Platform Controller Hub EG20T GMAC driver"
Bin Meng64d3dca2015-08-27 22:25:58 -0700669 select PHYLIB
670 help
671 This MAC is present in Intel Platform Controller Hub EG20T. It
672 supports 10/100/1000 Mbps operation.
673
Mylène Josserande44eb3a2017-04-02 12:59:08 +0200674config RGMII
675 bool "Enable RGMII"
676 help
677 Enable the support of the Reduced Gigabit Media-Independent
678 Interface (RGMII).
679
Adam Ford53705472018-07-20 23:03:57 -0500680config MII
681 bool "Enable MII"
682 help
683 Enable support of the Media-Independent Interface (MII)
684
Tom Rinie09aab12022-03-18 08:38:22 -0400685config RMII
686 bool "Enable RMII"
687 help
688 Enable support of the Reduced Media-Independent Interface (MII)
689
Marek Vasut7275b622020-05-17 18:14:17 +0200690config PCNET
691 bool "AMD PCnet series Ethernet controller driver"
692 help
693 This driver supports AMD PCnet series fast ethernet family of
694 PCI chipsets/adapters.
695
Heiko Schocher41b64a82020-02-06 09:48:16 +0100696source "drivers/net/qe/Kconfig"
697
Bin Menga6448df2016-03-21 06:47:41 -0700698config RTL8139
699 bool "Realtek 8139 series Ethernet controller driver"
700 help
701 This driver supports Realtek 8139 series fast ethernet family of
702 PCI chipsets/adapters.
703
Bin Meng29971222016-03-21 06:47:42 -0700704config RTL8169
705 bool "Realtek 8169 series Ethernet controller driver"
Eugen Hristev88978dd2023-05-17 13:41:24 +0300706 depends on PCI
Bin Meng29971222016-03-21 06:47:42 -0700707 help
708 This driver supports Realtek 8169 series gigabit ethernet family of
709 PCI/PCIe chipsets/adapters.
710
Vladimir Oltean67bfc852021-09-29 18:04:41 +0300711config SJA1105
712 bool "NXP SJA1105 Ethernet switch family driver"
713 depends on DM_DSA && DM_SPI
714 select BITREVERSE
715 help
716 This is the driver for the NXP SJA1105 automotive Ethernet switch
717 family. These are 5-port devices and are managed over an SPI
718 interface. Probing is handled based on OF bindings. The driver
719 supports the following revisions:
720 - SJA1105E (Gen. 1, No TT-Ethernet)
721 - SJA1105T (Gen. 1, TT-Ethernet)
722 - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet)
723 - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet)
724 - SJA1105R (Gen. 2, SGMII, No TT-Ethernet)
725 - SJA1105S (Gen. 2, SGMII, TT-Ethernet)
726
Adam Ford0a044f82017-09-05 15:20:44 -0500727config SMC911X
728 bool "SMSC LAN911x and LAN921x controller driver"
729
Adam Ford0a044f82017-09-05 15:20:44 -0500730config SMC911X_32_BIT
Andre Przywara30301e52021-06-28 14:30:30 +0100731 bool "Enable SMC911X 32-bit interface"
Tom Rini4c40e732022-08-02 07:33:47 -0400732 depends on SMC911X
Adam Ford0a044f82017-09-05 15:20:44 -0500733 help
Andre Przywara30301e52021-06-28 14:30:30 +0100734 Define this if data bus is 32 bits. If your processor use a
735 narrower 16 bit bus or cannot convert one 32 bit word to two 16 bit
736 words, leave this to "n".
Adam Ford0a044f82017-09-05 15:20:44 -0500737
Mylène Josserandc1506ef2017-04-02 12:59:03 +0200738config SUN7I_GMAC
739 bool "Enable Allwinner GMAC Ethernet support"
740 help
741 Enable the support for Sun7i GMAC Ethernet controller
742
Stefan Mavrodieveaee8582017-11-03 08:56:51 +0200743config SUN7I_GMAC_FORCE_TXERR
744 bool "Force PA17 as gmac function"
745 depends on SUN7I_GMAC
746 help
747 Some ethernet phys needs TXERR control. Since the GMAC
748 doesn't have such signal, setting PA17 as GMAC function
749 makes the pin output low, which enables data transmission.
750
Mylène Josserand43ef1842017-04-02 12:59:07 +0200751config SUN4I_EMAC
752 bool "Allwinner Sun4i Ethernet MAC support"
Artturi Alm8ed09172017-11-08 05:08:58 +0200753 select PHYLIB
Mylène Josserand43ef1842017-04-02 12:59:07 +0200754 help
755 This driver supports the Allwinner based SUN4I Ethernet MAC.
756
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530757config SUN8I_EMAC
758 bool "Allwinner Sun8i Ethernet MAC support"
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530759 select PHYLIB
Philipp Tomsich00c33612017-03-26 18:50:23 +0200760 select PHY_GIGE
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530761 help
762 This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC.
763 It can be found in H3/A64/A83T based SoCs and compatible with both
Tom Rini1eee1172017-02-20 09:38:03 -0500764 External and Internal PHYs.
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530765
Nobuhiro Iwamatsuf593ecb2017-12-01 16:08:03 +0900766config SH_ETHER
767 bool "Renesas SH Ethernet MAC"
768 select PHYLIB
Marek Vasutfc479f62023-05-31 00:51:29 +0200769 select PHY_ETHERNET_ID
Nobuhiro Iwamatsuf593ecb2017-12-01 16:08:03 +0900770 help
771 This driver supports the Ethernet for Renesas SH and ARM SoCs.
772
Grygorii Strashko5693dee2018-10-31 16:21:39 -0500773source "drivers/net/ti/Kconfig"
Adam Ford53705472018-07-20 23:03:57 -0500774
Marek Vasut880287c2020-06-20 17:43:29 +0200775config TULIP
776 bool "DEC Tulip DC2114x Ethernet support"
Marek Vasut880287c2020-06-20 17:43:29 +0200777 help
778 This driver supports DEC DC2114x Fast ethernet chips.
779
Hanyuan Zhaoa45684c2024-08-09 16:56:54 +0800780config TULIP_SUPPORT_NON_PCI
781 bool "No PCI controller"
782 depends on TULIP
783 default n
784 help
785 Say Y to this and you can run this driver on platforms that do not
786 have PCI controllers.
787
Hanyuan Zhaoa34fa7d2024-08-09 16:56:59 +0800788config TULIP_IGNORE_TX_NO_CARRIER
789 bool "Ignore tx no carrier error"
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. A packet could be
795 sent successfully but reported with No Carrier error. Latest drivers
796 of this IP core do not detect this error anymore. Say Y to this could
797 disable handling of this error.
798
Hanyuan Zhao4e4e1b92024-08-09 16:57:00 +0800799config TULIP_MULTIPLE_TX_DESC
800 bool "Use multiple tx descriptors"
801 depends on TULIP
802 default n
803 help
804 Some IP cores of dc2114x or its variants do not comply so well with
805 the behaviors described by the official document. Originally this
806 driver uses only one tx descriptor and organizes it as a ring buffer,
807 which would lead to a problem that one packet would be sent twice.
808 Say Y to this could prevent this bug if you are using IP cores with
809 this issue, by using multiple tx descriptors and organizing them as
810 a real well-defined ring buffer.
811
Michal Simek07d204f2015-12-09 16:54:42 +0100812config XILINX_AXIEMAC
Michal Simek07d204f2015-12-09 16:54:42 +0100813 select PHYLIB
814 select MII
815 bool "Xilinx AXI Ethernet"
816 help
817 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
818
Ashok Reddy Soma6f5480c2021-07-02 04:40:34 -0600819config XILINX_AXIMRMAC
Tom Rini4c40e732022-08-02 07:33:47 -0400820 depends on ARCH_VERSAL
Ashok Reddy Soma6f5480c2021-07-02 04:40:34 -0600821 bool "Xilinx AXI MRMAC"
822 help
823 MRMAC is a high performance, low latency, adaptable Ethernet
824 integrated hard IP. This can be configured up to four ports with MAC
825 rates from 10GE to 100GE. This could be present in some of the Xilinx
826 Versal designs.
827
Tom Rini3d439872022-11-19 18:45:39 -0500828config VSC7385_ENET
829 bool "Vitesse 7385 Switch Firmware Upload driver"
830
Michal Simekeaee95a2015-12-11 09:41:49 +0100831config XILINX_EMACLITE
Michal Simekeaee95a2015-12-11 09:41:49 +0100832 select PHYLIB
833 select MII
834 bool "Xilinx Ethernetlite"
835 help
836 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
837
Michal Simek3d7285f2015-11-30 14:34:52 +0100838config ZYNQ_GEM
Michal Simek27ba0902015-12-11 09:14:31 +0100839 select PHYLIB
Michal Simek3d7285f2015-11-30 14:34:52 +0100840 bool "Xilinx Ethernet GEM"
841 help
Michal Simek7fb1d232015-12-09 16:53:52 +0100842 This MAC is present in Xilinx Zynq and ZynqMP SoCs.
Michal Simek3d7285f2015-11-30 14:34:52 +0100843
Purna Chandra Mandal6b731c92016-01-28 15:30:21 +0530844config PIC32_ETH
845 bool "Microchip PIC32 Ethernet Support"
Tom Rini4c40e732022-08-02 07:33:47 -0400846 depends on MACH_PIC32
Purna Chandra Mandal6b731c92016-01-28 15:30:21 +0530847 select PHYLIB
848 help
849 This driver implements 10/100 Mbps Ethernet and MAC layer for
850 Microchip PIC32 microcontrollers.
851
Sjoerd Simons54c46f92017-01-11 11:46:11 +0100852config GMAC_ROCKCHIP
853 bool "Rockchip Synopsys Designware Ethernet MAC"
Tom Rini4c40e732022-08-02 07:33:47 -0400854 depends on ETH_DESIGNWARE
Sjoerd Simons54c46f92017-01-11 11:46:11 +0100855 help
856 This driver provides Rockchip SoCs network support based on the
857 Synopsys Designware driver.
858
Phong Hoange44a3112023-03-20 21:05:04 +0100859config RENESAS_ETHER_SWITCH
860 bool "Renesas Ethernet Switch support"
861 depends on DM_ETH && R8A779F0
862 select PHYLIB
863 help
864 This driver implements support for the Renesas Ethernet Switch
865 which is available on R-Car S4 SoC (r8a779f0).
866
Marek Vasut17714cb2017-05-13 15:54:28 +0200867config RENESAS_RAVB
868 bool "Renesas Ethernet AVB MAC"
Hai Phamaee59c52023-04-07 17:12:17 +0200869 depends on RCAR_64
Paul Barker8e0d7de2025-03-04 20:07:07 +0000870 select BITBANGMII
Marek Vasut17714cb2017-05-13 15:54:28 +0200871 select PHYLIB
Marek Vasutad778bc2023-05-31 00:51:28 +0200872 select PHY_ETHERNET_ID
Marek Vasut17714cb2017-05-13 15:54:28 +0200873 help
874 This driver implements support for the Ethernet AVB block in
875 Renesas M3 and H3 SoCs.
876
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200877config MPC8XX_FEC
878 bool "Fast Ethernet Controller on MPC8XX"
Christophe Leroyb3510fb2018-03-16 17:20:41 +0100879 depends on MPC8xx
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200880 select MII
Tom Rinibd8253d2022-06-25 11:02:36 -0400881 select SYS_DISCOVER_PHY
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200882 help
883 This driver implements support for the Fast Ethernet Controller
884 on MPC8XX
885
Kunihiko Hayashi7dcdc222018-05-24 19:24:37 +0900886config SNI_AVE
887 bool "Socionext AVE Ethernet support"
Tom Rini4c40e732022-08-02 07:33:47 -0400888 depends on ARCH_UNIPHIER
Kunihiko Hayashi7dcdc222018-05-24 19:24:37 +0900889 select PHYLIB
890 select SYSCON
891 select REGMAP
892 help
893 This driver implements support for the Socionext AVE Ethernet
894 controller, as found on the Socionext UniPhier family.
895
Jassi Brar29c58b02021-06-04 18:44:38 +0900896config SNI_NETSEC
897 bool "Socionext NETSEC Ethernet support"
Tom Rini4c40e732022-08-02 07:33:47 -0400898 depends on SYNQUACER_SPI
Jassi Brar29c58b02021-06-04 18:44:38 +0900899 select PHYLIB
900 help
901 This driver implements support for the Socionext SynQuacer NETSEC
902 ethernet controller, as found on the Socionext SynQuacer family.
903
Horatiu Vulturad2bf652019-01-31 15:30:33 +0100904source "drivers/net/mscc_eswitch/Kconfig"
Gregory CLEMENTeca26c82019-01-17 17:07:13 +0100905
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200906config ETHER_ON_FEC1
907 bool "FEC1"
908 depends on MPC8XX_FEC
909 default y
910
911config FEC1_PHY
912 int "FEC1 PHY"
913 depends on ETHER_ON_FEC1
914 default -1
915 help
916 Define to the hardcoded PHY address which corresponds
917 to the given FEC; i. e.
918 #define CONFIG_FEC1_PHY 4
919 means that the PHY with address 4 is connected to FEC1
920
921 When set to -1, means to probe for first available.
922
923config PHY_NORXERR
924 bool "PHY_NORXERR"
925 depends on ETHER_ON_FEC1
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200926 help
927 The PHY does not have a RXERR line (RMII only).
928 (so program the FEC to ignore it).
929
930config ETHER_ON_FEC2
931 bool "FEC2"
932 depends on MPC8XX_FEC && MPC885
933 default y
934
935config FEC2_PHY
936 int "FEC2 PHY"
937 depends on ETHER_ON_FEC2
938 default -1
939 help
940 Define to the hardcoded PHY address which corresponds
941 to the given FEC; i. e.
942 #define CONFIG_FEC1_PHY 4
943 means that the PHY with address 4 is connected to FEC1
944
945 When set to -1, means to probe for first available.
946
947config FEC2_PHY_NORXERR
948 bool "PHY_NORXERR"
949 depends on ETHER_ON_FEC2
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200950 help
951 The PHY does not have a RXERR line (RMII only).
952 (so program the FEC to ignore it).
953
Ahmed Mansour816bc412017-12-15 16:01:01 -0500954config SYS_DPAA_QBMAN
955 bool "Device tree fixup for QBMan on freescale SOCs"
Simon Glassd4bcfed2024-09-29 19:49:27 -0600956 depends on ARM || PPC
Ahmed Mansour816bc412017-12-15 16:01:01 -0500957 default y if ARCH_B4860 || \
958 ARCH_B4420 || \
959 ARCH_P1023 || \
960 ARCH_P2041 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500961 ARCH_T1024 || \
962 ARCH_T1040 || \
963 ARCH_T1042 || \
964 ARCH_T2080 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500965 ARCH_T4240 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500966 ARCH_P4080 || \
967 ARCH_P3041 || \
968 ARCH_P5040 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500969 ARCH_LS1043A || \
970 ARCH_LS1046A
971 help
972 QBman fixups to allow deep sleep in DPAA 1 SOCs
973
Tom Rini8d7aa572022-07-31 21:08:29 -0400974config SYS_FSL_QMAN_V3
975 bool # QMAN version 3
976 depends on SYS_DPAA_QBMAN
977
Mario Sixda4fc932018-03-28 14:38:18 +0200978config TSEC_ENET
979 select PHYLIB
980 bool "Enable Three-Speed Ethernet Controller"
981 help
982 This driver implements support for the (Enhanced) Three-Speed
983 Ethernet Controller found on Freescale SoCs.
984
developer29d9d9f2025-01-10 16:41:13 +0800985source "drivers/net/mtk_eth/Kconfig"
developera2a01412024-12-17 16:39:55 +0800986
Yang Xiwend9717112023-08-23 01:03:42 +0800987config HIFEMAC_ETH
988 bool "HiSilicon Fast Ethernet Controller"
989 select DM_CLK
990 select DM_RESET
991 select PHYLIB
992 help
993 This driver supports HIFEMAC Ethernet controller found on
994 HiSilicon SoCs.
995
Yang Xiwendabe1db2023-08-23 01:03:43 +0800996config HIFEMAC_MDIO
997 bool "HiSilicon Fast Ethernet Controller MDIO interface"
998 depends on DM_MDIO
999 select DM_CLK
1000 help
1001 This driver supports the internal MDIO interface of HIFEMAC
1002 Ethernet controller.
1003
Shawn Guo0e1cc912019-03-20 15:32:40 +08001004config HIGMACV300_ETH
1005 bool "HiSilicon Gigabit Ethernet Controller"
Shawn Guo0e1cc912019-03-20 15:32:40 +08001006 select DM_RESET
1007 select PHYLIB
1008 help
1009 This driver supports HIGMACV300 Ethernet controller found on
1010 HiSilicon SoCs.
1011
Alex Marginean7a910c12019-07-03 12:11:40 +03001012config FSL_ENETC
1013 bool "NXP ENETC Ethernet controller"
Tom Rini4c40e732022-08-02 07:33:47 -04001014 depends on DM_MDIO
Alex Marginean7a910c12019-07-03 12:11:40 +03001015 help
1016 This driver supports the NXP ENETC Ethernet controller found on some
1017 of the NXP SoCs.
1018
Marek Vasuta54e8862025-01-16 05:03:28 +01001019config FSL_ENETC_NETC_BLK_CTRL
1020 bool "NXP ENETC NETC blocks control driver"
1021 depends on FSL_ENETC && IMX95
1022 default y if IMX95
1023 help
1024 This driver configures Integrated Endpoint Register Block (IERB) and
1025 Privileged Register Block (PRB) of NETC. For i.MX platforms, it also
1026 includes the configuration of NETCMIX block.
1027 The IERB contains registers that are used for pre-boot initialization,
1028 debug, and non-customer configuration. The PRB controls global reset
1029 and global error handling for NETC. The NETCMIX block is mainly used
1030 to set MII protocol and PCS protocol of the links, it also contains
1031 settings for some other functions.
1032
Markus Gothefba38bf2024-11-19 08:26:44 -06001033config MDIO_GPIO_BITBANG
1034 bool "GPIO bitbanging MDIO driver"
1035 depends on DM_MDIO && DM_GPIO
1036 help
1037 Driver for bitbanging MDIO
1038
Alex Marginean3234a5e2019-07-16 11:21:17 +03001039config MDIO_MUX_I2CREG
1040 bool "MDIO MUX accessed as a register over I2C"
1041 depends on DM_MDIO_MUX && DM_I2C
1042 help
1043 This driver is used for MDIO muxes driven by writing to a register of
1044 an I2C chip. The board it was developed for uses a mux controlled by
1045 on-board FPGA which in turn is accessed as a chip over I2C.
1046
Robert Marko90dfaeb2020-10-08 22:05:11 +02001047config MDIO_IPQ4019
1048 bool "Qualcomm IPQ4019 MDIO interface support"
1049 depends on DM_MDIO
1050 help
1051 This driver supports the MDIO interface found in Qualcomm
1052 IPQ40xx series Soc-s.
1053
Alex Margineande3e55b2019-07-25 12:33:19 +03001054config MVMDIO
1055 bool "Marvell MDIO interface support"
1056 depends on DM_MDIO
1057 help
1058 This driver supports the MDIO interface found in the network
1059 interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
1060 Dove, Armada 370, Armada XP, Armada 37xx and Armada7K/8K/8KP).
1061
1062 This driver is used by the MVPP2 and MVNETA drivers.
1063
Ioana Ciornei799a4432020-03-18 16:47:36 +02001064config FSL_LS_MDIO
1065 bool "NXP Layerscape MDIO interface support"
1066 depends on DM_MDIO
1067 help
1068 This driver supports the MDIO bus found on the Fman 10G Ethernet MACs and
1069 on the mEMAC (which supports both Clauses 22 and 45).
1070
Dylan Hungb450ee62021-11-02 13:41:54 +08001071config ASPEED_MDIO
1072 bool "Aspeed MDIO interface support"
1073 depends on DM_MDIO
1074 help
1075 This driver supports the MDIO bus of Aspeed AST2600 SOC. The driver
1076 currently supports Clause 22.
1077
Neil Armstrongb66cbb32021-02-24 15:02:23 +01001078config MDIO_MUX_MMIOREG
1079 bool "MDIO MUX accessed as a MMIO register access"
1080 depends on DM_MDIO_MUX
1081 help
1082 This driver is used for MDIO muxes driven by writing to a register in
1083 the MMIO physical memory.
1084
Neil Armstrongd0ddbb92021-02-24 17:31:53 +01001085config MDIO_MUX_MESON_G12A
1086 bool "MDIO MUX for Amlogic Meson G12A SoCs"
1087 depends on DM_MDIO_MUX
1088 help
1089 This driver is used for the MDIO mux found on the Amlogic G12A & compatible
1090 SoCs.
1091
Neil Armstrong28fade72023-12-13 10:30:12 +01001092config MDIO_MUX_MESON_GXL
1093 bool "MDIO MUX for Amlogic Meson GXL SoCs"
1094 depends on DM_MDIO_MUX
1095 help
1096 This driver is used for the MDIO mux found on the Amlogic GXL & compatible
1097 SoCs.
1098
Joe Hershberger6ab76992015-03-22 17:09:13 -05001099endif # NETDEVICES