xref: /openbmc/u-boot/drivers/net/Kconfig (revision fa87abb6)
1source "drivers/net/phy/Kconfig"
2
3config DM_ETH
4	bool "Enable Driver Model for Ethernet drivers"
5	depends on DM
6	help
7	  Enable driver model for Ethernet.
8
9	  The eth_*() interface will be implemented by the UC_ETH class
10	  This is currently implemented in net/eth.c
11	  Look in include/net.h for details.
12
13menuconfig NETDEVICES
14	bool "Network device support"
15	depends on NET
16	default y if DM_ETH
17	help
18	  You must select Y to enable any network device support
19	  Generally if you have any networking support this is a given
20
21	  If unsure, say Y
22
23if NETDEVICES
24
25config PHY_GIGE
26	bool "Enable GbE PHY status parsing and configuration"
27	help
28	  Enables support for parsing the status output and for
29	  configuring GbE PHYs (affects the inner workings of some
30	  commands and miiphyutil.c).
31
32config AG7XXX
33	bool "Atheros AG7xxx Ethernet MAC support"
34	depends on DM_ETH && ARCH_ATH79
35	select PHYLIB
36	help
37	  This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
38	  present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
39
40
41config ALTERA_TSE
42	bool "Altera Triple-Speed Ethernet MAC support"
43	depends on DM_ETH
44	select PHYLIB
45	help
46	  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
47	  Please find details on the "Triple-Speed Ethernet MegaCore Function
48	  Resource Center" of Altera.
49
50config DWC_ETH_QOS
51	bool "Synopsys DWC Ethernet QOS device support"
52	depends on DM_ETH
53	select PHYLIB
54	help
55	  This driver supports the Synopsys Designware Ethernet QOS (Quality
56	  Of Service) IP block. The IP supports many options for bus type,
57	  clocking/reset structure, and feature list. This driver currently
58	  supports the specific configuration used in NVIDIA's Tegra186 chip,
59	  but should be extensible to other combinations quite easily.
60
61config E1000
62	bool "Intel PRO/1000 Gigabit Ethernet support"
63	help
64	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
65	  adapters.  For more information on how to identify your adapter, go
66	  to the Adapter & Driver ID Guide at:
67
68	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
69
70config E1000_SPI_GENERIC
71	bool "Allow access to the Intel 8257x SPI bus"
72	depends on E1000
73	help
74	  Allow generic access to the SPI bus on the Intel 8257x, for
75	  example with the "sspi" command.
76
77config E1000_SPI
78	bool "Enable SPI bus utility code"
79	depends on E1000
80	help
81	  Utility code for direct access to the SPI bus on Intel 8257x.
82	  This does not do anything useful unless you set at least one
83	  of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
84
85config CMD_E1000
86	bool "Enable the e1000 command"
87	depends on E1000
88	help
89	  This enables the 'e1000' management command for E1000 devices. When
90	  used on devices with SPI support you can reprogram the EEPROM from
91	  U-Boot.
92
93config ETH_SANDBOX
94	depends on DM_ETH && SANDBOX
95	default y
96	bool "Sandbox: Mocked Ethernet driver"
97	help
98	  This driver simply responds with fake ARP replies and ping
99	  replies that are used to verify network stack functionality
100
101	  This driver is particularly useful in the test/dm/eth.c tests
102
103config ETH_SANDBOX_RAW
104	depends on DM_ETH && SANDBOX
105	default y
106	bool "Sandbox: Bridge to Linux Raw Sockets"
107	help
108	  This driver is a bridge from the bottom of the network stack
109	  in U-Boot to the RAW AF_PACKET API in Linux. This allows real
110	  network traffic to be tested from within sandbox. See
111	  board/sandbox/README.sandbox for more details.
112
113config ETH_DESIGNWARE
114	bool "Synopsys Designware Ethernet MAC"
115	select PHYLIB
116	help
117	  This MAC is present in SoCs from various vendors. It supports
118	  100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
119	  provide the PHY (physical media interface).
120
121config ETHOC
122	bool "OpenCores 10/100 Mbps Ethernet MAC"
123	help
124	  This MAC is present in OpenRISC and Xtensa XTFPGA boards.
125
126config FEC_MXC
127	bool "FEC Ethernet controller"
128	depends on MX5 || MX6
129	help
130	  This driver supports the 10/100 Fast Ethernet controller for
131	  NXP i.MX processors.
132
133config FTMAC100
134	bool "Ftmac100 Ethernet Support"
135	help
136	  This MAC is present in Andestech SoCs.
137
138config MVPP2
139	bool "Marvell Armada 375/7K/8K network interface support"
140	depends on ARMADA_375 || ARMADA_8K
141	select PHYLIB
142	help
143	  This driver supports the network interface units in the
144	  Marvell ARMADA 375, 7K and 8K SoCs.
145
146config MACB
147	bool "Cadence MACB/GEM Ethernet Interface"
148	depends on DM_ETH
149	select PHYLIB
150	help
151	  The Cadence MACB ethernet interface is found on many Atmel
152	  AT91 and SAMA5 parts.  This driver also supports the Cadence
153	  GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
154	  Say Y to include support for the MACB/GEM chip.
155
156config PCH_GBE
157	bool "Intel Platform Controller Hub EG20T GMAC driver"
158	depends on DM_ETH && DM_PCI
159	select PHYLIB
160	help
161	  This MAC is present in Intel Platform Controller Hub EG20T. It
162	  supports 10/100/1000 Mbps operation.
163
164config RGMII
165	bool "Enable RGMII"
166	help
167	  Enable the support of the Reduced Gigabit Media-Independent
168	  Interface (RGMII).
169
170config RTL8139
171	bool "Realtek 8139 series Ethernet controller driver"
172	help
173	  This driver supports Realtek 8139 series fast ethernet family of
174	  PCI chipsets/adapters.
175
176config RTL8169
177	bool "Realtek 8169 series Ethernet controller driver"
178	help
179	  This driver supports Realtek 8169 series gigabit ethernet family of
180	  PCI/PCIe chipsets/adapters.
181
182config SUN7I_GMAC
183	bool "Enable Allwinner GMAC Ethernet support"
184	help
185	  Enable the support for Sun7i GMAC Ethernet controller
186
187config SUN4I_EMAC
188	bool "Allwinner Sun4i Ethernet MAC support"
189	depends on DM_ETH
190	help
191	  This driver supports the Allwinner based SUN4I Ethernet MAC.
192
193config SUN8I_EMAC
194        bool "Allwinner Sun8i Ethernet MAC support"
195        depends on DM_ETH
196        select PHYLIB
197	select PHY_GIGE
198        help
199          This driver supports the  Allwinner based SUN8I/SUN50I Ethernet MAC.
200	  It can be found in H3/A64/A83T based SoCs and compatible with both
201	  External and Internal PHYs.
202
203config XILINX_AXIEMAC
204	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
205	select PHYLIB
206	select MII
207	bool "Xilinx AXI Ethernet"
208	help
209	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
210
211config XILINX_EMACLITE
212	depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
213	select PHYLIB
214	select MII
215	bool "Xilinx Ethernetlite"
216	help
217	  This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
218
219config ZYNQ_GEM
220	depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
221	select PHYLIB
222	bool "Xilinx Ethernet GEM"
223	help
224	  This MAC is present in Xilinx Zynq and ZynqMP SoCs.
225
226config PIC32_ETH
227	bool "Microchip PIC32 Ethernet Support"
228	depends on DM_ETH && MACH_PIC32
229	select PHYLIB
230	help
231	  This driver implements 10/100 Mbps Ethernet and MAC layer for
232	  Microchip PIC32 microcontrollers.
233
234config GMAC_ROCKCHIP
235	bool "Rockchip Synopsys Designware Ethernet MAC"
236	depends on DM_ETH && ETH_DESIGNWARE
237	help
238	  This driver provides Rockchip SoCs network support based on the
239	  Synopsys Designware driver.
240
241config RENESAS_RAVB
242	bool "Renesas Ethernet AVB MAC"
243	depends on DM_ETH && RCAR_GEN3
244	select PHYLIB
245	help
246	  This driver implements support for the Ethernet AVB block in
247	  Renesas M3 and H3 SoCs.
248
249config MPC8XX_FEC
250	bool "Fast Ethernet Controller on MPC8XX"
251	depends on 8xx
252	select MII
253	help
254	  This driver implements support for the Fast Ethernet Controller
255	  on MPC8XX
256
257config ETHER_ON_FEC1
258	bool "FEC1"
259	depends on MPC8XX_FEC
260	default y
261
262config FEC1_PHY
263	int "FEC1 PHY"
264	depends on ETHER_ON_FEC1
265	default -1
266	help
267	  Define to the hardcoded PHY address which corresponds
268	  to the given FEC; i. e.
269		#define CONFIG_FEC1_PHY 4
270	  means that the PHY with address 4 is connected to FEC1
271
272	  When set to -1, means to probe for first available.
273
274config PHY_NORXERR
275	bool "PHY_NORXERR"
276	depends on ETHER_ON_FEC1
277	default n
278	help
279	  The PHY does not have a RXERR line (RMII only).
280	  (so program the FEC to ignore it).
281
282config ETHER_ON_FEC2
283	bool "FEC2"
284	depends on MPC8XX_FEC && MPC885
285	default y
286
287config FEC2_PHY
288	int "FEC2 PHY"
289	depends on ETHER_ON_FEC2
290	default -1
291	help
292	  Define to the hardcoded PHY address which corresponds
293	  to the given FEC; i. e.
294		#define CONFIG_FEC1_PHY 4
295	  means that the PHY with address 4 is connected to FEC1
296
297	  When set to -1, means to probe for first available.
298
299config FEC2_PHY_NORXERR
300	bool "PHY_NORXERR"
301	depends on ETHER_ON_FEC2
302	default n
303	help
304	  The PHY does not have a RXERR line (RMII only).
305	  (so program the FEC to ignore it).
306
307endif # NETDEVICES
308