xref: /openbmc/u-boot/drivers/net/Kconfig (revision 9622972a)
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
85*9622972aSÁlvaro Fernández Rojasconfig BCM6368_ETH
86*9622972aSÁlvaro Fernández Rojas	bool "BCM6368 EMAC support"
87*9622972aSÁlvaro Fernández Rojas	depends on DM_ETH && ARCH_BMIPS
88*9622972aSÁlvaro Fernández Rojas	select DMA
89*9622972aSÁlvaro Fernández Rojas	select MII
90*9622972aSÁlvaro Fernández Rojas	help
91*9622972aSÁlvaro Fernández Rojas	  This driver supports the BCM6368 Ethernet MAC.
92*9622972aSÁ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
165215a0656SMarek Vasut	bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
166215a0656SMarek Vasut	depends on DM_ETH && ETH_DESIGNWARE
167215a0656SMarek Vasut	help
168215a0656SMarek Vasut	  The Altera SoCFPGA requires additional configuration of the
169215a0656SMarek Vasut	  Altera system manager to correctly interface with the PHY.
170215a0656SMarek Vasut	  This code handles those SoC specifics.
171215a0656SMarek Vasut
172f0727120SMax Filippovconfig ETHOC
173f0727120SMax Filippov	bool "OpenCores 10/100 Mbps Ethernet MAC"
174f0727120SMax Filippov	help
175f0727120SMax Filippov	  This MAC is present in OpenRISC and Xtensa XTFPGA boards.
176f0727120SMax Filippov
177fbada485SPeng Fanconfig FEC_MXC_SHARE_MDIO
178fbada485SPeng Fan	bool "Share the MDIO bus for FEC controller"
179fbada485SPeng Fan	depends on FEC_MXC
180fbada485SPeng Fan
181fbada485SPeng Fanconfig FEC_MXC_MDIO_BASE
182fbada485SPeng Fan	hex "MDIO base address for the FEC controller"
183fbada485SPeng Fan	depends on FEC_MXC_SHARE_MDIO
184fbada485SPeng Fan	help
185fbada485SPeng Fan	  This specifies the MDIO registers base address. It is used when
186fbada485SPeng Fan	  two FEC controllers share MDIO bus.
187fbada485SPeng Fan
18897d29ca3SJagan Tekiconfig FEC_MXC
18997d29ca3SJagan Teki	bool "FEC Ethernet controller"
19058ec4d33SAnatolij Gustschin	depends on MX5 || MX6 || MX7 || IMX8
19197d29ca3SJagan Teki	help
19297d29ca3SJagan Teki	  This driver supports the 10/100 Fast Ethernet controller for
19397d29ca3SJagan Teki	  NXP i.MX processors.
19497d29ca3SJagan Teki
1958dc1b17fSTom Riniconfig FTMAC100
1968dc1b17fSTom Rini	bool "Ftmac100 Ethernet Support"
1978dc1b17fSTom Rini	help
1988dc1b17fSTom Rini	  This MAC is present in Andestech SoCs.
1998dc1b17fSTom Rini
200f95de0bdSCédric Le Goaterconfig FTGMAC100
201f95de0bdSCédric Le Goater	bool "Ftgmac100 Ethernet Support"
202f95de0bdSCédric Le Goater	depends on DM_ETH
203f95de0bdSCédric Le Goater	select PHYLIB
204f95de0bdSCédric Le Goater	help
205f95de0bdSCédric Le Goater	  This driver supports the Faraday's FTGMAC100 Gigabit SoC
206f95de0bdSCédric Le Goater	  Ethernet controller that can be found on Aspeed SoCs (which
207f95de0bdSCédric Le Goater	  include NCSI).
208f95de0bdSCédric Le Goater
209f95de0bdSCédric Le Goater	  It is fully compliant with IEEE 802.3 specification for
210f95de0bdSCédric Le Goater	  10/100 Mbps Ethernet and IEEE 802.3z specification for 1000
211f95de0bdSCédric Le Goater	  Mbps Ethernet and includes Reduced Media Independent
212f95de0bdSCédric Le Goater	  Interface (RMII) and Reduced Gigabit Media Independent
213f95de0bdSCédric Le Goater	  Interface (RGMII) interfaces. It adopts an AHB bus interface
214f95de0bdSCédric Le Goater	  and integrates a link list DMA engine with direct M-Bus
215f95de0bdSCédric Le Goater	  accesses for transmitting and receiving packets. It has
216f95de0bdSCédric Le Goater	  independent TX/RX fifos, supports half and full duplex (1000
217f95de0bdSCédric Le Goater	  Mbps mode only supports full duplex), flow control for full
218f95de0bdSCédric Le Goater	  duplex and backpressure for half duplex.
219f95de0bdSCédric Le Goater
220f95de0bdSCédric Le Goater	  The FTGMAC100 also implements IP, TCP, UDP checksum offloads
221f95de0bdSCédric Le Goater	  and supports IEEE 802.1Q VLAN tag insertion and removal. It
222f95de0bdSCédric Le Goater	  offers high-priority transmit queue for QoS and CoS
223f95de0bdSCédric Le Goater	  applications.
224f95de0bdSCédric Le Goater
225f95de0bdSCédric Le Goater
226ed52ea50SChris Packhamconfig MVGBE
227ed52ea50SChris Packham	bool "Marvell Orion5x/Kirkwood network interface support"
228ed52ea50SChris Packham	depends on KIRKWOOD || ORION5X
229fb731076SChris Packham	select PHYLIB if DM_ETH
230ed52ea50SChris Packham	help
231ed52ea50SChris Packham	  This driver supports the network interface units in the
232ed52ea50SChris Packham	  Marvell Orion5x and Kirkwood SoCs
233ed52ea50SChris Packham
2347654f62fSChris Packhamconfig MVNETA
235e7ab2ccdSMiquel Raynal	bool "Marvell Armada XP/385/3700 network interface support"
236e7ab2ccdSMiquel Raynal	depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
2377654f62fSChris Packham	select PHYLIB
2387654f62fSChris Packham	help
2397654f62fSChris Packham	  This driver supports the network interface units in the
240e7ab2ccdSMiquel Raynal	  Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
2417654f62fSChris Packham
24299d4c6d3SStefan Roeseconfig MVPP2
243e7935c47SStefan Roese	bool "Marvell Armada 375/7K/8K network interface support"
244e7935c47SStefan Roese	depends on ARMADA_375 || ARMADA_8K
24599d4c6d3SStefan Roese	select PHYLIB
24699d4c6d3SStefan Roese	help
24799d4c6d3SStefan Roese	  This driver supports the network interface units in the
248e7935c47SStefan Roese	  Marvell ARMADA 375, 7K and 8K SoCs.
24999d4c6d3SStefan Roese
250ebcb40a5SWenyou Yangconfig MACB
251ebcb40a5SWenyou Yang	bool "Cadence MACB/GEM Ethernet Interface"
252ebcb40a5SWenyou Yang	depends on DM_ETH
253ebcb40a5SWenyou Yang	select PHYLIB
254ebcb40a5SWenyou Yang	help
255ebcb40a5SWenyou Yang	  The Cadence MACB ethernet interface is found on many Atmel
256ebcb40a5SWenyou Yang	  AT91 and SAMA5 parts.  This driver also supports the Cadence
257ebcb40a5SWenyou Yang	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
258ebcb40a5SWenyou Yang	  Say Y to include support for the MACB/GEM chip.
259ebcb40a5SWenyou Yang
2604bf56913SWilson Leeconfig MACB_ZYNQ
2614bf56913SWilson Lee	bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
2624bf56913SWilson Lee	depends on MACB
2634bf56913SWilson Lee	help
2644bf56913SWilson Lee	  The Cadence MACB ethernet interface was used on Zynq platform.
2654bf56913SWilson Lee	  Say Y to enable support for the MACB/GEM in Zynq chip.
2664bf56913SWilson Lee
267c895ef46SStefan Roeseconfig MT7628_ETH
268c895ef46SStefan Roese	bool "MediaTek MT7628 Ethernet Interface"
269c895ef46SStefan Roese	depends on ARCH_MT7620
270c895ef46SStefan Roese	help
271c895ef46SStefan Roese	  The MediaTek MT7628 ethernet interface is used on MT7628 and
272c895ef46SStefan Roese	  MT7688 based boards.
273c895ef46SStefan Roese
274b68fe152SBin Mengconfig PCH_GBE
275b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
276b68fe152SBin Meng	depends on DM_ETH && DM_PCI
277b68fe152SBin Meng	select PHYLIB
278b68fe152SBin Meng	help
279b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
280b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
281b68fe152SBin Meng
282751b0be0SMylène Josserandconfig RGMII
283751b0be0SMylène Josserand	bool "Enable RGMII"
284751b0be0SMylène Josserand	help
285751b0be0SMylène Josserand	  Enable the support of the Reduced Gigabit Media-Independent
286751b0be0SMylène Josserand	  Interface (RGMII).
287751b0be0SMylène Josserand
288d7869b21SAdam Fordconfig MII
289d7869b21SAdam Ford	bool "Enable MII"
290d7869b21SAdam Ford	help
291d7869b21SAdam Ford	  Enable support of the Media-Independent Interface (MII)
292d7869b21SAdam Ford
29386e9dc86SBin Mengconfig RTL8139
29486e9dc86SBin Meng	bool "Realtek 8139 series Ethernet controller driver"
29586e9dc86SBin Meng	help
29686e9dc86SBin Meng	  This driver supports Realtek 8139 series fast ethernet family of
29786e9dc86SBin Meng	  PCI chipsets/adapters.
29886e9dc86SBin Meng
2990764f24aSBin Mengconfig RTL8169
3000764f24aSBin Meng	bool "Realtek 8169 series Ethernet controller driver"
3010764f24aSBin Meng	help
3020764f24aSBin Meng	  This driver supports Realtek 8169 series gigabit ethernet family of
3030764f24aSBin Meng	  PCI/PCIe chipsets/adapters.
3040764f24aSBin Meng
3058daec2d9SAdam Fordconfig SMC911X
3068daec2d9SAdam Ford	bool "SMSC LAN911x and LAN921x controller driver"
3078daec2d9SAdam Ford
3088daec2d9SAdam Fordif SMC911X
3098daec2d9SAdam Ford
3108daec2d9SAdam Fordconfig SMC911X_BASE
3118daec2d9SAdam Ford	hex "SMC911X Base Address"
3128daec2d9SAdam Ford	help
3138daec2d9SAdam Ford	  Define this to hold the physical address
3148daec2d9SAdam Ford	  of the device (I/O space)
3158daec2d9SAdam Ford
3168daec2d9SAdam Fordchoice
3178daec2d9SAdam Ford	prompt "SMC911X bus width"
3188daec2d9SAdam Ford	default SMC911X_16_BIT
3198daec2d9SAdam Ford
3208daec2d9SAdam Fordconfig SMC911X_32_BIT
3218daec2d9SAdam Ford	bool "Enable 32-bit interface"
3228daec2d9SAdam Ford
3238daec2d9SAdam Fordconfig SMC911X_16_BIT
3248daec2d9SAdam Ford	bool "Enable 16-bit interface"
3258daec2d9SAdam Ford	help
3268daec2d9SAdam Ford	  Define this if data bus is 16 bits. If your processor
3278daec2d9SAdam Ford	  automatically converts one 32 bit word to two 16 bit
3288daec2d9SAdam Ford	  words you may also try CONFIG_SMC911X_32_BIT.
3298daec2d9SAdam Ford
3308daec2d9SAdam Fordendchoice
3318daec2d9SAdam Fordendif #SMC911X
3328daec2d9SAdam Ford
3334d43d065SMylène Josserandconfig SUN7I_GMAC
3344d43d065SMylène Josserand	bool "Enable Allwinner GMAC Ethernet support"
3354d43d065SMylène Josserand	help
3364d43d065SMylène Josserand	  Enable the support for Sun7i GMAC Ethernet controller
3374d43d065SMylène Josserand
338aba39249SStefan Mavrodievconfig SUN7I_GMAC_FORCE_TXERR
339aba39249SStefan Mavrodiev	bool "Force PA17 as gmac function"
340aba39249SStefan Mavrodiev	depends on SUN7I_GMAC
341aba39249SStefan Mavrodiev	help
342aba39249SStefan Mavrodiev	  Some ethernet phys needs TXERR control. Since the GMAC
343aba39249SStefan Mavrodiev	  doesn't have such signal, setting PA17 as GMAC function
344aba39249SStefan Mavrodiev	  makes the pin output low, which enables data transmission.
345aba39249SStefan Mavrodiev
346abc3e4dfSMylène Josserandconfig SUN4I_EMAC
347abc3e4dfSMylène Josserand	bool "Allwinner Sun4i Ethernet MAC support"
348abc3e4dfSMylène Josserand	depends on DM_ETH
3496270a3f0SArtturi Alm	select PHYLIB
350abc3e4dfSMylène Josserand	help
351abc3e4dfSMylène Josserand	  This driver supports the Allwinner based SUN4I Ethernet MAC.
352abc3e4dfSMylène Josserand
353a29710c5SAmit Singh Tomarconfig SUN8I_EMAC
354a29710c5SAmit Singh Tomar        bool "Allwinner Sun8i Ethernet MAC support"
355a29710c5SAmit Singh Tomar        depends on DM_ETH
356a29710c5SAmit Singh Tomar        select PHYLIB
357449ea2cdSPhilipp Tomsich	select PHY_GIGE
358a29710c5SAmit Singh Tomar        help
359a29710c5SAmit Singh Tomar          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
360a29710c5SAmit Singh Tomar	  It can be found in H3/A64/A83T based SoCs and compatible with both
3617131d2d0STom Rini	  External and Internal PHYs.
362a29710c5SAmit Singh Tomar
363dcd18eafSNobuhiro Iwamatsuconfig SH_ETHER
364dcd18eafSNobuhiro Iwamatsu	bool "Renesas SH Ethernet MAC"
365dcd18eafSNobuhiro Iwamatsu	select PHYLIB
366dcd18eafSNobuhiro Iwamatsu	help
367dcd18eafSNobuhiro Iwamatsu	  This driver supports the Ethernet for Renesas SH and ARM SoCs.
368dcd18eafSNobuhiro Iwamatsu
369ffad5fa0SGrygorii Strashkosource "drivers/net/ti/Kconfig"
370d7869b21SAdam Ford
371338a5f2bSMichal Simekconfig XILINX_AXIEMAC
372338a5f2bSMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
373338a5f2bSMichal Simek	select PHYLIB
374338a5f2bSMichal Simek	select MII
375338a5f2bSMichal Simek	bool "Xilinx AXI Ethernet"
376338a5f2bSMichal Simek	help
377338a5f2bSMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
378338a5f2bSMichal Simek
3793229c869SMichal Simekconfig XILINX_EMACLITE
3802f1f05f4SZubair Lutfullah Kakakhel	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
3813229c869SMichal Simek	select PHYLIB
3823229c869SMichal Simek	select MII
3833229c869SMichal Simek	bool "Xilinx Ethernetlite"
3843229c869SMichal Simek	help
3853229c869SMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
3863229c869SMichal Simek
387596e5782SMichal Simekconfig ZYNQ_GEM
388ec48b6c9SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL)
3897bccc75aSMichal Simek	select PHYLIB
390596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
391596e5782SMichal Simek	help
392c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
393596e5782SMichal Simek
39423e7578cSPurna Chandra Mandalconfig PIC32_ETH
39523e7578cSPurna Chandra Mandal	bool "Microchip PIC32 Ethernet Support"
39623e7578cSPurna Chandra Mandal	depends on DM_ETH && MACH_PIC32
39723e7578cSPurna Chandra Mandal	select PHYLIB
39823e7578cSPurna Chandra Mandal	help
39923e7578cSPurna Chandra Mandal	  This driver implements 10/100 Mbps Ethernet and MAC layer for
40023e7578cSPurna Chandra Mandal	  Microchip PIC32 microcontrollers.
40123e7578cSPurna Chandra Mandal
4020125bcf0SSjoerd Simonsconfig GMAC_ROCKCHIP
4030125bcf0SSjoerd Simons	bool "Rockchip Synopsys Designware Ethernet MAC"
4040125bcf0SSjoerd Simons	depends on DM_ETH && ETH_DESIGNWARE
4050125bcf0SSjoerd Simons	help
4060125bcf0SSjoerd Simons	  This driver provides Rockchip SoCs network support based on the
4070125bcf0SSjoerd Simons	  Synopsys Designware driver.
4080125bcf0SSjoerd Simons
4098ae51b6fSMarek Vasutconfig RENESAS_RAVB
4108ae51b6fSMarek Vasut	bool "Renesas Ethernet AVB MAC"
4118ae51b6fSMarek Vasut	depends on DM_ETH && RCAR_GEN3
4128ae51b6fSMarek Vasut	select PHYLIB
4138ae51b6fSMarek Vasut	help
4148ae51b6fSMarek Vasut	  This driver implements support for the Ethernet AVB block in
4158ae51b6fSMarek Vasut	  Renesas M3 and H3 SoCs.
4168ae51b6fSMarek Vasut
417fad51ac3SChristophe Leroyconfig MPC8XX_FEC
418fad51ac3SChristophe Leroy	bool "Fast Ethernet Controller on MPC8XX"
419ee1e600cSChristophe Leroy	depends on MPC8xx
420fad51ac3SChristophe Leroy	select MII
421fad51ac3SChristophe Leroy	help
422fad51ac3SChristophe Leroy	  This driver implements support for the Fast Ethernet Controller
423fad51ac3SChristophe Leroy	  on MPC8XX
424fad51ac3SChristophe Leroy
425a8927795SKunihiko Hayashiconfig SNI_AVE
426a8927795SKunihiko Hayashi	bool "Socionext AVE Ethernet support"
427a8927795SKunihiko Hayashi	depends on DM_ETH && ARCH_UNIPHIER
428a8927795SKunihiko Hayashi	select PHYLIB
429a8927795SKunihiko Hayashi	select SYSCON
430a8927795SKunihiko Hayashi	select REGMAP
431a8927795SKunihiko Hayashi	help
432a8927795SKunihiko Hayashi	  This driver implements support for the Socionext AVE Ethernet
433a8927795SKunihiko Hayashi	  controller, as found on the Socionext UniPhier family.
434a8927795SKunihiko Hayashi
435fad51ac3SChristophe Leroyconfig ETHER_ON_FEC1
436fad51ac3SChristophe Leroy	bool "FEC1"
437fad51ac3SChristophe Leroy	depends on MPC8XX_FEC
438fad51ac3SChristophe Leroy	default y
439fad51ac3SChristophe Leroy
440fad51ac3SChristophe Leroyconfig FEC1_PHY
441fad51ac3SChristophe Leroy	int "FEC1 PHY"
442fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
443fad51ac3SChristophe Leroy	default -1
444fad51ac3SChristophe Leroy	help
445fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
446fad51ac3SChristophe Leroy	  to the given FEC; i. e.
447fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
448fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
449fad51ac3SChristophe Leroy
450fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
451fad51ac3SChristophe Leroy
452fad51ac3SChristophe Leroyconfig PHY_NORXERR
453fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
454fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
455fad51ac3SChristophe Leroy	default n
456fad51ac3SChristophe Leroy	help
457fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
458fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
459fad51ac3SChristophe Leroy
460fad51ac3SChristophe Leroyconfig ETHER_ON_FEC2
461fad51ac3SChristophe Leroy	bool "FEC2"
462fad51ac3SChristophe Leroy	depends on MPC8XX_FEC && MPC885
463fad51ac3SChristophe Leroy	default y
464fad51ac3SChristophe Leroy
465fad51ac3SChristophe Leroyconfig FEC2_PHY
466fad51ac3SChristophe Leroy	int "FEC2 PHY"
467fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
468fad51ac3SChristophe Leroy	default -1
469fad51ac3SChristophe Leroy	help
470fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
471fad51ac3SChristophe Leroy	  to the given FEC; i. e.
472fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
473fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
474fad51ac3SChristophe Leroy
475fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
476fad51ac3SChristophe Leroy
477fad51ac3SChristophe Leroyconfig FEC2_PHY_NORXERR
478fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
479fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
480fad51ac3SChristophe Leroy	default n
481fad51ac3SChristophe Leroy	help
482fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
483fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
484fad51ac3SChristophe Leroy
485541d5766SAhmed Mansourconfig SYS_DPAA_QBMAN
486541d5766SAhmed Mansour	bool "Device tree fixup for QBMan on freescale SOCs"
487541d5766SAhmed Mansour	depends on (ARM || PPC) && !SPL_BUILD
488541d5766SAhmed Mansour	default y if ARCH_B4860 || \
489541d5766SAhmed Mansour		     ARCH_B4420 || \
490541d5766SAhmed Mansour		     ARCH_P1023 || \
491541d5766SAhmed Mansour		     ARCH_P2041 || \
492541d5766SAhmed Mansour		     ARCH_T1023 || \
493541d5766SAhmed Mansour		     ARCH_T1024 || \
494541d5766SAhmed Mansour		     ARCH_T1040 || \
495541d5766SAhmed Mansour		     ARCH_T1042 || \
496541d5766SAhmed Mansour		     ARCH_T2080 || \
497541d5766SAhmed Mansour		     ARCH_T2081 || \
498541d5766SAhmed Mansour		     ARCH_T4240 || \
499541d5766SAhmed Mansour		     ARCH_T4160 || \
500541d5766SAhmed Mansour		     ARCH_P4080 || \
501541d5766SAhmed Mansour		     ARCH_P3041 || \
502541d5766SAhmed Mansour		     ARCH_P5040 || \
503541d5766SAhmed Mansour		     ARCH_P5020 || \
504541d5766SAhmed Mansour		     ARCH_LS1043A || \
505541d5766SAhmed Mansour		     ARCH_LS1046A
506541d5766SAhmed Mansour	help
507541d5766SAhmed Mansour	  QBman fixups to allow deep sleep in DPAA 1 SOCs
508541d5766SAhmed Mansour
50917151052SMario Sixconfig TSEC_ENET
51017151052SMario Six	select PHYLIB
51117151052SMario Six	bool "Enable Three-Speed Ethernet Controller"
51217151052SMario Six	help
51317151052SMario Six	  This driver implements support for the (Enhanced) Three-Speed
51417151052SMario Six	  Ethernet Controller found on Freescale SoCs.
51517151052SMario Six
5163ea143abSJoe Hershbergerendif # NETDEVICES
517