blob: 736aab2e6e6df20e65b589787917bcc7e626794a [file] [log] [blame]
Alex89e50d92017-02-06 19:17:34 -08001source "drivers/net/phy/Kconfig"
2
Joe Hershbergerc7eceaf2015-03-22 17:09:10 -05003config 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.
Joe Hershberger6ab76992015-03-22 17:09:13 -050012
13menuconfig NETDEVICES
14 bool "Network device support"
15 depends on NET
Joe Hershberger5a9d7f12015-06-22 16:15:30 -050016 default y if DM_ETH
Joe Hershberger6ab76992015-03-22 17:09:13 -050017 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
Philipp Tomsich00c33612017-03-26 18:50:23 +020025config 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
Marek Vasut0a3d0e12016-05-24 23:29:09 +020032config 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
Thomas Chouec06dd82015-10-22 15:29:11 +080041config 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
Stephen Warren50709602016-10-21 14:46:47 -060050config 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
Simon Glassa83ccd52015-08-19 09:33:41 -060061config 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
Joe Hershberger6ab76992015-03-22 17:09:13 -050093config 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
Joe Hershberger586cbd12015-03-22 17:09:21 -0500103config 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
Simon Glass6e378742015-04-05 16:07:34 -0600113config ETH_DESIGNWARE
114 bool "Synopsys Designware Ethernet MAC"
Thomas Chou7a0dfa62015-12-07 20:53:29 +0800115 select PHYLIB
Simon Glass6e378742015-04-05 16:07:34 -0600116 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
Max Filippove07d3d22016-08-05 18:26:15 +0300121config ETHOC
122 bool "OpenCores 10/100 Mbps Ethernet MAC"
123 help
124 This MAC is present in OpenRISC and Xtensa XTFPGA boards.
125
Jagan Tekia48af852016-10-08 18:00:12 +0530126config FEC_MXC
127 bool "FEC Ethernet controller"
Patrick Bruennba81b042016-11-04 11:57:02 +0100128 depends on MX5 || MX6
Jagan Tekia48af852016-10-08 18:00:12 +0530129 help
130 This driver supports the 10/100 Fast Ethernet controller for
131 NXP i.MX processors.
132
Tom Rinic5ea8ed2017-05-26 11:18:53 -0400133config FTMAC100
134 bool "Ftmac100 Ethernet Support"
135 help
136 This MAC is present in Andestech SoCs.
137
Stefan Roese96c19042016-02-10 07:22:10 +0100138config MVPP2
Stefan Roese78a112b2017-02-15 11:42:59 +0100139 bool "Marvell Armada 375/7K/8K network interface support"
140 depends on ARMADA_375 || ARMADA_8K
Stefan Roese96c19042016-02-10 07:22:10 +0100141 select PHYLIB
142 help
143 This driver supports the network interface units in the
Stefan Roese78a112b2017-02-15 11:42:59 +0100144 Marvell ARMADA 375, 7K and 8K SoCs.
Stefan Roese96c19042016-02-10 07:22:10 +0100145
Wenyou Yange7183de2016-11-02 10:06:55 +0800146config 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
Bin Meng64d3dca2015-08-27 22:25:58 -0700156config 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
Mylène Josserande44eb3a2017-04-02 12:59:08 +0200164config RGMII
165 bool "Enable RGMII"
166 help
167 Enable the support of the Reduced Gigabit Media-Independent
168 Interface (RGMII).
169
Bin Menga6448df2016-03-21 06:47:41 -0700170config 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
Bin Meng29971222016-03-21 06:47:42 -0700176config 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
Mylène Josserandc1506ef2017-04-02 12:59:03 +0200182config SUN7I_GMAC
183 bool "Enable Allwinner GMAC Ethernet support"
184 help
185 Enable the support for Sun7i GMAC Ethernet controller
186
Mylène Josserand43ef1842017-04-02 12:59:07 +0200187config 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
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530193config SUN8I_EMAC
194 bool "Allwinner Sun8i Ethernet MAC support"
195 depends on DM_ETH
196 select PHYLIB
Philipp Tomsich00c33612017-03-26 18:50:23 +0200197 select PHY_GIGE
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530198 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
Tom Rini1eee1172017-02-20 09:38:03 -0500201 External and Internal PHYs.
Amit Singh Tomard194c0e2016-07-06 17:59:44 +0530202
Michal Simek07d204f2015-12-09 16:54:42 +0100203config 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
Michal Simekeaee95a2015-12-11 09:41:49 +0100211config XILINX_EMACLITE
Zubair Lutfullah Kakakhelc6811092016-07-27 12:25:09 +0100212 depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
Michal Simekeaee95a2015-12-11 09:41:49 +0100213 select PHYLIB
214 select MII
215 bool "Xilinx Ethernetlite"
216 help
217 This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
218
Michal Simek3d7285f2015-11-30 14:34:52 +0100219config ZYNQ_GEM
220 depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
Michal Simek27ba0902015-12-11 09:14:31 +0100221 select PHYLIB
Michal Simek3d7285f2015-11-30 14:34:52 +0100222 bool "Xilinx Ethernet GEM"
223 help
Michal Simek7fb1d232015-12-09 16:53:52 +0100224 This MAC is present in Xilinx Zynq and ZynqMP SoCs.
Michal Simek3d7285f2015-11-30 14:34:52 +0100225
Purna Chandra Mandal6b731c92016-01-28 15:30:21 +0530226config 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
Sjoerd Simons54c46f92017-01-11 11:46:11 +0100234config 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
Marek Vasut17714cb2017-05-13 15:54:28 +0200241config 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
Christophe Leroy56ef30a2017-07-06 10:33:23 +0200249config 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
Joe Hershberger6ab76992015-03-22 17:09:13 -0500307endif # NETDEVICES