xref: /openbmc/u-boot/drivers/net/Kconfig (revision 55e55fe4a6e4e8b7cef6f92c1a84d863a637b30f)
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
75*55e55fe4SÁlvaro Fernández Rojasconfig BCM6348_ETH
76*55e55fe4SÁlvaro Fernández Rojas	bool "BCM6348 EMAC support"
77*55e55fe4SÁlvaro Fernández Rojas	depends on DM_ETH && ARCH_BMIPS
78*55e55fe4SÁlvaro Fernández Rojas	select DMA
79*55e55fe4SÁlvaro Fernández Rojas	select DMA_CHANNELS
80*55e55fe4SÁlvaro Fernández Rojas	select MII
81*55e55fe4SÁlvaro Fernández Rojas	select PHYLIB
82*55e55fe4SÁlvaro Fernández Rojas	help
83*55e55fe4SÁlvaro Fernández Rojas	  This driver supports the BCM6348 Ethernet MAC.
84*55e55fe4SÁlvaro Fernández Rojas
85ba4dfef1SStephen Warrenconfig DWC_ETH_QOS
86ba4dfef1SStephen Warren	bool "Synopsys DWC Ethernet QOS device support"
87ba4dfef1SStephen Warren	depends on DM_ETH
88ba4dfef1SStephen Warren	select PHYLIB
89ba4dfef1SStephen Warren	help
90ba4dfef1SStephen Warren	  This driver supports the Synopsys Designware Ethernet QOS (Quality
91ba4dfef1SStephen Warren	  Of Service) IP block. The IP supports many options for bus type,
92ba4dfef1SStephen Warren	  clocking/reset structure, and feature list. This driver currently
93ba4dfef1SStephen Warren	  supports the specific configuration used in NVIDIA's Tegra186 chip,
94ba4dfef1SStephen Warren	  but should be extensible to other combinations quite easily.
95ba4dfef1SStephen Warren
96c294ac5cSSimon Glassconfig E1000
97c294ac5cSSimon Glass	bool "Intel PRO/1000 Gigabit Ethernet support"
98c294ac5cSSimon Glass	help
99c294ac5cSSimon Glass	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
100c294ac5cSSimon Glass	  adapters.  For more information on how to identify your adapter, go
101c294ac5cSSimon Glass	  to the Adapter & Driver ID Guide at:
102c294ac5cSSimon Glass
103c294ac5cSSimon Glass	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
104c294ac5cSSimon Glass
105c294ac5cSSimon Glassconfig E1000_SPI_GENERIC
106c294ac5cSSimon Glass	bool "Allow access to the Intel 8257x SPI bus"
107c294ac5cSSimon Glass	depends on E1000
108c294ac5cSSimon Glass	help
109c294ac5cSSimon Glass	  Allow generic access to the SPI bus on the Intel 8257x, for
110c294ac5cSSimon Glass	  example with the "sspi" command.
111c294ac5cSSimon Glass
112c294ac5cSSimon Glassconfig E1000_SPI
113c294ac5cSSimon Glass	bool "Enable SPI bus utility code"
114c294ac5cSSimon Glass	depends on E1000
115c294ac5cSSimon Glass	help
116c294ac5cSSimon Glass	  Utility code for direct access to the SPI bus on Intel 8257x.
117c294ac5cSSimon Glass	  This does not do anything useful unless you set at least one
118c294ac5cSSimon Glass	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
119c294ac5cSSimon Glass
120c294ac5cSSimon Glassconfig CMD_E1000
121c294ac5cSSimon Glass	bool "Enable the e1000 command"
122c294ac5cSSimon Glass	depends on E1000
123c294ac5cSSimon Glass	help
124c294ac5cSSimon Glass	  This enables the 'e1000' management command for E1000 devices. When
125c294ac5cSSimon Glass	  used on devices with SPI support you can reprogram the EEPROM from
126c294ac5cSSimon Glass	  U-Boot.
127c294ac5cSSimon Glass
1283ea143abSJoe Hershbergerconfig ETH_SANDBOX
1293ea143abSJoe Hershberger	depends on DM_ETH && SANDBOX
1303ea143abSJoe Hershberger	default y
1313ea143abSJoe Hershberger	bool "Sandbox: Mocked Ethernet driver"
1323ea143abSJoe Hershberger	help
1333ea143abSJoe Hershberger	  This driver simply responds with fake ARP replies and ping
1343ea143abSJoe Hershberger	  replies that are used to verify network stack functionality
1353ea143abSJoe Hershberger
1363ea143abSJoe Hershberger	  This driver is particularly useful in the test/dm/eth.c tests
1373ea143abSJoe Hershberger
138a346ca79SJoe Hershbergerconfig ETH_SANDBOX_RAW
139a346ca79SJoe Hershberger	depends on DM_ETH && SANDBOX
140a346ca79SJoe Hershberger	default y
141a346ca79SJoe Hershberger	bool "Sandbox: Bridge to Linux Raw Sockets"
142a346ca79SJoe Hershberger	help
143a346ca79SJoe Hershberger	  This driver is a bridge from the bottom of the network stack
144a346ca79SJoe Hershberger	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
145a346ca79SJoe Hershberger	  network traffic to be tested from within sandbox. See
146a346ca79SJoe Hershberger	  board/sandbox/README.sandbox for more details.
147a346ca79SJoe Hershberger
148ef48f6ddSSimon Glassconfig ETH_DESIGNWARE
149ef48f6ddSSimon Glass	bool "Synopsys Designware Ethernet MAC"
15025af71c4SThomas Chou	select PHYLIB
151ef48f6ddSSimon Glass	help
152ef48f6ddSSimon Glass	  This MAC is present in SoCs from various vendors. It supports
153ef48f6ddSSimon Glass	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
154ef48f6ddSSimon Glass	  provide the PHY (physical media interface).
155ef48f6ddSSimon Glass
156215a0656SMarek Vasutconfig ETH_DESIGNWARE_SOCFPGA
157215a0656SMarek Vasut	bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
158215a0656SMarek Vasut	depends on DM_ETH && ETH_DESIGNWARE
159215a0656SMarek Vasut	help
160215a0656SMarek Vasut	  The Altera SoCFPGA requires additional configuration of the
161215a0656SMarek Vasut	  Altera system manager to correctly interface with the PHY.
162215a0656SMarek Vasut	  This code handles those SoC specifics.
163215a0656SMarek Vasut
164f0727120SMax Filippovconfig ETHOC
165f0727120SMax Filippov	bool "OpenCores 10/100 Mbps Ethernet MAC"
166f0727120SMax Filippov	help
167f0727120SMax Filippov	  This MAC is present in OpenRISC and Xtensa XTFPGA boards.
168f0727120SMax Filippov
169fbada485SPeng Fanconfig FEC_MXC_SHARE_MDIO
170fbada485SPeng Fan	bool "Share the MDIO bus for FEC controller"
171fbada485SPeng Fan	depends on FEC_MXC
172fbada485SPeng Fan
173fbada485SPeng Fanconfig FEC_MXC_MDIO_BASE
174fbada485SPeng Fan	hex "MDIO base address for the FEC controller"
175fbada485SPeng Fan	depends on FEC_MXC_SHARE_MDIO
176fbada485SPeng Fan	help
177fbada485SPeng Fan	  This specifies the MDIO registers base address. It is used when
178fbada485SPeng Fan	  two FEC controllers share MDIO bus.
179fbada485SPeng Fan
18097d29ca3SJagan Tekiconfig FEC_MXC
18197d29ca3SJagan Teki	bool "FEC Ethernet controller"
18258ec4d33SAnatolij Gustschin	depends on MX5 || MX6 || MX7 || IMX8
18397d29ca3SJagan Teki	help
18497d29ca3SJagan Teki	  This driver supports the 10/100 Fast Ethernet controller for
18597d29ca3SJagan Teki	  NXP i.MX processors.
18697d29ca3SJagan Teki
1878dc1b17fSTom Riniconfig FTMAC100
1888dc1b17fSTom Rini	bool "Ftmac100 Ethernet Support"
1898dc1b17fSTom Rini	help
1908dc1b17fSTom Rini	  This MAC is present in Andestech SoCs.
1918dc1b17fSTom Rini
192f95de0bdSCédric Le Goaterconfig FTGMAC100
193f95de0bdSCédric Le Goater	bool "Ftgmac100 Ethernet Support"
194f95de0bdSCédric Le Goater	depends on DM_ETH
195f95de0bdSCédric Le Goater	select PHYLIB
196f95de0bdSCédric Le Goater	help
197f95de0bdSCédric Le Goater	  This driver supports the Faraday's FTGMAC100 Gigabit SoC
198f95de0bdSCédric Le Goater	  Ethernet controller that can be found on Aspeed SoCs (which
199f95de0bdSCédric Le Goater	  include NCSI).
200f95de0bdSCédric Le Goater
201f95de0bdSCédric Le Goater	  It is fully compliant with IEEE 802.3 specification for
202f95de0bdSCédric Le Goater	  10/100 Mbps Ethernet and IEEE 802.3z specification for 1000
203f95de0bdSCédric Le Goater	  Mbps Ethernet and includes Reduced Media Independent
204f95de0bdSCédric Le Goater	  Interface (RMII) and Reduced Gigabit Media Independent
205f95de0bdSCédric Le Goater	  Interface (RGMII) interfaces. It adopts an AHB bus interface
206f95de0bdSCédric Le Goater	  and integrates a link list DMA engine with direct M-Bus
207f95de0bdSCédric Le Goater	  accesses for transmitting and receiving packets. It has
208f95de0bdSCédric Le Goater	  independent TX/RX fifos, supports half and full duplex (1000
209f95de0bdSCédric Le Goater	  Mbps mode only supports full duplex), flow control for full
210f95de0bdSCédric Le Goater	  duplex and backpressure for half duplex.
211f95de0bdSCédric Le Goater
212f95de0bdSCédric Le Goater	  The FTGMAC100 also implements IP, TCP, UDP checksum offloads
213f95de0bdSCédric Le Goater	  and supports IEEE 802.1Q VLAN tag insertion and removal. It
214f95de0bdSCédric Le Goater	  offers high-priority transmit queue for QoS and CoS
215f95de0bdSCédric Le Goater	  applications.
216f95de0bdSCédric Le Goater
217f95de0bdSCédric Le Goater
218ed52ea50SChris Packhamconfig MVGBE
219ed52ea50SChris Packham	bool "Marvell Orion5x/Kirkwood network interface support"
220ed52ea50SChris Packham	depends on KIRKWOOD || ORION5X
221fb731076SChris Packham	select PHYLIB if DM_ETH
222ed52ea50SChris Packham	help
223ed52ea50SChris Packham	  This driver supports the network interface units in the
224ed52ea50SChris Packham	  Marvell Orion5x and Kirkwood SoCs
225ed52ea50SChris Packham
2267654f62fSChris Packhamconfig MVNETA
227e7ab2ccdSMiquel Raynal	bool "Marvell Armada XP/385/3700 network interface support"
228e7ab2ccdSMiquel Raynal	depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
2297654f62fSChris Packham	select PHYLIB
2307654f62fSChris Packham	help
2317654f62fSChris Packham	  This driver supports the network interface units in the
232e7ab2ccdSMiquel Raynal	  Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
2337654f62fSChris Packham
23499d4c6d3SStefan Roeseconfig MVPP2
235e7935c47SStefan Roese	bool "Marvell Armada 375/7K/8K network interface support"
236e7935c47SStefan Roese	depends on ARMADA_375 || ARMADA_8K
23799d4c6d3SStefan Roese	select PHYLIB
23899d4c6d3SStefan Roese	help
23999d4c6d3SStefan Roese	  This driver supports the network interface units in the
240e7935c47SStefan Roese	  Marvell ARMADA 375, 7K and 8K SoCs.
24199d4c6d3SStefan Roese
242ebcb40a5SWenyou Yangconfig MACB
243ebcb40a5SWenyou Yang	bool "Cadence MACB/GEM Ethernet Interface"
244ebcb40a5SWenyou Yang	depends on DM_ETH
245ebcb40a5SWenyou Yang	select PHYLIB
246ebcb40a5SWenyou Yang	help
247ebcb40a5SWenyou Yang	  The Cadence MACB ethernet interface is found on many Atmel
248ebcb40a5SWenyou Yang	  AT91 and SAMA5 parts.  This driver also supports the Cadence
249ebcb40a5SWenyou Yang	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
250ebcb40a5SWenyou Yang	  Say Y to include support for the MACB/GEM chip.
251ebcb40a5SWenyou Yang
2524bf56913SWilson Leeconfig MACB_ZYNQ
2534bf56913SWilson Lee	bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
2544bf56913SWilson Lee	depends on MACB
2554bf56913SWilson Lee	help
2564bf56913SWilson Lee	  The Cadence MACB ethernet interface was used on Zynq platform.
2574bf56913SWilson Lee	  Say Y to enable support for the MACB/GEM in Zynq chip.
2584bf56913SWilson Lee
259c895ef46SStefan Roeseconfig MT7628_ETH
260c895ef46SStefan Roese	bool "MediaTek MT7628 Ethernet Interface"
261c895ef46SStefan Roese	depends on ARCH_MT7620
262c895ef46SStefan Roese	help
263c895ef46SStefan Roese	  The MediaTek MT7628 ethernet interface is used on MT7628 and
264c895ef46SStefan Roese	  MT7688 based boards.
265c895ef46SStefan Roese
266b68fe152SBin Mengconfig PCH_GBE
267b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
268b68fe152SBin Meng	depends on DM_ETH && DM_PCI
269b68fe152SBin Meng	select PHYLIB
270b68fe152SBin Meng	help
271b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
272b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
273b68fe152SBin Meng
274751b0be0SMylène Josserandconfig RGMII
275751b0be0SMylène Josserand	bool "Enable RGMII"
276751b0be0SMylène Josserand	help
277751b0be0SMylène Josserand	  Enable the support of the Reduced Gigabit Media-Independent
278751b0be0SMylène Josserand	  Interface (RGMII).
279751b0be0SMylène Josserand
280d7869b21SAdam Fordconfig MII
281d7869b21SAdam Ford	bool "Enable MII"
282d7869b21SAdam Ford	help
283d7869b21SAdam Ford	  Enable support of the Media-Independent Interface (MII)
284d7869b21SAdam Ford
28586e9dc86SBin Mengconfig RTL8139
28686e9dc86SBin Meng	bool "Realtek 8139 series Ethernet controller driver"
28786e9dc86SBin Meng	help
28886e9dc86SBin Meng	  This driver supports Realtek 8139 series fast ethernet family of
28986e9dc86SBin Meng	  PCI chipsets/adapters.
29086e9dc86SBin Meng
2910764f24aSBin Mengconfig RTL8169
2920764f24aSBin Meng	bool "Realtek 8169 series Ethernet controller driver"
2930764f24aSBin Meng	help
2940764f24aSBin Meng	  This driver supports Realtek 8169 series gigabit ethernet family of
2950764f24aSBin Meng	  PCI/PCIe chipsets/adapters.
2960764f24aSBin Meng
2978daec2d9SAdam Fordconfig SMC911X
2988daec2d9SAdam Ford	bool "SMSC LAN911x and LAN921x controller driver"
2998daec2d9SAdam Ford
3008daec2d9SAdam Fordif SMC911X
3018daec2d9SAdam Ford
3028daec2d9SAdam Fordconfig SMC911X_BASE
3038daec2d9SAdam Ford	hex "SMC911X Base Address"
3048daec2d9SAdam Ford	help
3058daec2d9SAdam Ford	  Define this to hold the physical address
3068daec2d9SAdam Ford	  of the device (I/O space)
3078daec2d9SAdam Ford
3088daec2d9SAdam Fordchoice
3098daec2d9SAdam Ford	prompt "SMC911X bus width"
3108daec2d9SAdam Ford	default SMC911X_16_BIT
3118daec2d9SAdam Ford
3128daec2d9SAdam Fordconfig SMC911X_32_BIT
3138daec2d9SAdam Ford	bool "Enable 32-bit interface"
3148daec2d9SAdam Ford
3158daec2d9SAdam Fordconfig SMC911X_16_BIT
3168daec2d9SAdam Ford	bool "Enable 16-bit interface"
3178daec2d9SAdam Ford	help
3188daec2d9SAdam Ford	  Define this if data bus is 16 bits. If your processor
3198daec2d9SAdam Ford	  automatically converts one 32 bit word to two 16 bit
3208daec2d9SAdam Ford	  words you may also try CONFIG_SMC911X_32_BIT.
3218daec2d9SAdam Ford
3228daec2d9SAdam Fordendchoice
3238daec2d9SAdam Fordendif #SMC911X
3248daec2d9SAdam Ford
3254d43d065SMylène Josserandconfig SUN7I_GMAC
3264d43d065SMylène Josserand	bool "Enable Allwinner GMAC Ethernet support"
3274d43d065SMylène Josserand	help
3284d43d065SMylène Josserand	  Enable the support for Sun7i GMAC Ethernet controller
3294d43d065SMylène Josserand
330aba39249SStefan Mavrodievconfig SUN7I_GMAC_FORCE_TXERR
331aba39249SStefan Mavrodiev	bool "Force PA17 as gmac function"
332aba39249SStefan Mavrodiev	depends on SUN7I_GMAC
333aba39249SStefan Mavrodiev	help
334aba39249SStefan Mavrodiev	  Some ethernet phys needs TXERR control. Since the GMAC
335aba39249SStefan Mavrodiev	  doesn't have such signal, setting PA17 as GMAC function
336aba39249SStefan Mavrodiev	  makes the pin output low, which enables data transmission.
337aba39249SStefan Mavrodiev
338abc3e4dfSMylène Josserandconfig SUN4I_EMAC
339abc3e4dfSMylène Josserand	bool "Allwinner Sun4i Ethernet MAC support"
340abc3e4dfSMylène Josserand	depends on DM_ETH
3416270a3f0SArtturi Alm	select PHYLIB
342abc3e4dfSMylène Josserand	help
343abc3e4dfSMylène Josserand	  This driver supports the Allwinner based SUN4I Ethernet MAC.
344abc3e4dfSMylène Josserand
345a29710c5SAmit Singh Tomarconfig SUN8I_EMAC
346a29710c5SAmit Singh Tomar        bool "Allwinner Sun8i Ethernet MAC support"
347a29710c5SAmit Singh Tomar        depends on DM_ETH
348a29710c5SAmit Singh Tomar        select PHYLIB
349449ea2cdSPhilipp Tomsich	select PHY_GIGE
350a29710c5SAmit Singh Tomar        help
351a29710c5SAmit Singh Tomar          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
352a29710c5SAmit Singh Tomar	  It can be found in H3/A64/A83T based SoCs and compatible with both
3537131d2d0STom Rini	  External and Internal PHYs.
354a29710c5SAmit Singh Tomar
355dcd18eafSNobuhiro Iwamatsuconfig SH_ETHER
356dcd18eafSNobuhiro Iwamatsu	bool "Renesas SH Ethernet MAC"
357dcd18eafSNobuhiro Iwamatsu	select PHYLIB
358dcd18eafSNobuhiro Iwamatsu	help
359dcd18eafSNobuhiro Iwamatsu	  This driver supports the Ethernet for Renesas SH and ARM SoCs.
360dcd18eafSNobuhiro Iwamatsu
361ffad5fa0SGrygorii Strashkosource "drivers/net/ti/Kconfig"
362d7869b21SAdam Ford
363338a5f2bSMichal Simekconfig XILINX_AXIEMAC
364338a5f2bSMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
365338a5f2bSMichal Simek	select PHYLIB
366338a5f2bSMichal Simek	select MII
367338a5f2bSMichal Simek	bool "Xilinx AXI Ethernet"
368338a5f2bSMichal Simek	help
369338a5f2bSMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
370338a5f2bSMichal Simek
3713229c869SMichal Simekconfig XILINX_EMACLITE
3722f1f05f4SZubair Lutfullah Kakakhel	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
3733229c869SMichal Simek	select PHYLIB
3743229c869SMichal Simek	select MII
3753229c869SMichal Simek	bool "Xilinx Ethernetlite"
3763229c869SMichal Simek	help
3773229c869SMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
3783229c869SMichal Simek
379596e5782SMichal Simekconfig ZYNQ_GEM
380ec48b6c9SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL)
3817bccc75aSMichal Simek	select PHYLIB
382596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
383596e5782SMichal Simek	help
384c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
385596e5782SMichal Simek
38623e7578cSPurna Chandra Mandalconfig PIC32_ETH
38723e7578cSPurna Chandra Mandal	bool "Microchip PIC32 Ethernet Support"
38823e7578cSPurna Chandra Mandal	depends on DM_ETH && MACH_PIC32
38923e7578cSPurna Chandra Mandal	select PHYLIB
39023e7578cSPurna Chandra Mandal	help
39123e7578cSPurna Chandra Mandal	  This driver implements 10/100 Mbps Ethernet and MAC layer for
39223e7578cSPurna Chandra Mandal	  Microchip PIC32 microcontrollers.
39323e7578cSPurna Chandra Mandal
3940125bcf0SSjoerd Simonsconfig GMAC_ROCKCHIP
3950125bcf0SSjoerd Simons	bool "Rockchip Synopsys Designware Ethernet MAC"
3960125bcf0SSjoerd Simons	depends on DM_ETH && ETH_DESIGNWARE
3970125bcf0SSjoerd Simons	help
3980125bcf0SSjoerd Simons	  This driver provides Rockchip SoCs network support based on the
3990125bcf0SSjoerd Simons	  Synopsys Designware driver.
4000125bcf0SSjoerd Simons
4018ae51b6fSMarek Vasutconfig RENESAS_RAVB
4028ae51b6fSMarek Vasut	bool "Renesas Ethernet AVB MAC"
4038ae51b6fSMarek Vasut	depends on DM_ETH && RCAR_GEN3
4048ae51b6fSMarek Vasut	select PHYLIB
4058ae51b6fSMarek Vasut	help
4068ae51b6fSMarek Vasut	  This driver implements support for the Ethernet AVB block in
4078ae51b6fSMarek Vasut	  Renesas M3 and H3 SoCs.
4088ae51b6fSMarek Vasut
409fad51ac3SChristophe Leroyconfig MPC8XX_FEC
410fad51ac3SChristophe Leroy	bool "Fast Ethernet Controller on MPC8XX"
411ee1e600cSChristophe Leroy	depends on MPC8xx
412fad51ac3SChristophe Leroy	select MII
413fad51ac3SChristophe Leroy	help
414fad51ac3SChristophe Leroy	  This driver implements support for the Fast Ethernet Controller
415fad51ac3SChristophe Leroy	  on MPC8XX
416fad51ac3SChristophe Leroy
417a8927795SKunihiko Hayashiconfig SNI_AVE
418a8927795SKunihiko Hayashi	bool "Socionext AVE Ethernet support"
419a8927795SKunihiko Hayashi	depends on DM_ETH && ARCH_UNIPHIER
420a8927795SKunihiko Hayashi	select PHYLIB
421a8927795SKunihiko Hayashi	select SYSCON
422a8927795SKunihiko Hayashi	select REGMAP
423a8927795SKunihiko Hayashi	help
424a8927795SKunihiko Hayashi	  This driver implements support for the Socionext AVE Ethernet
425a8927795SKunihiko Hayashi	  controller, as found on the Socionext UniPhier family.
426a8927795SKunihiko Hayashi
427fad51ac3SChristophe Leroyconfig ETHER_ON_FEC1
428fad51ac3SChristophe Leroy	bool "FEC1"
429fad51ac3SChristophe Leroy	depends on MPC8XX_FEC
430fad51ac3SChristophe Leroy	default y
431fad51ac3SChristophe Leroy
432fad51ac3SChristophe Leroyconfig FEC1_PHY
433fad51ac3SChristophe Leroy	int "FEC1 PHY"
434fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
435fad51ac3SChristophe Leroy	default -1
436fad51ac3SChristophe Leroy	help
437fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
438fad51ac3SChristophe Leroy	  to the given FEC; i. e.
439fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
440fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
441fad51ac3SChristophe Leroy
442fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
443fad51ac3SChristophe Leroy
444fad51ac3SChristophe Leroyconfig PHY_NORXERR
445fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
446fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
447fad51ac3SChristophe Leroy	default n
448fad51ac3SChristophe Leroy	help
449fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
450fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
451fad51ac3SChristophe Leroy
452fad51ac3SChristophe Leroyconfig ETHER_ON_FEC2
453fad51ac3SChristophe Leroy	bool "FEC2"
454fad51ac3SChristophe Leroy	depends on MPC8XX_FEC && MPC885
455fad51ac3SChristophe Leroy	default y
456fad51ac3SChristophe Leroy
457fad51ac3SChristophe Leroyconfig FEC2_PHY
458fad51ac3SChristophe Leroy	int "FEC2 PHY"
459fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
460fad51ac3SChristophe Leroy	default -1
461fad51ac3SChristophe Leroy	help
462fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
463fad51ac3SChristophe Leroy	  to the given FEC; i. e.
464fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
465fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
466fad51ac3SChristophe Leroy
467fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
468fad51ac3SChristophe Leroy
469fad51ac3SChristophe Leroyconfig FEC2_PHY_NORXERR
470fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
471fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
472fad51ac3SChristophe Leroy	default n
473fad51ac3SChristophe Leroy	help
474fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
475fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
476fad51ac3SChristophe Leroy
477541d5766SAhmed Mansourconfig SYS_DPAA_QBMAN
478541d5766SAhmed Mansour	bool "Device tree fixup for QBMan on freescale SOCs"
479541d5766SAhmed Mansour	depends on (ARM || PPC) && !SPL_BUILD
480541d5766SAhmed Mansour	default y if ARCH_B4860 || \
481541d5766SAhmed Mansour		     ARCH_B4420 || \
482541d5766SAhmed Mansour		     ARCH_P1023 || \
483541d5766SAhmed Mansour		     ARCH_P2041 || \
484541d5766SAhmed Mansour		     ARCH_T1023 || \
485541d5766SAhmed Mansour		     ARCH_T1024 || \
486541d5766SAhmed Mansour		     ARCH_T1040 || \
487541d5766SAhmed Mansour		     ARCH_T1042 || \
488541d5766SAhmed Mansour		     ARCH_T2080 || \
489541d5766SAhmed Mansour		     ARCH_T2081 || \
490541d5766SAhmed Mansour		     ARCH_T4240 || \
491541d5766SAhmed Mansour		     ARCH_T4160 || \
492541d5766SAhmed Mansour		     ARCH_P4080 || \
493541d5766SAhmed Mansour		     ARCH_P3041 || \
494541d5766SAhmed Mansour		     ARCH_P5040 || \
495541d5766SAhmed Mansour		     ARCH_P5020 || \
496541d5766SAhmed Mansour		     ARCH_LS1043A || \
497541d5766SAhmed Mansour		     ARCH_LS1046A
498541d5766SAhmed Mansour	help
499541d5766SAhmed Mansour	  QBman fixups to allow deep sleep in DPAA 1 SOCs
500541d5766SAhmed Mansour
50117151052SMario Sixconfig TSEC_ENET
50217151052SMario Six	select PHYLIB
50317151052SMario Six	bool "Enable Three-Speed Ethernet Controller"
50417151052SMario Six	help
50517151052SMario Six	  This driver implements support for the (Enhanced) Three-Speed
50617151052SMario Six	  Ethernet Controller found on Freescale SoCs.
50717151052SMario Six
5083ea143abSJoe Hershbergerendif # NETDEVICES
509