xref: /rk3399_rockchip-uboot/drivers/net/Kconfig (revision 8a2d844d7d70ac9d97f9e6e344ff56ced05f8e3e)
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
13*8a2d844dSAlex Margineanconfig DM_MDIO
14*8a2d844dSAlex Marginean	bool "Enable Driver Model for MDIO devices"
15*8a2d844dSAlex Marginean	depends on DM_ETH && PHYLIB
16*8a2d844dSAlex Marginean	help
17*8a2d844dSAlex Marginean	  Enable driver model for MDIO devices
18*8a2d844dSAlex Marginean
19*8a2d844dSAlex Marginean	  Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as
20*8a2d844dSAlex Marginean	  stand-alone devices.  Useful in particular for systems that support
21*8a2d844dSAlex Marginean	  DM_ETH and have a stand-alone MDIO hardware block shared by multiple
22*8a2d844dSAlex Marginean	  Ethernet interfaces.
23*8a2d844dSAlex Marginean	  This is currently implemented in net/mdio-uclass.c
24*8a2d844dSAlex Marginean	  Look in include/miiphy.h for details.
25*8a2d844dSAlex Marginean
263ea143abSJoe Hershbergermenuconfig NETDEVICES
273ea143abSJoe Hershberger	bool "Network device support"
283ea143abSJoe Hershberger	depends on NET
29ef0f2f57SJoe Hershberger	default y if DM_ETH
303ea143abSJoe Hershberger	help
313ea143abSJoe Hershberger	  You must select Y to enable any network device support
323ea143abSJoe Hershberger	  Generally if you have any networking support this is a given
333ea143abSJoe Hershberger
343ea143abSJoe Hershberger	  If unsure, say Y
353ea143abSJoe Hershberger
363ea143abSJoe Hershbergerif NETDEVICES
373ea143abSJoe Hershberger
38449ea2cdSPhilipp Tomsichconfig PHY_GIGE
39449ea2cdSPhilipp Tomsich	bool "Enable GbE PHY status parsing and configuration"
40449ea2cdSPhilipp Tomsich	help
41449ea2cdSPhilipp Tomsich	  Enables support for parsing the status output and for
42449ea2cdSPhilipp Tomsich	  configuring GbE PHYs (affects the inner workings of some
43449ea2cdSPhilipp Tomsich	  commands and miiphyutil.c).
44449ea2cdSPhilipp Tomsich
45e40095f6SMarek Vasutconfig AG7XXX
46e40095f6SMarek Vasut	bool "Atheros AG7xxx Ethernet MAC support"
47e40095f6SMarek Vasut	depends on DM_ETH && ARCH_ATH79
48e40095f6SMarek Vasut	select PHYLIB
49e40095f6SMarek Vasut	help
50e40095f6SMarek Vasut	  This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
51e40095f6SMarek Vasut	  present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
52e40095f6SMarek Vasut
53e40095f6SMarek Vasut
5496fa1e43SThomas Chouconfig ALTERA_TSE
5596fa1e43SThomas Chou	bool "Altera Triple-Speed Ethernet MAC support"
5696fa1e43SThomas Chou	depends on DM_ETH
5796fa1e43SThomas Chou	select PHYLIB
5896fa1e43SThomas Chou	help
5996fa1e43SThomas Chou	  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
6096fa1e43SThomas Chou	  Please find details on the "Triple-Speed Ethernet MegaCore Function
6196fa1e43SThomas Chou	  Resource Center" of Altera.
6296fa1e43SThomas Chou
63c89782dcSSuji Velupillaiconfig BCM_SF2_ETH
64c89782dcSSuji Velupillai	bool "Broadcom SF2 (Starfighter2) Ethernet support"
65c89782dcSSuji Velupillai	select PHYLIB
66c89782dcSSuji Velupillai	help
67c89782dcSSuji Velupillai	  This is an abstract framework which provides a generic interface
68c89782dcSSuji Velupillai	  to MAC and DMA management for multiple Broadcom SoCs such as
69c89782dcSSuji Velupillai	  Cygnus, NSP and bcm28155_ap platforms.
70c89782dcSSuji Velupillai
71c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_DEFAULT_PORT
72c89782dcSSuji Velupillai	int "Broadcom SF2 (Starfighter2) Ethernet default port number"
73c89782dcSSuji Velupillai	depends on BCM_SF2_ETH
74c89782dcSSuji Velupillai	default 0
75c89782dcSSuji Velupillai	help
76c89782dcSSuji Velupillai	  Default port number for the Starfighter2 ethernet driver.
77c89782dcSSuji Velupillai
78c89782dcSSuji Velupillaiconfig BCM_SF2_ETH_GMAC
79c89782dcSSuji Velupillai	bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support"
80c89782dcSSuji Velupillai	depends on BCM_SF2_ETH
81c89782dcSSuji Velupillai	help
82c89782dcSSuji Velupillai	  This flag enables the ethernet support for Broadcom platforms with
83c89782dcSSuji Velupillai	  GMAC such as Cygnus. This driver is based on the framework provided
84c89782dcSSuji Velupillai	  by the BCM_SF2_ETH driver.
85c89782dcSSuji Velupillai	  Say Y to any bcmcygnus based platforms.
86c89782dcSSuji Velupillai
87ba4dfef1SStephen Warrenconfig DWC_ETH_QOS
88ba4dfef1SStephen Warren	bool "Synopsys DWC Ethernet QOS device support"
89ba4dfef1SStephen Warren	depends on DM_ETH
90ba4dfef1SStephen Warren	select PHYLIB
91ba4dfef1SStephen Warren	help
92ba4dfef1SStephen Warren	  This driver supports the Synopsys Designware Ethernet QOS (Quality
93ba4dfef1SStephen Warren	  Of Service) IP block. The IP supports many options for bus type,
94ba4dfef1SStephen Warren	  clocking/reset structure, and feature list. This driver currently
95ba4dfef1SStephen Warren	  supports the specific configuration used in NVIDIA's Tegra186 chip,
96ba4dfef1SStephen Warren	  but should be extensible to other combinations quite easily.
97ba4dfef1SStephen Warren
98c294ac5cSSimon Glassconfig E1000
99c294ac5cSSimon Glass	bool "Intel PRO/1000 Gigabit Ethernet support"
100c294ac5cSSimon Glass	help
101c294ac5cSSimon Glass	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
102c294ac5cSSimon Glass	  adapters.  For more information on how to identify your adapter, go
103c294ac5cSSimon Glass	  to the Adapter & Driver ID Guide at:
104c294ac5cSSimon Glass
105c294ac5cSSimon Glass	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
106c294ac5cSSimon Glass
107c294ac5cSSimon Glassconfig E1000_SPI_GENERIC
108c294ac5cSSimon Glass	bool "Allow access to the Intel 8257x SPI bus"
109c294ac5cSSimon Glass	depends on E1000
110c294ac5cSSimon Glass	help
111c294ac5cSSimon Glass	  Allow generic access to the SPI bus on the Intel 8257x, for
112c294ac5cSSimon Glass	  example with the "sspi" command.
113c294ac5cSSimon Glass
114c294ac5cSSimon Glassconfig E1000_SPI
115c294ac5cSSimon Glass	bool "Enable SPI bus utility code"
116c294ac5cSSimon Glass	depends on E1000
117c294ac5cSSimon Glass	help
118c294ac5cSSimon Glass	  Utility code for direct access to the SPI bus on Intel 8257x.
119c294ac5cSSimon Glass	  This does not do anything useful unless you set at least one
120c294ac5cSSimon Glass	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
121c294ac5cSSimon Glass
122c294ac5cSSimon Glassconfig CMD_E1000
123c294ac5cSSimon Glass	bool "Enable the e1000 command"
124c294ac5cSSimon Glass	depends on E1000
125c294ac5cSSimon Glass	help
126c294ac5cSSimon Glass	  This enables the 'e1000' management command for E1000 devices. When
127c294ac5cSSimon Glass	  used on devices with SPI support you can reprogram the EEPROM from
128c294ac5cSSimon Glass	  U-Boot.
129c294ac5cSSimon Glass
1303ea143abSJoe Hershbergerconfig ETH_SANDBOX
1313ea143abSJoe Hershberger	depends on DM_ETH && SANDBOX
1323ea143abSJoe Hershberger	default y
1333ea143abSJoe Hershberger	bool "Sandbox: Mocked Ethernet driver"
1343ea143abSJoe Hershberger	help
1353ea143abSJoe Hershberger	  This driver simply responds with fake ARP replies and ping
1363ea143abSJoe Hershberger	  replies that are used to verify network stack functionality
1373ea143abSJoe Hershberger
1383ea143abSJoe Hershberger	  This driver is particularly useful in the test/dm/eth.c tests
1393ea143abSJoe Hershberger
140a346ca79SJoe Hershbergerconfig ETH_SANDBOX_RAW
141a346ca79SJoe Hershberger	depends on DM_ETH && SANDBOX
142a346ca79SJoe Hershberger	default y
143a346ca79SJoe Hershberger	bool "Sandbox: Bridge to Linux Raw Sockets"
144a346ca79SJoe Hershberger	help
145a346ca79SJoe Hershberger	  This driver is a bridge from the bottom of the network stack
146a346ca79SJoe Hershberger	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
147a346ca79SJoe Hershberger	  network traffic to be tested from within sandbox. See
148a346ca79SJoe Hershberger	  board/sandbox/README.sandbox for more details.
149a346ca79SJoe Hershberger
150ef48f6ddSSimon Glassconfig ETH_DESIGNWARE
151ef48f6ddSSimon Glass	bool "Synopsys Designware Ethernet MAC"
15225af71c4SThomas Chou	select PHYLIB
153ef48f6ddSSimon Glass	help
154ef48f6ddSSimon Glass	  This MAC is present in SoCs from various vendors. It supports
155ef48f6ddSSimon Glass	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
156ef48f6ddSSimon Glass	  provide the PHY (physical media interface).
157ef48f6ddSSimon Glass
158f0727120SMax Filippovconfig ETHOC
159f0727120SMax Filippov	bool "OpenCores 10/100 Mbps Ethernet MAC"
160f0727120SMax Filippov	help
161f0727120SMax Filippov	  This MAC is present in OpenRISC and Xtensa XTFPGA boards.
162f0727120SMax Filippov
16397d29ca3SJagan Tekiconfig FEC_MXC
16497d29ca3SJagan Teki	bool "FEC Ethernet controller"
16598d62e61SPatrick Bruenn	depends on MX5 || MX6
16697d29ca3SJagan Teki	help
16797d29ca3SJagan Teki	  This driver supports the 10/100 Fast Ethernet controller for
16897d29ca3SJagan Teki	  NXP i.MX processors.
16997d29ca3SJagan Teki
1708dc1b17fSTom Riniconfig FTMAC100
1718dc1b17fSTom Rini	bool "Ftmac100 Ethernet Support"
1728dc1b17fSTom Rini	help
1738dc1b17fSTom Rini	  This MAC is present in Andestech SoCs.
1748dc1b17fSTom Rini
17599d4c6d3SStefan Roeseconfig MVPP2
176e7935c47SStefan Roese	bool "Marvell Armada 375/7K/8K network interface support"
177e7935c47SStefan Roese	depends on ARMADA_375 || ARMADA_8K
17899d4c6d3SStefan Roese	select PHYLIB
17999d4c6d3SStefan Roese	help
18099d4c6d3SStefan Roese	  This driver supports the network interface units in the
181e7935c47SStefan Roese	  Marvell ARMADA 375, 7K and 8K SoCs.
18299d4c6d3SStefan Roese
183ebcb40a5SWenyou Yangconfig MACB
184ebcb40a5SWenyou Yang	bool "Cadence MACB/GEM Ethernet Interface"
185ebcb40a5SWenyou Yang	depends on DM_ETH
186ebcb40a5SWenyou Yang	select PHYLIB
187ebcb40a5SWenyou Yang	help
188ebcb40a5SWenyou Yang	  The Cadence MACB ethernet interface is found on many Atmel
189ebcb40a5SWenyou Yang	  AT91 and SAMA5 parts.  This driver also supports the Cadence
190ebcb40a5SWenyou Yang	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
191ebcb40a5SWenyou Yang	  Say Y to include support for the MACB/GEM chip.
192ebcb40a5SWenyou Yang
193b68fe152SBin Mengconfig PCH_GBE
194b68fe152SBin Meng	bool "Intel Platform Controller Hub EG20T GMAC driver"
195b68fe152SBin Meng	depends on DM_ETH && DM_PCI
196b68fe152SBin Meng	select PHYLIB
197b68fe152SBin Meng	help
198b68fe152SBin Meng	  This MAC is present in Intel Platform Controller Hub EG20T. It
199b68fe152SBin Meng	  supports 10/100/1000 Mbps operation.
200b68fe152SBin Meng
201751b0be0SMylène Josserandconfig RGMII
202751b0be0SMylène Josserand	bool "Enable RGMII"
203751b0be0SMylène Josserand	help
204751b0be0SMylène Josserand	  Enable the support of the Reduced Gigabit Media-Independent
205751b0be0SMylène Josserand	  Interface (RGMII).
206751b0be0SMylène Josserand
20786e9dc86SBin Mengconfig RTL8139
20886e9dc86SBin Meng	bool "Realtek 8139 series Ethernet controller driver"
20986e9dc86SBin Meng	help
21086e9dc86SBin Meng	  This driver supports Realtek 8139 series fast ethernet family of
21186e9dc86SBin Meng	  PCI chipsets/adapters.
21286e9dc86SBin Meng
2130764f24aSBin Mengconfig RTL8169
2140764f24aSBin Meng	bool "Realtek 8169 series Ethernet controller driver"
2150764f24aSBin Meng	help
2160764f24aSBin Meng	  This driver supports Realtek 8169 series gigabit ethernet family of
2170764f24aSBin Meng	  PCI/PCIe chipsets/adapters.
2180764f24aSBin Meng
2194d43d065SMylène Josserandconfig SUN7I_GMAC
2204d43d065SMylène Josserand	bool "Enable Allwinner GMAC Ethernet support"
2214d43d065SMylène Josserand	help
2224d43d065SMylène Josserand	  Enable the support for Sun7i GMAC Ethernet controller
2234d43d065SMylène Josserand
224abc3e4dfSMylène Josserandconfig SUN4I_EMAC
225abc3e4dfSMylène Josserand	bool "Allwinner Sun4i Ethernet MAC support"
226abc3e4dfSMylène Josserand	depends on DM_ETH
227abc3e4dfSMylène Josserand	help
228abc3e4dfSMylène Josserand	  This driver supports the Allwinner based SUN4I Ethernet MAC.
229abc3e4dfSMylène Josserand
230a29710c5SAmit Singh Tomarconfig SUN8I_EMAC
231a29710c5SAmit Singh Tomar        bool "Allwinner Sun8i Ethernet MAC support"
232a29710c5SAmit Singh Tomar        depends on DM_ETH
233a29710c5SAmit Singh Tomar        select PHYLIB
234449ea2cdSPhilipp Tomsich	select PHY_GIGE
235a29710c5SAmit Singh Tomar        help
236a29710c5SAmit Singh Tomar          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
237a29710c5SAmit Singh Tomar	  It can be found in H3/A64/A83T based SoCs and compatible with both
2387131d2d0STom Rini	  External and Internal PHYs.
239a29710c5SAmit Singh Tomar
240338a5f2bSMichal Simekconfig XILINX_AXIEMAC
241338a5f2bSMichal Simek	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
242338a5f2bSMichal Simek	select PHYLIB
243338a5f2bSMichal Simek	select MII
244338a5f2bSMichal Simek	bool "Xilinx AXI Ethernet"
245338a5f2bSMichal Simek	help
246338a5f2bSMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
247338a5f2bSMichal Simek
2483229c869SMichal Simekconfig XILINX_EMACLITE
2492f1f05f4SZubair Lutfullah Kakakhel	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
2503229c869SMichal Simek	select PHYLIB
2513229c869SMichal Simek	select MII
2523229c869SMichal Simek	bool "Xilinx Ethernetlite"
2533229c869SMichal Simek	help
2543229c869SMichal Simek	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
2553229c869SMichal Simek
256596e5782SMichal Simekconfig ZYNQ_GEM
257596e5782SMichal Simek	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
2587bccc75aSMichal Simek	select PHYLIB
259596e5782SMichal Simek	bool "Xilinx Ethernet GEM"
260596e5782SMichal Simek	help
261c9428107SMichal Simek	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
262596e5782SMichal Simek
26323e7578cSPurna Chandra Mandalconfig PIC32_ETH
26423e7578cSPurna Chandra Mandal	bool "Microchip PIC32 Ethernet Support"
26523e7578cSPurna Chandra Mandal	depends on DM_ETH && MACH_PIC32
26623e7578cSPurna Chandra Mandal	select PHYLIB
26723e7578cSPurna Chandra Mandal	help
26823e7578cSPurna Chandra Mandal	  This driver implements 10/100 Mbps Ethernet and MAC layer for
26923e7578cSPurna Chandra Mandal	  Microchip PIC32 microcontrollers.
27023e7578cSPurna Chandra Mandal
2710125bcf0SSjoerd Simonsconfig GMAC_ROCKCHIP
2720125bcf0SSjoerd Simons	bool "Rockchip Synopsys Designware Ethernet MAC"
2730125bcf0SSjoerd Simons	depends on DM_ETH && ETH_DESIGNWARE
2740125bcf0SSjoerd Simons	help
2750125bcf0SSjoerd Simons	  This driver provides Rockchip SoCs network support based on the
2760125bcf0SSjoerd Simons	  Synopsys Designware driver.
2770125bcf0SSjoerd Simons
2788ae51b6fSMarek Vasutconfig RENESAS_RAVB
2798ae51b6fSMarek Vasut	bool "Renesas Ethernet AVB MAC"
2808ae51b6fSMarek Vasut	depends on DM_ETH && RCAR_GEN3
2818ae51b6fSMarek Vasut	select PHYLIB
2828ae51b6fSMarek Vasut	help
2838ae51b6fSMarek Vasut	  This driver implements support for the Ethernet AVB block in
2848ae51b6fSMarek Vasut	  Renesas M3 and H3 SoCs.
2858ae51b6fSMarek Vasut
286fad51ac3SChristophe Leroyconfig MPC8XX_FEC
287fad51ac3SChristophe Leroy	bool "Fast Ethernet Controller on MPC8XX"
28887e4c602SChristophe Leroy	depends on MPC8xx
289fad51ac3SChristophe Leroy	select MII
290fad51ac3SChristophe Leroy	help
291fad51ac3SChristophe Leroy	  This driver implements support for the Fast Ethernet Controller
292fad51ac3SChristophe Leroy	  on MPC8XX
293fad51ac3SChristophe Leroy
294fad51ac3SChristophe Leroyconfig ETHER_ON_FEC1
295fad51ac3SChristophe Leroy	bool "FEC1"
296fad51ac3SChristophe Leroy	depends on MPC8XX_FEC
297fad51ac3SChristophe Leroy	default y
298fad51ac3SChristophe Leroy
299fad51ac3SChristophe Leroyconfig FEC1_PHY
300fad51ac3SChristophe Leroy	int "FEC1 PHY"
301fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
302fad51ac3SChristophe Leroy	default -1
303fad51ac3SChristophe Leroy	help
304fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
305fad51ac3SChristophe Leroy	  to the given FEC; i. e.
306fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
307fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
308fad51ac3SChristophe Leroy
309fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
310fad51ac3SChristophe Leroy
311fad51ac3SChristophe Leroyconfig PHY_NORXERR
312fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
313fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC1
314fad51ac3SChristophe Leroy	default n
315fad51ac3SChristophe Leroy	help
316fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
317fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
318fad51ac3SChristophe Leroy
319fad51ac3SChristophe Leroyconfig ETHER_ON_FEC2
320fad51ac3SChristophe Leroy	bool "FEC2"
321fad51ac3SChristophe Leroy	depends on MPC8XX_FEC && MPC885
322fad51ac3SChristophe Leroy	default y
323fad51ac3SChristophe Leroy
324fad51ac3SChristophe Leroyconfig FEC2_PHY
325fad51ac3SChristophe Leroy	int "FEC2 PHY"
326fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
327fad51ac3SChristophe Leroy	default -1
328fad51ac3SChristophe Leroy	help
329fad51ac3SChristophe Leroy	  Define to the hardcoded PHY address which corresponds
330fad51ac3SChristophe Leroy	  to the given FEC; i. e.
331fad51ac3SChristophe Leroy		#define CONFIG_FEC1_PHY 4
332fad51ac3SChristophe Leroy	  means that the PHY with address 4 is connected to FEC1
333fad51ac3SChristophe Leroy
334fad51ac3SChristophe Leroy	  When set to -1, means to probe for first available.
335fad51ac3SChristophe Leroy
336fad51ac3SChristophe Leroyconfig FEC2_PHY_NORXERR
337fad51ac3SChristophe Leroy	bool "PHY_NORXERR"
338fad51ac3SChristophe Leroy	depends on ETHER_ON_FEC2
339fad51ac3SChristophe Leroy	default n
340fad51ac3SChristophe Leroy	help
341fad51ac3SChristophe Leroy	  The PHY does not have a RXERR line (RMII only).
342fad51ac3SChristophe Leroy	  (so program the FEC to ignore it).
343fad51ac3SChristophe Leroy
3443ea143abSJoe Hershbergerendif # NETDEVICES
345