xref: /openbmc/u-boot/drivers/net/Kconfig (revision c507d306)
1af2cbfd6SAlexsource "drivers/net/phy/Kconfig"
2a802d1e2SCalvin Johnsonsource "drivers/net/pfe_eth/Kconfig"
3af2cbfd6SAlex
405c3e68fSJoe Hershbergerconfig DM_ETH
505c3e68fSJoe Hershberger	bool "Enable Driver Model for Ethernet drivers"
605c3e68fSJoe Hershberger	depends on DM
705c3e68fSJoe Hershberger	help
805c3e68fSJoe Hershberger	  Enable driver model for Ethernet.
905c3e68fSJoe Hershberger
10c25f4062SJoe Hershberger	  The eth_*() interface will be implemented by the UCLASS_ETH class
11c25f4062SJoe Hershberger	  This is currently implemented in net/eth-uclass.c
1205c3e68fSJoe Hershberger	  Look in include/net.h for details.
133ea143abSJoe Hershberger
143ea143abSJoe Hershbergermenuconfig NETDEVICES
153ea143abSJoe Hershberger	bool "Network device support"
163ea143abSJoe Hershberger	depends on NET
17ef0f2f57SJoe Hershberger	default y if DM_ETH
183ea143abSJoe Hershberger	help
193ea143abSJoe Hershberger	  You must select Y to enable any network device support
203ea143abSJoe Hershberger	  Generally if you have any networking support this is a given
213ea143abSJoe Hershberger
223ea143abSJoe Hershberger	  If unsure, say Y
233ea143abSJoe Hershberger
243ea143abSJoe Hershbergerif NETDEVICES
253ea143abSJoe Hershberger
26449ea2cdSPhilipp Tomsichconfig PHY_GIGE
27449ea2cdSPhilipp Tomsich	bool "Enable GbE PHY status parsing and configuration"
28449ea2cdSPhilipp Tomsich	help
29449ea2cdSPhilipp Tomsich	  Enables support for parsing the status output and for
30449ea2cdSPhilipp Tomsich	  configuring GbE PHYs (affects the inner workings of some
31449ea2cdSPhilipp Tomsich	  commands and miiphyutil.c).
32449ea2cdSPhilipp Tomsich
33e40095f6SMarek Vasutconfig AG7XXX
34e40095f6SMarek Vasut	bool "Atheros AG7xxx Ethernet MAC support"
35e40095f6SMarek Vasut	depends on DM_ETH && ARCH_ATH79
36e40095f6SMarek Vasut	select PHYLIB
37e40095f6SMarek Vasut	help
38e40095f6SMarek Vasut	  This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
39e40095f6SMarek Vasut	  present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
40e40095f6SMarek Vasut
41e40095f6SMarek Vasut
4296fa1e43SThomas Chouconfig ALTERA_TSE
4396fa1e43SThomas Chou	bool "Altera Triple-Speed Ethernet MAC support"
4496fa1e43SThomas Chou	depends on DM_ETH
4596fa1e43SThomas Chou	select PHYLIB
4696fa1e43SThomas Chou	help
4796fa1e43SThomas Chou	  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
4896fa1e43SThomas Chou	  Please find details on the "Triple-Speed Ethernet MegaCore Function
4996fa1e43SThomas Chou	  Resource Center" of Altera.
5096fa1e43SThomas Chou
51c89782dcSSuji Velupillaiconfig BCM_SF2_ETH
52c89782dcSSuji Velupillai	bool "Broadcom SF2 (Starfighter2) Ethernet support"
53c89782dcSSuji Velupillai	select PHYLIB
54c89782dcSSuji Velupillai	help
55c89782dcSSuji Velupillai	  This is an abstract framework which provides a generic interface
56c89782dcSSuji Velupillai	  to MAC and DMA management for multiple Broadcom SoCs such as
57c89782dcSSuji Velupillai	  Cygnus, NSP and bcm28155_ap platforms.
58c89782dcSSuji Velupillai
59c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_DEFAULT_PORT
60c89782dcSSuji Velupillai	int "Broadcom SF2 (Starfighter2) Ethernet default port number"
61c89782dcSSuji Velupillai	depends on BCM_SF2_ETH
62c89782dcSSuji Velupillai	default 0
63c89782dcSSuji Velupillai	help
64c89782dcSSuji Velupillai	  Default port number for the Starfighter2 ethernet driver.
65c89782dcSSuji Velupillai
66c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_GMAC
67c89782dcSSuji Velupillai	bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support"
68c89782dcSSuji Velupillai	depends on BCM_SF2_ETH
69c89782dcSSuji Velupillai	help
70c89782dcSSuji Velupillai	  This flag enables the ethernet support for Broadcom platforms with
71c89782dcSSuji Velupillai	  GMAC such as Cygnus. This driver is based on the framework provided
72c89782dcSSuji Velupillai	  by the BCM_SF2_ETH driver.
73c89782dcSSuji Velupillai	  Say Y to any bcmcygnus based platforms.
74c89782dcSSuji Velupillai
7555e55fe4SÁlvaro Fernández Rojasconfig BCM6348_ETH
7655e55fe4SÁlvaro Fernández Rojas	bool "BCM6348 EMAC support"
7755e55fe4SÁlvaro Fernández Rojas	depends on DM_ETH && ARCH_BMIPS
7855e55fe4SÁlvaro Fernández Rojas	select DMA
7955e55fe4SÁlvaro Fernández Rojas	select DMA_CHANNELS
8055e55fe4SÁlvaro Fernández Rojas	select MII
8155e55fe4SÁlvaro Fernández Rojas	select PHYLIB
8255e55fe4SÁlvaro Fernández Rojas	help
8355e55fe4SÁlvaro Fernández Rojas	  This driver supports the BCM6348 Ethernet MAC.
8455e55fe4SÁlvaro Fernández Rojas
859622972aSÁlvaro Fernández Rojasconfig BCM6368_ETH
869622972aSÁlvaro Fernández Rojas	bool "BCM6368 EMAC support"
879622972aSÁlvaro Fernández Rojas	depends on DM_ETH && ARCH_BMIPS
889622972aSÁlvaro Fernández Rojas	select DMA
899622972aSÁlvaro Fernández Rojas	select MII
909622972aSÁlvaro Fernández Rojas	help
919622972aSÁlvaro Fernández Rojas	  This driver supports the BCM6368 Ethernet MAC.
929622972aSÁlvaro Fernández Rojas
93ba4dfef1SStephen Warrenconfig DWC_ETH_QOS
94ba4dfef1SStephen Warren	bool "Synopsys DWC Ethernet QOS device support"
95ba4dfef1SStephen Warren	depends on DM_ETH
96ba4dfef1SStephen Warren	select PHYLIB
97ba4dfef1SStephen Warren	help
98ba4dfef1SStephen Warren	  This driver supports the Synopsys Designware Ethernet QOS (Quality
99ba4dfef1SStephen Warren	  Of Service) IP block. The IP supports many options for bus type,
100ba4dfef1SStephen Warren	  clocking/reset structure, and feature list. This driver currently
101ba4dfef1SStephen Warren	  supports the specific configuration used in NVIDIA's Tegra186 chip,
102ba4dfef1SStephen Warren	  but should be extensible to other combinations quite easily.
103ba4dfef1SStephen Warren
104c294ac5cSSimon Glassconfig E1000
105c294ac5cSSimon Glass	bool "Intel PRO/1000 Gigabit Ethernet support"
106c294ac5cSSimon Glass	help
107c294ac5cSSimon Glass	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
108c294ac5cSSimon Glass	  adapters.  For more information on how to identify your adapter, go
109c294ac5cSSimon Glass	  to the Adapter & Driver ID Guide at:
110c294ac5cSSimon Glass
111c294ac5cSSimon Glass	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
112c294ac5cSSimon Glass
113c294ac5cSSimon Glassconfig E1000_SPI_GENERIC
114c294ac5cSSimon Glass	bool "Allow access to the Intel 8257x SPI bus"
115c294ac5cSSimon Glass	depends on E1000
116c294ac5cSSimon Glass	help
117c294ac5cSSimon Glass	  Allow generic access to the SPI bus on the Intel 8257x, for
118c294ac5cSSimon Glass	  example with the "sspi" command.
119c294ac5cSSimon Glass
120c294ac5cSSimon Glassconfig E1000_SPI
121c294ac5cSSimon Glass	bool "Enable SPI bus utility code"
122c294ac5cSSimon Glass	depends on E1000
123c294ac5cSSimon Glass	help
124c294ac5cSSimon Glass	  Utility code for direct access to the SPI bus on Intel 8257x.
125c294ac5cSSimon Glass	  This does not do anything useful unless you set at least one
126c294ac5cSSimon Glass	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
127c294ac5cSSimon Glass
128c294ac5cSSimon Glassconfig CMD_E1000
129c294ac5cSSimon Glass	bool "Enable the e1000 command"
130c294ac5cSSimon Glass	depends on E1000
131c294ac5cSSimon Glass	help
132c294ac5cSSimon Glass	  This enables the 'e1000' management command for E1000 devices. When
133c294ac5cSSimon Glass	  used on devices with SPI support you can reprogram the EEPROM from
134c294ac5cSSimon Glass	  U-Boot.
135c294ac5cSSimon Glass
1363ea143abSJoe Hershbergerconfig ETH_SANDBOX
1373ea143abSJoe Hershberger	depends on DM_ETH && SANDBOX
1383ea143abSJoe Hershberger	default y
1393ea143abSJoe Hershberger	bool "Sandbox: Mocked Ethernet driver"
1403ea143abSJoe Hershberger	help
1413ea143abSJoe Hershberger	  This driver simply responds with fake ARP replies and ping
1423ea143abSJoe Hershberger	  replies that are used to verify network stack functionality
1433ea143abSJoe Hershberger
1443ea143abSJoe Hershberger	  This driver is particularly useful in the test/dm/eth.c tests
1453ea143abSJoe Hershberger
146a346ca79SJoe Hershbergerconfig ETH_SANDBOX_RAW
147a346ca79SJoe Hershberger	depends on DM_ETH && SANDBOX
148a346ca79SJoe Hershberger	default y
149a346ca79SJoe Hershberger	bool "Sandbox: Bridge to Linux Raw Sockets"
150a346ca79SJoe Hershberger	help
151a346ca79SJoe Hershberger	  This driver is a bridge from the bottom of the network stack
152a346ca79SJoe Hershberger	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
153a346ca79SJoe Hershberger	  network traffic to be tested from within sandbox. See
154a346ca79SJoe Hershberger	  board/sandbox/README.sandbox for more details.
155a346ca79SJoe Hershberger
156ef48f6ddSSimon Glassconfig ETH_DESIGNWARE
157ef48f6ddSSimon Glass	bool "Synopsys Designware Ethernet MAC"
15825af71c4SThomas Chou	select PHYLIB
159*6fb1eb1bSSimon Goldschmidt	imply ETH_DESIGNWARE_SOCFPGA if ARCH_SOCFPGA
160ef48f6ddSSimon Glass	help
161ef48f6ddSSimon Glass	  This MAC is present in SoCs from various vendors. It supports
162ef48f6ddSSimon Glass	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
163ef48f6ddSSimon Glass	  provide the PHY (physical media interface).
164ef48f6ddSSimon Glass
165215a0656SMarek Vasutconfig ETH_DESIGNWARE_SOCFPGA
1664f1267ceSSimon Goldschmidt	select REGMAP
1674f1267ceSSimon Goldschmidt	select SYSCON
168215a0656SMarek Vasut	bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
169215a0656SMarek Vasut	depends on DM_ETH && ETH_DESIGNWARE
170215a0656SMarek Vasut	help
171215a0656SMarek Vasut	  The Altera SoCFPGA requires additional configuration of the
172215a0656SMarek Vasut	  Altera system manager to correctly interface with the PHY.
173215a0656SMarek Vasut	  This code handles those SoC specifics.
174215a0656SMarek Vasut
175f0727120SMax Filippovconfig ETHOC
176f0727120SMax Filippov	bool "OpenCores 10/100 Mbps Ethernet MAC"
177f0727120SMax Filippov	help
178f0727120SMax Filippov	  This MAC is present in OpenRISC and Xtensa XTFPGA boards.
179f0727120SMax Filippov
180fbada485SPeng Fanconfig FEC_MXC_SHARE_MDIO
181fbada485SPeng Fan	bool "Share the MDIO bus for FEC controller"
182fbada485SPeng Fan	depends on FEC_MXC
183fbada485SPeng Fan
184fbada485SPeng Fanconfig FEC_MXC_MDIO_BASE
185fbada485SPeng Fan	hex "MDIO base address for the FEC controller"
186fbada485SPeng Fan	depends on FEC_MXC_SHARE_MDIO
187fbada485SPeng Fan	help
188fbada485SPeng Fan	  This specifies the MDIO registers base address. It is used when
189fbada485SPeng Fan	  two FEC controllers share MDIO bus.
190fbada485SPeng Fan
19197d29ca3SJagan Tekiconfig FEC_MXC
19297d29ca3SJagan Teki	bool "FEC Ethernet controller"
19358ec4d33SAnatolij Gustschin	depends on MX5 || MX6 || MX7 || IMX8
19497d29ca3SJagan Teki	help
19597d29ca3SJagan Teki	  This driver supports the 10/100 Fast Ethernet controller for
19697d29ca3SJagan Teki	  NXP i.MX processors.
19797d29ca3SJagan Teki
1988dc1b17fSTom Riniconfig FTMAC100
1998dc1b17fSTom Rini	bool "Ftmac100 Ethernet Support"
2008dc1b17fSTom Rini	help
2018dc1b17fSTom Rini	  This MAC is present in Andestech SoCs.
2028dc1b17fSTom Rini
203f95de0bdSCédric Le Goaterconfig FTGMAC100
204f95de0bdSCédric Le Goater	bool "Ftgmac100 Ethernet Support"
205f95de0bdSCédric Le Goater	depends on DM_ETH
206f95de0bdSCédric Le Goater	select PHYLIB
207f95de0bdSCédric Le Goater	help
208f95de0bdSCédric Le Goater	  This driver supports the Faraday's FTGMAC100 Gigabit SoC
209f95de0bdSCédric Le Goater	  Ethernet controller that can be found on Aspeed SoCs (which
210f95de0bdSCédric Le Goater	  include NCSI).
211f95de0bdSCédric Le Goater
212f95de0bdSCédric Le Goater	  It is fully compliant with IEEE 802.3 specification for
213f95de0bdSCédric Le Goater	  10/100 Mbps Ethernet and IEEE 802.3z specification for 1000
214f95de0bdSCédric Le Goater	  Mbps Ethernet and includes Reduced Media Independent
215f95de0bdSCédric Le Goater	  Interface (RMII) and Reduced Gigabit Media Independent
216f95de0bdSCédric Le Goater	  Interface (RGMII) interfaces. It adopts an AHB bus interface
217f95de0bdSCédric Le Goater	  and integrates a link list DMA engine with direct M-Bus
218f95de0bdSCédric Le Goater	  accesses for transmitting and receiving packets. It has
219f95de0bdSCédric Le Goater	  independent TX/RX fifos, supports half and full duplex (1000
220f95de0bdSCédric Le Goater	  Mbps mode only supports full duplex), flow control for full
221f95de0bdSCédric Le Goater	  duplex and backpressure for half duplex.
222f95de0bdSCédric Le Goater
223f95de0bdSCédric Le Goater	  The FTGMAC100 also implements IP, TCP, UDP checksum offloads
224f95de0bdSCédric Le Goater	  and supports IEEE 802.1Q VLAN tag insertion and removal. It
225f95de0bdSCédric Le Goater	  offers high-priority transmit queue for QoS and CoS
226f95de0bdSCédric Le Goater	  applications.
227f95de0bdSCédric Le Goater
228f95de0bdSCédric Le Goater
229ed52ea50SChris Packhamconfig MVGBE
230ed52ea50SChris Packham	bool "Marvell Orion5x/Kirkwood network interface support"
231ed52ea50SChris Packham	depends on KIRKWOOD || ORION5X
232fb731076SChris Packham	select PHYLIB if DM_ETH
233ed52ea50SChris Packham	help
234ed52ea50SChris Packham	  This driver supports the network interface units in the
235ed52ea50SChris Packham	  Marvell Orion5x and Kirkwood SoCs
236ed52ea50SChris Packham
2377654f62fSChris Packhamconfig MVNETA
238e7ab2ccdSMiquel Raynal	bool "Marvell Armada XP/385/3700 network interface support"
239e7ab2ccdSMiquel Raynal	depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
2407654f62fSChris Packham	select PHYLIB
2417654f62fSChris Packham	help
2427654f62fSChris Packham	  This driver supports the network interface units in the
243e7ab2ccdSMiquel Raynal	  Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
2447654f62fSChris Packham
24599d4c6d3SStefan Roeseconfig MVPP2
246e7935c47SStefan Roese	bool "Marvell Armada 375/7K/8K network interface support"
247e7935c47SStefan Roese	depends on ARMADA_375 || ARMADA_8K
24899d4c6d3SStefan Roese	select PHYLIB
24999d4c6d3SStefan Roese	help
25099d4c6d3SStefan Roese	  This driver supports the network interface units in the
251e7935c47SStefan Roese	  Marvell ARMADA 375, 7K and 8K SoCs.
25299d4c6d3SStefan Roese
253ebcb40a5SWenyou Yangconfig MACB
254ebcb40a5SWenyou Yang	bool "Cadence MACB/GEM Ethernet Interface"
255ebcb40a5SWenyou Yang	depends on DM_ETH
256ebcb40a5SWenyou Yang	select PHYLIB
257ebcb40a5SWenyou Yang	help
258ebcb40a5SWenyou Yang	  The Cadence MACB ethernet interface is found on many Atmel
259ebcb40a5SWenyou Yang	  AT91 and SAMA5 parts.  This driver also supports the Cadence
260ebcb40a5SWenyou Yang	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
261ebcb40a5SWenyou Yang	  Say Y to include support for the MACB/GEM chip.
262ebcb40a5SWenyou Yang
2634bf56913SWilson Leeconfig MACB_ZYNQ
2644bf56913SWilson Lee	bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
2654bf56913SWilson Lee	depends on MACB
2664bf56913SWilson Lee	help
2674bf56913SWilson Lee	  The Cadence MACB ethernet interface was used on Zynq platform.
2684bf56913SWilson Lee	  Say Y to enable support for the MACB/GEM in Zynq chip.
2694bf56913SWilson Lee
270c895ef46SStefan Roeseconfig MT7628_ETH
271c895ef46SStefan Roese	bool "MediaTek MT7628 Ethernet Interface"
272c895ef46SStefan Roese	depends on ARCH_MT7620
273c895ef46SStefan Roese	help
274c895ef46SStefan Roese	  The MediaTek MT7628 ethernet interface is used on MT7628 and
275c895ef46SStefan Roese	  MT7688 based boards.
276c895ef46SStefan Roese
277b68fe152SBin Mengconfig PCH_GBE
278b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
279b68fe152SBin Meng	depends on DM_ETH && DM_PCI
280b68fe152SBin Meng	select PHYLIB
281b68fe152SBin Meng	help
282b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
283b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
284b68fe152SBin Meng
285751b0be0SMylène Josserandconfig RGMII
286751b0be0SMylène Josserand	bool "Enable RGMII"
287751b0be0SMylène Josserand	help
288751b0be0SMylène Josserand	  Enable the support of the Reduced Gigabit Media-Independent
289751b0be0SMylène Josserand	  Interface (RGMII).
290751b0be0SMylène Josserand
291d7869b21SAdam Fordconfig MII
292d7869b21SAdam Ford	bool "Enable MII"
293d7869b21SAdam Ford	help
294d7869b21SAdam Ford	  Enable support of the Media-Independent Interface (MII)
295d7869b21SAdam Ford
29686e9dc86SBin Mengconfig RTL8139
29786e9dc86SBin Meng	bool "Realtek 8139 series Ethernet controller driver"
29886e9dc86SBin Meng	help
29986e9dc86SBin Meng	  This driver supports Realtek 8139 series fast ethernet family of
30086e9dc86SBin Meng	  PCI chipsets/adapters.
30186e9dc86SBin Meng
3020764f24aSBin Mengconfig RTL8169
3030764f24aSBin Meng	bool "Realtek 8169 series Ethernet controller driver"
3040764f24aSBin Meng	help
3050764f24aSBin Meng	  This driver supports Realtek 8169 series gigabit ethernet family of
3060764f24aSBin Meng	  PCI/PCIe chipsets/adapters.
3070764f24aSBin Meng
3088daec2d9SAdam Fordconfig SMC911X
3098daec2d9SAdam Ford	bool "SMSC LAN911x and LAN921x controller driver"
3108daec2d9SAdam Ford
3118daec2d9SAdam Fordif SMC911X
3128daec2d9SAdam Ford
3138daec2d9SAdam Fordconfig SMC911X_BASE
3148daec2d9SAdam Ford	hex "SMC911X Base Address"
3158daec2d9SAdam Ford	help
3168daec2d9SAdam Ford	  Define this to hold the physical address
3178daec2d9SAdam Ford	  of the device (I/O space)
3188daec2d9SAdam Ford
3198daec2d9SAdam Fordchoice
3208daec2d9SAdam Ford	prompt "SMC911X bus width"
3218daec2d9SAdam Ford	default SMC911X_16_BIT
3228daec2d9SAdam Ford
3238daec2d9SAdam Fordconfig SMC911X_32_BIT
3248daec2d9SAdam Ford	bool "Enable 32-bit interface"
3258daec2d9SAdam Ford
3268daec2d9SAdam Fordconfig SMC911X_16_BIT
3278daec2d9SAdam Ford	bool "Enable 16-bit interface"
3288daec2d9SAdam Ford	help
3298daec2d9SAdam Ford	  Define this if data bus is 16 bits. If your processor
3308daec2d9SAdam Ford	  automatically converts one 32 bit word to two 16 bit
3318daec2d9SAdam Ford	  words you may also try CONFIG_SMC911X_32_BIT.
3328daec2d9SAdam Ford
3338daec2d9SAdam Fordendchoice
3348daec2d9SAdam Fordendif #SMC911X
3358daec2d9SAdam Ford
3364d43d065SMylène Josserandconfig SUN7I_GMAC
3374d43d065SMylène Josserand	bool "Enable Allwinner GMAC Ethernet support"
3384d43d065SMylène Josserand	help
3394d43d065SMylène Josserand	  Enable the support for Sun7i GMAC Ethernet controller
3404d43d065SMylène Josserand
341aba39249SStefan Mavrodievconfig SUN7I_GMAC_FORCE_TXERR
342aba39249SStefan Mavrodiev	bool "Force PA17 as gmac function"
343aba39249SStefan Mavrodiev	depends on SUN7I_GMAC
344aba39249SStefan Mavrodiev	help
345aba39249SStefan Mavrodiev	  Some ethernet phys needs TXERR control. Since the GMAC
346aba39249SStefan Mavrodiev	  doesn't have such signal, setting PA17 as GMAC function
347aba39249SStefan Mavrodiev	  makes the pin output low, which enables data transmission.
348aba39249SStefan Mavrodiev
349abc3e4dfSMylène Josserandconfig SUN4I_EMAC
350abc3e4dfSMylène Josserand	bool "Allwinner Sun4i Ethernet MAC support"
351abc3e4dfSMylène Josserand	depends on DM_ETH
3526270a3f0SArtturi Alm	select PHYLIB
353abc3e4dfSMylène Josserand	help
354abc3e4dfSMylène Josserand	  This driver supports the Allwinner based SUN4I Ethernet MAC.
355abc3e4dfSMylène Josserand
356a29710c5SAmit Singh Tomarconfig SUN8I_EMAC
357a29710c5SAmit Singh Tomar        bool "Allwinner Sun8i Ethernet MAC support"
358a29710c5SAmit Singh Tomar        depends on DM_ETH
359a29710c5SAmit Singh Tomar        select PHYLIB
360449ea2cdSPhilipp Tomsich	select PHY_GIGE
361a29710c5SAmit Singh Tomar        help
362a29710c5SAmit Singh Tomar          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
363a29710c5SAmit Singh Tomar	  It can be found in H3/A64/A83T based SoCs and compatible with both
3647131d2d0STom Rini	  External and Internal PHYs.
365a29710c5SAmit Singh Tomar
366dcd18eafSNobuhiro Iwamatsuconfig SH_ETHER
367dcd18eafSNobuhiro Iwamatsu	bool "Renesas SH Ethernet MAC"
368dcd18eafSNobuhiro Iwamatsu	select PHYLIB
369dcd18eafSNobuhiro Iwamatsu	help
370dcd18eafSNobuhiro Iwamatsu	  This driver supports the Ethernet for Renesas SH and ARM SoCs.
371dcd18eafSNobuhiro Iwamatsu
372ffad5fa0SGrygorii Strashkosource "drivers/net/ti/Kconfig"
373d7869b21SAdam Ford
374338a5f2bSMichal Simekconfig XILINX_AXIEMAC
375338a5f2bSMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
376338a5f2bSMichal Simek	select PHYLIB
377338a5f2bSMichal Simek	select MII
378338a5f2bSMichal Simek	bool "Xilinx AXI Ethernet"
379338a5f2bSMichal Simek	help
380338a5f2bSMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
381338a5f2bSMichal Simek
3823229c869SMichal Simekconfig XILINX_EMACLITE
3832f1f05f4SZubair Lutfullah Kakakhel	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
3843229c869SMichal Simek	select PHYLIB
3853229c869SMichal Simek	select MII
3863229c869SMichal Simek	bool "Xilinx Ethernetlite"
3873229c869SMichal Simek	help
3883229c869SMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
3893229c869SMichal Simek
390596e5782SMichal Simekconfig ZYNQ_GEM
391ec48b6c9SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL)
3927bccc75aSMichal Simek	select PHYLIB
393596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
394596e5782SMichal Simek	help
395c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
396596e5782SMichal Simek
39723e7578cSPurna Chandra Mandalconfig PIC32_ETH
39823e7578cSPurna Chandra Mandal	bool "Microchip PIC32 Ethernet Support"
39923e7578cSPurna Chandra Mandal	depends on DM_ETH && MACH_PIC32
40023e7578cSPurna Chandra Mandal	select PHYLIB
40123e7578cSPurna Chandra Mandal	help
40223e7578cSPurna Chandra Mandal	  This driver implements 10/100 Mbps Ethernet and MAC layer for
40323e7578cSPurna Chandra Mandal	  Microchip PIC32 microcontrollers.
40423e7578cSPurna Chandra Mandal
4050125bcf0SSjoerd Simonsconfig GMAC_ROCKCHIP
4060125bcf0SSjoerd Simons	bool "Rockchip Synopsys Designware Ethernet MAC"
4070125bcf0SSjoerd Simons	depends on DM_ETH && ETH_DESIGNWARE
4080125bcf0SSjoerd Simons	help
4090125bcf0SSjoerd Simons	  This driver provides Rockchip SoCs network support based on the
4100125bcf0SSjoerd Simons	  Synopsys Designware driver.
4110125bcf0SSjoerd Simons
4128ae51b6fSMarek Vasutconfig RENESAS_RAVB
4138ae51b6fSMarek Vasut	bool "Renesas Ethernet AVB MAC"
4148ae51b6fSMarek Vasut	depends on DM_ETH && RCAR_GEN3
4158ae51b6fSMarek Vasut	select PHYLIB
4168ae51b6fSMarek Vasut	help
4178ae51b6fSMarek Vasut	  This driver implements support for the Ethernet AVB block in
4188ae51b6fSMarek Vasut	  Renesas M3 and H3 SoCs.
4198ae51b6fSMarek Vasut
420fad51ac3SChristophe Leroyconfig MPC8XX_FEC
421fad51ac3SChristophe Leroy	bool "Fast Ethernet Controller on MPC8XX"
422ee1e600cSChristophe Leroy	depends on MPC8xx
423fad51ac3SChristophe Leroy	select MII
424fad51ac3SChristophe Leroy	help
425fad51ac3SChristophe Leroy	  This driver implements support for the Fast Ethernet Controller
426fad51ac3SChristophe Leroy	  on MPC8XX
427fad51ac3SChristophe Leroy
428a8927795SKunihiko Hayashiconfig SNI_AVE
429a8927795SKunihiko Hayashi	bool "Socionext AVE Ethernet support"
430a8927795SKunihiko Hayashi	depends on DM_ETH && ARCH_UNIPHIER
431a8927795SKunihiko Hayashi	select PHYLIB
432a8927795SKunihiko Hayashi	select SYSCON
433a8927795SKunihiko Hayashi	select REGMAP
434a8927795SKunihiko Hayashi	help
435a8927795SKunihiko Hayashi	  This driver implements support for the Socionext AVE Ethernet
436a8927795SKunihiko Hayashi	  controller, as found on the Socionext UniPhier family.
437a8927795SKunihiko Hayashi
4384c66157fSHoratiu Vultursource "drivers/net/mscc_eswitch/Kconfig"
439c8546163SGregory CLEMENT
440fad51ac3SChristophe Leroyconfig ETHER_ON_FEC1
441fad51ac3SChristophe Leroy	bool "FEC1"
442fad51ac3SChristophe Leroy	depends on MPC8XX_FEC
443fad51ac3SChristophe Leroy	default y
444fad51ac3SChristophe Leroy
445fad51ac3SChristophe Leroyconfig FEC1_PHY
446fad51ac3SChristophe Leroy	int "FEC1 PHY"
447fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
448fad51ac3SChristophe Leroy	default -1
449fad51ac3SChristophe Leroy	help
450fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
451fad51ac3SChristophe Leroy	  to the given FEC; i. e.
452fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
453fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
454fad51ac3SChristophe Leroy
455fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
456fad51ac3SChristophe Leroy
457fad51ac3SChristophe Leroyconfig PHY_NORXERR
458fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
459fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
460fad51ac3SChristophe Leroy	default n
461fad51ac3SChristophe Leroy	help
462fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
463fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
464fad51ac3SChristophe Leroy
465fad51ac3SChristophe Leroyconfig ETHER_ON_FEC2
466fad51ac3SChristophe Leroy	bool "FEC2"
467fad51ac3SChristophe Leroy	depends on MPC8XX_FEC && MPC885
468fad51ac3SChristophe Leroy	default y
469fad51ac3SChristophe Leroy
470fad51ac3SChristophe Leroyconfig FEC2_PHY
471fad51ac3SChristophe Leroy	int "FEC2 PHY"
472fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
473fad51ac3SChristophe Leroy	default -1
474fad51ac3SChristophe Leroy	help
475fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
476fad51ac3SChristophe Leroy	  to the given FEC; i. e.
477fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
478fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
479fad51ac3SChristophe Leroy
480fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
481fad51ac3SChristophe Leroy
482fad51ac3SChristophe Leroyconfig FEC2_PHY_NORXERR
483fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
484fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
485fad51ac3SChristophe Leroy	default n
486fad51ac3SChristophe Leroy	help
487fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
488fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
489fad51ac3SChristophe Leroy
490541d5766SAhmed Mansourconfig SYS_DPAA_QBMAN
491541d5766SAhmed Mansour	bool "Device tree fixup for QBMan on freescale SOCs"
492541d5766SAhmed Mansour	depends on (ARM || PPC) && !SPL_BUILD
493541d5766SAhmed Mansour	default y if ARCH_B4860 || \
494541d5766SAhmed Mansour		     ARCH_B4420 || \
495541d5766SAhmed Mansour		     ARCH_P1023 || \
496541d5766SAhmed Mansour		     ARCH_P2041 || \
497541d5766SAhmed Mansour		     ARCH_T1023 || \
498541d5766SAhmed Mansour		     ARCH_T1024 || \
499541d5766SAhmed Mansour		     ARCH_T1040 || \
500541d5766SAhmed Mansour		     ARCH_T1042 || \
501541d5766SAhmed Mansour		     ARCH_T2080 || \
502541d5766SAhmed Mansour		     ARCH_T2081 || \
503541d5766SAhmed Mansour		     ARCH_T4240 || \
504541d5766SAhmed Mansour		     ARCH_T4160 || \
505541d5766SAhmed Mansour		     ARCH_P4080 || \
506541d5766SAhmed Mansour		     ARCH_P3041 || \
507541d5766SAhmed Mansour		     ARCH_P5040 || \
508541d5766SAhmed Mansour		     ARCH_P5020 || \
509541d5766SAhmed Mansour		     ARCH_LS1043A || \
510541d5766SAhmed Mansour		     ARCH_LS1046A
511541d5766SAhmed Mansour	help
512541d5766SAhmed Mansour	  QBman fixups to allow deep sleep in DPAA 1 SOCs
513541d5766SAhmed Mansour
51417151052SMario Sixconfig TSEC_ENET
51517151052SMario Six	select PHYLIB
51617151052SMario Six	bool "Enable Three-Speed Ethernet Controller"
51717151052SMario Six	help
51817151052SMario Six	  This driver implements support for the (Enhanced) Three-Speed
51917151052SMario Six	  Ethernet Controller found on Freescale SoCs.
52017151052SMario Six
52123f17164SWeijie Gaoconfig MEDIATEK_ETH
52223f17164SWeijie Gao	bool "MediaTek Ethernet GMAC Driver"
52323f17164SWeijie Gao	depends on DM_ETH
52423f17164SWeijie Gao	select PHYLIB
52523f17164SWeijie Gao	select DM_GPIO
52623f17164SWeijie Gao	select DM_RESET
52723f17164SWeijie Gao	help
52823f17164SWeijie Gao	  This Driver support MediaTek Ethernet GMAC
52923f17164SWeijie Gao	  Say Y to enable support for the MediaTek Ethernet GMAC.
53023f17164SWeijie Gao
5313ea143abSJoe Hershbergerendif # NETDEVICES
532