blob: 1b534eaaca3d23080ad1e00af8cf0800c18f5839 [file] [log] [blame]
Andy Fleming00db8182005-07-30 19:31:23 -04001#
2# PHY Layer Configuration
3#
4
Jan Engelhardt53f99942007-05-10 22:52:55 -07005menuconfig PHYLIB
Ben Hutchingsfc0b9272011-11-25 14:40:02 +00006 tristate "PHY Device support and infrastructure"
Randy Dunlapcba86f22010-08-11 13:26:57 +00007 depends on NETDEVICES
Andy Fleming00db8182005-07-30 19:31:23 -04008 help
9 Ethernet controllers are usually attached to PHY
10 devices. This option provides infrastructure for
11 managing PHY devices.
12
Jan Engelhardt53f99942007-05-10 22:52:55 -070013if PHYLIB
14
Russell King5ae68b02016-06-23 14:50:05 +010015config SWPHY
16 bool
17
Andy Fleming00db8182005-07-30 19:31:23 -040018comment "MII PHY device drivers"
Andy Fleming00db8182005-07-30 19:31:23 -040019
Shaohui Xiebee82592015-07-31 16:58:42 +080020config AQUANTIA_PHY
21 tristate "Drivers for the Aquantia PHYs"
22 ---help---
23 Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
24
Matus Ujhelyi0ca71112012-10-14 19:07:16 +000025config AT803X_PHY
26 tristate "Drivers for Atheros AT803X PHYs"
27 ---help---
28 Currently supports the AT8030 and AT8035 model
29
Heiko Schocher49099122012-03-18 11:03:05 +000030config AMD_PHY
31 tristate "Drivers for the AMD PHYs"
32 ---help---
33 Currently supports the am79c874
34
Andy Fleming00db8182005-07-30 19:31:23 -040035config MARVELL_PHY
Jeff Garzik67c4f3f2005-08-11 02:07:25 -040036 tristate "Drivers for Marvell PHYs"
Andy Fleming00db8182005-07-30 19:31:23 -040037 ---help---
38 Currently has a driver for the 88E1011S
39
40config DAVICOM_PHY
Jeff Garzik67c4f3f2005-08-11 02:07:25 -040041 tristate "Drivers for Davicom PHYs"
Andy Fleming00db8182005-07-30 19:31:23 -040042 ---help---
43 Currently supports dm9161e and dm9131
44
45config QSEMI_PHY
Jeff Garzik67c4f3f2005-08-11 02:07:25 -040046 tristate "Drivers for Quality Semiconductor PHYs"
Andy Fleming00db8182005-07-30 19:31:23 -040047 ---help---
48 Currently supports the qs6612
49
50config LXT_PHY
Jeff Garzik67c4f3f2005-08-11 02:07:25 -040051 tristate "Drivers for the Intel LXT PHYs"
Andy Fleming00db8182005-07-30 19:31:23 -040052 ---help---
53 Currently supports the lxt970, lxt971
54
55config CICADA_PHY
Jeff Garzik67c4f3f2005-08-11 02:07:25 -040056 tristate "Drivers for the Cicada PHYs"
Andy Fleming00db8182005-07-30 19:31:23 -040057 ---help---
58 Currently supports the cis8204
Jan Engelhardt53f99942007-05-10 22:52:55 -070059
Jon Loeligeref82a302006-06-17 17:52:55 -050060config VITESSE_PHY
61 tristate "Drivers for the Vitesse PHYs"
Jon Loeligeref82a302006-06-17 17:52:55 -050062 ---help---
63 Currently supports the vsc8244
Andy Fleming00db8182005-07-30 19:31:23 -040064
Shaohui Xief61687c2015-07-17 11:19:46 +080065config TERANETICS_PHY
66 tristate "Drivers for the Teranetics PHYs"
67 ---help---
68 Currently supports the Teranetics TN2020
69
Herbert Valerio Riedelc9e055a2006-05-07 23:22:53 +020070config SMSC_PHY
71 tristate "Drivers for SMSC PHYs"
Herbert Valerio Riedelc9e055a2006-05-07 23:22:53 +020072 ---help---
Steve Glendinning4d9b1a02008-04-28 18:37:29 +010073 Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
Herbert Valerio Riedelc9e055a2006-05-07 23:22:53 +020074
Arun Parameswarana1cba562015-10-06 12:25:48 -070075config BCM_NET_PHYLIB
76 tristate
77
Maciej W. Rozyckic4b41c92006-10-03 16:18:13 +010078config BROADCOM_PHY
79 tristate "Drivers for Broadcom PHYs"
Arun Parameswarana1cba562015-10-06 12:25:48 -070080 select BCM_NET_PHYLIB
Maciej W. Rozyckic4b41c92006-10-03 16:18:13 +010081 ---help---
Alessio Igor Bogani3bca4cf62015-04-08 12:15:18 +020082 Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
83 BCM5481 and BCM5482 PHYs.
Maciej W. Rozyckic4b41c92006-10-03 16:18:13 +010084
Arun Parameswaran8e185d62015-10-06 12:25:49 -070085config BCM_CYGNUS_PHY
86 tristate "Drivers for Broadcom Cygnus SoC internal PHY"
87 depends on ARCH_BCM_CYGNUS || COMPILE_TEST
88 depends on MDIO_BCM_IPROC
89 select BCM_NET_PHYLIB
90 ---help---
91 This PHY driver is for the 1G internal PHYs of the Broadcom
92 Cygnus Family SoC.
93
94 Currently supports internal PHY's used in the BCM11300,
95 BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
96 BCM58303 & BCM58305 Broadcom Cygnus SoCs.
97
Maxime Bizon09bb9aa2009-07-01 01:29:36 +000098config BCM63XX_PHY
99 tristate "Drivers for Broadcom 63xx SOCs internal PHY"
Ralf Baechlef1dc0452011-06-14 22:07:58 +0000100 depends on BCM63XX
Arun Parameswarana1cba562015-10-06 12:25:48 -0700101 select BCM_NET_PHYLIB
Maxime Bizon09bb9aa2009-07-01 01:29:36 +0000102 ---help---
103 Currently supports the 6348 and 6358 PHYs.
104
Florian Fainellib560a582014-02-13 16:08:45 -0800105config BCM7XXX_PHY
106 tristate "Drivers for Broadcom 7xxx SOCs internal PHYs"
Arun Parameswarana1cba562015-10-06 12:25:48 -0700107 select BCM_NET_PHYLIB
Florian Fainellib560a582014-02-13 16:08:45 -0800108 ---help---
109 Currently supports the BCM7366, BCM7439, BCM7445, and
110 40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
111
David Daneye9976d72012-06-27 07:33:38 +0000112config BCM87XX_PHY
113 tristate "Driver for Broadcom BCM8706 and BCM8727 PHYs"
114 help
115 Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
116
Michael Barkowski0cefeeb2007-05-11 18:24:51 -0500117config ICPLUS_PHY
118 tristate "Drivers for ICPlus PHYs"
119 ---help---
Giuseppe CAVALLARO377ecca2010-12-08 23:05:13 +0000120 Currently supports the IP175C and IP1001 PHYs.
Michael Barkowski0cefeeb2007-05-11 18:24:51 -0500121
Johnson Leung097c2aa2008-02-03 03:50:54 -0800122config REALTEK_PHY
123 tristate "Drivers for Realtek PHYs"
124 ---help---
125 Supports the Realtek 821x PHY.
126
Giuseppe Cavallaro914804b2008-11-28 16:14:12 -0800127config NATIONAL_PHY
128 tristate "Drivers for National Semiconductor PHYs"
129 ---help---
130 Currently supports the DP83865 PHY.
131
Giuseppe Cavallarof95be1802008-11-28 16:42:41 -0800132config STE10XP
Giuseppe Cavallarof95be1802008-11-28 16:42:41 -0800133 tristate "Driver for STMicroelectronics STe10Xp PHYs"
134 ---help---
135 This is the driver for the STe100p and STe101p PHYs.
136
Chaithrika U Sdbb7a952008-12-09 22:21:25 -0800137config LSI_ET1011C_PHY
138 tristate "Driver for LSI ET1011C PHY"
139 ---help---
140 Supports the LSI ET1011C PHY.
141
David J. Choid0507002010-04-29 06:12:41 +0000142config MICREL_PHY
143 tristate "Driver for Micrel PHYs"
144 ---help---
145 Supports the KSZ9021, VSC8201, KS8001 PHYs.
146
Andrew F. Davis34e45ad2015-10-20 16:28:57 -0500147config DP83848_PHY
148 tristate "Driver for Texas Instruments DP83848 PHY"
149 ---help---
150 Supports the DP83848 PHY.
151
Dan Murphy2a101542015-06-02 09:34:37 -0500152config DP83867_PHY
153 tristate "Drivers for Texas Instruments DP83867 Gigabit PHY"
154 ---help---
155 Currently supports the DP83867 PHY.
156
Woojung.Huh@microchip.com792aec42015-09-09 20:49:53 +0000157config MICROCHIP_PHY
158 tristate "Drivers for Microchip PHYs"
159 help
160 Supports the LAN88XX PHYs.
161
Vitaly Bordug11b0bac2006-08-14 23:00:29 -0700162config FIXED_PHY
David S. Miller6539c442014-12-16 14:30:09 -0500163 tristate "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
164 depends on PHYLIB
Russell King5ae68b02016-06-23 14:50:05 +0100165 select SWPHY
Vitaly Bordug11b0bac2006-08-14 23:00:29 -0700166 ---help---
Vitaly Borduga79d8e92007-12-07 01:51:22 +0300167 Adds the platform "fixed" MDIO Bus to cover the boards that use
168 PHYs that are not connected to the real MDIO bus.
Vitaly Bordug11b0bac2006-08-14 23:00:29 -0700169
Vitaly Borduga79d8e92007-12-07 01:51:22 +0300170 Currently tested with mpc866ads and mpc8349e-mitx.
Vitaly Bordug7c32f472007-08-10 14:05:16 -0700171
Scott Woode2ec4582007-10-01 14:20:56 -0500172config MDIO_BITBANG
173 tristate "Support for bitbanged MDIO buses"
174 help
175 This module implements the MDIO bus protocol in software,
176 for use by low level drivers that export the ability to
177 drive the relevant pins.
178
179 If in doubt, say N.
180
Paulius Zaleckas72af1872008-11-14 00:24:28 +0000181config MDIO_GPIO
Laurent Pincharta5edecc2008-05-26 11:53:21 +0200182 tristate "Support for GPIO lib-based bitbanged MDIO buses"
Alexandre Courbot76ec9d12013-03-28 04:34:56 -0700183 depends on MDIO_BITBANG && GPIOLIB
Laurent Pincharta5edecc2008-05-26 11:53:21 +0200184 ---help---
185 Supports GPIO lib-based MDIO busses.
186
Paulius Zaleckasf004f3e2008-11-14 00:24:34 +0000187 To compile this driver as a module, choose M here: the module
188 will be called mdio-gpio.
189
David Daney1eefee92016-03-11 09:53:10 -0800190config MDIO_CAVIUM
191 tristate
192
David Daney25d967b2009-10-14 12:04:38 -0700193config MDIO_OCTEON
David Daney1eefee92016-03-11 09:53:10 -0800194 tristate "Support for MDIO buses on Octeon and some ThunderX SOCs"
Radha Mohan Chintakuntlaa6d67862015-07-28 15:12:11 -0700195 depends on 64BIT
Richard Weinbergerc731f0e2016-01-25 23:24:12 +0100196 depends on HAS_IOMEM
David Daney1eefee92016-03-11 09:53:10 -0800197 select MDIO_CAVIUM
David Daney25d967b2009-10-14 12:04:38 -0700198 help
Radha Mohan Chintakuntlaa6d67862015-07-28 15:12:11 -0700199 This module provides a driver for the Octeon and ThunderX MDIO
David Daney1eefee92016-03-11 09:53:10 -0800200 buses. It is required by the Octeon and ThunderX ethernet device
201 drivers on some systems.
David Daney25d967b2009-10-14 12:04:38 -0700202
David Daney379d7ac2016-03-11 09:53:11 -0800203config MDIO_THUNDER
Andreas Färbere2ad1f92016-03-17 00:23:37 +0100204 tristate "Support for MDIO buses on ThunderX SOCs"
David Daney379d7ac2016-03-11 09:53:11 -0800205 depends on 64BIT
206 depends on PCI
207 select MDIO_CAVIUM
208 help
209 This driver supports the MDIO interfaces found on Cavium
Andreas Färbere2ad1f92016-03-17 00:23:37 +0100210 ThunderX SoCs when the MDIO bus device appears as a PCI
David Daney379d7ac2016-03-11 09:53:11 -0800211 device.
212
213
Maxime Ripard4bdcb1d2013-05-30 03:49:21 +0000214config MDIO_SUN4I
215 tristate "Allwinner sun4i MDIO interface support"
216 depends on ARCH_SUNXI
Maxime Ripard4bdcb1d2013-05-30 03:49:21 +0000217 help
218 This driver supports the MDIO interface found in the network
219 interface units of the Allwinner SoC that have an EMAC (A10,
220 A12, A10s, etc.)
221
Jonas Jensenb0db7b02013-11-05 16:55:01 +0100222config MDIO_MOXART
223 tristate "MOXA ART MDIO interface support"
224 depends on ARCH_MOXART
225 help
226 This driver supports the MDIO interface found in the network
227 interface units of the MOXA ART SoC
228
David Daney0ca29972012-05-02 15:16:38 +0000229config MDIO_BUS_MUX
230 tristate
231 depends on OF_MDIO
232 help
233 This module provides a driver framework for MDIO bus
234 multiplexers which connect one of several child MDIO busses
235 to a parent bus. Switching between child busses is done by
236 device specific drivers.
237
David Daney416912a2012-05-02 15:16:39 +0000238config MDIO_BUS_MUX_GPIO
239 tristate "Support for GPIO controlled MDIO bus multiplexers"
240 depends on OF_GPIO && OF_MDIO
241 select MDIO_BUS_MUX
242 help
243 This module provides a driver for MDIO bus multiplexers that
244 are controlled via GPIO lines. The multiplexer connects one of
245 several child MDIO busses to a parent bus. Child bus
246 selection is under the control of GPIO lines.
247
Timur Tabi6cc2ff82012-08-24 09:10:53 +0000248config MDIO_BUS_MUX_MMIOREG
249 tristate "Support for MMIO device-controlled MDIO bus multiplexers"
Rob Herringcfa52002015-07-05 12:16:27 -0500250 depends on OF_MDIO && HAS_IOMEM
Timur Tabi6cc2ff82012-08-24 09:10:53 +0000251 select MDIO_BUS_MUX
252 help
253 This module provides a driver for MDIO bus multiplexers that
254 are controlled via a simple memory-mapped device, like an FPGA.
255 The multiplexer connects one of several child MDIO busses to a
256 parent bus. Child bus selection is under the control of one of
257 the FPGA's registers.
258
259 Currently, only 8-bit registers are supported.
260
Pramod Kumar98bc8652016-06-10 11:03:49 +0530261config MDIO_BUS_MUX_BCM_IPROC
262 tristate "Support for iProc based MDIO bus multiplexers"
263 depends on OF && OF_MDIO && (ARCH_BCM_IPROC || COMPILE_TEST)
264 select MDIO_BUS_MUX
265 default ARCH_BCM_IPROC
266 help
267 This module provides a driver for MDIO bus multiplexers found in
268 iProc based Broadcom SoCs. This multiplexer connects one of several
269 child MDIO bus to a parent bus. Buses could be internal as well as
270 external and selection logic lies inside the same multiplexer.
271
Florian Fainelli2ba1b162014-08-27 17:04:47 -0700272config MDIO_BCM_UNIMAC
273 tristate "Broadcom UniMAC MDIO bus controller"
Chen Gangb3a00c92014-10-04 17:54:33 +0800274 depends on HAS_IOMEM
Florian Fainelli2ba1b162014-08-27 17:04:47 -0700275 help
276 This module provides a driver for the Broadcom UniMAC MDIO busses.
277 This hardware can be found in the Broadcom GENET Ethernet MAC
278 controllers as well as some Broadcom Ethernet switches such as the
279 Starfighter 2 switches.
Arun Parameswaranddc24ae2015-10-06 12:25:47 -0700280
281config MDIO_BCM_IPROC
282 tristate "Broadcom iProc MDIO bus controller"
283 depends on ARCH_BCM_IPROC || COMPILE_TEST
284 depends on HAS_IOMEM && OF_MDIO
285 help
286 This module provides a driver for the MDIO busses found in the
287 Broadcom iProc SoC's.
288
Hauke Mehrtens112b5582016-06-05 23:41:11 +0200289config INTEL_XWAY_PHY
290 tristate "Driver for Intel XWAY PHYs"
291 ---help---
292 Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
293 These PHYs are marked as standalone chips under the names
294 PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
295 SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
296
Dongpo Li4960e4b2016-07-15 16:26:33 +0800297config MDIO_HISI_FEMAC
298 tristate "Hisilicon FEMAC MDIO bus controller"
299 depends on HAS_IOMEM && OF_MDIO
300 help
301 This module provides a driver for the MDIO busses found in the
302 Hisilicon SoC that have an Fast Ethernet MAC.
303
Iyappan Subramanian43b3cf62016-07-25 17:12:40 -0700304config MDIO_XGENE
305 tristate "APM X-Gene SoC MDIO bus controller"
306 help
307 This module provides a driver for the MDIO busses found in the
308 APM X-Gene SoC's.
309
Raju Lakkarajud50736a2016-08-05 17:54:21 +0530310config MICROSEMI_PHY
311 tristate "Drivers for the Microsemi PHYs"
312 ---help---
313 Currently supports the VSC8531 and VSC8541 PHYs
314
Jan Engelhardt53f99942007-05-10 22:52:55 -0700315endif # PHYLIB
Frederic LAMBERTa8e510f2011-12-18 07:33:41 +0000316
317config MICREL_KS8995MA
318 tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
319 depends on SPI