ppc: Remove T2081QDS board and ARCH_T2081 support
[platform/kernel/u-boot.git] / drivers / net / Kconfig
1 source "drivers/net/phy/Kconfig"
2 source "drivers/net/pfe_eth/Kconfig"
3 source "drivers/net/fsl-mc/Kconfig"
4
5 config DM_ETH
6         bool "Enable Driver Model for Ethernet drivers"
7         depends on DM
8         help
9           Enable driver model for Ethernet.
10
11           The eth_*() interface will be implemented by the UCLASS_ETH class
12           This is currently implemented in net/eth-uclass.c
13           Look in include/net.h for details.
14
15 config DM_MDIO
16         bool "Enable Driver Model for MDIO devices"
17         depends on DM_ETH && PHYLIB
18         help
19           Enable driver model for MDIO devices
20
21           Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as
22           stand-alone devices.  Useful in particular for systems that support
23           DM_ETH and have a stand-alone MDIO hardware block shared by multiple
24           Ethernet interfaces.
25           This is currently implemented in net/mdio-uclass.c
26           Look in include/miiphy.h for details.
27
28 config DM_MDIO_MUX
29         bool "Enable Driver Model for MDIO MUX devices"
30         depends on DM_MDIO
31         help
32           Enable driver model for MDIO MUX devices
33
34           Adds UCLASS_MDIO_MUX DM class supporting MDIO MUXes.  Useful for
35           systems that support DM_MDIO and integrate one or multiple muxes on
36           the MDIO bus.
37           This is currently implemented in net/mdio-mux-uclass.c
38           Look in include/miiphy.h for details.
39
40 config DM_DSA
41         bool "Enable Driver Model for DSA switches"
42         depends on DM_ETH && DM_MDIO
43         depends on PHY_FIXED
44         help
45           Enable driver model for DSA switches
46
47           Adds UCLASS_DSA class supporting switches that follow the Distributed
48           Switch Architecture (DSA).  These switches rely on the presence of a
49           management switch port connected to an Ethernet controller capable of
50           receiving frames from the switch.  This host Ethernet controller is
51           called the "master" Ethernet interface in DSA terminology.
52           This is currently implemented in net/dsa-uclass.c, refer to
53           include/net/dsa.h for API details.
54
55 config MDIO_SANDBOX
56         depends on DM_MDIO && SANDBOX
57         default y
58         bool "Sandbox: Mocked MDIO driver"
59         help
60           This driver implements dummy read/write/reset MDIO functions mimicking
61           a bus with a single PHY.
62
63           This driver is used in for testing in test/dm/mdio.c
64
65 config MDIO_MUX_SANDBOX
66         depends on DM_MDIO_MUX && MDIO_SANDBOX
67         default y
68         bool "Sandbox: Mocked MDIO-MUX driver"
69         help
70           This driver implements dummy select/deselect ops mimicking a MUX on
71           the MDIO bux.  It uses mdio_sandbox driver as parent MDIO.
72
73           This driver is used for testing in test/dm/mdio.c
74
75 config DM_ETH_PHY
76         bool "Enable Driver Model for Ethernet Generic PHY drivers"
77         depends on DM
78         help
79           Enable driver model for Ethernet Generic PHY .
80
81 menuconfig NETDEVICES
82         bool "Network device support"
83         depends on NET
84         default y if DM_ETH
85         help
86           You must select Y to enable any network device support
87           Generally if you have any networking support this is a given
88
89           If unsure, say Y
90
91 if NETDEVICES
92
93 config PHY_GIGE
94         bool "Enable GbE PHY status parsing and configuration"
95         help
96           Enables support for parsing the status output and for
97           configuring GbE PHYs (affects the inner workings of some
98           commands and miiphyutil.c).
99
100 config AG7XXX
101         bool "Atheros AG7xxx Ethernet MAC support"
102         depends on DM_ETH && ARCH_ATH79
103         select PHYLIB
104         help
105           This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
106           present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
107
108
109 config ALTERA_TSE
110         bool "Altera Triple-Speed Ethernet MAC support"
111         depends on DM_ETH
112         select PHYLIB
113         help
114           This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
115           Please find details on the "Triple-Speed Ethernet MegaCore Function
116           Resource Center" of Altera.
117
118 config BCM_SF2_ETH
119         bool "Broadcom SF2 (Starfighter2) Ethernet support"
120         select PHYLIB
121         help
122           This is an abstract framework which provides a generic interface
123           to MAC and DMA management for multiple Broadcom SoCs such as
124           Cygnus, NSP and bcm28155_ap platforms.
125
126 config BCM_SF2_ETH_DEFAULT_PORT
127         int "Broadcom SF2 (Starfighter2) Ethernet default port number"
128         depends on BCM_SF2_ETH
129         default 0
130         help
131           Default port number for the Starfighter2 ethernet driver.
132
133 config BCM_SF2_ETH_GMAC
134         bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support"
135         depends on BCM_SF2_ETH
136         help
137           This flag enables the ethernet support for Broadcom platforms with
138           GMAC such as Cygnus. This driver is based on the framework provided
139           by the BCM_SF2_ETH driver.
140           Say Y to any bcmcygnus based platforms.
141
142 config BCM6348_ETH
143         bool "BCM6348 EMAC support"
144         depends on DM_ETH && ARCH_BMIPS
145         select DMA
146         select DMA_CHANNELS
147         select MII
148         select PHYLIB
149         help
150           This driver supports the BCM6348 Ethernet MAC.
151
152 config BCM6368_ETH
153         bool "BCM6368 EMAC support"
154         depends on DM_ETH && ARCH_BMIPS
155         select DMA
156         select MII
157         help
158           This driver supports the BCM6368 Ethernet MAC.
159
160 config BCMGENET
161         bool "BCMGENET V5 support"
162         depends on DM_ETH
163         select PHYLIB
164         help
165           This driver supports the BCMGENET Ethernet MAC.
166
167 config CORTINA_NI_ENET
168         bool "Cortina-Access Ethernet driver"
169         depends on DM_ETH && CORTINA_PLATFORM
170         help
171           This driver supports the Cortina-Access Ethernet MAC for
172           all supported CAxxxx SoCs.
173
174 config DWC_ETH_QOS
175         bool "Synopsys DWC Ethernet QOS device support"
176         depends on DM_ETH
177         select PHYLIB
178         help
179           This driver supports the Synopsys Designware Ethernet QOS (Quality
180           Of Service) IP block. The IP supports many options for bus type,
181           clocking/reset structure, and feature list.
182
183 config DWC_ETH_QOS_IMX
184         bool "Synopsys DWC Ethernet QOS device support for IMX"
185         depends on DWC_ETH_QOS
186         help
187           The Synopsys Designware Ethernet QOS IP block with the specific
188           configuration used in IMX soc.
189
190 config DWC_ETH_QOS_STM32
191         bool "Synopsys DWC Ethernet QOS device support for STM32"
192         depends on DWC_ETH_QOS
193         default y if ARCH_STM32MP
194         help
195           The Synopsys Designware Ethernet QOS IP block with the specific
196           configuration used in STM32MP soc.
197
198 config DWC_ETH_QOS_TEGRA186
199         bool "Synopsys DWC Ethernet QOS device support for TEGRA186"
200         depends on DWC_ETH_QOS
201         default y if TEGRA186
202         help
203           The Synopsys Designware Ethernet QOS IP block with specific
204           configuration used in NVIDIA's Tegra186 chip.
205
206 config E1000
207         bool "Intel PRO/1000 Gigabit Ethernet support"
208         depends on (DM_ETH && DM_PCI) || !DM_ETH
209         help
210           This driver supports Intel(R) PRO/1000 gigabit ethernet family of
211           adapters.  For more information on how to identify your adapter, go
212           to the Adapter & Driver ID Guide at:
213
214           <http://support.intel.com/support/network/adapter/pro100/21397.htm>
215
216 config E1000_SPI_GENERIC
217         bool "Allow access to the Intel 8257x SPI bus"
218         depends on E1000
219         help
220           Allow generic access to the SPI bus on the Intel 8257x, for
221           example with the "sspi" command.
222
223 config E1000_SPI
224         bool "Enable SPI bus utility code"
225         depends on E1000
226         help
227           Utility code for direct access to the SPI bus on Intel 8257x.
228           This does not do anything useful unless you set at least one
229           of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
230
231 config CMD_E1000
232         bool "Enable the e1000 command"
233         depends on E1000
234         help
235           This enables the 'e1000' management command for E1000 devices. When
236           used on devices with SPI support you can reprogram the EEPROM from
237           U-Boot.
238
239 config EEPRO100
240         bool "Intel PRO/100 82557/82559/82559ER Fast Ethernet support"
241         help
242           This driver supports Intel(R) PRO/100 82557/82559/82559ER fast
243           ethernet family of adapters.
244
245 config ETH_SANDBOX
246         depends on DM_ETH && SANDBOX
247         default y
248         bool "Sandbox: Mocked Ethernet driver"
249         help
250           This driver simply responds with fake ARP replies and ping
251           replies that are used to verify network stack functionality
252
253           This driver is particularly useful in the test/dm/eth.c tests
254
255 config ETH_SANDBOX_RAW
256         depends on DM_ETH && SANDBOX
257         default y
258         bool "Sandbox: Bridge to Linux Raw Sockets"
259         help
260           This driver is a bridge from the bottom of the network stack
261           in U-Boot to the RAW AF_PACKET API in Linux. This allows real
262           network traffic to be tested from within sandbox. See
263           doc/arch/index.rst for more details.
264
265 config ETH_DESIGNWARE
266         bool "Synopsys Designware Ethernet MAC"
267         select PHYLIB
268         imply ETH_DESIGNWARE_SOCFPGA if ARCH_SOCFPGA
269         help
270           This MAC is present in SoCs from various vendors. It supports
271           100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
272           provide the PHY (physical media interface).
273
274 config ETH_DESIGNWARE_MESON8B
275         bool "Amlogic Meson8b and later glue driver for Synopsys Designware Ethernet MAC"
276         depends on DM_ETH
277         select ETH_DESIGNWARE
278         help
279           This provides glue layer to use Synopsys Designware Ethernet MAC
280           present on the Amlogic Meson8b, GX, AXG & G12A SoCs.
281
282 config ETH_DESIGNWARE_SOCFPGA
283         select REGMAP
284         select SYSCON
285         bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
286         depends on DM_ETH && ETH_DESIGNWARE
287         help
288           The Altera SoCFPGA requires additional configuration of the
289           Altera system manager to correctly interface with the PHY.
290           This code handles those SoC specifics.
291
292 config ETH_DESIGNWARE_S700
293         bool "Actins S700 glue driver for Synopsys Designware Ethernet MAC"
294         depends on DM_ETH && ETH_DESIGNWARE
295         help
296           This provides glue layer to use Synopsys Designware Ethernet MAC
297           present on Actions S700 SoC.
298
299 config ETHOC
300         bool "OpenCores 10/100 Mbps Ethernet MAC"
301         help
302           This MAC is present in OpenRISC and Xtensa XTFPGA boards.
303
304 config FEC_MXC_SHARE_MDIO
305         bool "Share the MDIO bus for FEC controller"
306         depends on FEC_MXC
307
308 config FEC_MXC_MDIO_BASE
309         hex "MDIO base address for the FEC controller"
310         depends on FEC_MXC_SHARE_MDIO
311         help
312           This specifies the MDIO registers base address. It is used when
313           two FEC controllers share MDIO bus.
314
315 config FEC_MXC
316         bool "FEC Ethernet controller"
317         depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || VF610
318         help
319           This driver supports the 10/100 Fast Ethernet controller for
320           NXP i.MX processors.
321
322 config FMAN_ENET
323         bool "Freescale FMan ethernet support"
324         depends on ARM || PPC
325         help
326           This driver support the Freescale FMan Ethernet controller
327
328 config FTMAC100
329         bool "Ftmac100 Ethernet Support"
330         help
331           This MAC is present in Andestech SoCs.
332
333 config FTGMAC100
334         bool "Ftgmac100 Ethernet Support"
335         depends on DM_ETH
336         select PHYLIB
337         help
338           This driver supports the Faraday's FTGMAC100 Gigabit SoC
339           Ethernet controller that can be found on Aspeed SoCs (which
340           include NCSI).
341
342           It is fully compliant with IEEE 802.3 specification for
343           10/100 Mbps Ethernet and IEEE 802.3z specification for 1000
344           Mbps Ethernet and includes Reduced Media Independent
345           Interface (RMII) and Reduced Gigabit Media Independent
346           Interface (RGMII) interfaces. It adopts an AHB bus interface
347           and integrates a link list DMA engine with direct M-Bus
348           accesses for transmitting and receiving packets. It has
349           independent TX/RX fifos, supports half and full duplex (1000
350           Mbps mode only supports full duplex), flow control for full
351           duplex and backpressure for half duplex.
352
353           The FTGMAC100 also implements IP, TCP, UDP checksum offloads
354           and supports IEEE 802.1Q VLAN tag insertion and removal. It
355           offers high-priority transmit queue for QoS and CoS
356           applications.
357
358
359 config MCFFEC
360         bool "ColdFire Ethernet Support"
361         depends on DM_ETH
362         select PHYLIB
363         help
364           This driver supports the network interface units in the
365           ColdFire family.
366
367 config FSLDMAFEC
368         bool "ColdFire DMA Ethernet Support"
369         depends on DM_ETH
370         select PHYLIB
371         help
372           This driver supports the network interface units in the
373           ColdFire family.
374
375 config KS8851_MLL
376         bool "Microchip KS8851-MLL controller driver"
377         help
378           The Microchip KS8851 parallel bus external ethernet interface chip.
379
380 if KS8851_MLL
381 if !DM_ETH
382 config KS8851_MLL_BASEADDR
383         hex "Microchip KS8851-MLL Base Address"
384         help
385           Define this to hold the physical address of the device (I/O space)
386 endif #DM_ETH
387 endif #KS8851_MLL
388
389 config MVGBE
390         bool "Marvell Orion5x/Kirkwood network interface support"
391         depends on ARCH_KIRKWOOD || ARCH_ORION5X
392         select PHYLIB if DM_ETH
393         help
394           This driver supports the network interface units in the
395           Marvell Orion5x and Kirkwood SoCs
396
397 config MVNETA
398         bool "Marvell Armada XP/385/3700 network interface support"
399         depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
400         select PHYLIB
401         help
402           This driver supports the network interface units in the
403           Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
404
405 config MVPP2
406         bool "Marvell Armada 375/7K/8K network interface support"
407         depends on ARMADA_375 || ARMADA_8K
408         select PHYLIB
409         select MVMDIO
410         select DM_MDIO
411         help
412           This driver supports the network interface units in the
413           Marvell ARMADA 375, 7K and 8K SoCs.
414
415 config MACB
416         bool "Cadence MACB/GEM Ethernet Interface"
417         depends on DM_ETH
418         select PHYLIB
419         help
420           The Cadence MACB ethernet interface is found on many Atmel
421           AT91 and SAMA5 parts.  This driver also supports the Cadence
422           GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
423           Say Y to include support for the MACB/GEM chip.
424
425 config MACB_ZYNQ
426         bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
427         depends on MACB
428         help
429           The Cadence MACB ethernet interface was used on Zynq platform.
430           Say Y to enable support for the MACB/GEM in Zynq chip.
431
432 config MT7620_ETH
433         bool "MediaTek MT7620 Ethernet Interface"
434         depends on SOC_MT7620
435         select PHYLIB
436         select DM_RESET
437         select DM_GPIO
438         select CLK
439         help
440           The MediaTek MT7620 ethernet interface is used on MT7620 based
441           boards. It has a built-in switch with two configurable ports which
442           can connect to external PHY/MACs.
443
444 config MT7628_ETH
445         bool "MediaTek MT7628 Ethernet Interface"
446         depends on SOC_MT7628
447         select PHYLIB
448         help
449           The MediaTek MT7628 ethernet interface is used on MT7628 and
450           MT7688 based boards.
451
452 config NET_OCTEONTX
453         bool "OcteonTX Ethernet support"
454         depends on ARCH_OCTEONTX
455         depends on PCI_SRIOV
456         help
457           You must select Y to enable network device support for
458           OcteonTX SoCs. If unsure, say n
459
460 config NET_OCTEONTX2
461         bool "OcteonTX2 Ethernet support"
462         depends on ARCH_OCTEONTX2
463         select OCTEONTX2_CGX_INTF
464         help
465           You must select Y to enable network device support for
466           OcteonTX2 SoCs. If unsure, say n
467
468 config OCTEONTX_SMI
469         bool "OcteonTX SMI Device support"
470         depends on ARCH_OCTEONTX || ARCH_OCTEONTX2
471         help
472           You must select Y to enable SMI controller support for
473           OcteonTX or OcteonTX2 SoCs. If unsure, say n
474
475 config OCTEONTX2_CGX_INTF
476         bool "OcteonTX2 CGX ATF interface support"
477         depends on ARCH_OCTEONTX2
478         default y if ARCH_OCTEONTX2
479         help
480           You must select Y to enable CGX ATF interface support for
481           OcteonTX2 SoCs. If unsure, say n
482
483 config PCH_GBE
484         bool "Intel Platform Controller Hub EG20T GMAC driver"
485         depends on DM_ETH && DM_PCI
486         select PHYLIB
487         help
488           This MAC is present in Intel Platform Controller Hub EG20T. It
489           supports 10/100/1000 Mbps operation.
490
491 config RGMII
492         bool "Enable RGMII"
493         help
494           Enable the support of the Reduced Gigabit Media-Independent
495           Interface (RGMII).
496
497 config MII
498         bool "Enable MII"
499         help
500           Enable support of the Media-Independent Interface (MII)
501
502 config PCNET
503         bool "AMD PCnet series Ethernet controller driver"
504         help
505           This driver supports AMD PCnet series fast ethernet family of
506           PCI chipsets/adapters.
507
508 source "drivers/net/qe/Kconfig"
509
510 config RTL8139
511         bool "Realtek 8139 series Ethernet controller driver"
512         help
513           This driver supports Realtek 8139 series fast ethernet family of
514           PCI chipsets/adapters.
515
516 config RTL8169
517         bool "Realtek 8169 series Ethernet controller driver"
518         help
519           This driver supports Realtek 8169 series gigabit ethernet family of
520           PCI/PCIe chipsets/adapters.
521
522 config SMC911X
523         bool "SMSC LAN911x and LAN921x controller driver"
524
525 if SMC911X
526
527 if !DM_ETH
528 config SMC911X_BASE
529         hex "SMC911X Base Address"
530         help
531           Define this to hold the physical address
532           of the device (I/O space)
533 endif #DM_ETH
534
535 choice
536         prompt "SMC911X bus width"
537         default SMC911X_16_BIT
538
539 config SMC911X_32_BIT
540         bool "Enable 32-bit interface"
541
542 config SMC911X_16_BIT
543         bool "Enable 16-bit interface"
544         help
545           Define this if data bus is 16 bits. If your processor
546           automatically converts one 32 bit word to two 16 bit
547           words you may also try CONFIG_SMC911X_32_BIT.
548
549 endchoice
550 endif #SMC911X
551
552 config SUN7I_GMAC
553         bool "Enable Allwinner GMAC Ethernet support"
554         help
555           Enable the support for Sun7i GMAC Ethernet controller
556
557 config SUN7I_GMAC_FORCE_TXERR
558         bool "Force PA17 as gmac function"
559         depends on SUN7I_GMAC
560         help
561           Some ethernet phys needs TXERR control. Since the GMAC
562           doesn't have such signal, setting PA17 as GMAC function
563           makes the pin output low, which enables data transmission.
564
565 config SUN4I_EMAC
566         bool "Allwinner Sun4i Ethernet MAC support"
567         depends on DM_ETH
568         select PHYLIB
569         help
570           This driver supports the Allwinner based SUN4I Ethernet MAC.
571
572 config SUN8I_EMAC
573         bool "Allwinner Sun8i Ethernet MAC support"
574         depends on DM_ETH
575         select PHYLIB
576         select PHY_GIGE
577         help
578           This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
579           It can be found in H3/A64/A83T based SoCs and compatible with both
580           External and Internal PHYs.
581
582 config SH_ETHER
583         bool "Renesas SH Ethernet MAC"
584         select PHYLIB
585         help
586           This driver supports the Ethernet for Renesas SH and ARM SoCs.
587
588 source "drivers/net/ti/Kconfig"
589
590 config TULIP
591         bool "DEC Tulip DC2114x Ethernet support"
592         depends on (DM_ETH && DM_PCI) || !DM_ETH
593         help
594           This driver supports DEC DC2114x Fast ethernet chips.
595
596 config XILINX_AXIEMAC
597         depends on DM_ETH
598         select PHYLIB
599         select MII
600         bool "Xilinx AXI Ethernet"
601         help
602           This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
603
604 config XILINX_EMACLITE
605         depends on DM_ETH
606         select PHYLIB
607         select MII
608         bool "Xilinx Ethernetlite"
609         help
610           This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
611
612 config ZYNQ_GEM
613         depends on DM_ETH
614         select PHYLIB
615         bool "Xilinx Ethernet GEM"
616         help
617           This MAC is present in Xilinx Zynq and ZynqMP SoCs.
618
619 config PIC32_ETH
620         bool "Microchip PIC32 Ethernet Support"
621         depends on DM_ETH && MACH_PIC32
622         select PHYLIB
623         help
624           This driver implements 10/100 Mbps Ethernet and MAC layer for
625           Microchip PIC32 microcontrollers.
626
627 config GMAC_ROCKCHIP
628         bool "Rockchip Synopsys Designware Ethernet MAC"
629         depends on DM_ETH && ETH_DESIGNWARE
630         help
631           This driver provides Rockchip SoCs network support based on the
632           Synopsys Designware driver.
633
634 config RENESAS_RAVB
635         bool "Renesas Ethernet AVB MAC"
636         depends on DM_ETH && RCAR_GEN3
637         select PHYLIB
638         help
639           This driver implements support for the Ethernet AVB block in
640           Renesas M3 and H3 SoCs.
641
642 config MPC8XX_FEC
643         bool "Fast Ethernet Controller on MPC8XX"
644         depends on MPC8xx
645         select MII
646         help
647           This driver implements support for the Fast Ethernet Controller
648           on MPC8XX
649
650 config SNI_AVE
651         bool "Socionext AVE Ethernet support"
652         depends on DM_ETH && ARCH_UNIPHIER
653         select PHYLIB
654         select SYSCON
655         select REGMAP
656         help
657           This driver implements support for the Socionext AVE Ethernet
658           controller, as found on the Socionext UniPhier family.
659
660 source "drivers/net/mscc_eswitch/Kconfig"
661
662 config ETHER_ON_FEC1
663         bool "FEC1"
664         depends on MPC8XX_FEC
665         default y
666
667 config FEC1_PHY
668         int "FEC1 PHY"
669         depends on ETHER_ON_FEC1
670         default -1
671         help
672           Define to the hardcoded PHY address which corresponds
673           to the given FEC; i. e.
674                 #define CONFIG_FEC1_PHY 4
675           means that the PHY with address 4 is connected to FEC1
676
677           When set to -1, means to probe for first available.
678
679 config PHY_NORXERR
680         bool "PHY_NORXERR"
681         depends on ETHER_ON_FEC1
682         default n
683         help
684           The PHY does not have a RXERR line (RMII only).
685           (so program the FEC to ignore it).
686
687 config ETHER_ON_FEC2
688         bool "FEC2"
689         depends on MPC8XX_FEC && MPC885
690         default y
691
692 config FEC2_PHY
693         int "FEC2 PHY"
694         depends on ETHER_ON_FEC2
695         default -1
696         help
697           Define to the hardcoded PHY address which corresponds
698           to the given FEC; i. e.
699                 #define CONFIG_FEC1_PHY 4
700           means that the PHY with address 4 is connected to FEC1
701
702           When set to -1, means to probe for first available.
703
704 config FEC2_PHY_NORXERR
705         bool "PHY_NORXERR"
706         depends on ETHER_ON_FEC2
707         default n
708         help
709           The PHY does not have a RXERR line (RMII only).
710           (so program the FEC to ignore it).
711
712 config SYS_DPAA_QBMAN
713         bool "Device tree fixup for QBMan on freescale SOCs"
714         depends on (ARM || PPC) && !SPL_BUILD
715         default y if ARCH_B4860 || \
716                      ARCH_B4420 || \
717                      ARCH_P1023 || \
718                      ARCH_P2041 || \
719                      ARCH_T1023 || \
720                      ARCH_T1024 || \
721                      ARCH_T1040 || \
722                      ARCH_T1042 || \
723                      ARCH_T2080 || \
724                      ARCH_T4240 || \
725                      ARCH_T4160 || \
726                      ARCH_P4080 || \
727                      ARCH_P3041 || \
728                      ARCH_P5040 || \
729                      ARCH_P5020 || \
730                      ARCH_LS1043A || \
731                      ARCH_LS1046A
732         help
733           QBman fixups to allow deep sleep in DPAA 1 SOCs
734
735 config TSEC_ENET
736         select PHYLIB
737         bool "Enable Three-Speed Ethernet Controller"
738         help
739           This driver implements support for the (Enhanced) Three-Speed
740           Ethernet Controller found on Freescale SoCs.
741
742 config MEDIATEK_ETH
743         bool "MediaTek Ethernet GMAC Driver"
744         depends on DM_ETH
745         select PHYLIB
746         select DM_GPIO
747         select DM_RESET
748         help
749           This Driver support MediaTek Ethernet GMAC
750           Say Y to enable support for the MediaTek Ethernet GMAC.
751
752 config HIGMACV300_ETH
753         bool "HiSilicon Gigabit Ethernet Controller"
754         depends on DM_ETH
755         select DM_RESET
756         select PHYLIB
757         help
758           This driver supports HIGMACV300 Ethernet controller found on
759           HiSilicon SoCs.
760
761 config FSL_ENETC
762         bool "NXP ENETC Ethernet controller"
763         depends on DM_PCI && DM_ETH && DM_MDIO
764         help
765           This driver supports the NXP ENETC Ethernet controller found on some
766           of the NXP SoCs.
767
768 config MDIO_MUX_I2CREG
769         bool "MDIO MUX accessed as a register over I2C"
770         depends on DM_MDIO_MUX && DM_I2C
771         help
772           This driver is used for MDIO muxes driven by writing to a register of
773           an I2C chip.  The board it was developed for uses a mux controlled by
774           on-board FPGA which in turn is accessed as a chip over I2C.
775
776 config MDIO_IPQ4019
777         bool "Qualcomm IPQ4019 MDIO interface support"
778         depends on DM_MDIO
779         help
780           This driver supports the MDIO interface found in Qualcomm
781           IPQ40xx series Soc-s.
782
783 config MVMDIO
784         bool "Marvell MDIO interface support"
785         depends on DM_MDIO
786         help
787           This driver supports the MDIO interface found in the network
788           interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
789           Dove, Armada 370, Armada XP, Armada 37xx and Armada7K/8K/8KP).
790
791           This driver is used by the MVPP2 and MVNETA drivers.
792
793 config FSL_LS_MDIO
794         bool "NXP Layerscape MDIO interface support"
795         depends on DM_MDIO
796         help
797           This driver supports the MDIO bus found on the Fman 10G Ethernet MACs and
798           on the mEMAC (which supports both Clauses 22 and 45).
799
800 config MDIO_MUX_MMIOREG
801         bool "MDIO MUX accessed as a MMIO register access"
802         depends on DM_MDIO_MUX
803         help
804           This driver is used for MDIO muxes driven by writing to a register in
805           the MMIO physical memory.
806
807 config MDIO_MUX_MESON_G12A
808         bool "MDIO MUX for Amlogic Meson G12A SoCs"
809         depends on DM_MDIO_MUX
810         help
811           This driver is used for the MDIO mux found on the Amlogic G12A & compatible
812           SoCs.
813
814 endif # NETDEVICES