xref: /openbmc/u-boot/drivers/net/Kconfig (revision c89782dcac6277714157cd30e38afb74e1ed5dee)
1af2cbfd6SAlexsource "drivers/net/phy/Kconfig"
2af2cbfd6SAlex
305c3e68fSJoe Hershbergerconfig DM_ETH
405c3e68fSJoe Hershberger	bool "Enable Driver Model for Ethernet drivers"
505c3e68fSJoe Hershberger	depends on DM
605c3e68fSJoe Hershberger	help
705c3e68fSJoe Hershberger	  Enable driver model for Ethernet.
805c3e68fSJoe Hershberger
905c3e68fSJoe Hershberger	  The eth_*() interface will be implemented by the UC_ETH class
1005c3e68fSJoe Hershberger	  This is currently implemented in net/eth.c
1105c3e68fSJoe Hershberger	  Look in include/net.h for details.
123ea143abSJoe Hershberger
133ea143abSJoe Hershbergermenuconfig NETDEVICES
143ea143abSJoe Hershberger	bool "Network device support"
153ea143abSJoe Hershberger	depends on NET
16ef0f2f57SJoe Hershberger	default y if DM_ETH
173ea143abSJoe Hershberger	help
183ea143abSJoe Hershberger	  You must select Y to enable any network device support
193ea143abSJoe Hershberger	  Generally if you have any networking support this is a given
203ea143abSJoe Hershberger
213ea143abSJoe Hershberger	  If unsure, say Y
223ea143abSJoe Hershberger
233ea143abSJoe Hershbergerif NETDEVICES
243ea143abSJoe Hershberger
25449ea2cdSPhilipp Tomsichconfig PHY_GIGE
26449ea2cdSPhilipp Tomsich	bool "Enable GbE PHY status parsing and configuration"
27449ea2cdSPhilipp Tomsich	help
28449ea2cdSPhilipp Tomsich	  Enables support for parsing the status output and for
29449ea2cdSPhilipp Tomsich	  configuring GbE PHYs (affects the inner workings of some
30449ea2cdSPhilipp Tomsich	  commands and miiphyutil.c).
31449ea2cdSPhilipp Tomsich
32e40095f6SMarek Vasutconfig AG7XXX
33e40095f6SMarek Vasut	bool "Atheros AG7xxx Ethernet MAC support"
34e40095f6SMarek Vasut	depends on DM_ETH && ARCH_ATH79
35e40095f6SMarek Vasut	select PHYLIB
36e40095f6SMarek Vasut	help
37e40095f6SMarek Vasut	  This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
38e40095f6SMarek Vasut	  present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
39e40095f6SMarek Vasut
40e40095f6SMarek Vasut
4196fa1e43SThomas Chouconfig ALTERA_TSE
4296fa1e43SThomas Chou	bool "Altera Triple-Speed Ethernet MAC support"
4396fa1e43SThomas Chou	depends on DM_ETH
4496fa1e43SThomas Chou	select PHYLIB
4596fa1e43SThomas Chou	help
4696fa1e43SThomas Chou	  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
4796fa1e43SThomas Chou	  Please find details on the "Triple-Speed Ethernet MegaCore Function
4896fa1e43SThomas Chou	  Resource Center" of Altera.
4996fa1e43SThomas Chou
50*c89782dcSSuji Velupillaiconfig BCM_SF2_ETH
51*c89782dcSSuji Velupillai	bool "Broadcom SF2 (Starfighter2) Ethernet support"
52*c89782dcSSuji Velupillai	select PHYLIB
53*c89782dcSSuji Velupillai	help
54*c89782dcSSuji Velupillai	  This is an abstract framework which provides a generic interface
55*c89782dcSSuji Velupillai	  to MAC and DMA management for multiple Broadcom SoCs such as
56*c89782dcSSuji Velupillai	  Cygnus, NSP and bcm28155_ap platforms.
57*c89782dcSSuji Velupillai
58*c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_DEFAULT_PORT
59*c89782dcSSuji Velupillai	int "Broadcom SF2 (Starfighter2) Ethernet default port number"
60*c89782dcSSuji Velupillai	depends on BCM_SF2_ETH
61*c89782dcSSuji Velupillai	default 0
62*c89782dcSSuji Velupillai	help
63*c89782dcSSuji Velupillai	  Default port number for the Starfighter2 ethernet driver.
64*c89782dcSSuji Velupillai
65*c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_GMAC
66*c89782dcSSuji Velupillai	bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support"
67*c89782dcSSuji Velupillai	depends on BCM_SF2_ETH
68*c89782dcSSuji Velupillai	help
69*c89782dcSSuji Velupillai	  This flag enables the ethernet support for Broadcom platforms with
70*c89782dcSSuji Velupillai	  GMAC such as Cygnus. This driver is based on the framework provided
71*c89782dcSSuji Velupillai	  by the BCM_SF2_ETH driver.
72*c89782dcSSuji Velupillai	  Say Y to any bcmcygnus based platforms.
73*c89782dcSSuji Velupillai
74ba4dfef1SStephen Warrenconfig DWC_ETH_QOS
75ba4dfef1SStephen Warren	bool "Synopsys DWC Ethernet QOS device support"
76ba4dfef1SStephen Warren	depends on DM_ETH
77ba4dfef1SStephen Warren	select PHYLIB
78ba4dfef1SStephen Warren	help
79ba4dfef1SStephen Warren	  This driver supports the Synopsys Designware Ethernet QOS (Quality
80ba4dfef1SStephen Warren	  Of Service) IP block. The IP supports many options for bus type,
81ba4dfef1SStephen Warren	  clocking/reset structure, and feature list. This driver currently
82ba4dfef1SStephen Warren	  supports the specific configuration used in NVIDIA's Tegra186 chip,
83ba4dfef1SStephen Warren	  but should be extensible to other combinations quite easily.
84ba4dfef1SStephen Warren
85c294ac5cSSimon Glassconfig E1000
86c294ac5cSSimon Glass	bool "Intel PRO/1000 Gigabit Ethernet support"
87c294ac5cSSimon Glass	help
88c294ac5cSSimon Glass	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
89c294ac5cSSimon Glass	  adapters.  For more information on how to identify your adapter, go
90c294ac5cSSimon Glass	  to the Adapter & Driver ID Guide at:
91c294ac5cSSimon Glass
92c294ac5cSSimon Glass	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
93c294ac5cSSimon Glass
94c294ac5cSSimon Glassconfig E1000_SPI_GENERIC
95c294ac5cSSimon Glass	bool "Allow access to the Intel 8257x SPI bus"
96c294ac5cSSimon Glass	depends on E1000
97c294ac5cSSimon Glass	help
98c294ac5cSSimon Glass	  Allow generic access to the SPI bus on the Intel 8257x, for
99c294ac5cSSimon Glass	  example with the "sspi" command.
100c294ac5cSSimon Glass
101c294ac5cSSimon Glassconfig E1000_SPI
102c294ac5cSSimon Glass	bool "Enable SPI bus utility code"
103c294ac5cSSimon Glass	depends on E1000
104c294ac5cSSimon Glass	help
105c294ac5cSSimon Glass	  Utility code for direct access to the SPI bus on Intel 8257x.
106c294ac5cSSimon Glass	  This does not do anything useful unless you set at least one
107c294ac5cSSimon Glass	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
108c294ac5cSSimon Glass
109c294ac5cSSimon Glassconfig CMD_E1000
110c294ac5cSSimon Glass	bool "Enable the e1000 command"
111c294ac5cSSimon Glass	depends on E1000
112c294ac5cSSimon Glass	help
113c294ac5cSSimon Glass	  This enables the 'e1000' management command for E1000 devices. When
114c294ac5cSSimon Glass	  used on devices with SPI support you can reprogram the EEPROM from
115c294ac5cSSimon Glass	  U-Boot.
116c294ac5cSSimon Glass
1173ea143abSJoe Hershbergerconfig ETH_SANDBOX
1183ea143abSJoe Hershberger	depends on DM_ETH && SANDBOX
1193ea143abSJoe Hershberger	default y
1203ea143abSJoe Hershberger	bool "Sandbox: Mocked Ethernet driver"
1213ea143abSJoe Hershberger	help
1223ea143abSJoe Hershberger	  This driver simply responds with fake ARP replies and ping
1233ea143abSJoe Hershberger	  replies that are used to verify network stack functionality
1243ea143abSJoe Hershberger
1253ea143abSJoe Hershberger	  This driver is particularly useful in the test/dm/eth.c tests
1263ea143abSJoe Hershberger
127a346ca79SJoe Hershbergerconfig ETH_SANDBOX_RAW
128a346ca79SJoe Hershberger	depends on DM_ETH && SANDBOX
129a346ca79SJoe Hershberger	default y
130a346ca79SJoe Hershberger	bool "Sandbox: Bridge to Linux Raw Sockets"
131a346ca79SJoe Hershberger	help
132a346ca79SJoe Hershberger	  This driver is a bridge from the bottom of the network stack
133a346ca79SJoe Hershberger	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
134a346ca79SJoe Hershberger	  network traffic to be tested from within sandbox. See
135a346ca79SJoe Hershberger	  board/sandbox/README.sandbox for more details.
136a346ca79SJoe Hershberger
137ef48f6ddSSimon Glassconfig ETH_DESIGNWARE
138ef48f6ddSSimon Glass	bool "Synopsys Designware Ethernet MAC"
13925af71c4SThomas Chou	select PHYLIB
140ef48f6ddSSimon Glass	help
141ef48f6ddSSimon Glass	  This MAC is present in SoCs from various vendors. It supports
142ef48f6ddSSimon Glass	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
143ef48f6ddSSimon Glass	  provide the PHY (physical media interface).
144ef48f6ddSSimon Glass
145f0727120SMax Filippovconfig ETHOC
146f0727120SMax Filippov	bool "OpenCores 10/100 Mbps Ethernet MAC"
147f0727120SMax Filippov	help
148f0727120SMax Filippov	  This MAC is present in OpenRISC and Xtensa XTFPGA boards.
149f0727120SMax Filippov
15097d29ca3SJagan Tekiconfig FEC_MXC
15197d29ca3SJagan Teki	bool "FEC Ethernet controller"
15298d62e61SPatrick Bruenn	depends on MX5 || MX6
15397d29ca3SJagan Teki	help
15497d29ca3SJagan Teki	  This driver supports the 10/100 Fast Ethernet controller for
15597d29ca3SJagan Teki	  NXP i.MX processors.
15697d29ca3SJagan Teki
1578dc1b17fSTom Riniconfig FTMAC100
1588dc1b17fSTom Rini	bool "Ftmac100 Ethernet Support"
1598dc1b17fSTom Rini	help
1608dc1b17fSTom Rini	  This MAC is present in Andestech SoCs.
1618dc1b17fSTom Rini
16299d4c6d3SStefan Roeseconfig MVPP2
163e7935c47SStefan Roese	bool "Marvell Armada 375/7K/8K network interface support"
164e7935c47SStefan Roese	depends on ARMADA_375 || ARMADA_8K
16599d4c6d3SStefan Roese	select PHYLIB
16699d4c6d3SStefan Roese	help
16799d4c6d3SStefan Roese	  This driver supports the network interface units in the
168e7935c47SStefan Roese	  Marvell ARMADA 375, 7K and 8K SoCs.
16999d4c6d3SStefan Roese
170ebcb40a5SWenyou Yangconfig MACB
171ebcb40a5SWenyou Yang	bool "Cadence MACB/GEM Ethernet Interface"
172ebcb40a5SWenyou Yang	depends on DM_ETH
173ebcb40a5SWenyou Yang	select PHYLIB
174ebcb40a5SWenyou Yang	help
175ebcb40a5SWenyou Yang	  The Cadence MACB ethernet interface is found on many Atmel
176ebcb40a5SWenyou Yang	  AT91 and SAMA5 parts.  This driver also supports the Cadence
177ebcb40a5SWenyou Yang	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
178ebcb40a5SWenyou Yang	  Say Y to include support for the MACB/GEM chip.
179ebcb40a5SWenyou Yang
180b68fe152SBin Mengconfig PCH_GBE
181b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
182b68fe152SBin Meng	depends on DM_ETH && DM_PCI
183b68fe152SBin Meng	select PHYLIB
184b68fe152SBin Meng	help
185b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
186b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
187b68fe152SBin Meng
188751b0be0SMylène Josserandconfig RGMII
189751b0be0SMylène Josserand	bool "Enable RGMII"
190751b0be0SMylène Josserand	help
191751b0be0SMylène Josserand	  Enable the support of the Reduced Gigabit Media-Independent
192751b0be0SMylène Josserand	  Interface (RGMII).
193751b0be0SMylène Josserand
19486e9dc86SBin Mengconfig RTL8139
19586e9dc86SBin Meng	bool "Realtek 8139 series Ethernet controller driver"
19686e9dc86SBin Meng	help
19786e9dc86SBin Meng	  This driver supports Realtek 8139 series fast ethernet family of
19886e9dc86SBin Meng	  PCI chipsets/adapters.
19986e9dc86SBin Meng
2000764f24aSBin Mengconfig RTL8169
2010764f24aSBin Meng	bool "Realtek 8169 series Ethernet controller driver"
2020764f24aSBin Meng	help
2030764f24aSBin Meng	  This driver supports Realtek 8169 series gigabit ethernet family of
2040764f24aSBin Meng	  PCI/PCIe chipsets/adapters.
2050764f24aSBin Meng
2064d43d065SMylène Josserandconfig SUN7I_GMAC
2074d43d065SMylène Josserand	bool "Enable Allwinner GMAC Ethernet support"
2084d43d065SMylène Josserand	help
2094d43d065SMylène Josserand	  Enable the support for Sun7i GMAC Ethernet controller
2104d43d065SMylène Josserand
211abc3e4dfSMylène Josserandconfig SUN4I_EMAC
212abc3e4dfSMylène Josserand	bool "Allwinner Sun4i Ethernet MAC support"
213abc3e4dfSMylène Josserand	depends on DM_ETH
214abc3e4dfSMylène Josserand	help
215abc3e4dfSMylène Josserand	  This driver supports the Allwinner based SUN4I Ethernet MAC.
216abc3e4dfSMylène Josserand
217a29710c5SAmit Singh Tomarconfig SUN8I_EMAC
218a29710c5SAmit Singh Tomar        bool "Allwinner Sun8i Ethernet MAC support"
219a29710c5SAmit Singh Tomar        depends on DM_ETH
220a29710c5SAmit Singh Tomar        select PHYLIB
221449ea2cdSPhilipp Tomsich	select PHY_GIGE
222a29710c5SAmit Singh Tomar        help
223a29710c5SAmit Singh Tomar          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
224a29710c5SAmit Singh Tomar	  It can be found in H3/A64/A83T based SoCs and compatible with both
2257131d2d0STom Rini	  External and Internal PHYs.
226a29710c5SAmit Singh Tomar
227338a5f2bSMichal Simekconfig XILINX_AXIEMAC
228338a5f2bSMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
229338a5f2bSMichal Simek	select PHYLIB
230338a5f2bSMichal Simek	select MII
231338a5f2bSMichal Simek	bool "Xilinx AXI Ethernet"
232338a5f2bSMichal Simek	help
233338a5f2bSMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
234338a5f2bSMichal Simek
2353229c869SMichal Simekconfig XILINX_EMACLITE
2362f1f05f4SZubair Lutfullah Kakakhel	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
2373229c869SMichal Simek	select PHYLIB
2383229c869SMichal Simek	select MII
2393229c869SMichal Simek	bool "Xilinx Ethernetlite"
2403229c869SMichal Simek	help
2413229c869SMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
2423229c869SMichal Simek
243596e5782SMichal Simekconfig ZYNQ_GEM
244596e5782SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
2457bccc75aSMichal Simek	select PHYLIB
246596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
247596e5782SMichal Simek	help
248c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
249596e5782SMichal Simek
25023e7578cSPurna Chandra Mandalconfig PIC32_ETH
25123e7578cSPurna Chandra Mandal	bool "Microchip PIC32 Ethernet Support"
25223e7578cSPurna Chandra Mandal	depends on DM_ETH && MACH_PIC32
25323e7578cSPurna Chandra Mandal	select PHYLIB
25423e7578cSPurna Chandra Mandal	help
25523e7578cSPurna Chandra Mandal	  This driver implements 10/100 Mbps Ethernet and MAC layer for
25623e7578cSPurna Chandra Mandal	  Microchip PIC32 microcontrollers.
25723e7578cSPurna Chandra Mandal
2580125bcf0SSjoerd Simonsconfig GMAC_ROCKCHIP
2590125bcf0SSjoerd Simons	bool "Rockchip Synopsys Designware Ethernet MAC"
2600125bcf0SSjoerd Simons	depends on DM_ETH && ETH_DESIGNWARE
2610125bcf0SSjoerd Simons	help
2620125bcf0SSjoerd Simons	  This driver provides Rockchip SoCs network support based on the
2630125bcf0SSjoerd Simons	  Synopsys Designware driver.
2640125bcf0SSjoerd Simons
2658ae51b6fSMarek Vasutconfig RENESAS_RAVB
2668ae51b6fSMarek Vasut	bool "Renesas Ethernet AVB MAC"
2678ae51b6fSMarek Vasut	depends on DM_ETH && RCAR_GEN3
2688ae51b6fSMarek Vasut	select PHYLIB
2698ae51b6fSMarek Vasut	help
2708ae51b6fSMarek Vasut	  This driver implements support for the Ethernet AVB block in
2718ae51b6fSMarek Vasut	  Renesas M3 and H3 SoCs.
2728ae51b6fSMarek Vasut
273fad51ac3SChristophe Leroyconfig MPC8XX_FEC
274fad51ac3SChristophe Leroy	bool "Fast Ethernet Controller on MPC8XX"
275fad51ac3SChristophe Leroy	depends on 8xx
276fad51ac3SChristophe Leroy	select MII
277fad51ac3SChristophe Leroy	help
278fad51ac3SChristophe Leroy	  This driver implements support for the Fast Ethernet Controller
279fad51ac3SChristophe Leroy	  on MPC8XX
280fad51ac3SChristophe Leroy
281fad51ac3SChristophe Leroyconfig ETHER_ON_FEC1
282fad51ac3SChristophe Leroy	bool "FEC1"
283fad51ac3SChristophe Leroy	depends on MPC8XX_FEC
284fad51ac3SChristophe Leroy	default y
285fad51ac3SChristophe Leroy
286fad51ac3SChristophe Leroyconfig FEC1_PHY
287fad51ac3SChristophe Leroy	int "FEC1 PHY"
288fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
289fad51ac3SChristophe Leroy	default -1
290fad51ac3SChristophe Leroy	help
291fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
292fad51ac3SChristophe Leroy	  to the given FEC; i. e.
293fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
294fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
295fad51ac3SChristophe Leroy
296fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
297fad51ac3SChristophe Leroy
298fad51ac3SChristophe Leroyconfig PHY_NORXERR
299fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
300fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
301fad51ac3SChristophe Leroy	default n
302fad51ac3SChristophe Leroy	help
303fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
304fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
305fad51ac3SChristophe Leroy
306fad51ac3SChristophe Leroyconfig ETHER_ON_FEC2
307fad51ac3SChristophe Leroy	bool "FEC2"
308fad51ac3SChristophe Leroy	depends on MPC8XX_FEC && MPC885
309fad51ac3SChristophe Leroy	default y
310fad51ac3SChristophe Leroy
311fad51ac3SChristophe Leroyconfig FEC2_PHY
312fad51ac3SChristophe Leroy	int "FEC2 PHY"
313fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
314fad51ac3SChristophe Leroy	default -1
315fad51ac3SChristophe Leroy	help
316fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
317fad51ac3SChristophe Leroy	  to the given FEC; i. e.
318fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
319fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
320fad51ac3SChristophe Leroy
321fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
322fad51ac3SChristophe Leroy
323fad51ac3SChristophe Leroyconfig FEC2_PHY_NORXERR
324fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
325fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
326fad51ac3SChristophe Leroy	default n
327fad51ac3SChristophe Leroy	help
328fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
329fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
330fad51ac3SChristophe Leroy
3313ea143abSJoe Hershbergerendif # NETDEVICES
332