xref: /openbmc/u-boot/drivers/net/Kconfig (revision a8927795efff1d5fc76a2bf6f73112751eb8e5cb)
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
1005c3e68fSJoe Hershberger	  The eth_*() interface will be implemented by the UC_ETH class
1105c3e68fSJoe Hershberger	  This is currently implemented in net/eth.c
1205c3e68fSJoe Hershberger	  Look in include/net.h for details.
133ea143abSJoe Hershberger
14f02b8d17SAlex Kiernanconfig DRIVER_TI_CPSW
15f02b8d17SAlex Kiernan	bool "TI Common Platform Ethernet Switch"
16f02b8d17SAlex Kiernan	select PHYLIB
17f02b8d17SAlex Kiernan	help
18f02b8d17SAlex Kiernan	  This driver supports the TI three port switch gigabit ethernet
19f02b8d17SAlex Kiernan	  subsystem found in the TI SoCs.
20f02b8d17SAlex Kiernan
213ea143abSJoe Hershbergermenuconfig NETDEVICES
223ea143abSJoe Hershberger	bool "Network device support"
233ea143abSJoe Hershberger	depends on NET
24ef0f2f57SJoe Hershberger	default y if DM_ETH
253ea143abSJoe Hershberger	help
263ea143abSJoe Hershberger	  You must select Y to enable any network device support
273ea143abSJoe Hershberger	  Generally if you have any networking support this is a given
283ea143abSJoe Hershberger
293ea143abSJoe Hershberger	  If unsure, say Y
303ea143abSJoe Hershberger
313ea143abSJoe Hershbergerif NETDEVICES
323ea143abSJoe Hershberger
33449ea2cdSPhilipp Tomsichconfig PHY_GIGE
34449ea2cdSPhilipp Tomsich	bool "Enable GbE PHY status parsing and configuration"
35449ea2cdSPhilipp Tomsich	help
36449ea2cdSPhilipp Tomsich	  Enables support for parsing the status output and for
37449ea2cdSPhilipp Tomsich	  configuring GbE PHYs (affects the inner workings of some
38449ea2cdSPhilipp Tomsich	  commands and miiphyutil.c).
39449ea2cdSPhilipp Tomsich
40e40095f6SMarek Vasutconfig AG7XXX
41e40095f6SMarek Vasut	bool "Atheros AG7xxx Ethernet MAC support"
42e40095f6SMarek Vasut	depends on DM_ETH && ARCH_ATH79
43e40095f6SMarek Vasut	select PHYLIB
44e40095f6SMarek Vasut	help
45e40095f6SMarek Vasut	  This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
46e40095f6SMarek Vasut	  present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
47e40095f6SMarek Vasut
48e40095f6SMarek Vasut
4996fa1e43SThomas Chouconfig ALTERA_TSE
5096fa1e43SThomas Chou	bool "Altera Triple-Speed Ethernet MAC support"
5196fa1e43SThomas Chou	depends on DM_ETH
5296fa1e43SThomas Chou	select PHYLIB
5396fa1e43SThomas Chou	help
5496fa1e43SThomas Chou	  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
5596fa1e43SThomas Chou	  Please find details on the "Triple-Speed Ethernet MegaCore Function
5696fa1e43SThomas Chou	  Resource Center" of Altera.
5796fa1e43SThomas Chou
58c89782dcSSuji Velupillaiconfig BCM_SF2_ETH
59c89782dcSSuji Velupillai	bool "Broadcom SF2 (Starfighter2) Ethernet support"
60c89782dcSSuji Velupillai	select PHYLIB
61c89782dcSSuji Velupillai	help
62c89782dcSSuji Velupillai	  This is an abstract framework which provides a generic interface
63c89782dcSSuji Velupillai	  to MAC and DMA management for multiple Broadcom SoCs such as
64c89782dcSSuji Velupillai	  Cygnus, NSP and bcm28155_ap platforms.
65c89782dcSSuji Velupillai
66c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_DEFAULT_PORT
67c89782dcSSuji Velupillai	int "Broadcom SF2 (Starfighter2) Ethernet default port number"
68c89782dcSSuji Velupillai	depends on BCM_SF2_ETH
69c89782dcSSuji Velupillai	default 0
70c89782dcSSuji Velupillai	help
71c89782dcSSuji Velupillai	  Default port number for the Starfighter2 ethernet driver.
72c89782dcSSuji Velupillai
73c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_GMAC
74c89782dcSSuji Velupillai	bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support"
75c89782dcSSuji Velupillai	depends on BCM_SF2_ETH
76c89782dcSSuji Velupillai	help
77c89782dcSSuji Velupillai	  This flag enables the ethernet support for Broadcom platforms with
78c89782dcSSuji Velupillai	  GMAC such as Cygnus. This driver is based on the framework provided
79c89782dcSSuji Velupillai	  by the BCM_SF2_ETH driver.
80c89782dcSSuji Velupillai	  Say Y to any bcmcygnus based platforms.
81c89782dcSSuji Velupillai
82ba4dfef1SStephen Warrenconfig DWC_ETH_QOS
83ba4dfef1SStephen Warren	bool "Synopsys DWC Ethernet QOS device support"
84ba4dfef1SStephen Warren	depends on DM_ETH
85ba4dfef1SStephen Warren	select PHYLIB
86ba4dfef1SStephen Warren	help
87ba4dfef1SStephen Warren	  This driver supports the Synopsys Designware Ethernet QOS (Quality
88ba4dfef1SStephen Warren	  Of Service) IP block. The IP supports many options for bus type,
89ba4dfef1SStephen Warren	  clocking/reset structure, and feature list. This driver currently
90ba4dfef1SStephen Warren	  supports the specific configuration used in NVIDIA's Tegra186 chip,
91ba4dfef1SStephen Warren	  but should be extensible to other combinations quite easily.
92ba4dfef1SStephen Warren
93c294ac5cSSimon Glassconfig E1000
94c294ac5cSSimon Glass	bool "Intel PRO/1000 Gigabit Ethernet support"
95c294ac5cSSimon Glass	help
96c294ac5cSSimon Glass	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
97c294ac5cSSimon Glass	  adapters.  For more information on how to identify your adapter, go
98c294ac5cSSimon Glass	  to the Adapter & Driver ID Guide at:
99c294ac5cSSimon Glass
100c294ac5cSSimon Glass	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
101c294ac5cSSimon Glass
102c294ac5cSSimon Glassconfig E1000_SPI_GENERIC
103c294ac5cSSimon Glass	bool "Allow access to the Intel 8257x SPI bus"
104c294ac5cSSimon Glass	depends on E1000
105c294ac5cSSimon Glass	help
106c294ac5cSSimon Glass	  Allow generic access to the SPI bus on the Intel 8257x, for
107c294ac5cSSimon Glass	  example with the "sspi" command.
108c294ac5cSSimon Glass
109c294ac5cSSimon Glassconfig E1000_SPI
110c294ac5cSSimon Glass	bool "Enable SPI bus utility code"
111c294ac5cSSimon Glass	depends on E1000
112c294ac5cSSimon Glass	help
113c294ac5cSSimon Glass	  Utility code for direct access to the SPI bus on Intel 8257x.
114c294ac5cSSimon Glass	  This does not do anything useful unless you set at least one
115c294ac5cSSimon Glass	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
116c294ac5cSSimon Glass
117c294ac5cSSimon Glassconfig CMD_E1000
118c294ac5cSSimon Glass	bool "Enable the e1000 command"
119c294ac5cSSimon Glass	depends on E1000
120c294ac5cSSimon Glass	help
121c294ac5cSSimon Glass	  This enables the 'e1000' management command for E1000 devices. When
122c294ac5cSSimon Glass	  used on devices with SPI support you can reprogram the EEPROM from
123c294ac5cSSimon Glass	  U-Boot.
124c294ac5cSSimon Glass
1253ea143abSJoe Hershbergerconfig ETH_SANDBOX
1263ea143abSJoe Hershberger	depends on DM_ETH && SANDBOX
1273ea143abSJoe Hershberger	default y
1283ea143abSJoe Hershberger	bool "Sandbox: Mocked Ethernet driver"
1293ea143abSJoe Hershberger	help
1303ea143abSJoe Hershberger	  This driver simply responds with fake ARP replies and ping
1313ea143abSJoe Hershberger	  replies that are used to verify network stack functionality
1323ea143abSJoe Hershberger
1333ea143abSJoe Hershberger	  This driver is particularly useful in the test/dm/eth.c tests
1343ea143abSJoe Hershberger
135a346ca79SJoe Hershbergerconfig ETH_SANDBOX_RAW
136a346ca79SJoe Hershberger	depends on DM_ETH && SANDBOX
137a346ca79SJoe Hershberger	default y
138a346ca79SJoe Hershberger	bool "Sandbox: Bridge to Linux Raw Sockets"
139a346ca79SJoe Hershberger	help
140a346ca79SJoe Hershberger	  This driver is a bridge from the bottom of the network stack
141a346ca79SJoe Hershberger	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
142a346ca79SJoe Hershberger	  network traffic to be tested from within sandbox. See
143a346ca79SJoe Hershberger	  board/sandbox/README.sandbox for more details.
144a346ca79SJoe Hershberger
145ef48f6ddSSimon Glassconfig ETH_DESIGNWARE
146ef48f6ddSSimon Glass	bool "Synopsys Designware Ethernet MAC"
14725af71c4SThomas Chou	select PHYLIB
148ef48f6ddSSimon Glass	help
149ef48f6ddSSimon Glass	  This MAC is present in SoCs from various vendors. It supports
150ef48f6ddSSimon Glass	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
151ef48f6ddSSimon Glass	  provide the PHY (physical media interface).
152ef48f6ddSSimon Glass
153f0727120SMax Filippovconfig ETHOC
154f0727120SMax Filippov	bool "OpenCores 10/100 Mbps Ethernet MAC"
155f0727120SMax Filippov	help
156f0727120SMax Filippov	  This MAC is present in OpenRISC and Xtensa XTFPGA boards.
157f0727120SMax Filippov
158fbada485SPeng Fanconfig FEC_MXC_SHARE_MDIO
159fbada485SPeng Fan	bool "Share the MDIO bus for FEC controller"
160fbada485SPeng Fan	depends on FEC_MXC
161fbada485SPeng Fan
162fbada485SPeng Fanconfig FEC_MXC_MDIO_BASE
163fbada485SPeng Fan	hex "MDIO base address for the FEC controller"
164fbada485SPeng Fan	depends on FEC_MXC_SHARE_MDIO
165fbada485SPeng Fan	help
166fbada485SPeng Fan	  This specifies the MDIO registers base address. It is used when
167fbada485SPeng Fan	  two FEC controllers share MDIO bus.
168fbada485SPeng Fan
16997d29ca3SJagan Tekiconfig FEC_MXC
17097d29ca3SJagan Teki	bool "FEC Ethernet controller"
171fbada485SPeng Fan	depends on MX5 || MX6 || MX7
17297d29ca3SJagan Teki	help
17397d29ca3SJagan Teki	  This driver supports the 10/100 Fast Ethernet controller for
17497d29ca3SJagan Teki	  NXP i.MX processors.
17597d29ca3SJagan Teki
1768dc1b17fSTom Riniconfig FTMAC100
1778dc1b17fSTom Rini	bool "Ftmac100 Ethernet Support"
1788dc1b17fSTom Rini	help
1798dc1b17fSTom Rini	  This MAC is present in Andestech SoCs.
1808dc1b17fSTom Rini
181ed52ea50SChris Packhamconfig MVGBE
182ed52ea50SChris Packham	bool "Marvell Orion5x/Kirkwood network interface support"
183ed52ea50SChris Packham	depends on KIRKWOOD || ORION5X
184ed52ea50SChris Packham	help
185ed52ea50SChris Packham	  This driver supports the network interface units in the
186ed52ea50SChris Packham	  Marvell Orion5x and Kirkwood SoCs
187ed52ea50SChris Packham
1887654f62fSChris Packhamconfig MVNETA
189e7ab2ccdSMiquel Raynal	bool "Marvell Armada XP/385/3700 network interface support"
190e7ab2ccdSMiquel Raynal	depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
1917654f62fSChris Packham	select PHYLIB
1927654f62fSChris Packham	help
1937654f62fSChris Packham	  This driver supports the network interface units in the
194e7ab2ccdSMiquel Raynal	  Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
1957654f62fSChris Packham
19699d4c6d3SStefan Roeseconfig MVPP2
197e7935c47SStefan Roese	bool "Marvell Armada 375/7K/8K network interface support"
198e7935c47SStefan Roese	depends on ARMADA_375 || ARMADA_8K
19999d4c6d3SStefan Roese	select PHYLIB
20099d4c6d3SStefan Roese	help
20199d4c6d3SStefan Roese	  This driver supports the network interface units in the
202e7935c47SStefan Roese	  Marvell ARMADA 375, 7K and 8K SoCs.
20399d4c6d3SStefan Roese
204ebcb40a5SWenyou Yangconfig MACB
205ebcb40a5SWenyou Yang	bool "Cadence MACB/GEM Ethernet Interface"
206ebcb40a5SWenyou Yang	depends on DM_ETH
207ebcb40a5SWenyou Yang	select PHYLIB
208ebcb40a5SWenyou Yang	help
209ebcb40a5SWenyou Yang	  The Cadence MACB ethernet interface is found on many Atmel
210ebcb40a5SWenyou Yang	  AT91 and SAMA5 parts.  This driver also supports the Cadence
211ebcb40a5SWenyou Yang	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
212ebcb40a5SWenyou Yang	  Say Y to include support for the MACB/GEM chip.
213ebcb40a5SWenyou Yang
2144bf56913SWilson Leeconfig MACB_ZYNQ
2154bf56913SWilson Lee	bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
2164bf56913SWilson Lee	depends on MACB
2174bf56913SWilson Lee	help
2184bf56913SWilson Lee	  The Cadence MACB ethernet interface was used on Zynq platform.
2194bf56913SWilson Lee	  Say Y to enable support for the MACB/GEM in Zynq chip.
2204bf56913SWilson Lee
221b68fe152SBin Mengconfig PCH_GBE
222b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
223b68fe152SBin Meng	depends on DM_ETH && DM_PCI
224b68fe152SBin Meng	select PHYLIB
225b68fe152SBin Meng	help
226b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
227b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
228b68fe152SBin Meng
229751b0be0SMylène Josserandconfig RGMII
230751b0be0SMylène Josserand	bool "Enable RGMII"
231751b0be0SMylène Josserand	help
232751b0be0SMylène Josserand	  Enable the support of the Reduced Gigabit Media-Independent
233751b0be0SMylène Josserand	  Interface (RGMII).
234751b0be0SMylène Josserand
23586e9dc86SBin Mengconfig RTL8139
23686e9dc86SBin Meng	bool "Realtek 8139 series Ethernet controller driver"
23786e9dc86SBin Meng	help
23886e9dc86SBin Meng	  This driver supports Realtek 8139 series fast ethernet family of
23986e9dc86SBin Meng	  PCI chipsets/adapters.
24086e9dc86SBin Meng
2410764f24aSBin Mengconfig RTL8169
2420764f24aSBin Meng	bool "Realtek 8169 series Ethernet controller driver"
2430764f24aSBin Meng	help
2440764f24aSBin Meng	  This driver supports Realtek 8169 series gigabit ethernet family of
2450764f24aSBin Meng	  PCI/PCIe chipsets/adapters.
2460764f24aSBin Meng
2478daec2d9SAdam Fordconfig SMC911X
2488daec2d9SAdam Ford	bool "SMSC LAN911x and LAN921x controller driver"
2498daec2d9SAdam Ford
2508daec2d9SAdam Fordif SMC911X
2518daec2d9SAdam Ford
2528daec2d9SAdam Fordconfig SMC911X_BASE
2538daec2d9SAdam Ford	hex "SMC911X Base Address"
2548daec2d9SAdam Ford	help
2558daec2d9SAdam Ford	  Define this to hold the physical address
2568daec2d9SAdam Ford	  of the device (I/O space)
2578daec2d9SAdam Ford
2588daec2d9SAdam Fordchoice
2598daec2d9SAdam Ford	prompt "SMC911X bus width"
2608daec2d9SAdam Ford	default SMC911X_16_BIT
2618daec2d9SAdam Ford
2628daec2d9SAdam Fordconfig SMC911X_32_BIT
2638daec2d9SAdam Ford	bool "Enable 32-bit interface"
2648daec2d9SAdam Ford
2658daec2d9SAdam Fordconfig SMC911X_16_BIT
2668daec2d9SAdam Ford	bool "Enable 16-bit interface"
2678daec2d9SAdam Ford	help
2688daec2d9SAdam Ford	  Define this if data bus is 16 bits. If your processor
2698daec2d9SAdam Ford	  automatically converts one 32 bit word to two 16 bit
2708daec2d9SAdam Ford	  words you may also try CONFIG_SMC911X_32_BIT.
2718daec2d9SAdam Ford
2728daec2d9SAdam Fordendchoice
2738daec2d9SAdam Fordendif #SMC911X
2748daec2d9SAdam Ford
2754d43d065SMylène Josserandconfig SUN7I_GMAC
2764d43d065SMylène Josserand	bool "Enable Allwinner GMAC Ethernet support"
2774d43d065SMylène Josserand	help
2784d43d065SMylène Josserand	  Enable the support for Sun7i GMAC Ethernet controller
2794d43d065SMylène Josserand
280aba39249SStefan Mavrodievconfig SUN7I_GMAC_FORCE_TXERR
281aba39249SStefan Mavrodiev	bool "Force PA17 as gmac function"
282aba39249SStefan Mavrodiev	depends on SUN7I_GMAC
283aba39249SStefan Mavrodiev	help
284aba39249SStefan Mavrodiev	  Some ethernet phys needs TXERR control. Since the GMAC
285aba39249SStefan Mavrodiev	  doesn't have such signal, setting PA17 as GMAC function
286aba39249SStefan Mavrodiev	  makes the pin output low, which enables data transmission.
287aba39249SStefan Mavrodiev
288abc3e4dfSMylène Josserandconfig SUN4I_EMAC
289abc3e4dfSMylène Josserand	bool "Allwinner Sun4i Ethernet MAC support"
290abc3e4dfSMylène Josserand	depends on DM_ETH
2916270a3f0SArtturi Alm	select PHYLIB
292abc3e4dfSMylène Josserand	help
293abc3e4dfSMylène Josserand	  This driver supports the Allwinner based SUN4I Ethernet MAC.
294abc3e4dfSMylène Josserand
295a29710c5SAmit Singh Tomarconfig SUN8I_EMAC
296a29710c5SAmit Singh Tomar        bool "Allwinner Sun8i Ethernet MAC support"
297a29710c5SAmit Singh Tomar        depends on DM_ETH
298a29710c5SAmit Singh Tomar        select PHYLIB
299449ea2cdSPhilipp Tomsich	select PHY_GIGE
300a29710c5SAmit Singh Tomar        help
301a29710c5SAmit Singh Tomar          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
302a29710c5SAmit Singh Tomar	  It can be found in H3/A64/A83T based SoCs and compatible with both
3037131d2d0STom Rini	  External and Internal PHYs.
304a29710c5SAmit Singh Tomar
305dcd18eafSNobuhiro Iwamatsuconfig SH_ETHER
306dcd18eafSNobuhiro Iwamatsu	bool "Renesas SH Ethernet MAC"
307dcd18eafSNobuhiro Iwamatsu	select PHYLIB
308dcd18eafSNobuhiro Iwamatsu	help
309dcd18eafSNobuhiro Iwamatsu	  This driver supports the Ethernet for Renesas SH and ARM SoCs.
310dcd18eafSNobuhiro Iwamatsu
311338a5f2bSMichal Simekconfig XILINX_AXIEMAC
312338a5f2bSMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
313338a5f2bSMichal Simek	select PHYLIB
314338a5f2bSMichal Simek	select MII
315338a5f2bSMichal Simek	bool "Xilinx AXI Ethernet"
316338a5f2bSMichal Simek	help
317338a5f2bSMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
318338a5f2bSMichal Simek
3193229c869SMichal Simekconfig XILINX_EMACLITE
3202f1f05f4SZubair Lutfullah Kakakhel	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
3213229c869SMichal Simek	select PHYLIB
3223229c869SMichal Simek	select MII
3233229c869SMichal Simek	bool "Xilinx Ethernetlite"
3243229c869SMichal Simek	help
3253229c869SMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
3263229c869SMichal Simek
327596e5782SMichal Simekconfig ZYNQ_GEM
328596e5782SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
3297bccc75aSMichal Simek	select PHYLIB
330596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
331596e5782SMichal Simek	help
332c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
333596e5782SMichal Simek
33423e7578cSPurna Chandra Mandalconfig PIC32_ETH
33523e7578cSPurna Chandra Mandal	bool "Microchip PIC32 Ethernet Support"
33623e7578cSPurna Chandra Mandal	depends on DM_ETH && MACH_PIC32
33723e7578cSPurna Chandra Mandal	select PHYLIB
33823e7578cSPurna Chandra Mandal	help
33923e7578cSPurna Chandra Mandal	  This driver implements 10/100 Mbps Ethernet and MAC layer for
34023e7578cSPurna Chandra Mandal	  Microchip PIC32 microcontrollers.
34123e7578cSPurna Chandra Mandal
3420125bcf0SSjoerd Simonsconfig GMAC_ROCKCHIP
3430125bcf0SSjoerd Simons	bool "Rockchip Synopsys Designware Ethernet MAC"
3440125bcf0SSjoerd Simons	depends on DM_ETH && ETH_DESIGNWARE
3450125bcf0SSjoerd Simons	help
3460125bcf0SSjoerd Simons	  This driver provides Rockchip SoCs network support based on the
3470125bcf0SSjoerd Simons	  Synopsys Designware driver.
3480125bcf0SSjoerd Simons
3498ae51b6fSMarek Vasutconfig RENESAS_RAVB
3508ae51b6fSMarek Vasut	bool "Renesas Ethernet AVB MAC"
3518ae51b6fSMarek Vasut	depends on DM_ETH && RCAR_GEN3
3528ae51b6fSMarek Vasut	select PHYLIB
3538ae51b6fSMarek Vasut	help
3548ae51b6fSMarek Vasut	  This driver implements support for the Ethernet AVB block in
3558ae51b6fSMarek Vasut	  Renesas M3 and H3 SoCs.
3568ae51b6fSMarek Vasut
357fad51ac3SChristophe Leroyconfig MPC8XX_FEC
358fad51ac3SChristophe Leroy	bool "Fast Ethernet Controller on MPC8XX"
359ee1e600cSChristophe Leroy	depends on MPC8xx
360fad51ac3SChristophe Leroy	select MII
361fad51ac3SChristophe Leroy	help
362fad51ac3SChristophe Leroy	  This driver implements support for the Fast Ethernet Controller
363fad51ac3SChristophe Leroy	  on MPC8XX
364fad51ac3SChristophe Leroy
365*a8927795SKunihiko Hayashiconfig SNI_AVE
366*a8927795SKunihiko Hayashi	bool "Socionext AVE Ethernet support"
367*a8927795SKunihiko Hayashi	depends on DM_ETH && ARCH_UNIPHIER
368*a8927795SKunihiko Hayashi	select PHYLIB
369*a8927795SKunihiko Hayashi	select SYSCON
370*a8927795SKunihiko Hayashi	select REGMAP
371*a8927795SKunihiko Hayashi	help
372*a8927795SKunihiko Hayashi	  This driver implements support for the Socionext AVE Ethernet
373*a8927795SKunihiko Hayashi	  controller, as found on the Socionext UniPhier family.
374*a8927795SKunihiko Hayashi
375fad51ac3SChristophe Leroyconfig ETHER_ON_FEC1
376fad51ac3SChristophe Leroy	bool "FEC1"
377fad51ac3SChristophe Leroy	depends on MPC8XX_FEC
378fad51ac3SChristophe Leroy	default y
379fad51ac3SChristophe Leroy
380fad51ac3SChristophe Leroyconfig FEC1_PHY
381fad51ac3SChristophe Leroy	int "FEC1 PHY"
382fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
383fad51ac3SChristophe Leroy	default -1
384fad51ac3SChristophe Leroy	help
385fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
386fad51ac3SChristophe Leroy	  to the given FEC; i. e.
387fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
388fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
389fad51ac3SChristophe Leroy
390fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
391fad51ac3SChristophe Leroy
392fad51ac3SChristophe Leroyconfig PHY_NORXERR
393fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
394fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
395fad51ac3SChristophe Leroy	default n
396fad51ac3SChristophe Leroy	help
397fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
398fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
399fad51ac3SChristophe Leroy
400fad51ac3SChristophe Leroyconfig ETHER_ON_FEC2
401fad51ac3SChristophe Leroy	bool "FEC2"
402fad51ac3SChristophe Leroy	depends on MPC8XX_FEC && MPC885
403fad51ac3SChristophe Leroy	default y
404fad51ac3SChristophe Leroy
405fad51ac3SChristophe Leroyconfig FEC2_PHY
406fad51ac3SChristophe Leroy	int "FEC2 PHY"
407fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
408fad51ac3SChristophe Leroy	default -1
409fad51ac3SChristophe Leroy	help
410fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
411fad51ac3SChristophe Leroy	  to the given FEC; i. e.
412fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
413fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
414fad51ac3SChristophe Leroy
415fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
416fad51ac3SChristophe Leroy
417fad51ac3SChristophe Leroyconfig FEC2_PHY_NORXERR
418fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
419fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
420fad51ac3SChristophe Leroy	default n
421fad51ac3SChristophe Leroy	help
422fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
423fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
424fad51ac3SChristophe Leroy
425541d5766SAhmed Mansourconfig SYS_DPAA_QBMAN
426541d5766SAhmed Mansour	bool "Device tree fixup for QBMan on freescale SOCs"
427541d5766SAhmed Mansour	depends on (ARM || PPC) && !SPL_BUILD
428541d5766SAhmed Mansour	default y if ARCH_B4860 || \
429541d5766SAhmed Mansour		     ARCH_B4420 || \
430541d5766SAhmed Mansour		     ARCH_P1023 || \
431541d5766SAhmed Mansour		     ARCH_P2041 || \
432541d5766SAhmed Mansour		     ARCH_T1023 || \
433541d5766SAhmed Mansour		     ARCH_T1024 || \
434541d5766SAhmed Mansour		     ARCH_T1040 || \
435541d5766SAhmed Mansour		     ARCH_T1042 || \
436541d5766SAhmed Mansour		     ARCH_T2080 || \
437541d5766SAhmed Mansour		     ARCH_T2081 || \
438541d5766SAhmed Mansour		     ARCH_T4240 || \
439541d5766SAhmed Mansour		     ARCH_T4160 || \
440541d5766SAhmed Mansour		     ARCH_P4080 || \
441541d5766SAhmed Mansour		     ARCH_P3041 || \
442541d5766SAhmed Mansour		     ARCH_P5040 || \
443541d5766SAhmed Mansour		     ARCH_P5020 || \
444541d5766SAhmed Mansour		     ARCH_LS1043A || \
445541d5766SAhmed Mansour		     ARCH_LS1046A
446541d5766SAhmed Mansour	help
447541d5766SAhmed Mansour	  QBman fixups to allow deep sleep in DPAA 1 SOCs
448541d5766SAhmed Mansour
44917151052SMario Sixconfig TSEC_ENET
45017151052SMario Six	select PHYLIB
45117151052SMario Six	bool "Enable Three-Speed Ethernet Controller"
45217151052SMario Six	help
45317151052SMario Six	  This driver implements support for the (Enhanced) Three-Speed
45417151052SMario Six	  Ethernet Controller found on Freescale SoCs.
45517151052SMario Six
4563ea143abSJoe Hershbergerendif # NETDEVICES
457