blob: 1715023be6f15c394601342149f7ef86d84a6c72 [file] [log] [blame]
Alexaf2cbfd2017-02-06 19:17:34 -08001source "drivers/net/phy/Kconfig"
Calvin Johnsona802d1e2018-03-08 15:30:35 +05302source "drivers/net/pfe_eth/Kconfig"
Alexaf2cbfd2017-02-06 19:17:34 -08003
Joe Hershberger05c3e682015-03-22 17:09:10 -05004config DM_ETH
5 bool "Enable Driver Model for Ethernet drivers"
6 depends on DM
7 help
8 Enable driver model for Ethernet.
9
Joe Hershbergerc25f4062018-07-02 14:47:48 -050010 The eth_*() interface will be implemented by the UCLASS_ETH class
11 This is currently implemented in net/eth-uclass.c
Joe Hershberger05c3e682015-03-22 17:09:10 -050012 Look in include/net.h for details.
Joe Hershberger3ea143a2015-03-22 17:09:13 -050013
14menuconfig NETDEVICES
15 bool "Network device support"
16 depends on NET
Joe Hershbergeref0f2f52015-06-22 16:15:30 -050017 default y if DM_ETH
Joe Hershberger3ea143a2015-03-22 17:09:13 -050018 help
19 You must select Y to enable any network device support
20 Generally if you have any networking support this is a given
21
22 If unsure, say Y
23
24if NETDEVICES
25
Philipp Tomsich449ea2c2017-03-26 18:50:23 +020026config PHY_GIGE
27 bool "Enable GbE PHY status parsing and configuration"
28 help
29 Enables support for parsing the status output and for
30 configuring GbE PHYs (affects the inner workings of some
31 commands and miiphyutil.c).
32
Marek Vasute40095f2016-05-24 23:29:09 +020033config AG7XXX
34 bool "Atheros AG7xxx Ethernet MAC support"
35 depends on DM_ETH && ARCH_ATH79
36 select PHYLIB
37 help
38 This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
39 present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
40
41
Thomas Chou96fa1e42015-10-22 15:29:11 +080042config ALTERA_TSE
43 bool "Altera Triple-Speed Ethernet MAC support"
44 depends on DM_ETH
45 select PHYLIB
46 help
47 This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
48 Please find details on the "Triple-Speed Ethernet MegaCore Function
49 Resource Center" of Altera.
50
Suji Velupillaic89782d2017-07-10 14:05:41 -070051config BCM_SF2_ETH
52 bool "Broadcom SF2 (Starfighter2) Ethernet support"
53 select PHYLIB
54 help
55 This is an abstract framework which provides a generic interface
56 to MAC and DMA management for multiple Broadcom SoCs such as
57 Cygnus, NSP and bcm28155_ap platforms.
58
59config BCM_SF2_ETH_DEFAULT_PORT
60 int "Broadcom SF2 (Starfighter2) Ethernet default port number"
61 depends on BCM_SF2_ETH
62 default 0
63 help
64 Default port number for the Starfighter2 ethernet driver.
65
66config BCM_SF2_ETH_GMAC
67 bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support"
68 depends on BCM_SF2_ETH
69 help
70 This flag enables the ethernet support for Broadcom platforms with
71 GMAC such as Cygnus. This driver is based on the framework provided
72 by the BCM_SF2_ETH driver.
73 Say Y to any bcmcygnus based platforms.
74
Álvaro Fernández Rojas55e55fe2018-12-01 19:00:24 +010075config BCM6348_ETH
76 bool "BCM6348 EMAC support"
77 depends on DM_ETH && ARCH_BMIPS
78 select DMA
79 select DMA_CHANNELS
80 select MII
81 select PHYLIB
82 help
83 This driver supports the BCM6348 Ethernet MAC.
84
Álvaro Fernández Rojas96229722018-12-01 19:00:32 +010085config BCM6368_ETH
86 bool "BCM6368 EMAC support"
87 depends on DM_ETH && ARCH_BMIPS
88 select DMA
89 select MII
90 help
91 This driver supports the BCM6368 Ethernet MAC.
92
Stephen Warrenba4dfef2016-10-21 14:46:47 -060093config DWC_ETH_QOS
94 bool "Synopsys DWC Ethernet QOS device support"
95 depends on DM_ETH
96 select PHYLIB
97 help
98 This driver supports the Synopsys Designware Ethernet QOS (Quality
99 Of Service) IP block. The IP supports many options for bus type,
100 clocking/reset structure, and feature list. This driver currently
101 supports the specific configuration used in NVIDIA's Tegra186 chip,
102 but should be extensible to other combinations quite easily.
103
Simon Glassc294ac52015-08-19 09:33:41 -0600104config E1000
105 bool "Intel PRO/1000 Gigabit Ethernet support"
106 help
107 This driver supports Intel(R) PRO/1000 gigabit ethernet family of
108 adapters. For more information on how to identify your adapter, go
109 to the Adapter & Driver ID Guide at:
110
111 <http://support.intel.com/support/network/adapter/pro100/21397.htm>
112
113config E1000_SPI_GENERIC
114 bool "Allow access to the Intel 8257x SPI bus"
115 depends on E1000
116 help
117 Allow generic access to the SPI bus on the Intel 8257x, for
118 example with the "sspi" command.
119
120config E1000_SPI
121 bool "Enable SPI bus utility code"
122 depends on E1000
123 help
124 Utility code for direct access to the SPI bus on Intel 8257x.
125 This does not do anything useful unless you set at least one
126 of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
127
128config CMD_E1000
129 bool "Enable the e1000 command"
130 depends on E1000
131 help
132 This enables the 'e1000' management command for E1000 devices. When
133 used on devices with SPI support you can reprogram the EEPROM from
134 U-Boot.
135
Joe Hershberger3ea143a2015-03-22 17:09:13 -0500136config ETH_SANDBOX
137 depends on DM_ETH && SANDBOX
138 default y
139 bool "Sandbox: Mocked Ethernet driver"
140 help
141 This driver simply responds with fake ARP replies and ping
142 replies that are used to verify network stack functionality
143
144 This driver is particularly useful in the test/dm/eth.c tests
145
Joe Hershbergera346ca72015-03-22 17:09:21 -0500146config ETH_SANDBOX_RAW
147 depends on DM_ETH && SANDBOX
148 default y
149 bool "Sandbox: Bridge to Linux Raw Sockets"
150 help
151 This driver is a bridge from the bottom of the network stack
152 in U-Boot to the RAW AF_PACKET API in Linux. This allows real
153 network traffic to be tested from within sandbox. See
154 board/sandbox/README.sandbox for more details.
155
Simon Glassef48f6d2015-04-05 16:07:34 -0600156config ETH_DESIGNWARE
157 bool "Synopsys Designware Ethernet MAC"
Thomas Chou25af71c2015-12-07 20:53:29 +0800158 select PHYLIB
Simon Glassef48f6d2015-04-05 16:07:34 -0600159 help
160 This MAC is present in SoCs from various vendors. It supports
161 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
162 provide the PHY (physical media interface).
163
Marek Vasut215a0652018-08-13 19:32:14 +0200164config ETH_DESIGNWARE_SOCFPGA
Simon Goldschmidt4f1267c2019-01-13 19:58:40 +0100165 select REGMAP
166 select SYSCON
Marek Vasut215a0652018-08-13 19:32:14 +0200167 bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
168 depends on DM_ETH && ETH_DESIGNWARE
169 help
170 The Altera SoCFPGA requires additional configuration of the
171 Altera system manager to correctly interface with the PHY.
172 This code handles those SoC specifics.
173
Max Filippovf0727122016-08-05 18:26:15 +0300174config ETHOC
175 bool "OpenCores 10/100 Mbps Ethernet MAC"
176 help
177 This MAC is present in OpenRISC and Xtensa XTFPGA boards.
178
Peng Fanfbada482018-03-28 20:54:14 +0800179config FEC_MXC_SHARE_MDIO
180 bool "Share the MDIO bus for FEC controller"
181 depends on FEC_MXC
182
183config FEC_MXC_MDIO_BASE
184 hex "MDIO base address for the FEC controller"
185 depends on FEC_MXC_SHARE_MDIO
186 help
187 This specifies the MDIO registers base address. It is used when
188 two FEC controllers share MDIO bus.
189
Jagan Teki97d29ca2016-10-08 18:00:12 +0530190config FEC_MXC
191 bool "FEC Ethernet controller"
Anatolij Gustschin58ec4d32018-10-18 16:15:11 +0200192 depends on MX5 || MX6 || MX7 || IMX8
Jagan Teki97d29ca2016-10-08 18:00:12 +0530193 help
194 This driver supports the 10/100 Fast Ethernet controller for
195 NXP i.MX processors.
196
Tom Rini8dc1b172017-05-26 11:18:53 -0400197config FTMAC100
198 bool "Ftmac100 Ethernet Support"
199 help
200 This MAC is present in Andestech SoCs.
201
Cédric Le Goaterf95de0b2018-10-29 07:06:31 +0100202config FTGMAC100
203 bool "Ftgmac100 Ethernet Support"
204 depends on DM_ETH
205 select PHYLIB
206 help
207 This driver supports the Faraday's FTGMAC100 Gigabit SoC
208 Ethernet controller that can be found on Aspeed SoCs (which
209 include NCSI).
210
211 It is fully compliant with IEEE 802.3 specification for
212 10/100 Mbps Ethernet and IEEE 802.3z specification for 1000
213 Mbps Ethernet and includes Reduced Media Independent
214 Interface (RMII) and Reduced Gigabit Media Independent
215 Interface (RGMII) interfaces. It adopts an AHB bus interface
216 and integrates a link list DMA engine with direct M-Bus
217 accesses for transmitting and receiving packets. It has
218 independent TX/RX fifos, supports half and full duplex (1000
219 Mbps mode only supports full duplex), flow control for full
220 duplex and backpressure for half duplex.
221
222 The FTGMAC100 also implements IP, TCP, UDP checksum offloads
223 and supports IEEE 802.1Q VLAN tag insertion and removal. It
224 offers high-priority transmit queue for QoS and CoS
225 applications.
226
227
Chris Packhamed52ea52018-05-03 23:00:35 +1200228config MVGBE
229 bool "Marvell Orion5x/Kirkwood network interface support"
230 depends on KIRKWOOD || ORION5X
Chris Packhamfb731072018-07-09 21:34:00 +1200231 select PHYLIB if DM_ETH
Chris Packhamed52ea52018-05-03 23:00:35 +1200232 help
233 This driver supports the network interface units in the
234 Marvell Orion5x and Kirkwood SoCs
235
Chris Packham7654f622017-08-21 20:17:03 +1200236config MVNETA
Miquel Raynale7ab2cc2017-12-28 15:43:09 +0100237 bool "Marvell Armada XP/385/3700 network interface support"
238 depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
Chris Packham7654f622017-08-21 20:17:03 +1200239 select PHYLIB
240 help
241 This driver supports the network interface units in the
Miquel Raynale7ab2cc2017-12-28 15:43:09 +0100242 Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
Chris Packham7654f622017-08-21 20:17:03 +1200243
Stefan Roese99d4c6d2016-02-10 07:22:10 +0100244config MVPP2
Stefan Roesee7935c42017-02-15 11:42:59 +0100245 bool "Marvell Armada 375/7K/8K network interface support"
246 depends on ARMADA_375 || ARMADA_8K
Stefan Roese99d4c6d2016-02-10 07:22:10 +0100247 select PHYLIB
248 help
249 This driver supports the network interface units in the
Stefan Roesee7935c42017-02-15 11:42:59 +0100250 Marvell ARMADA 375, 7K and 8K SoCs.
Stefan Roese99d4c6d2016-02-10 07:22:10 +0100251
Wenyou Yangebcb40a2016-11-02 10:06:55 +0800252config MACB
253 bool "Cadence MACB/GEM Ethernet Interface"
254 depends on DM_ETH
255 select PHYLIB
256 help
257 The Cadence MACB ethernet interface is found on many Atmel
258 AT91 and SAMA5 parts. This driver also supports the Cadence
259 GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
260 Say Y to include support for the MACB/GEM chip.
261
Wilson Lee4bf56912017-08-22 20:25:07 -0700262config MACB_ZYNQ
263 bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
264 depends on MACB
265 help
266 The Cadence MACB ethernet interface was used on Zynq platform.
267 Say Y to enable support for the MACB/GEM in Zynq chip.
268
Stefan Roesec895ef42018-10-26 14:53:27 +0200269config MT7628_ETH
270 bool "MediaTek MT7628 Ethernet Interface"
271 depends on ARCH_MT7620
272 help
273 The MediaTek MT7628 ethernet interface is used on MT7628 and
274 MT7688 based boards.
275
Bin Mengb68fe152015-08-27 22:25:58 -0700276config PCH_GBE
277 bool "Intel Platform Controller Hub EG20T GMAC driver"
278 depends on DM_ETH && DM_PCI
279 select PHYLIB
280 help
281 This MAC is present in Intel Platform Controller Hub EG20T. It
282 supports 10/100/1000 Mbps operation.
283
Mylène Josserand751b0be2017-04-02 12:59:08 +0200284config RGMII
285 bool "Enable RGMII"
286 help
287 Enable the support of the Reduced Gigabit Media-Independent
288 Interface (RGMII).
289
Adam Fordd7869b22018-07-20 23:03:57 -0500290config MII
291 bool "Enable MII"
292 help
293 Enable support of the Media-Independent Interface (MII)
294
Bin Meng86e9dc82016-03-21 06:47:41 -0700295config RTL8139
296 bool "Realtek 8139 series Ethernet controller driver"
297 help
298 This driver supports Realtek 8139 series fast ethernet family of
299 PCI chipsets/adapters.
300
Bin Meng0764f242016-03-21 06:47:42 -0700301config RTL8169
302 bool "Realtek 8169 series Ethernet controller driver"
303 help
304 This driver supports Realtek 8169 series gigabit ethernet family of
305 PCI/PCIe chipsets/adapters.
306
Adam Ford8daec2d2017-09-05 15:20:44 -0500307config SMC911X
308 bool "SMSC LAN911x and LAN921x controller driver"
309
310if SMC911X
311
312config SMC911X_BASE
313 hex "SMC911X Base Address"
314 help
315 Define this to hold the physical address
316 of the device (I/O space)
317
318choice
319 prompt "SMC911X bus width"
320 default SMC911X_16_BIT
321
322config SMC911X_32_BIT
323 bool "Enable 32-bit interface"
324
325config SMC911X_16_BIT
326 bool "Enable 16-bit interface"
327 help
328 Define this if data bus is 16 bits. If your processor
329 automatically converts one 32 bit word to two 16 bit
330 words you may also try CONFIG_SMC911X_32_BIT.
331
332endchoice
333endif #SMC911X
334
Mylène Josserand4d43d062017-04-02 12:59:03 +0200335config SUN7I_GMAC
336 bool "Enable Allwinner GMAC Ethernet support"
337 help
338 Enable the support for Sun7i GMAC Ethernet controller
339
Stefan Mavrodievaba39242017-11-03 08:56:51 +0200340config SUN7I_GMAC_FORCE_TXERR
341 bool "Force PA17 as gmac function"
342 depends on SUN7I_GMAC
343 help
344 Some ethernet phys needs TXERR control. Since the GMAC
345 doesn't have such signal, setting PA17 as GMAC function
346 makes the pin output low, which enables data transmission.
347
Mylène Josserandabc3e4d2017-04-02 12:59:07 +0200348config SUN4I_EMAC
349 bool "Allwinner Sun4i Ethernet MAC support"
350 depends on DM_ETH
Artturi Alm6270a3f2017-11-08 05:08:58 +0200351 select PHYLIB
Mylène Josserandabc3e4d2017-04-02 12:59:07 +0200352 help
353 This driver supports the Allwinner based SUN4I Ethernet MAC.
354
Amit Singh Tomara29710c2016-07-06 17:59:44 +0530355config SUN8I_EMAC
356 bool "Allwinner Sun8i Ethernet MAC support"
357 depends on DM_ETH
358 select PHYLIB
Philipp Tomsich449ea2c2017-03-26 18:50:23 +0200359 select PHY_GIGE
Amit Singh Tomara29710c2016-07-06 17:59:44 +0530360 help
361 This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC.
362 It can be found in H3/A64/A83T based SoCs and compatible with both
Tom Rini7131d2d2017-02-20 09:38:03 -0500363 External and Internal PHYs.
Amit Singh Tomara29710c2016-07-06 17:59:44 +0530364
Nobuhiro Iwamatsudcd18ea2017-12-01 16:08:03 +0900365config SH_ETHER
366 bool "Renesas SH Ethernet MAC"
367 select PHYLIB
368 help
369 This driver supports the Ethernet for Renesas SH and ARM SoCs.
370
Grygorii Strashkoffad5fa2018-10-31 16:21:39 -0500371source "drivers/net/ti/Kconfig"
Adam Fordd7869b22018-07-20 23:03:57 -0500372
Michal Simek338a5f22015-12-09 16:54:42 +0100373config XILINX_AXIEMAC
374 depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
375 select PHYLIB
376 select MII
377 bool "Xilinx AXI Ethernet"
378 help
379 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
380
Michal Simek3229c862015-12-11 09:41:49 +0100381config XILINX_EMACLITE
Zubair Lutfullah Kakakhel2f1f05f2016-07-27 12:25:09 +0100382 depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
Michal Simek3229c862015-12-11 09:41:49 +0100383 select PHYLIB
384 select MII
385 bool "Xilinx Ethernetlite"
386 help
387 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
388
Michal Simek596e5782015-11-30 14:34:52 +0100389config ZYNQ_GEM
Michal Simekec48b6c2018-08-22 14:55:27 +0200390 depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL)
Michal Simek7bccc752015-12-11 09:14:31 +0100391 select PHYLIB
Michal Simek596e5782015-11-30 14:34:52 +0100392 bool "Xilinx Ethernet GEM"
393 help
Michal Simekc9428102015-12-09 16:53:52 +0100394 This MAC is present in Xilinx Zynq and ZynqMP SoCs.
Michal Simek596e5782015-11-30 14:34:52 +0100395
Purna Chandra Mandal23e75782016-01-28 15:30:21 +0530396config PIC32_ETH
397 bool "Microchip PIC32 Ethernet Support"
398 depends on DM_ETH && MACH_PIC32
399 select PHYLIB
400 help
401 This driver implements 10/100 Mbps Ethernet and MAC layer for
402 Microchip PIC32 microcontrollers.
403
Sjoerd Simons0125bcf2017-01-11 11:46:11 +0100404config GMAC_ROCKCHIP
405 bool "Rockchip Synopsys Designware Ethernet MAC"
406 depends on DM_ETH && ETH_DESIGNWARE
407 help
408 This driver provides Rockchip SoCs network support based on the
409 Synopsys Designware driver.
410
Marek Vasut8ae51b62017-05-13 15:54:28 +0200411config RENESAS_RAVB
412 bool "Renesas Ethernet AVB MAC"
413 depends on DM_ETH && RCAR_GEN3
414 select PHYLIB
415 help
416 This driver implements support for the Ethernet AVB block in
417 Renesas M3 and H3 SoCs.
418
Christophe Leroyfad51ac2017-07-06 10:33:23 +0200419config MPC8XX_FEC
420 bool "Fast Ethernet Controller on MPC8XX"
Christophe Leroyee1e6002018-03-16 17:20:41 +0100421 depends on MPC8xx
Christophe Leroyfad51ac2017-07-06 10:33:23 +0200422 select MII
423 help
424 This driver implements support for the Fast Ethernet Controller
425 on MPC8XX
426
Kunihiko Hayashia8927792018-05-24 19:24:37 +0900427config SNI_AVE
428 bool "Socionext AVE Ethernet support"
429 depends on DM_ETH && ARCH_UNIPHIER
430 select PHYLIB
431 select SYSCON
432 select REGMAP
433 help
434 This driver implements support for the Socionext AVE Ethernet
435 controller, as found on the Socionext UniPhier family.
436
Horatiu Vultur4c661572019-01-31 15:30:33 +0100437source "drivers/net/mscc_eswitch/Kconfig"
Gregory CLEMENTc8546162019-01-17 17:07:13 +0100438
Christophe Leroyfad51ac2017-07-06 10:33:23 +0200439config ETHER_ON_FEC1
440 bool "FEC1"
441 depends on MPC8XX_FEC
442 default y
443
444config FEC1_PHY
445 int "FEC1 PHY"
446 depends on ETHER_ON_FEC1
447 default -1
448 help
449 Define to the hardcoded PHY address which corresponds
450 to the given FEC; i. e.
451 #define CONFIG_FEC1_PHY 4
452 means that the PHY with address 4 is connected to FEC1
453
454 When set to -1, means to probe for first available.
455
456config PHY_NORXERR
457 bool "PHY_NORXERR"
458 depends on ETHER_ON_FEC1
459 default n
460 help
461 The PHY does not have a RXERR line (RMII only).
462 (so program the FEC to ignore it).
463
464config ETHER_ON_FEC2
465 bool "FEC2"
466 depends on MPC8XX_FEC && MPC885
467 default y
468
469config FEC2_PHY
470 int "FEC2 PHY"
471 depends on ETHER_ON_FEC2
472 default -1
473 help
474 Define to the hardcoded PHY address which corresponds
475 to the given FEC; i. e.
476 #define CONFIG_FEC1_PHY 4
477 means that the PHY with address 4 is connected to FEC1
478
479 When set to -1, means to probe for first available.
480
481config FEC2_PHY_NORXERR
482 bool "PHY_NORXERR"
483 depends on ETHER_ON_FEC2
484 default n
485 help
486 The PHY does not have a RXERR line (RMII only).
487 (so program the FEC to ignore it).
488
Ahmed Mansour541d5762017-12-15 16:01:01 -0500489config SYS_DPAA_QBMAN
490 bool "Device tree fixup for QBMan on freescale SOCs"
491 depends on (ARM || PPC) && !SPL_BUILD
492 default y if ARCH_B4860 || \
493 ARCH_B4420 || \
494 ARCH_P1023 || \
495 ARCH_P2041 || \
496 ARCH_T1023 || \
497 ARCH_T1024 || \
498 ARCH_T1040 || \
499 ARCH_T1042 || \
500 ARCH_T2080 || \
501 ARCH_T2081 || \
502 ARCH_T4240 || \
503 ARCH_T4160 || \
504 ARCH_P4080 || \
505 ARCH_P3041 || \
506 ARCH_P5040 || \
507 ARCH_P5020 || \
508 ARCH_LS1043A || \
509 ARCH_LS1046A
510 help
511 QBman fixups to allow deep sleep in DPAA 1 SOCs
512
Mario Six17151052018-03-28 14:38:18 +0200513config TSEC_ENET
514 select PHYLIB
515 bool "Enable Three-Speed Ethernet Controller"
516 help
517 This driver implements support for the (Enhanced) Three-Speed
518 Ethernet Controller found on Freescale SoCs.
519
Weijie Gao23f17162018-12-20 16:12:53 +0800520config MEDIATEK_ETH
521 bool "MediaTek Ethernet GMAC Driver"
522 depends on DM_ETH
523 select PHYLIB
524 select DM_GPIO
525 select DM_RESET
526 help
527 This Driver support MediaTek Ethernet GMAC
528 Say Y to enable support for the MediaTek Ethernet GMAC.
529
Joe Hershberger3ea143a2015-03-22 17:09:13 -0500530endif # NETDEVICES