xref: /openbmc/u-boot/drivers/net/Kconfig (revision 4f1267cea1e68395f5c6fd15624e88dfdc1c1540)
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
159ef48f6ddSSimon Glass	help
160ef48f6ddSSimon Glass	  This MAC is present in SoCs from various vendors. It supports
161ef48f6ddSSimon Glass	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
162ef48f6ddSSimon Glass	  provide the PHY (physical media interface).
163ef48f6ddSSimon Glass
164215a0656SMarek Vasutconfig ETH_DESIGNWARE_SOCFPGA
165*4f1267ceSSimon Goldschmidt	select REGMAP
166*4f1267ceSSimon Goldschmidt	select SYSCON
167215a0656SMarek Vasut	bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
168215a0656SMarek Vasut	depends on DM_ETH && ETH_DESIGNWARE
169215a0656SMarek Vasut	help
170215a0656SMarek Vasut	  The Altera SoCFPGA requires additional configuration of the
171215a0656SMarek Vasut	  Altera system manager to correctly interface with the PHY.
172215a0656SMarek Vasut	  This code handles those SoC specifics.
173215a0656SMarek Vasut
174f0727120SMax Filippovconfig ETHOC
175f0727120SMax Filippov	bool "OpenCores 10/100 Mbps Ethernet MAC"
176f0727120SMax Filippov	help
177f0727120SMax Filippov	  This MAC is present in OpenRISC and Xtensa XTFPGA boards.
178f0727120SMax Filippov
179fbada485SPeng Fanconfig FEC_MXC_SHARE_MDIO
180fbada485SPeng Fan	bool "Share the MDIO bus for FEC controller"
181fbada485SPeng Fan	depends on FEC_MXC
182fbada485SPeng Fan
183fbada485SPeng Fanconfig FEC_MXC_MDIO_BASE
184fbada485SPeng Fan	hex "MDIO base address for the FEC controller"
185fbada485SPeng Fan	depends on FEC_MXC_SHARE_MDIO
186fbada485SPeng Fan	help
187fbada485SPeng Fan	  This specifies the MDIO registers base address. It is used when
188fbada485SPeng Fan	  two FEC controllers share MDIO bus.
189fbada485SPeng Fan
19097d29ca3SJagan Tekiconfig FEC_MXC
19197d29ca3SJagan Teki	bool "FEC Ethernet controller"
19258ec4d33SAnatolij Gustschin	depends on MX5 || MX6 || MX7 || IMX8
19397d29ca3SJagan Teki	help
19497d29ca3SJagan Teki	  This driver supports the 10/100 Fast Ethernet controller for
19597d29ca3SJagan Teki	  NXP i.MX processors.
19697d29ca3SJagan Teki
1978dc1b17fSTom Riniconfig FTMAC100
1988dc1b17fSTom Rini	bool "Ftmac100 Ethernet Support"
1998dc1b17fSTom Rini	help
2008dc1b17fSTom Rini	  This MAC is present in Andestech SoCs.
2018dc1b17fSTom Rini
202f95de0bdSCédric Le Goaterconfig FTGMAC100
203f95de0bdSCédric Le Goater	bool "Ftgmac100 Ethernet Support"
204f95de0bdSCédric Le Goater	depends on DM_ETH
205f95de0bdSCédric Le Goater	select PHYLIB
206f95de0bdSCédric Le Goater	help
207f95de0bdSCédric Le Goater	  This driver supports the Faraday's FTGMAC100 Gigabit SoC
208f95de0bdSCédric Le Goater	  Ethernet controller that can be found on Aspeed SoCs (which
209f95de0bdSCédric Le Goater	  include NCSI).
210f95de0bdSCédric Le Goater
211f95de0bdSCédric Le Goater	  It is fully compliant with IEEE 802.3 specification for
212f95de0bdSCédric Le Goater	  10/100 Mbps Ethernet and IEEE 802.3z specification for 1000
213f95de0bdSCédric Le Goater	  Mbps Ethernet and includes Reduced Media Independent
214f95de0bdSCédric Le Goater	  Interface (RMII) and Reduced Gigabit Media Independent
215f95de0bdSCédric Le Goater	  Interface (RGMII) interfaces. It adopts an AHB bus interface
216f95de0bdSCédric Le Goater	  and integrates a link list DMA engine with direct M-Bus
217f95de0bdSCédric Le Goater	  accesses for transmitting and receiving packets. It has
218f95de0bdSCédric Le Goater	  independent TX/RX fifos, supports half and full duplex (1000
219f95de0bdSCédric Le Goater	  Mbps mode only supports full duplex), flow control for full
220f95de0bdSCédric Le Goater	  duplex and backpressure for half duplex.
221f95de0bdSCédric Le Goater
222f95de0bdSCédric Le Goater	  The FTGMAC100 also implements IP, TCP, UDP checksum offloads
223f95de0bdSCédric Le Goater	  and supports IEEE 802.1Q VLAN tag insertion and removal. It
224f95de0bdSCédric Le Goater	  offers high-priority transmit queue for QoS and CoS
225f95de0bdSCédric Le Goater	  applications.
226f95de0bdSCédric Le Goater
227f95de0bdSCédric Le Goater
228ed52ea50SChris Packhamconfig MVGBE
229ed52ea50SChris Packham	bool "Marvell Orion5x/Kirkwood network interface support"
230ed52ea50SChris Packham	depends on KIRKWOOD || ORION5X
231fb731076SChris Packham	select PHYLIB if DM_ETH
232ed52ea50SChris Packham	help
233ed52ea50SChris Packham	  This driver supports the network interface units in the
234ed52ea50SChris Packham	  Marvell Orion5x and Kirkwood SoCs
235ed52ea50SChris Packham
2367654f62fSChris Packhamconfig MVNETA
237e7ab2ccdSMiquel Raynal	bool "Marvell Armada XP/385/3700 network interface support"
238e7ab2ccdSMiquel Raynal	depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
2397654f62fSChris Packham	select PHYLIB
2407654f62fSChris Packham	help
2417654f62fSChris Packham	  This driver supports the network interface units in the
242e7ab2ccdSMiquel Raynal	  Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
2437654f62fSChris Packham
24499d4c6d3SStefan Roeseconfig MVPP2
245e7935c47SStefan Roese	bool "Marvell Armada 375/7K/8K network interface support"
246e7935c47SStefan Roese	depends on ARMADA_375 || ARMADA_8K
24799d4c6d3SStefan Roese	select PHYLIB
24899d4c6d3SStefan Roese	help
24999d4c6d3SStefan Roese	  This driver supports the network interface units in the
250e7935c47SStefan Roese	  Marvell ARMADA 375, 7K and 8K SoCs.
25199d4c6d3SStefan Roese
252ebcb40a5SWenyou Yangconfig MACB
253ebcb40a5SWenyou Yang	bool "Cadence MACB/GEM Ethernet Interface"
254ebcb40a5SWenyou Yang	depends on DM_ETH
255ebcb40a5SWenyou Yang	select PHYLIB
256ebcb40a5SWenyou Yang	help
257ebcb40a5SWenyou Yang	  The Cadence MACB ethernet interface is found on many Atmel
258ebcb40a5SWenyou Yang	  AT91 and SAMA5 parts.  This driver also supports the Cadence
259ebcb40a5SWenyou Yang	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
260ebcb40a5SWenyou Yang	  Say Y to include support for the MACB/GEM chip.
261ebcb40a5SWenyou Yang
2624bf56913SWilson Leeconfig MACB_ZYNQ
2634bf56913SWilson Lee	bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
2644bf56913SWilson Lee	depends on MACB
2654bf56913SWilson Lee	help
2664bf56913SWilson Lee	  The Cadence MACB ethernet interface was used on Zynq platform.
2674bf56913SWilson Lee	  Say Y to enable support for the MACB/GEM in Zynq chip.
2684bf56913SWilson Lee
269c895ef46SStefan Roeseconfig MT7628_ETH
270c895ef46SStefan Roese	bool "MediaTek MT7628 Ethernet Interface"
271c895ef46SStefan Roese	depends on ARCH_MT7620
272c895ef46SStefan Roese	help
273c895ef46SStefan Roese	  The MediaTek MT7628 ethernet interface is used on MT7628 and
274c895ef46SStefan Roese	  MT7688 based boards.
275c895ef46SStefan Roese
276b68fe152SBin Mengconfig PCH_GBE
277b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
278b68fe152SBin Meng	depends on DM_ETH && DM_PCI
279b68fe152SBin Meng	select PHYLIB
280b68fe152SBin Meng	help
281b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
282b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
283b68fe152SBin Meng
284751b0be0SMylène Josserandconfig RGMII
285751b0be0SMylène Josserand	bool "Enable RGMII"
286751b0be0SMylène Josserand	help
287751b0be0SMylène Josserand	  Enable the support of the Reduced Gigabit Media-Independent
288751b0be0SMylène Josserand	  Interface (RGMII).
289751b0be0SMylène Josserand
290d7869b21SAdam Fordconfig MII
291d7869b21SAdam Ford	bool "Enable MII"
292d7869b21SAdam Ford	help
293d7869b21SAdam Ford	  Enable support of the Media-Independent Interface (MII)
294d7869b21SAdam Ford
29586e9dc86SBin Mengconfig RTL8139
29686e9dc86SBin Meng	bool "Realtek 8139 series Ethernet controller driver"
29786e9dc86SBin Meng	help
29886e9dc86SBin Meng	  This driver supports Realtek 8139 series fast ethernet family of
29986e9dc86SBin Meng	  PCI chipsets/adapters.
30086e9dc86SBin Meng
3010764f24aSBin Mengconfig RTL8169
3020764f24aSBin Meng	bool "Realtek 8169 series Ethernet controller driver"
3030764f24aSBin Meng	help
3040764f24aSBin Meng	  This driver supports Realtek 8169 series gigabit ethernet family of
3050764f24aSBin Meng	  PCI/PCIe chipsets/adapters.
3060764f24aSBin Meng
3078daec2d9SAdam Fordconfig SMC911X
3088daec2d9SAdam Ford	bool "SMSC LAN911x and LAN921x controller driver"
3098daec2d9SAdam Ford
3108daec2d9SAdam Fordif SMC911X
3118daec2d9SAdam Ford
3128daec2d9SAdam Fordconfig SMC911X_BASE
3138daec2d9SAdam Ford	hex "SMC911X Base Address"
3148daec2d9SAdam Ford	help
3158daec2d9SAdam Ford	  Define this to hold the physical address
3168daec2d9SAdam Ford	  of the device (I/O space)
3178daec2d9SAdam Ford
3188daec2d9SAdam Fordchoice
3198daec2d9SAdam Ford	prompt "SMC911X bus width"
3208daec2d9SAdam Ford	default SMC911X_16_BIT
3218daec2d9SAdam Ford
3228daec2d9SAdam Fordconfig SMC911X_32_BIT
3238daec2d9SAdam Ford	bool "Enable 32-bit interface"
3248daec2d9SAdam Ford
3258daec2d9SAdam Fordconfig SMC911X_16_BIT
3268daec2d9SAdam Ford	bool "Enable 16-bit interface"
3278daec2d9SAdam Ford	help
3288daec2d9SAdam Ford	  Define this if data bus is 16 bits. If your processor
3298daec2d9SAdam Ford	  automatically converts one 32 bit word to two 16 bit
3308daec2d9SAdam Ford	  words you may also try CONFIG_SMC911X_32_BIT.
3318daec2d9SAdam Ford
3328daec2d9SAdam Fordendchoice
3338daec2d9SAdam Fordendif #SMC911X
3348daec2d9SAdam Ford
3354d43d065SMylène Josserandconfig SUN7I_GMAC
3364d43d065SMylène Josserand	bool "Enable Allwinner GMAC Ethernet support"
3374d43d065SMylène Josserand	help
3384d43d065SMylène Josserand	  Enable the support for Sun7i GMAC Ethernet controller
3394d43d065SMylène Josserand
340aba39249SStefan Mavrodievconfig SUN7I_GMAC_FORCE_TXERR
341aba39249SStefan Mavrodiev	bool "Force PA17 as gmac function"
342aba39249SStefan Mavrodiev	depends on SUN7I_GMAC
343aba39249SStefan Mavrodiev	help
344aba39249SStefan Mavrodiev	  Some ethernet phys needs TXERR control. Since the GMAC
345aba39249SStefan Mavrodiev	  doesn't have such signal, setting PA17 as GMAC function
346aba39249SStefan Mavrodiev	  makes the pin output low, which enables data transmission.
347aba39249SStefan Mavrodiev
348abc3e4dfSMylène Josserandconfig SUN4I_EMAC
349abc3e4dfSMylène Josserand	bool "Allwinner Sun4i Ethernet MAC support"
350abc3e4dfSMylène Josserand	depends on DM_ETH
3516270a3f0SArtturi Alm	select PHYLIB
352abc3e4dfSMylène Josserand	help
353abc3e4dfSMylène Josserand	  This driver supports the Allwinner based SUN4I Ethernet MAC.
354abc3e4dfSMylène Josserand
355a29710c5SAmit Singh Tomarconfig SUN8I_EMAC
356a29710c5SAmit Singh Tomar        bool "Allwinner Sun8i Ethernet MAC support"
357a29710c5SAmit Singh Tomar        depends on DM_ETH
358a29710c5SAmit Singh Tomar        select PHYLIB
359449ea2cdSPhilipp Tomsich	select PHY_GIGE
360a29710c5SAmit Singh Tomar        help
361a29710c5SAmit Singh Tomar          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
362a29710c5SAmit Singh Tomar	  It can be found in H3/A64/A83T based SoCs and compatible with both
3637131d2d0STom Rini	  External and Internal PHYs.
364a29710c5SAmit Singh Tomar
365dcd18eafSNobuhiro Iwamatsuconfig SH_ETHER
366dcd18eafSNobuhiro Iwamatsu	bool "Renesas SH Ethernet MAC"
367dcd18eafSNobuhiro Iwamatsu	select PHYLIB
368dcd18eafSNobuhiro Iwamatsu	help
369dcd18eafSNobuhiro Iwamatsu	  This driver supports the Ethernet for Renesas SH and ARM SoCs.
370dcd18eafSNobuhiro Iwamatsu
371ffad5fa0SGrygorii Strashkosource "drivers/net/ti/Kconfig"
372d7869b21SAdam Ford
373338a5f2bSMichal Simekconfig XILINX_AXIEMAC
374338a5f2bSMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
375338a5f2bSMichal Simek	select PHYLIB
376338a5f2bSMichal Simek	select MII
377338a5f2bSMichal Simek	bool "Xilinx AXI Ethernet"
378338a5f2bSMichal Simek	help
379338a5f2bSMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
380338a5f2bSMichal Simek
3813229c869SMichal Simekconfig XILINX_EMACLITE
3822f1f05f4SZubair Lutfullah Kakakhel	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
3833229c869SMichal Simek	select PHYLIB
3843229c869SMichal Simek	select MII
3853229c869SMichal Simek	bool "Xilinx Ethernetlite"
3863229c869SMichal Simek	help
3873229c869SMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
3883229c869SMichal Simek
389596e5782SMichal Simekconfig ZYNQ_GEM
390ec48b6c9SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL)
3917bccc75aSMichal Simek	select PHYLIB
392596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
393596e5782SMichal Simek	help
394c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
395596e5782SMichal Simek
39623e7578cSPurna Chandra Mandalconfig PIC32_ETH
39723e7578cSPurna Chandra Mandal	bool "Microchip PIC32 Ethernet Support"
39823e7578cSPurna Chandra Mandal	depends on DM_ETH && MACH_PIC32
39923e7578cSPurna Chandra Mandal	select PHYLIB
40023e7578cSPurna Chandra Mandal	help
40123e7578cSPurna Chandra Mandal	  This driver implements 10/100 Mbps Ethernet and MAC layer for
40223e7578cSPurna Chandra Mandal	  Microchip PIC32 microcontrollers.
40323e7578cSPurna Chandra Mandal
4040125bcf0SSjoerd Simonsconfig GMAC_ROCKCHIP
4050125bcf0SSjoerd Simons	bool "Rockchip Synopsys Designware Ethernet MAC"
4060125bcf0SSjoerd Simons	depends on DM_ETH && ETH_DESIGNWARE
4070125bcf0SSjoerd Simons	help
4080125bcf0SSjoerd Simons	  This driver provides Rockchip SoCs network support based on the
4090125bcf0SSjoerd Simons	  Synopsys Designware driver.
4100125bcf0SSjoerd Simons
4118ae51b6fSMarek Vasutconfig RENESAS_RAVB
4128ae51b6fSMarek Vasut	bool "Renesas Ethernet AVB MAC"
4138ae51b6fSMarek Vasut	depends on DM_ETH && RCAR_GEN3
4148ae51b6fSMarek Vasut	select PHYLIB
4158ae51b6fSMarek Vasut	help
4168ae51b6fSMarek Vasut	  This driver implements support for the Ethernet AVB block in
4178ae51b6fSMarek Vasut	  Renesas M3 and H3 SoCs.
4188ae51b6fSMarek Vasut
419fad51ac3SChristophe Leroyconfig MPC8XX_FEC
420fad51ac3SChristophe Leroy	bool "Fast Ethernet Controller on MPC8XX"
421ee1e600cSChristophe Leroy	depends on MPC8xx
422fad51ac3SChristophe Leroy	select MII
423fad51ac3SChristophe Leroy	help
424fad51ac3SChristophe Leroy	  This driver implements support for the Fast Ethernet Controller
425fad51ac3SChristophe Leroy	  on MPC8XX
426fad51ac3SChristophe Leroy
427a8927795SKunihiko Hayashiconfig SNI_AVE
428a8927795SKunihiko Hayashi	bool "Socionext AVE Ethernet support"
429a8927795SKunihiko Hayashi	depends on DM_ETH && ARCH_UNIPHIER
430a8927795SKunihiko Hayashi	select PHYLIB
431a8927795SKunihiko Hayashi	select SYSCON
432a8927795SKunihiko Hayashi	select REGMAP
433a8927795SKunihiko Hayashi	help
434a8927795SKunihiko Hayashi	  This driver implements support for the Socionext AVE Ethernet
435a8927795SKunihiko Hayashi	  controller, as found on the Socionext UniPhier family.
436a8927795SKunihiko Hayashi
4374c66157fSHoratiu Vultursource "drivers/net/mscc_eswitch/Kconfig"
438c8546163SGregory CLEMENT
439fad51ac3SChristophe Leroyconfig ETHER_ON_FEC1
440fad51ac3SChristophe Leroy	bool "FEC1"
441fad51ac3SChristophe Leroy	depends on MPC8XX_FEC
442fad51ac3SChristophe Leroy	default y
443fad51ac3SChristophe Leroy
444fad51ac3SChristophe Leroyconfig FEC1_PHY
445fad51ac3SChristophe Leroy	int "FEC1 PHY"
446fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
447fad51ac3SChristophe Leroy	default -1
448fad51ac3SChristophe Leroy	help
449fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
450fad51ac3SChristophe Leroy	  to the given FEC; i. e.
451fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
452fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
453fad51ac3SChristophe Leroy
454fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
455fad51ac3SChristophe Leroy
456fad51ac3SChristophe Leroyconfig PHY_NORXERR
457fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
458fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
459fad51ac3SChristophe Leroy	default n
460fad51ac3SChristophe Leroy	help
461fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
462fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
463fad51ac3SChristophe Leroy
464fad51ac3SChristophe Leroyconfig ETHER_ON_FEC2
465fad51ac3SChristophe Leroy	bool "FEC2"
466fad51ac3SChristophe Leroy	depends on MPC8XX_FEC && MPC885
467fad51ac3SChristophe Leroy	default y
468fad51ac3SChristophe Leroy
469fad51ac3SChristophe Leroyconfig FEC2_PHY
470fad51ac3SChristophe Leroy	int "FEC2 PHY"
471fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
472fad51ac3SChristophe Leroy	default -1
473fad51ac3SChristophe Leroy	help
474fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
475fad51ac3SChristophe Leroy	  to the given FEC; i. e.
476fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
477fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
478fad51ac3SChristophe Leroy
479fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
480fad51ac3SChristophe Leroy
481fad51ac3SChristophe Leroyconfig FEC2_PHY_NORXERR
482fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
483fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
484fad51ac3SChristophe Leroy	default n
485fad51ac3SChristophe Leroy	help
486fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
487fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
488fad51ac3SChristophe Leroy
489541d5766SAhmed Mansourconfig SYS_DPAA_QBMAN
490541d5766SAhmed Mansour	bool "Device tree fixup for QBMan on freescale SOCs"
491541d5766SAhmed Mansour	depends on (ARM || PPC) && !SPL_BUILD
492541d5766SAhmed Mansour	default y if ARCH_B4860 || \
493541d5766SAhmed Mansour		     ARCH_B4420 || \
494541d5766SAhmed Mansour		     ARCH_P1023 || \
495541d5766SAhmed Mansour		     ARCH_P2041 || \
496541d5766SAhmed Mansour		     ARCH_T1023 || \
497541d5766SAhmed Mansour		     ARCH_T1024 || \
498541d5766SAhmed Mansour		     ARCH_T1040 || \
499541d5766SAhmed Mansour		     ARCH_T1042 || \
500541d5766SAhmed Mansour		     ARCH_T2080 || \
501541d5766SAhmed Mansour		     ARCH_T2081 || \
502541d5766SAhmed Mansour		     ARCH_T4240 || \
503541d5766SAhmed Mansour		     ARCH_T4160 || \
504541d5766SAhmed Mansour		     ARCH_P4080 || \
505541d5766SAhmed Mansour		     ARCH_P3041 || \
506541d5766SAhmed Mansour		     ARCH_P5040 || \
507541d5766SAhmed Mansour		     ARCH_P5020 || \
508541d5766SAhmed Mansour		     ARCH_LS1043A || \
509541d5766SAhmed Mansour		     ARCH_LS1046A
510541d5766SAhmed Mansour	help
511541d5766SAhmed Mansour	  QBman fixups to allow deep sleep in DPAA 1 SOCs
512541d5766SAhmed Mansour
51317151052SMario Sixconfig TSEC_ENET
51417151052SMario Six	select PHYLIB
51517151052SMario Six	bool "Enable Three-Speed Ethernet Controller"
51617151052SMario Six	help
51717151052SMario Six	  This driver implements support for the (Enhanced) Three-Speed
51817151052SMario Six	  Ethernet Controller found on Freescale SoCs.
51917151052SMario Six
52023f17164SWeijie Gaoconfig MEDIATEK_ETH
52123f17164SWeijie Gao	bool "MediaTek Ethernet GMAC Driver"
52223f17164SWeijie Gao	depends on DM_ETH
52323f17164SWeijie Gao	select PHYLIB
52423f17164SWeijie Gao	select DM_GPIO
52523f17164SWeijie Gao	select DM_RESET
52623f17164SWeijie Gao	help
52723f17164SWeijie Gao	  This Driver support MediaTek Ethernet GMAC
52823f17164SWeijie Gao	  Say Y to enable support for the MediaTek Ethernet GMAC.
52923f17164SWeijie Gao
5303ea143abSJoe Hershbergerendif # NETDEVICES
531