blob: 8dc5f4810e9bf48f8530db87ba6d4a91bbc8f30f [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
125
Thomas Chouec06dd82015-10-22 15:29:11 +0800126config ALTERA_TSE
127 bool "Altera Triple-Speed Ethernet MAC support"
Thomas Chouec06dd82015-10-22 15:29:11 +0800128 select PHYLIB
129 help
130 This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
131 Please find details on the "Triple-Speed Ethernet MegaCore Function
132 Resource Center" of Altera.
133
Suji Velupillaid2f677a2017-07-10 14:05:41 -0700134config BCM_SF2_ETH
135 bool "Broadcom SF2 (Starfighter2) Ethernet support"
136 select PHYLIB
137 help
138 This is an abstract framework which provides a generic interface
139 to MAC and DMA management for multiple Broadcom SoCs such as
140 Cygnus, NSP and bcm28155_ap platforms.
141
142config BCM_SF2_ETH_DEFAULT_PORT
143 int "Broadcom SF2 (Starfighter2) Ethernet default port number"
144 depends on BCM_SF2_ETH
145 default 0
146 help
147 Default port number for the Starfighter2 ethernet driver.
148
149config BCM_SF2_ETH_GMAC
150 bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support"
151 depends on BCM_SF2_ETH
152 help
153 This flag enables the ethernet support for Broadcom platforms with
154 GMAC such as Cygnus. This driver is based on the framework provided
155 by the BCM_SF2_ETH driver.
156 Say Y to any bcmcygnus based platforms.
157
Álvaro Fernández Rojas204fd5e2018-12-01 19:00:24 +0100158config BCM6348_ETH
159 bool "BCM6348 EMAC support"
Tom Rini4c40e732022-08-02 07:33:47 -0400160 depends on ARCH_BMIPS
Álvaro Fernández Rojas204fd5e2018-12-01 19:00:24 +0100161 select DMA
162 select DMA_CHANNELS
163 select MII
164 select PHYLIB
165 help
166 This driver supports the BCM6348 Ethernet MAC.
167
Álvaro Fernández Rojasb0b22542018-12-01 19:00:32 +0100168config BCM6368_ETH
169 bool "BCM6368 EMAC support"
Tom Rini4c40e732022-08-02 07:33:47 -0400170 depends on ARCH_BMIPS
Álvaro Fernández Rojasb0b22542018-12-01 19:00:32 +0100171 select DMA
172 select MII
173 help
174 This driver supports the BCM6368 Ethernet MAC.
175
Amit Singh Tomar8f656c52020-01-27 01:14:42 +0000176config BCMGENET
177 bool "BCMGENET V5 support"
Amit Singh Tomar8f656c52020-01-27 01:14:42 +0000178 select PHYLIB
179 help
180 This driver supports the BCMGENET Ethernet MAC.
181
Tom Rinifc42f2c2022-11-27 10:25:02 -0500182source "drivers/net/bnxt/Kconfig"
183
Aaron Tsengebcdddd2021-01-14 13:34:11 -0800184config CORTINA_NI_ENET
185 bool "Cortina-Access Ethernet driver"
Tom Rini4c40e732022-08-02 07:33:47 -0400186 depends on CORTINA_PLATFORM
Aaron Tsengebcdddd2021-01-14 13:34:11 -0800187 help
188 This driver supports the Cortina-Access Ethernet MAC for
189 all supported CAxxxx SoCs.
190
Andre Przywara7352fb92021-04-12 01:04:52 +0100191config CALXEDA_XGMAC
192 bool "Calxeda XGMAC support"
Andre Przywara7352fb92021-04-12 01:04:52 +0100193 help
194 This driver supports the XGMAC in Calxeda Highbank and Midway
195 machines.
196
Tom Rinidec7ea02024-05-20 13:35:03 -0600197config DWC_ETH_XGMAC
198 bool "Synopsys DWC Ethernet XGMAC device support"
199 select PHYLIB
200 help
201 This driver supports the Synopsys Designware Ethernet XGMAC (10G
202 Ethernet MAC) IP block. The IP supports many options for bus type,
203 clocking/reset structure, and feature list.
204
205config DWC_ETH_XGMAC_SOCFPGA
206 bool "Synopsys DWC Ethernet XGMAC device support for SOCFPGA"
207 select REGMAP
208 select SYSCON
209 depends on DWC_ETH_XGMAC
210 default y if TARGET_SOCFPGA_AGILEX5
211 help
212 The Synopsys Designware Ethernet XGMAC IP block with specific
213 configuration used in Intel SoC FPGA chip.
214
Marek Vasutd2105972022-04-13 04:15:38 +0200215config DRIVER_DM9000
216 bool "Davicom DM9000 controller driver"
217 help
218 The Davicom DM9000 parallel bus external ethernet interface chip.
219
Tom Rini599b11b2022-12-02 16:42:18 -0500220config DM9000_BYTE_SWAPPED
221 bool "Byte swapped access for DM9000"
222 depends on DRIVER_DM9000
223
224config DM9000_NO_SROM
225 bool "No SROM on DM9000"
226 depends on DRIVER_DM9000
227
228config DM9000_USE_16BIT
229 bool "Use 16bit access in DM9000"
230 depends on DRIVER_DM9000
231
Stephen Warren50709602016-10-21 14:46:47 -0600232config DWC_ETH_QOS
233 bool "Synopsys DWC Ethernet QOS device support"
Stephen Warren50709602016-10-21 14:46:47 -0600234 select PHYLIB
235 help
236 This driver supports the Synopsys Designware Ethernet QOS (Quality
237 Of Service) IP block. The IP supports many options for bus type,
Patrick Delaunay68083902020-06-08 11:27:19 +0200238 clocking/reset structure, and feature list.
239
Greg Malysaeabf2322025-02-26 12:30:29 -0500240config DWC_ETH_QOS_ADI
241 bool "Synopsys DWC Ethernet QOS device support for ADI SC59x-64 parts"
242 depends on DWC_ETH_QOS
243 help
244 The Synopsis Designware Ethernet QoS IP block with the specific
245 configuration used in the ADI ADSP-SC59X 64 bit SoCs
246
Patrick Delaunay68083902020-06-08 11:27:19 +0200247config DWC_ETH_QOS_IMX
248 bool "Synopsys DWC Ethernet QOS device support for IMX"
249 depends on DWC_ETH_QOS
250 help
251 The Synopsys Designware Ethernet QOS IP block with the specific
252 configuration used in IMX soc.
253
Philip Oberfichtner42460352024-08-02 11:25:39 +0200254config DWC_ETH_QOS_INTEL
255 bool "Synopsys DWC Ethernet QOS device support for Intel"
256 depends on DWC_ETH_QOS
257 help
258 The Synopsys Designware Ethernet QOS IP block with the specific
259 configuration used in the Intel Elkhart-Lake soc.
260
Jonas Karlman098ee4f2023-10-01 19:17:19 +0000261config DWC_ETH_QOS_ROCKCHIP
262 bool "Synopsys DWC Ethernet QOS device support for Rockchip SoCs"
263 depends on DWC_ETH_QOS
264 select DM_ETH_PHY
265 help
266 The Synopsys Designware Ethernet QOS IP block with specific
267 configuration used in Rockchip SoCs.
268
Patrick Delaunay68083902020-06-08 11:27:19 +0200269config DWC_ETH_QOS_STM32
270 bool "Synopsys DWC Ethernet QOS device support for STM32"
271 depends on DWC_ETH_QOS
Patrick Delaunayd9dc80c2021-07-20 20:09:55 +0200272 select DM_ETH_PHY
Patrick Delaunay68083902020-06-08 11:27:19 +0200273 default y if ARCH_STM32MP
274 help
275 The Synopsys Designware Ethernet QOS IP block with the specific
276 configuration used in STM32MP soc.
277
278config DWC_ETH_QOS_TEGRA186
279 bool "Synopsys DWC Ethernet QOS device support for TEGRA186"
280 depends on DWC_ETH_QOS
281 default y if TEGRA186
282 help
283 The Synopsys Designware Ethernet QOS IP block with specific
284 configuration used in NVIDIA's Tegra186 chip.
Stephen Warren50709602016-10-21 14:46:47 -0600285
Sumit Garg7c3be942023-02-01 19:28:55 +0530286config DWC_ETH_QOS_QCOM
287 bool "Synopsys DWC Ethernet QOS device support for Qcom SoCs"
288 depends on DWC_ETH_QOS
289 help
290 The Synopsys Designware Ethernet QOS IP block with specific
291 configuration used in Qcom QCS404 SoC.
292
Yanhong Wang1f502ee2023-06-15 17:36:43 +0800293config DWC_ETH_QOS_STARFIVE
294 bool "Synopsys DWC Ethernet QOS device support for STARFIVE"
295 depends on DWC_ETH_QOS
296 help
297 The Synopsys Designware Ethernet QOS IP block with specific
298 configuration used in STARFIVE JH7110 soc.
299
Simon Glassa83ccd52015-08-19 09:33:41 -0600300config E1000
301 bool "Intel PRO/1000 Gigabit Ethernet support"
Sean Andersond22315a2022-04-26 14:35:33 -0400302 depends on PCI
Simon Glassa83ccd52015-08-19 09:33:41 -0600303 help
304 This driver supports Intel(R) PRO/1000 gigabit ethernet family of
305 adapters. For more information on how to identify your adapter, go
306 to the Adapter & Driver ID Guide at:
307
308 <http://support.intel.com/support/network/adapter/pro100/21397.htm>
309
Tom Rinia35003b2022-06-08 08:24:23 -0400310config E1000_NO_NVM
311 bool "Intel PRO/1000 has no NVMEM / EEPROM"
312 depends on E1000
313
Simon Glassa83ccd52015-08-19 09:33:41 -0600314config E1000_SPI_GENERIC
315 bool "Allow access to the Intel 8257x SPI bus"
316 depends on E1000
317 help
318 Allow generic access to the SPI bus on the Intel 8257x, for
319 example with the "sspi" command.
320
321config E1000_SPI
322 bool "Enable SPI bus utility code"
323 depends on E1000
324 help
325 Utility code for direct access to the SPI bus on Intel 8257x.
326 This does not do anything useful unless you set at least one
327 of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
328
329config CMD_E1000
330 bool "Enable the e1000 command"
331 depends on E1000
332 help
333 This enables the 'e1000' management command for E1000 devices. When
334 used on devices with SPI support you can reprogram the EEPROM from
335 U-Boot.
336
Marek Vasut2dcaf852020-05-23 18:07:53 +0200337config EEPRO100
338 bool "Intel PRO/100 82557/82559/82559ER Fast Ethernet support"
339 help
340 This driver supports Intel(R) PRO/100 82557/82559/82559ER fast
341 ethernet family of adapters.
342
Robert Markoea1b88b2024-06-03 14:06:15 +0200343config ESSEDMA
344 bool "Qualcomm ESS Edma support"
345 depends on DM_ETH && ARCH_IPQ40XX
346 select PHYLIB
347 help
348 This driver supports ethernet DMA adapter found in
349 Qualcomm IPQ40xx series SoC-s.
350
Joe Hershberger6ab76992015-03-22 17:09:13 -0500351config ETH_SANDBOX
Tom Rini4c40e732022-08-02 07:33:47 -0400352 depends on SANDBOX
Jerome Forissiere0f95512024-10-16 12:03:59 +0200353 depends on NET
Joe Hershberger6ab76992015-03-22 17:09:13 -0500354 default y
355 bool "Sandbox: Mocked Ethernet driver"
356 help
357 This driver simply responds with fake ARP replies and ping
358 replies that are used to verify network stack functionality
359
360 This driver is particularly useful in the test/dm/eth.c tests
361
Jerome Forissier537d96a2024-10-16 11:56:24 +0200362config ETH_SANDBOX_LWIP
363 depends on SANDBOX
364 depends on NET_LWIP
365 default y
366 bool "Sandbox: Mocked Ethernet driver (for NET_LWIP)"
367 help
368 This driver is meant as a replacement for ETH_SANDBOX when
369 the network stack is NET_LWIP rather than NET. It currently
370 does nothing, i.e. it drops the sent packets and never receives
371 data.
372
Joe Hershberger586cbd12015-03-22 17:09:21 -0500373config ETH_SANDBOX_RAW
Tom Rini4c40e732022-08-02 07:33:47 -0400374 depends on SANDBOX
Jerome Forissiere0f95512024-10-16 12:03:59 +0200375 depends on NET
Joe Hershberger586cbd12015-03-22 17:09:21 -0500376 default y
377 bool "Sandbox: Bridge to Linux Raw Sockets"
378 help
379 This driver is a bridge from the bottom of the network stack
380 in U-Boot to the RAW AF_PACKET API in Linux. This allows real
381 network traffic to be tested from within sandbox. See
Keerthyfa002552019-07-29 13:52:04 +0530382 doc/arch/index.rst for more details.
Joe Hershberger586cbd12015-03-22 17:09:21 -0500383
Simon Glass6e378742015-04-05 16:07:34 -0600384config ETH_DESIGNWARE
385 bool "Synopsys Designware Ethernet MAC"
Thomas Chou7a0dfa62015-12-07 20:53:29 +0800386 select PHYLIB
Simon Goldschmidtad588932019-01-13 19:58:41 +0100387 imply ETH_DESIGNWARE_SOCFPGA if ARCH_SOCFPGA
Simon Glass6e378742015-04-05 16:07:34 -0600388 help
389 This MAC is present in SoCs from various vendors. It supports
390 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
391 provide the PHY (physical media interface).
392
Neil Armstrong145aff72021-02-24 20:33:56 +0100393config ETH_DESIGNWARE_MESON8B
394 bool "Amlogic Meson8b and later glue driver for Synopsys Designware Ethernet MAC"
Neil Armstrong145aff72021-02-24 20:33:56 +0100395 select ETH_DESIGNWARE
396 help
397 This provides glue layer to use Synopsys Designware Ethernet MAC
398 present on the Amlogic Meson8b, GX, AXG & G12A SoCs.
399
Marek Vasut0d9a4a02018-08-13 19:32:14 +0200400config ETH_DESIGNWARE_SOCFPGA
Simon Goldschmidtb50afc82019-01-13 19:58:40 +0100401 select REGMAP
402 select SYSCON
Tom Rini7ac21a32022-06-15 12:03:43 -0400403 select DW_ALTDESCRIPTOR
Marek Vasut0d9a4a02018-08-13 19:32:14 +0200404 bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
Tom Rini4c40e732022-08-02 07:33:47 -0400405 depends on ETH_DESIGNWARE
Marek Vasut0d9a4a02018-08-13 19:32:14 +0200406 help
407 The Altera SoCFPGA requires additional configuration of the
408 Altera system manager to correctly interface with the PHY.
409 This code handles those SoC specifics.
410
Amit Singh Tomar03d6edb2020-05-09 19:55:12 +0530411config ETH_DESIGNWARE_S700
412 bool "Actins S700 glue driver for Synopsys Designware Ethernet MAC"
Tom Rini4c40e732022-08-02 07:33:47 -0400413 depends on ETH_DESIGNWARE
Amit Singh Tomar03d6edb2020-05-09 19:55:12 +0530414 help
415 This provides glue layer to use Synopsys Designware Ethernet MAC
416 present on Actions S700 SoC.
417
Tom Rini7ac21a32022-06-15 12:03:43 -0400418config DW_ALTDESCRIPTOR
419 bool "Designware Ethernet MAC uses alternate (enhanced) descriptors"
420 depends on ETH_DESIGNWARE
421
Max Filippove07d3d22016-08-05 18:26:15 +0300422config ETHOC
423 bool "OpenCores 10/100 Mbps Ethernet MAC"
424 help
425 This MAC is present in OpenRISC and Xtensa XTFPGA boards.
426
Peng Fana65e0362018-03-28 20:54:14 +0800427config FEC_MXC_SHARE_MDIO
428 bool "Share the MDIO bus for FEC controller"
429 depends on FEC_MXC
430
431config FEC_MXC_MDIO_BASE
432 hex "MDIO base address for the FEC controller"
433 depends on FEC_MXC_SHARE_MDIO
434 help
435 This specifies the MDIO registers base address. It is used when
436 two FEC controllers share MDIO bus.
437
Jagan Tekia48af852016-10-08 18:00:12 +0530438config FEC_MXC
439 bool "FEC Ethernet controller"
Peng Fanfad6d902022-07-26 16:41:12 +0800440 depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || IMX8ULP || IMX93 || VF610
Jagan Tekia48af852016-10-08 18:00:12 +0530441 help
442 This driver supports the 10/100 Fast Ethernet controller for
443 NXP i.MX processors.
444
Tom Rinifa911f82019-05-12 07:59:12 -0400445config FMAN_ENET
446 bool "Freescale FMan ethernet support"
447 depends on ARM || PPC
Tom Rini82a703b2022-07-23 13:05:06 -0400448 select SYS_FMAN_V3 if ARCH_B4420 || ARCH_B4860 || ARCH_LS1043A || \
449 ARCH_LS1046A || ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || \
450 ARCH_T2080 || ARCH_T4240
Tom Rini6fb86c12022-12-02 16:42:21 -0500451 select FSL_FM_10GEC_REGULAR_NOTATION if ARCH_T1024
Tom Rinifa911f82019-05-12 07:59:12 -0400452 help
453 This driver support the Freescale FMan Ethernet controller
454
Rajesh Bhagataec38012021-11-09 16:30:38 +0530455config SYS_FMAN_FW_ADDR
456 hex "FMAN Firmware Address"
457 depends on FMAN_ENET
458 default 0x0
459
460config SYS_QE_FMAN_FW_LENGTH
461 hex "FMAN QE Firmware length"
462 depends on FMAN_ENET || QE || U_QE
463 default 0x10000
464
Tom Rini82a703b2022-07-23 13:05:06 -0400465config SYS_FMAN_V3
466 bool
Tom Rini33ae6a72022-07-23 13:05:10 -0400467 select FSL_MEMAC
Tom Rini82a703b2022-07-23 13:05:06 -0400468 help
469 SoC has FMan v3 with mEMAC
470
Tom Rini6fb86c12022-12-02 16:42:21 -0500471config FSL_FM_10GEC_REGULAR_NOTATION
472 bool
473 help
474 On SoCs T4240, T2080, LS1043A, etc, the notation between 10GEC and
475 MAC as below:
476 10GEC1->MAC9, 10GEC2->MAC10, 10GEC3->MAC1, 10GEC4->MAC2
477 While on SoCs T1024, etc, the notation between 10GEC and MAC as below:
478 10GEC1->MAC1, 10GEC2->MAC2
479 so we introduce CONFIG_FSL_FM_10GEC_REGULAR_NOTATION to identify the
480 new SoCs on which 10GEC enumeration is consistent with MAC
481 enumeration.
482
Tom Rinic5ea8ed2017-05-26 11:18:53 -0400483config FTMAC100
484 bool "Ftmac100 Ethernet Support"
Sergei Antonovb8a0ab92023-02-03 22:09:04 +0300485 select MII
Tom Rinic5ea8ed2017-05-26 11:18:53 -0400486 help
487 This MAC is present in Andestech SoCs.
488
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100489config FTGMAC100
490 bool "Ftgmac100 Ethernet Support"
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100491 select PHYLIB
Jerome Forissier69c5b052024-09-11 11:58:21 +0200492 depends on NET
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100493 help
494 This driver supports the Faraday's FTGMAC100 Gigabit SoC
495 Ethernet controller that can be found on Aspeed SoCs (which
496 include NCSI).
497
498 It is fully compliant with IEEE 802.3 specification for
499 10/100 Mbps Ethernet and IEEE 802.3z specification for 1000
500 Mbps Ethernet and includes Reduced Media Independent
501 Interface (RMII) and Reduced Gigabit Media Independent
502 Interface (RGMII) interfaces. It adopts an AHB bus interface
503 and integrates a link list DMA engine with direct M-Bus
504 accesses for transmitting and receiving packets. It has
505 independent TX/RX fifos, supports half and full duplex (1000
506 Mbps mode only supports full duplex), flow control for full
507 duplex and backpressure for half duplex.
508
509 The FTGMAC100 also implements IP, TCP, UDP checksum offloads
510 and supports IEEE 802.1Q VLAN tag insertion and removal. It
511 offers high-priority transmit queue for QoS and CoS
512 applications.
513
Tom Rinibd8253d2022-06-25 11:02:36 -0400514config SYS_DISCOVER_PHY
515 bool
Cédric Le Goater38b33e92018-10-29 07:06:31 +0100516
Angelo Durgehelloa1d3d9f2019-11-15 23:54:17 +0100517config MCFFEC
518 bool "ColdFire Ethernet Support"
Angelo Durgehelloa1d3d9f2019-11-15 23:54:17 +0100519 select PHYLIB
Tom Rinibd8253d2022-06-25 11:02:36 -0400520 select SYS_DISCOVER_PHY
Angelo Durgehelloa1d3d9f2019-11-15 23:54:17 +0100521 help
522 This driver supports the network interface units in the
523 ColdFire family.
524
Tom Rini74d888f2022-06-25 11:02:35 -0400525config SYS_UNIFY_CACHE
526 depends on MCFFEC
527 bool "Invalidate icache during ethernet operations"
528
Marek Vasutf4622282020-03-25 19:08:59 +0100529config KS8851_MLL
530 bool "Microchip KS8851-MLL controller driver"
531 help
532 The Microchip KS8851 parallel bus external ethernet interface chip.
533
Tim Harvey06dea1e2021-06-30 16:50:08 -0700534config KSZ9477
Romain Naour98a124d2024-10-08 09:54:32 +0200535 bool "Microchip KSZ9477 controller driver"
536 depends on DM_DSA && (DM_I2C || DM_SPI)
Tim Harvey06dea1e2021-06-30 16:50:08 -0700537 help
538 This driver implements a DSA switch driver for the KSZ9477 family
Romain Naour98a124d2024-10-08 09:54:32 +0200539 of GbE switches using the I2C or SPI interface.
Tim Harvey06dea1e2021-06-30 16:50:08 -0700540
Joel Stanley705017a2022-09-26 15:35:58 +0930541config LITEETH
542 bool "LiteX LiteEth Ethernet MAC"
543 help
544 Driver for the LiteEth Ethernet MAC from LiteX.
545
Tim Harveyc3cd7f12022-11-30 09:42:50 -0800546config MV88E6XXX
547 bool "Marvell MV88E6xxx Ethernet switch DSA driver"
548 depends on DM_DSA && DM_MDIO
549 help
550 This driver implements a DSA switch driver for the MV88E6xxx family
551 of Ethernet switches using the MDIO interface
552
Chris Packham943679d2018-05-03 23:00:35 +1200553config MVGBE
554 bool "Marvell Orion5x/Kirkwood network interface support"
Trevor Woernerbb7ab072020-05-06 08:02:40 -0400555 depends on ARCH_KIRKWOOD || ARCH_ORION5X
Tom Rini4c40e732022-08-02 07:33:47 -0400556 select PHYLIB
Chris Packham943679d2018-05-03 23:00:35 +1200557 help
558 This driver supports the network interface units in the
559 Marvell Orion5x and Kirkwood SoCs
560
Chris Packham919041c2017-08-21 20:17:03 +1200561config MVNETA
Miquel Raynal59d42cd2017-12-28 15:43:09 +0100562 bool "Marvell Armada XP/385/3700 network interface support"
Chris Packham44b7cc72022-11-05 17:23:56 +1300563 depends on ARMADA_XP || ARMADA_38X || ARMADA_3700 || ALLEYCAT_5
Chris Packham919041c2017-08-21 20:17:03 +1200564 select PHYLIB
Marek Behún99e296f2022-04-27 12:41:46 +0200565 select DM_MDIO
Chris Packham919041c2017-08-21 20:17:03 +1200566 help
567 This driver supports the network interface units in the
Miquel Raynal59d42cd2017-12-28 15:43:09 +0100568 Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
Chris Packham919041c2017-08-21 20:17:03 +1200569
Stefan Roese96c19042016-02-10 07:22:10 +0100570config MVPP2
Stefan Roese78a112b2017-02-15 11:42:59 +0100571 bool "Marvell Armada 375/7K/8K network interface support"
572 depends on ARMADA_375 || ARMADA_8K
Stefan Roese96c19042016-02-10 07:22:10 +0100573 select PHYLIB
Nevo Hed5da38842019-08-15 18:08:45 -0400574 select MVMDIO
575 select DM_MDIO
Stefan Roese96c19042016-02-10 07:22:10 +0100576 help
577 This driver supports the network interface units in the
Stefan Roese78a112b2017-02-15 11:42:59 +0100578 Marvell ARMADA 375, 7K and 8K SoCs.
Stefan Roese96c19042016-02-10 07:22:10 +0100579
Wenyou Yange7183de2016-11-02 10:06:55 +0800580config MACB
581 bool "Cadence MACB/GEM Ethernet Interface"
Wenyou Yange7183de2016-11-02 10:06:55 +0800582 select PHYLIB
583 help
584 The Cadence MACB ethernet interface is found on many Atmel
585 AT91 and SAMA5 parts. This driver also supports the Cadence
586 GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
587 Say Y to include support for the MACB/GEM chip.
588
Wilson Lee41d6d1e2017-08-22 20:25:07 -0700589config MACB_ZYNQ
590 bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
591 depends on MACB
592 help
593 The Cadence MACB ethernet interface was used on Zynq platform.
594 Say Y to enable support for the MACB/GEM in Zynq chip.
595
developer7b4c8be2020-11-12 16:36:53 +0800596config MT7620_ETH
597 bool "MediaTek MT7620 Ethernet Interface"
598 depends on SOC_MT7620
599 select PHYLIB
600 select DM_RESET
601 select DM_GPIO
602 select CLK
603 help
604 The MediaTek MT7620 ethernet interface is used on MT7620 based
605 boards. It has a built-in switch with two configurable ports which
606 can connect to external PHY/MACs.
607
Stefan Roesef9947682018-10-26 14:53:27 +0200608config MT7628_ETH
609 bool "MediaTek MT7628 Ethernet Interface"
developer89f051b2019-04-30 11:13:58 +0800610 depends on SOC_MT7628
developera5644112019-09-25 17:45:33 +0800611 select PHYLIB
Stefan Roesef9947682018-10-26 14:53:27 +0200612 help
613 The MediaTek MT7628 ethernet interface is used on MT7628 and
614 MT7688 based boards.
615
Jim Liueaddbcb2022-05-17 16:28:11 +0800616config NET_NPCM750
617 bool "Nuvoton NPCM750 Ethernet MAC"
618 help
619 support NPCM750 EMAC
620
Stefan Roesec404ac72022-04-07 09:11:52 +0200621config NET_OCTEON
622 bool "MIPS Octeon ethernet support"
623 depends on ARCH_OCTEON
624 help
625 You must select Y to enable network device support for
626 MIPS Octeon SoCs. If unsure, say n
627
Suneel Garapati53dc4482020-08-26 14:37:33 +0200628config NET_OCTEONTX
629 bool "OcteonTX Ethernet support"
630 depends on ARCH_OCTEONTX
631 depends on PCI_SRIOV
632 help
633 You must select Y to enable network device support for
634 OcteonTX SoCs. If unsure, say n
Suneel Garapati8666ae82020-08-26 14:37:42 +0200635
636config NET_OCTEONTX2
637 bool "OcteonTX2 Ethernet support"
638 depends on ARCH_OCTEONTX2
639 select OCTEONTX2_CGX_INTF
640 help
641 You must select Y to enable network device support for
642 OcteonTX2 SoCs. If unsure, say n
643
Suneel Garapati53dc4482020-08-26 14:37:33 +0200644config OCTEONTX_SMI
645 bool "OcteonTX SMI Device support"
646 depends on ARCH_OCTEONTX || ARCH_OCTEONTX2
647 help
648 You must select Y to enable SMI controller support for
649 OcteonTX or OcteonTX2 SoCs. If unsure, say n
650
Suneel Garapati8666ae82020-08-26 14:37:42 +0200651config OCTEONTX2_CGX_INTF
652 bool "OcteonTX2 CGX ATF interface support"
653 depends on ARCH_OCTEONTX2
654 default y if ARCH_OCTEONTX2
655 help
656 You must select Y to enable CGX ATF interface support for
657 OcteonTX2 SoCs. If unsure, say n
658
Bin Meng64d3dca2015-08-27 22:25:58 -0700659config PCH_GBE
660 bool "Intel Platform Controller Hub EG20T GMAC driver"
Bin Meng64d3dca2015-08-27 22:25:58 -0700661 select PHYLIB
662 help
663 This MAC is present in Intel Platform Controller Hub EG20T. It
664 supports 10/100/1000 Mbps operation.
665
Mylène Josserande44eb3a2017-04-02 12:59:08 +0200666config RGMII
667 bool "Enable RGMII"
668 help
669 Enable the support of the Reduced Gigabit Media-Independent
670 Interface (RGMII).
671
Adam Ford53705472018-07-20 23:03:57 -0500672config MII
673 bool "Enable MII"
674 help
675 Enable support of the Media-Independent Interface (MII)
676
Tom Rinie09aab12022-03-18 08:38:22 -0400677config RMII
678 bool "Enable RMII"
679 help
680 Enable support of the Reduced Media-Independent Interface (MII)
681
Marek Vasut7275b622020-05-17 18:14:17 +0200682config PCNET
683 bool "AMD PCnet series Ethernet controller driver"
684 help
685 This driver supports AMD PCnet series fast ethernet family of
686 PCI chipsets/adapters.
687
Heiko Schocher41b64a82020-02-06 09:48:16 +0100688source "drivers/net/qe/Kconfig"
689
Bin Menga6448df2016-03-21 06:47:41 -0700690config RTL8139
691 bool "Realtek 8139 series Ethernet controller driver"
692 help
693 This driver supports Realtek 8139 series fast ethernet family of
694 PCI chipsets/adapters.
695
Bin Meng29971222016-03-21 06:47:42 -0700696config RTL8169
697 bool "Realtek 8169 series Ethernet controller driver"
Eugen Hristev88978dd2023-05-17 13:41:24 +0300698 depends on PCI
Bin Meng29971222016-03-21 06:47:42 -0700699 help
700 This driver supports Realtek 8169 series gigabit ethernet family of
701 PCI/PCIe chipsets/adapters.
702
Vladimir Oltean67bfc852021-09-29 18:04:41 +0300703config SJA1105
704 bool "NXP SJA1105 Ethernet switch family driver"
705 depends on DM_DSA && DM_SPI
706 select BITREVERSE
707 help
708 This is the driver for the NXP SJA1105 automotive Ethernet switch
709 family. These are 5-port devices and are managed over an SPI
710 interface. Probing is handled based on OF bindings. The driver
711 supports the following revisions:
712 - SJA1105E (Gen. 1, No TT-Ethernet)
713 - SJA1105T (Gen. 1, TT-Ethernet)
714 - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet)
715 - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet)
716 - SJA1105R (Gen. 2, SGMII, No TT-Ethernet)
717 - SJA1105S (Gen. 2, SGMII, TT-Ethernet)
718
Adam Ford0a044f82017-09-05 15:20:44 -0500719config SMC911X
720 bool "SMSC LAN911x and LAN921x controller driver"
721
Adam Ford0a044f82017-09-05 15:20:44 -0500722config SMC911X_32_BIT
Andre Przywara30301e52021-06-28 14:30:30 +0100723 bool "Enable SMC911X 32-bit interface"
Tom Rini4c40e732022-08-02 07:33:47 -0400724 depends on SMC911X
Adam Ford0a044f82017-09-05 15:20:44 -0500725 help
Andre Przywara30301e52021-06-28 14:30:30 +0100726 Define this if data bus is 32 bits. If your processor use a
727 narrower 16 bit bus or cannot convert one 32 bit word to two 16 bit
728 words, leave this to "n".
Adam Ford0a044f82017-09-05 15:20:44 -0500729
Mylène Josserandc1506ef2017-04-02 12:59:03 +0200730config SUN7I_GMAC
731 bool "Enable Allwinner GMAC Ethernet support"
732 help
733 Enable the support for Sun7i GMAC Ethernet controller
734
Stefan Mavrodieveaee8582017-11-03 08:56:51 +0200735config SUN7I_GMAC_FORCE_TXERR
736 bool "Force PA17 as gmac function"
737 depends on SUN7I_GMAC
738 help
739 Some ethernet phys needs TXERR control. Since the GMAC
740 doesn't have such signal, setting PA17 as GMAC function
741 makes the pin output low, which enables data transmission.
742
Mylène Josserand43ef1842017-04-02 12:59:07 +0200743config SUN4I_EMAC
744 bool "Allwinner Sun4i Ethernet MAC support"
Artturi Alm8ed09172017-11-08 05:08:58 +0200745 select PHYLIB
Mylène Josserand43ef1842017-04-02 12:59:07 +0200746 help
747 This driver supports the Allwinner based SUN4I Ethernet MAC.
748
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530749config SUN8I_EMAC
750 bool "Allwinner Sun8i Ethernet MAC support"
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530751 select PHYLIB
Philipp Tomsich00c33612017-03-26 18:50:23 +0200752 select PHY_GIGE
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530753 help
754 This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC.
755 It can be found in H3/A64/A83T based SoCs and compatible with both
Tom Rini1eee1172017-02-20 09:38:03 -0500756 External and Internal PHYs.
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530757
Nobuhiro Iwamatsuf593ecb2017-12-01 16:08:03 +0900758config SH_ETHER
759 bool "Renesas SH Ethernet MAC"
760 select PHYLIB
Marek Vasutfc479f62023-05-31 00:51:29 +0200761 select PHY_ETHERNET_ID
Nobuhiro Iwamatsuf593ecb2017-12-01 16:08:03 +0900762 help
763 This driver supports the Ethernet for Renesas SH and ARM SoCs.
764
Grygorii Strashko5693dee2018-10-31 16:21:39 -0500765source "drivers/net/ti/Kconfig"
Adam Ford53705472018-07-20 23:03:57 -0500766
Marek Vasut880287c2020-06-20 17:43:29 +0200767config TULIP
768 bool "DEC Tulip DC2114x Ethernet support"
Marek Vasut880287c2020-06-20 17:43:29 +0200769 help
770 This driver supports DEC DC2114x Fast ethernet chips.
771
Hanyuan Zhaoa45684c2024-08-09 16:56:54 +0800772config TULIP_SUPPORT_NON_PCI
773 bool "No PCI controller"
774 depends on TULIP
775 default n
776 help
777 Say Y to this and you can run this driver on platforms that do not
778 have PCI controllers.
779
Hanyuan Zhaoa34fa7d2024-08-09 16:56:59 +0800780config TULIP_IGNORE_TX_NO_CARRIER
781 bool "Ignore tx no carrier error"
782 depends on TULIP
783 default n
784 help
785 Some IP cores of dc2114x or its variants do not comply so well with
786 the behaviors described by the official document. A packet could be
787 sent successfully but reported with No Carrier error. Latest drivers
788 of this IP core do not detect this error anymore. Say Y to this could
789 disable handling of this error.
790
Hanyuan Zhao4e4e1b92024-08-09 16:57:00 +0800791config TULIP_MULTIPLE_TX_DESC
792 bool "Use multiple tx descriptors"
793 depends on TULIP
794 default n
795 help
796 Some IP cores of dc2114x or its variants do not comply so well with
797 the behaviors described by the official document. Originally this
798 driver uses only one tx descriptor and organizes it as a ring buffer,
799 which would lead to a problem that one packet would be sent twice.
800 Say Y to this could prevent this bug if you are using IP cores with
801 this issue, by using multiple tx descriptors and organizing them as
802 a real well-defined ring buffer.
803
Michal Simek07d204f2015-12-09 16:54:42 +0100804config XILINX_AXIEMAC
Michal Simek07d204f2015-12-09 16:54:42 +0100805 select PHYLIB
806 select MII
807 bool "Xilinx AXI Ethernet"
808 help
809 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
810
Ashok Reddy Soma6f5480c2021-07-02 04:40:34 -0600811config XILINX_AXIMRMAC
Tom Rini4c40e732022-08-02 07:33:47 -0400812 depends on ARCH_VERSAL
Ashok Reddy Soma6f5480c2021-07-02 04:40:34 -0600813 bool "Xilinx AXI MRMAC"
814 help
815 MRMAC is a high performance, low latency, adaptable Ethernet
816 integrated hard IP. This can be configured up to four ports with MAC
817 rates from 10GE to 100GE. This could be present in some of the Xilinx
818 Versal designs.
819
Tom Rini3d439872022-11-19 18:45:39 -0500820config VSC7385_ENET
821 bool "Vitesse 7385 Switch Firmware Upload driver"
822
Michal Simekeaee95a2015-12-11 09:41:49 +0100823config XILINX_EMACLITE
Michal Simekeaee95a2015-12-11 09:41:49 +0100824 select PHYLIB
825 select MII
826 bool "Xilinx Ethernetlite"
827 help
828 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
829
Michal Simek3d7285f2015-11-30 14:34:52 +0100830config ZYNQ_GEM
Michal Simek27ba0902015-12-11 09:14:31 +0100831 select PHYLIB
Michal Simek3d7285f2015-11-30 14:34:52 +0100832 bool "Xilinx Ethernet GEM"
833 help
Michal Simek7fb1d232015-12-09 16:53:52 +0100834 This MAC is present in Xilinx Zynq and ZynqMP SoCs.
Michal Simek3d7285f2015-11-30 14:34:52 +0100835
Purna Chandra Mandal6b731c92016-01-28 15:30:21 +0530836config PIC32_ETH
837 bool "Microchip PIC32 Ethernet Support"
Tom Rini4c40e732022-08-02 07:33:47 -0400838 depends on MACH_PIC32
Purna Chandra Mandal6b731c92016-01-28 15:30:21 +0530839 select PHYLIB
840 help
841 This driver implements 10/100 Mbps Ethernet and MAC layer for
842 Microchip PIC32 microcontrollers.
843
Sjoerd Simons54c46f92017-01-11 11:46:11 +0100844config GMAC_ROCKCHIP
845 bool "Rockchip Synopsys Designware Ethernet MAC"
Tom Rini4c40e732022-08-02 07:33:47 -0400846 depends on ETH_DESIGNWARE
Sjoerd Simons54c46f92017-01-11 11:46:11 +0100847 help
848 This driver provides Rockchip SoCs network support based on the
849 Synopsys Designware driver.
850
Phong Hoange44a3112023-03-20 21:05:04 +0100851config RENESAS_ETHER_SWITCH
852 bool "Renesas Ethernet Switch support"
853 depends on DM_ETH && R8A779F0
854 select PHYLIB
855 help
856 This driver implements support for the Renesas Ethernet Switch
857 which is available on R-Car S4 SoC (r8a779f0).
858
Marek Vasut17714cb2017-05-13 15:54:28 +0200859config RENESAS_RAVB
860 bool "Renesas Ethernet AVB MAC"
Hai Phamaee59c52023-04-07 17:12:17 +0200861 depends on RCAR_64
Marek Vasut17714cb2017-05-13 15:54:28 +0200862 select PHYLIB
Marek Vasutad778bc2023-05-31 00:51:28 +0200863 select PHY_ETHERNET_ID
Marek Vasut17714cb2017-05-13 15:54:28 +0200864 help
865 This driver implements support for the Ethernet AVB block in
866 Renesas M3 and H3 SoCs.
867
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200868config MPC8XX_FEC
869 bool "Fast Ethernet Controller on MPC8XX"
Christophe Leroyb3510fb2018-03-16 17:20:41 +0100870 depends on MPC8xx
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200871 select MII
Tom Rinibd8253d2022-06-25 11:02:36 -0400872 select SYS_DISCOVER_PHY
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200873 help
874 This driver implements support for the Fast Ethernet Controller
875 on MPC8XX
876
Kunihiko Hayashi7dcdc222018-05-24 19:24:37 +0900877config SNI_AVE
878 bool "Socionext AVE Ethernet support"
Tom Rini4c40e732022-08-02 07:33:47 -0400879 depends on ARCH_UNIPHIER
Kunihiko Hayashi7dcdc222018-05-24 19:24:37 +0900880 select PHYLIB
881 select SYSCON
882 select REGMAP
883 help
884 This driver implements support for the Socionext AVE Ethernet
885 controller, as found on the Socionext UniPhier family.
886
Jassi Brar29c58b02021-06-04 18:44:38 +0900887config SNI_NETSEC
888 bool "Socionext NETSEC Ethernet support"
Tom Rini4c40e732022-08-02 07:33:47 -0400889 depends on SYNQUACER_SPI
Jassi Brar29c58b02021-06-04 18:44:38 +0900890 select PHYLIB
891 help
892 This driver implements support for the Socionext SynQuacer NETSEC
893 ethernet controller, as found on the Socionext SynQuacer family.
894
Horatiu Vulturad2bf652019-01-31 15:30:33 +0100895source "drivers/net/mscc_eswitch/Kconfig"
Gregory CLEMENTeca26c82019-01-17 17:07:13 +0100896
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200897config ETHER_ON_FEC1
898 bool "FEC1"
899 depends on MPC8XX_FEC
900 default y
901
902config FEC1_PHY
903 int "FEC1 PHY"
904 depends on ETHER_ON_FEC1
905 default -1
906 help
907 Define to the hardcoded PHY address which corresponds
908 to the given FEC; i. e.
909 #define CONFIG_FEC1_PHY 4
910 means that the PHY with address 4 is connected to FEC1
911
912 When set to -1, means to probe for first available.
913
914config PHY_NORXERR
915 bool "PHY_NORXERR"
916 depends on ETHER_ON_FEC1
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200917 help
918 The PHY does not have a RXERR line (RMII only).
919 (so program the FEC to ignore it).
920
921config ETHER_ON_FEC2
922 bool "FEC2"
923 depends on MPC8XX_FEC && MPC885
924 default y
925
926config FEC2_PHY
927 int "FEC2 PHY"
928 depends on ETHER_ON_FEC2
929 default -1
930 help
931 Define to the hardcoded PHY address which corresponds
932 to the given FEC; i. e.
933 #define CONFIG_FEC1_PHY 4
934 means that the PHY with address 4 is connected to FEC1
935
936 When set to -1, means to probe for first available.
937
938config FEC2_PHY_NORXERR
939 bool "PHY_NORXERR"
940 depends on ETHER_ON_FEC2
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200941 help
942 The PHY does not have a RXERR line (RMII only).
943 (so program the FEC to ignore it).
944
Ahmed Mansour816bc412017-12-15 16:01:01 -0500945config SYS_DPAA_QBMAN
946 bool "Device tree fixup for QBMan on freescale SOCs"
Simon Glassd4bcfed2024-09-29 19:49:27 -0600947 depends on ARM || PPC
Ahmed Mansour816bc412017-12-15 16:01:01 -0500948 default y if ARCH_B4860 || \
949 ARCH_B4420 || \
950 ARCH_P1023 || \
951 ARCH_P2041 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500952 ARCH_T1024 || \
953 ARCH_T1040 || \
954 ARCH_T1042 || \
955 ARCH_T2080 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500956 ARCH_T4240 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500957 ARCH_P4080 || \
958 ARCH_P3041 || \
959 ARCH_P5040 || \
Ahmed Mansour816bc412017-12-15 16:01:01 -0500960 ARCH_LS1043A || \
961 ARCH_LS1046A
962 help
963 QBman fixups to allow deep sleep in DPAA 1 SOCs
964
Tom Rini8d7aa572022-07-31 21:08:29 -0400965config SYS_FSL_QMAN_V3
966 bool # QMAN version 3
967 depends on SYS_DPAA_QBMAN
968
Mario Sixda4fc932018-03-28 14:38:18 +0200969config TSEC_ENET
970 select PHYLIB
971 bool "Enable Three-Speed Ethernet Controller"
972 help
973 This driver implements support for the (Enhanced) Three-Speed
974 Ethernet Controller found on Freescale SoCs.
975
developer29d9d9f2025-01-10 16:41:13 +0800976source "drivers/net/mtk_eth/Kconfig"
developera2a01412024-12-17 16:39:55 +0800977
Yang Xiwend9717112023-08-23 01:03:42 +0800978config HIFEMAC_ETH
979 bool "HiSilicon Fast Ethernet Controller"
980 select DM_CLK
981 select DM_RESET
982 select PHYLIB
983 help
984 This driver supports HIFEMAC Ethernet controller found on
985 HiSilicon SoCs.
986
Yang Xiwendabe1db2023-08-23 01:03:43 +0800987config HIFEMAC_MDIO
988 bool "HiSilicon Fast Ethernet Controller MDIO interface"
989 depends on DM_MDIO
990 select DM_CLK
991 help
992 This driver supports the internal MDIO interface of HIFEMAC
993 Ethernet controller.
994
Shawn Guo0e1cc912019-03-20 15:32:40 +0800995config HIGMACV300_ETH
996 bool "HiSilicon Gigabit Ethernet Controller"
Shawn Guo0e1cc912019-03-20 15:32:40 +0800997 select DM_RESET
998 select PHYLIB
999 help
1000 This driver supports HIGMACV300 Ethernet controller found on
1001 HiSilicon SoCs.
1002
Alex Marginean7a910c12019-07-03 12:11:40 +03001003config FSL_ENETC
1004 bool "NXP ENETC Ethernet controller"
Tom Rini4c40e732022-08-02 07:33:47 -04001005 depends on DM_MDIO
Alex Marginean7a910c12019-07-03 12:11:40 +03001006 help
1007 This driver supports the NXP ENETC Ethernet controller found on some
1008 of the NXP SoCs.
1009
Marek Vasuta54e8862025-01-16 05:03:28 +01001010config FSL_ENETC_NETC_BLK_CTRL
1011 bool "NXP ENETC NETC blocks control driver"
1012 depends on FSL_ENETC && IMX95
1013 default y if IMX95
1014 help
1015 This driver configures Integrated Endpoint Register Block (IERB) and
1016 Privileged Register Block (PRB) of NETC. For i.MX platforms, it also
1017 includes the configuration of NETCMIX block.
1018 The IERB contains registers that are used for pre-boot initialization,
1019 debug, and non-customer configuration. The PRB controls global reset
1020 and global error handling for NETC. The NETCMIX block is mainly used
1021 to set MII protocol and PCS protocol of the links, it also contains
1022 settings for some other functions.
1023
Markus Gothefba38bf2024-11-19 08:26:44 -06001024config MDIO_GPIO_BITBANG
1025 bool "GPIO bitbanging MDIO driver"
1026 depends on DM_MDIO && DM_GPIO
1027 help
1028 Driver for bitbanging MDIO
1029
Alex Marginean3234a5e2019-07-16 11:21:17 +03001030config MDIO_MUX_I2CREG
1031 bool "MDIO MUX accessed as a register over I2C"
1032 depends on DM_MDIO_MUX && DM_I2C
1033 help
1034 This driver is used for MDIO muxes driven by writing to a register of
1035 an I2C chip. The board it was developed for uses a mux controlled by
1036 on-board FPGA which in turn is accessed as a chip over I2C.
1037
Robert Marko90dfaeb2020-10-08 22:05:11 +02001038config MDIO_IPQ4019
1039 bool "Qualcomm IPQ4019 MDIO interface support"
1040 depends on DM_MDIO
1041 help
1042 This driver supports the MDIO interface found in Qualcomm
1043 IPQ40xx series Soc-s.
1044
Alex Margineande3e55b2019-07-25 12:33:19 +03001045config MVMDIO
1046 bool "Marvell MDIO interface support"
1047 depends on DM_MDIO
1048 help
1049 This driver supports the MDIO interface found in the network
1050 interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
1051 Dove, Armada 370, Armada XP, Armada 37xx and Armada7K/8K/8KP).
1052
1053 This driver is used by the MVPP2 and MVNETA drivers.
1054
Ioana Ciornei799a4432020-03-18 16:47:36 +02001055config FSL_LS_MDIO
1056 bool "NXP Layerscape MDIO interface support"
1057 depends on DM_MDIO
1058 help
1059 This driver supports the MDIO bus found on the Fman 10G Ethernet MACs and
1060 on the mEMAC (which supports both Clauses 22 and 45).
1061
Dylan Hungb450ee62021-11-02 13:41:54 +08001062config ASPEED_MDIO
1063 bool "Aspeed MDIO interface support"
1064 depends on DM_MDIO
1065 help
1066 This driver supports the MDIO bus of Aspeed AST2600 SOC. The driver
1067 currently supports Clause 22.
1068
Neil Armstrongb66cbb32021-02-24 15:02:23 +01001069config MDIO_MUX_MMIOREG
1070 bool "MDIO MUX accessed as a MMIO register access"
1071 depends on DM_MDIO_MUX
1072 help
1073 This driver is used for MDIO muxes driven by writing to a register in
1074 the MMIO physical memory.
1075
Neil Armstrongd0ddbb92021-02-24 17:31:53 +01001076config MDIO_MUX_MESON_G12A
1077 bool "MDIO MUX for Amlogic Meson G12A SoCs"
1078 depends on DM_MDIO_MUX
1079 help
1080 This driver is used for the MDIO mux found on the Amlogic G12A & compatible
1081 SoCs.
1082
Neil Armstrong28fade72023-12-13 10:30:12 +01001083config MDIO_MUX_MESON_GXL
1084 bool "MDIO MUX for Amlogic Meson GXL SoCs"
1085 depends on DM_MDIO_MUX
1086 help
1087 This driver is used for the MDIO mux found on the Amlogic GXL & compatible
1088 SoCs.
1089
Joe Hershberger6ab76992015-03-22 17:09:13 -05001090endif # NETDEVICES