xref: /openbmc/u-boot/drivers/net/Kconfig (revision 4bf56913d0d3bf1e1dd9ccd54f582c034314b812)
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
50c89782dcSSuji Velupillaiconfig BCM_SF2_ETH
51c89782dcSSuji Velupillai	bool "Broadcom SF2 (Starfighter2) Ethernet support"
52c89782dcSSuji Velupillai	select PHYLIB
53c89782dcSSuji Velupillai	help
54c89782dcSSuji Velupillai	  This is an abstract framework which provides a generic interface
55c89782dcSSuji Velupillai	  to MAC and DMA management for multiple Broadcom SoCs such as
56c89782dcSSuji Velupillai	  Cygnus, NSP and bcm28155_ap platforms.
57c89782dcSSuji Velupillai
58c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_DEFAULT_PORT
59c89782dcSSuji Velupillai	int "Broadcom SF2 (Starfighter2) Ethernet default port number"
60c89782dcSSuji Velupillai	depends on BCM_SF2_ETH
61c89782dcSSuji Velupillai	default 0
62c89782dcSSuji Velupillai	help
63c89782dcSSuji Velupillai	  Default port number for the Starfighter2 ethernet driver.
64c89782dcSSuji Velupillai
65c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_GMAC
66c89782dcSSuji Velupillai	bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support"
67c89782dcSSuji Velupillai	depends on BCM_SF2_ETH
68c89782dcSSuji Velupillai	help
69c89782dcSSuji Velupillai	  This flag enables the ethernet support for Broadcom platforms with
70c89782dcSSuji Velupillai	  GMAC such as Cygnus. This driver is based on the framework provided
71c89782dcSSuji Velupillai	  by the BCM_SF2_ETH driver.
72c89782dcSSuji Velupillai	  Say Y to any bcmcygnus based platforms.
73c89782dcSSuji 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
1627654f62fSChris Packhamconfig MVNETA
163e7ab2ccdSMiquel Raynal	bool "Marvell Armada XP/385/3700 network interface support"
164e7ab2ccdSMiquel Raynal	depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
1657654f62fSChris Packham	select PHYLIB
1667654f62fSChris Packham	help
1677654f62fSChris Packham	  This driver supports the network interface units in the
168e7ab2ccdSMiquel Raynal	  Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
1697654f62fSChris Packham
17099d4c6d3SStefan Roeseconfig MVPP2
171e7935c47SStefan Roese	bool "Marvell Armada 375/7K/8K network interface support"
172e7935c47SStefan Roese	depends on ARMADA_375 || ARMADA_8K
17399d4c6d3SStefan Roese	select PHYLIB
17499d4c6d3SStefan Roese	help
17599d4c6d3SStefan Roese	  This driver supports the network interface units in the
176e7935c47SStefan Roese	  Marvell ARMADA 375, 7K and 8K SoCs.
17799d4c6d3SStefan Roese
178ebcb40a5SWenyou Yangconfig MACB
179ebcb40a5SWenyou Yang	bool "Cadence MACB/GEM Ethernet Interface"
180ebcb40a5SWenyou Yang	depends on DM_ETH
181ebcb40a5SWenyou Yang	select PHYLIB
182ebcb40a5SWenyou Yang	help
183ebcb40a5SWenyou Yang	  The Cadence MACB ethernet interface is found on many Atmel
184ebcb40a5SWenyou Yang	  AT91 and SAMA5 parts.  This driver also supports the Cadence
185ebcb40a5SWenyou Yang	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
186ebcb40a5SWenyou Yang	  Say Y to include support for the MACB/GEM chip.
187ebcb40a5SWenyou Yang
188*4bf56913SWilson Leeconfig MACB_ZYNQ
189*4bf56913SWilson Lee	bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
190*4bf56913SWilson Lee	depends on MACB
191*4bf56913SWilson Lee	help
192*4bf56913SWilson Lee	  The Cadence MACB ethernet interface was used on Zynq platform.
193*4bf56913SWilson Lee	  Say Y to enable support for the MACB/GEM in Zynq chip.
194*4bf56913SWilson Lee
195b68fe152SBin Mengconfig PCH_GBE
196b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
197b68fe152SBin Meng	depends on DM_ETH && DM_PCI
198b68fe152SBin Meng	select PHYLIB
199b68fe152SBin Meng	help
200b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
201b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
202b68fe152SBin Meng
203751b0be0SMylène Josserandconfig RGMII
204751b0be0SMylène Josserand	bool "Enable RGMII"
205751b0be0SMylène Josserand	help
206751b0be0SMylène Josserand	  Enable the support of the Reduced Gigabit Media-Independent
207751b0be0SMylène Josserand	  Interface (RGMII).
208751b0be0SMylène Josserand
20986e9dc86SBin Mengconfig RTL8139
21086e9dc86SBin Meng	bool "Realtek 8139 series Ethernet controller driver"
21186e9dc86SBin Meng	help
21286e9dc86SBin Meng	  This driver supports Realtek 8139 series fast ethernet family of
21386e9dc86SBin Meng	  PCI chipsets/adapters.
21486e9dc86SBin Meng
2150764f24aSBin Mengconfig RTL8169
2160764f24aSBin Meng	bool "Realtek 8169 series Ethernet controller driver"
2170764f24aSBin Meng	help
2180764f24aSBin Meng	  This driver supports Realtek 8169 series gigabit ethernet family of
2190764f24aSBin Meng	  PCI/PCIe chipsets/adapters.
2200764f24aSBin Meng
2218daec2d9SAdam Fordconfig SMC911X
2228daec2d9SAdam Ford	bool "SMSC LAN911x and LAN921x controller driver"
2238daec2d9SAdam Ford
2248daec2d9SAdam Fordif SMC911X
2258daec2d9SAdam Ford
2268daec2d9SAdam Fordconfig SMC911X_BASE
2278daec2d9SAdam Ford	hex "SMC911X Base Address"
2288daec2d9SAdam Ford	help
2298daec2d9SAdam Ford	  Define this to hold the physical address
2308daec2d9SAdam Ford	  of the device (I/O space)
2318daec2d9SAdam Ford
2328daec2d9SAdam Fordchoice
2338daec2d9SAdam Ford	prompt "SMC911X bus width"
2348daec2d9SAdam Ford	default SMC911X_16_BIT
2358daec2d9SAdam Ford
2368daec2d9SAdam Fordconfig SMC911X_32_BIT
2378daec2d9SAdam Ford	bool "Enable 32-bit interface"
2388daec2d9SAdam Ford
2398daec2d9SAdam Fordconfig SMC911X_16_BIT
2408daec2d9SAdam Ford	bool "Enable 16-bit interface"
2418daec2d9SAdam Ford	help
2428daec2d9SAdam Ford	  Define this if data bus is 16 bits. If your processor
2438daec2d9SAdam Ford	  automatically converts one 32 bit word to two 16 bit
2448daec2d9SAdam Ford	  words you may also try CONFIG_SMC911X_32_BIT.
2458daec2d9SAdam Ford
2468daec2d9SAdam Fordendchoice
2478daec2d9SAdam Fordendif #SMC911X
2488daec2d9SAdam Ford
2494d43d065SMylène Josserandconfig SUN7I_GMAC
2504d43d065SMylène Josserand	bool "Enable Allwinner GMAC Ethernet support"
2514d43d065SMylène Josserand	help
2524d43d065SMylène Josserand	  Enable the support for Sun7i GMAC Ethernet controller
2534d43d065SMylène Josserand
254aba39249SStefan Mavrodievconfig SUN7I_GMAC_FORCE_TXERR
255aba39249SStefan Mavrodiev	bool "Force PA17 as gmac function"
256aba39249SStefan Mavrodiev	depends on SUN7I_GMAC
257aba39249SStefan Mavrodiev	help
258aba39249SStefan Mavrodiev	  Some ethernet phys needs TXERR control. Since the GMAC
259aba39249SStefan Mavrodiev	  doesn't have such signal, setting PA17 as GMAC function
260aba39249SStefan Mavrodiev	  makes the pin output low, which enables data transmission.
261aba39249SStefan Mavrodiev
262abc3e4dfSMylène Josserandconfig SUN4I_EMAC
263abc3e4dfSMylène Josserand	bool "Allwinner Sun4i Ethernet MAC support"
264abc3e4dfSMylène Josserand	depends on DM_ETH
2656270a3f0SArtturi Alm	select PHYLIB
266abc3e4dfSMylène Josserand	help
267abc3e4dfSMylène Josserand	  This driver supports the Allwinner based SUN4I Ethernet MAC.
268abc3e4dfSMylène Josserand
269a29710c5SAmit Singh Tomarconfig SUN8I_EMAC
270a29710c5SAmit Singh Tomar        bool "Allwinner Sun8i Ethernet MAC support"
271a29710c5SAmit Singh Tomar        depends on DM_ETH
272a29710c5SAmit Singh Tomar        select PHYLIB
273449ea2cdSPhilipp Tomsich	select PHY_GIGE
274a29710c5SAmit Singh Tomar        help
275a29710c5SAmit Singh Tomar          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
276a29710c5SAmit Singh Tomar	  It can be found in H3/A64/A83T based SoCs and compatible with both
2777131d2d0STom Rini	  External and Internal PHYs.
278a29710c5SAmit Singh Tomar
279338a5f2bSMichal Simekconfig XILINX_AXIEMAC
280338a5f2bSMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
281338a5f2bSMichal Simek	select PHYLIB
282338a5f2bSMichal Simek	select MII
283338a5f2bSMichal Simek	bool "Xilinx AXI Ethernet"
284338a5f2bSMichal Simek	help
285338a5f2bSMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
286338a5f2bSMichal Simek
2873229c869SMichal Simekconfig XILINX_EMACLITE
2882f1f05f4SZubair Lutfullah Kakakhel	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
2893229c869SMichal Simek	select PHYLIB
2903229c869SMichal Simek	select MII
2913229c869SMichal Simek	bool "Xilinx Ethernetlite"
2923229c869SMichal Simek	help
2933229c869SMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
2943229c869SMichal Simek
295596e5782SMichal Simekconfig ZYNQ_GEM
296596e5782SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
2977bccc75aSMichal Simek	select PHYLIB
298596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
299596e5782SMichal Simek	help
300c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
301596e5782SMichal Simek
30223e7578cSPurna Chandra Mandalconfig PIC32_ETH
30323e7578cSPurna Chandra Mandal	bool "Microchip PIC32 Ethernet Support"
30423e7578cSPurna Chandra Mandal	depends on DM_ETH && MACH_PIC32
30523e7578cSPurna Chandra Mandal	select PHYLIB
30623e7578cSPurna Chandra Mandal	help
30723e7578cSPurna Chandra Mandal	  This driver implements 10/100 Mbps Ethernet and MAC layer for
30823e7578cSPurna Chandra Mandal	  Microchip PIC32 microcontrollers.
30923e7578cSPurna Chandra Mandal
3100125bcf0SSjoerd Simonsconfig GMAC_ROCKCHIP
3110125bcf0SSjoerd Simons	bool "Rockchip Synopsys Designware Ethernet MAC"
3120125bcf0SSjoerd Simons	depends on DM_ETH && ETH_DESIGNWARE
3130125bcf0SSjoerd Simons	help
3140125bcf0SSjoerd Simons	  This driver provides Rockchip SoCs network support based on the
3150125bcf0SSjoerd Simons	  Synopsys Designware driver.
3160125bcf0SSjoerd Simons
3178ae51b6fSMarek Vasutconfig RENESAS_RAVB
3188ae51b6fSMarek Vasut	bool "Renesas Ethernet AVB MAC"
3198ae51b6fSMarek Vasut	depends on DM_ETH && RCAR_GEN3
3208ae51b6fSMarek Vasut	select PHYLIB
3218ae51b6fSMarek Vasut	help
3228ae51b6fSMarek Vasut	  This driver implements support for the Ethernet AVB block in
3238ae51b6fSMarek Vasut	  Renesas M3 and H3 SoCs.
3248ae51b6fSMarek Vasut
325fad51ac3SChristophe Leroyconfig MPC8XX_FEC
326fad51ac3SChristophe Leroy	bool "Fast Ethernet Controller on MPC8XX"
327fad51ac3SChristophe Leroy	depends on 8xx
328fad51ac3SChristophe Leroy	select MII
329fad51ac3SChristophe Leroy	help
330fad51ac3SChristophe Leroy	  This driver implements support for the Fast Ethernet Controller
331fad51ac3SChristophe Leroy	  on MPC8XX
332fad51ac3SChristophe Leroy
333fad51ac3SChristophe Leroyconfig ETHER_ON_FEC1
334fad51ac3SChristophe Leroy	bool "FEC1"
335fad51ac3SChristophe Leroy	depends on MPC8XX_FEC
336fad51ac3SChristophe Leroy	default y
337fad51ac3SChristophe Leroy
338fad51ac3SChristophe Leroyconfig FEC1_PHY
339fad51ac3SChristophe Leroy	int "FEC1 PHY"
340fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
341fad51ac3SChristophe Leroy	default -1
342fad51ac3SChristophe Leroy	help
343fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
344fad51ac3SChristophe Leroy	  to the given FEC; i. e.
345fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
346fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
347fad51ac3SChristophe Leroy
348fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
349fad51ac3SChristophe Leroy
350fad51ac3SChristophe Leroyconfig PHY_NORXERR
351fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
352fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
353fad51ac3SChristophe Leroy	default n
354fad51ac3SChristophe Leroy	help
355fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
356fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
357fad51ac3SChristophe Leroy
358fad51ac3SChristophe Leroyconfig ETHER_ON_FEC2
359fad51ac3SChristophe Leroy	bool "FEC2"
360fad51ac3SChristophe Leroy	depends on MPC8XX_FEC && MPC885
361fad51ac3SChristophe Leroy	default y
362fad51ac3SChristophe Leroy
363fad51ac3SChristophe Leroyconfig FEC2_PHY
364fad51ac3SChristophe Leroy	int "FEC2 PHY"
365fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
366fad51ac3SChristophe Leroy	default -1
367fad51ac3SChristophe Leroy	help
368fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
369fad51ac3SChristophe Leroy	  to the given FEC; i. e.
370fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
371fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
372fad51ac3SChristophe Leroy
373fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
374fad51ac3SChristophe Leroy
375fad51ac3SChristophe Leroyconfig FEC2_PHY_NORXERR
376fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
377fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
378fad51ac3SChristophe Leroy	default n
379fad51ac3SChristophe Leroy	help
380fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
381fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
382fad51ac3SChristophe Leroy
383541d5766SAhmed Mansourconfig SYS_DPAA_QBMAN
384541d5766SAhmed Mansour	bool "Device tree fixup for QBMan on freescale SOCs"
385541d5766SAhmed Mansour	depends on (ARM || PPC) && !SPL_BUILD
386541d5766SAhmed Mansour	default y if ARCH_B4860 || \
387541d5766SAhmed Mansour		     ARCH_B4420 || \
388541d5766SAhmed Mansour		     ARCH_P1023 || \
389541d5766SAhmed Mansour		     ARCH_P2041 || \
390541d5766SAhmed Mansour		     ARCH_T1023 || \
391541d5766SAhmed Mansour		     ARCH_T1024 || \
392541d5766SAhmed Mansour		     ARCH_T1040 || \
393541d5766SAhmed Mansour		     ARCH_T1042 || \
394541d5766SAhmed Mansour		     ARCH_T2080 || \
395541d5766SAhmed Mansour		     ARCH_T2081 || \
396541d5766SAhmed Mansour		     ARCH_T4240 || \
397541d5766SAhmed Mansour		     ARCH_T4160 || \
398541d5766SAhmed Mansour		     ARCH_P4080 || \
399541d5766SAhmed Mansour		     ARCH_P3041 || \
400541d5766SAhmed Mansour		     ARCH_P5040 || \
401541d5766SAhmed Mansour		     ARCH_P5020 || \
402541d5766SAhmed Mansour		     ARCH_LS1043A || \
403541d5766SAhmed Mansour		     ARCH_LS1046A
404541d5766SAhmed Mansour	help
405541d5766SAhmed Mansour	  QBman fixups to allow deep sleep in DPAA 1 SOCs
406541d5766SAhmed Mansour
4073ea143abSJoe Hershbergerendif # NETDEVICES
408