blob: 3ab6c58d4be6fd42812bfd783715c13ef42e13c4 [file] [log] [blame]
Andy Fleming00db8182005-07-30 19:31:23 -04001#
2# PHY Layer Configuration
3#
4
Florian Fainelli90eff902017-03-23 10:01:19 -07005menuconfig MDIO_DEVICE
6 tristate "MDIO bus device drivers"
Andy Fleming00db8182005-07-30 19:31:23 -04007 help
Florian Fainelli90eff902017-03-23 10:01:19 -07008 MDIO devices and driver infrastructure code.
Andy Fleming00db8182005-07-30 19:31:23 -04009
Florian Fainelli90eff902017-03-23 10:01:19 -070010if MDIO_DEVICE
Andy Fleming00db8182005-07-30 19:31:23 -040011
Andrew Lunnd75b4a22016-08-18 23:56:05 +020012config MDIO_BCM_IPROC
13 tristate "Broadcom iProc MDIO bus controller"
14 depends on ARCH_BCM_IPROC || COMPILE_TEST
15 depends on HAS_IOMEM && OF_MDIO
David Daneye9976d72012-06-27 07:33:38 +000016 help
Andrew Lunnd75b4a22016-08-18 23:56:05 +020017 This module provides a driver for the MDIO busses found in the
18 Broadcom iProc SoC's.
David Daneye9976d72012-06-27 07:33:38 +000019
Andrew Lunnd75b4a22016-08-18 23:56:05 +020020config MDIO_BCM_UNIMAC
21 tristate "Broadcom UniMAC MDIO bus controller"
Florian Fainelli17487ee2017-03-23 10:01:18 -070022 depends on HAS_IOMEM && OF_MDIO
Woojung.Huh@microchip.com792aec42015-09-09 20:49:53 +000023 help
Andrew Lunnd75b4a22016-08-18 23:56:05 +020024 This module provides a driver for the Broadcom UniMAC MDIO busses.
25 This hardware can be found in the Broadcom GENET Ethernet MAC
26 controllers as well as some Broadcom Ethernet switches such as the
27 Starfighter 2 switches.
Vitaly Bordug7c32f472007-08-10 14:05:16 -070028
Scott Woode2ec4582007-10-01 14:20:56 -050029config MDIO_BITBANG
Andrew Lunn97c84382016-08-18 23:56:06 +020030 tristate "Bitbanged MDIO buses"
Florian Fainelli90eff902017-03-23 10:01:19 -070031 depends on !(MDIO_DEVICE=y && PHYLIB=m)
Scott Woode2ec4582007-10-01 14:20:56 -050032 help
33 This module implements the MDIO bus protocol in software,
34 for use by low level drivers that export the ability to
35 drive the relevant pins.
36
37 If in doubt, say N.
38
David Daney0ca29972012-05-02 15:16:38 +000039config MDIO_BUS_MUX
40 tristate
41 depends on OF_MDIO
42 help
43 This module provides a driver framework for MDIO bus
44 multiplexers which connect one of several child MDIO busses
45 to a parent bus. Switching between child busses is done by
46 device specific drivers.
47
Andrew Lunnd75b4a22016-08-18 23:56:05 +020048config MDIO_BUS_MUX_BCM_IPROC
Andrew Lunn97c84382016-08-18 23:56:06 +020049 tristate "Broadcom iProc based MDIO bus multiplexers"
Andrew Lunnd75b4a22016-08-18 23:56:05 +020050 depends on OF && OF_MDIO && (ARCH_BCM_IPROC || COMPILE_TEST)
51 select MDIO_BUS_MUX
52 default ARCH_BCM_IPROC
53 help
54 This module provides a driver for MDIO bus multiplexers found in
55 iProc based Broadcom SoCs. This multiplexer connects one of several
56 child MDIO bus to a parent bus. Buses could be internal as well as
57 external and selection logic lies inside the same multiplexer.
58
David Daney416912a2012-05-02 15:16:39 +000059config MDIO_BUS_MUX_GPIO
Andrew Lunn97c84382016-08-18 23:56:06 +020060 tristate "GPIO controlled MDIO bus multiplexers"
David Daney416912a2012-05-02 15:16:39 +000061 depends on OF_GPIO && OF_MDIO
62 select MDIO_BUS_MUX
63 help
64 This module provides a driver for MDIO bus multiplexers that
65 are controlled via GPIO lines. The multiplexer connects one of
66 several child MDIO busses to a parent bus. Child bus
67 selection is under the control of GPIO lines.
68
Timur Tabi6cc2ff82012-08-24 09:10:53 +000069config MDIO_BUS_MUX_MMIOREG
Andrew Lunn97c84382016-08-18 23:56:06 +020070 tristate "MMIO device-controlled MDIO bus multiplexers"
Rob Herringcfa52002015-07-05 12:16:27 -050071 depends on OF_MDIO && HAS_IOMEM
Timur Tabi6cc2ff82012-08-24 09:10:53 +000072 select MDIO_BUS_MUX
73 help
74 This module provides a driver for MDIO bus multiplexers that
75 are controlled via a simple memory-mapped device, like an FPGA.
76 The multiplexer connects one of several child MDIO busses to a
77 parent bus. Child bus selection is under the control of one of
78 the FPGA's registers.
79
80 Currently, only 8-bit registers are supported.
81
Andrew Lunnd75b4a22016-08-18 23:56:05 +020082config MDIO_CAVIUM
83 tristate
Pramod Kumar98bc8652016-06-10 11:03:49 +053084
Andrew Lunnd75b4a22016-08-18 23:56:05 +020085config MDIO_GPIO
Andrew Lunn97c84382016-08-18 23:56:06 +020086 tristate "GPIO lib-based bitbanged MDIO buses"
Andrew Lunnd75b4a22016-08-18 23:56:05 +020087 depends on MDIO_BITBANG && GPIOLIB
88 ---help---
89 Supports GPIO lib-based MDIO busses.
Arun Parameswaranddc24ae2015-10-06 12:25:47 -070090
Andrew Lunnd75b4a22016-08-18 23:56:05 +020091 To compile this driver as a module, choose M here: the module
92 will be called mdio-gpio.
93
94config MDIO_HISI_FEMAC
95 tristate "Hisilicon FEMAC MDIO bus controller"
Arun Parameswaranddc24ae2015-10-06 12:25:47 -070096 depends on HAS_IOMEM && OF_MDIO
97 help
98 This module provides a driver for the MDIO busses found in the
Andrew Lunnd75b4a22016-08-18 23:56:05 +020099 Hisilicon SoC that have an Fast Ethernet MAC.
100
101config MDIO_MOXART
102 tristate "MOXA ART MDIO interface support"
103 depends on ARCH_MOXART
104 help
105 This driver supports the MDIO interface found in the network
106 interface units of the MOXA ART SoC
107
108config MDIO_OCTEON
Andrew Lunn97c84382016-08-18 23:56:06 +0200109 tristate "Octeon and some ThunderX SOCs MDIO buses"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200110 depends on 64BIT
Randy Dunlapcd475122017-05-23 08:19:49 -0700111 depends on HAS_IOMEM && OF_MDIO
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200112 select MDIO_CAVIUM
113 help
114 This module provides a driver for the Octeon and ThunderX MDIO
115 buses. It is required by the Octeon and ThunderX ethernet device
116 drivers on some systems.
117
118config MDIO_SUN4I
119 tristate "Allwinner sun4i MDIO interface support"
120 depends on ARCH_SUNXI
121 help
122 This driver supports the MDIO interface found in the network
123 interface units of the Allwinner SoC that have an EMAC (A10,
124 A12, A10s, etc.)
125
126config MDIO_THUNDER
Andrew Lunn97c84382016-08-18 23:56:06 +0200127 tristate "ThunderX SOCs MDIO buses"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200128 depends on 64BIT
129 depends on PCI
Florian Fainelli665fff22017-06-12 17:18:51 -0700130 depends on !(MDIO_DEVICE=y && PHYLIB=m)
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200131 select MDIO_CAVIUM
132 help
133 This driver supports the MDIO interfaces found on Cavium
134 ThunderX SoCs when the MDIO bus device appears as a PCI
135 device.
136
137config MDIO_XGENE
138 tristate "APM X-Gene SoC MDIO bus controller"
Laura Abbott7aa6ec22016-10-06 11:22:51 -0700139 depends on ARCH_XGENE || COMPILE_TEST
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200140 help
141 This module provides a driver for the MDIO busses found in the
142 APM X-Gene SoC's.
143
Florian Fainelli90eff902017-03-23 10:01:19 -0700144endif
145
146menuconfig PHYLIB
147 tristate "PHY Device support and infrastructure"
148 depends on NETDEVICES
149 select MDIO_DEVICE
150 help
151 Ethernet controllers are usually attached to PHY
152 devices. This option provides infrastructure for
153 managing PHY devices.
154
155if PHYLIB
156
157config SWPHY
158 bool
159
160config LED_TRIGGER_PHY
161 bool "Support LED triggers for tracking link state"
162 depends on LEDS_TRIGGERS
163 ---help---
164 Adds support for a set of LED trigger events per-PHY. Link
165 state change will trigger the events, for consumption by an
166 LED class driver. There are triggers for each link speed currently
167 supported by the phy, and are of the form:
168 <mii bus id>:<phy>:<speed>
169
170 Where speed is in the form:
171 <Speed in megabits>Mbps or <Speed in gigabits>Gbps
172
173
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200174comment "MII PHY device drivers"
175
176config AMD_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200177 tristate "AMD PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200178 ---help---
179 Currently supports the am79c874
180
181config AQUANTIA_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200182 tristate "Aquantia PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200183 ---help---
184 Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
185
186config AT803X_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200187 tristate "AT803X PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200188 ---help---
189 Currently supports the AT8030 and AT8035 model
190
191config BCM63XX_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200192 tristate "Broadcom 63xx SOCs internal PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200193 depends on BCM63XX
194 select BCM_NET_PHYLIB
195 ---help---
196 Currently supports the 6348 and 6358 PHYs.
197
198config BCM7XXX_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200199 tristate "Broadcom 7xxx SOCs internal PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200200 select BCM_NET_PHYLIB
201 ---help---
202 Currently supports the BCM7366, BCM7439, BCM7445, and
203 40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
204
205config BCM87XX_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200206 tristate "Broadcom BCM8706 and BCM8727 PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200207 help
208 Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
209
210config BCM_CYGNUS_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200211 tristate "Broadcom Cygnus SoC internal PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200212 depends on ARCH_BCM_CYGNUS || COMPILE_TEST
213 depends on MDIO_BCM_IPROC
214 select BCM_NET_PHYLIB
215 ---help---
216 This PHY driver is for the 1G internal PHYs of the Broadcom
217 Cygnus Family SoC.
218
219 Currently supports internal PHY's used in the BCM11300,
220 BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
221 BCM58303 & BCM58305 Broadcom Cygnus SoCs.
222
223config BCM_NET_PHYLIB
224 tristate
225
226config BROADCOM_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200227 tristate "Broadcom PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200228 select BCM_NET_PHYLIB
229 ---help---
230 Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
Jon Masonb14995a2016-11-04 01:10:58 -0400231 BCM5481, BCM54810 and BCM5482 PHYs.
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200232
233config CICADA_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200234 tristate "Cicada PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200235 ---help---
236 Currently supports the cis8204
237
238config DAVICOM_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200239 tristate "Davicom PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200240 ---help---
241 Currently supports dm9161e and dm9131
242
243config DP83848_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200244 tristate "Texas Instruments DP83848 PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200245 ---help---
246 Supports the DP83848 PHY.
247
248config DP83867_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200249 tristate "Texas Instruments DP83867 Gigabit PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200250 ---help---
251 Currently supports the DP83867 PHY.
252
253config FIXED_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200254 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200255 depends on PHYLIB
256 select SWPHY
257 ---help---
258 Adds the platform "fixed" MDIO Bus to cover the boards that use
259 PHYs that are not connected to the real MDIO bus.
260
261 Currently tested with mpc866ads and mpc8349e-mitx.
262
263config ICPLUS_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200264 tristate "ICPlus PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200265 ---help---
266 Currently supports the IP175C and IP1001 PHYs.
Arun Parameswaranddc24ae2015-10-06 12:25:47 -0700267
Hauke Mehrtens112b5582016-06-05 23:41:11 +0200268config INTEL_XWAY_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200269 tristate "Intel XWAY PHYs"
Hauke Mehrtens112b5582016-06-05 23:41:11 +0200270 ---help---
271 Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
272 These PHYs are marked as standalone chips under the names
273 PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
274 SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
275
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200276config LSI_ET1011C_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200277 tristate "LSI ET1011C PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200278 ---help---
279 Supports the LSI ET1011C PHY.
Dongpo Li4960e4b2016-07-15 16:26:33 +0800280
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200281config LXT_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200282 tristate "Intel LXT PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200283 ---help---
284 Currently supports the lxt970, lxt971
285
286config MARVELL_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200287 tristate "Marvell PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200288 ---help---
289 Currently has a driver for the 88E1011S
290
Neil Armstrong7334b3e2016-11-04 16:51:23 +0100291config MESON_GXL_PHY
292 tristate "Amlogic Meson GXL Internal PHY"
Jean Delvare2ebae8b2017-01-09 15:17:27 +0100293 depends on ARCH_MESON || COMPILE_TEST
Neil Armstrong7334b3e2016-11-04 16:51:23 +0100294 ---help---
295 Currently has a driver for the Amlogic Meson GXL Internal PHY
296
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200297config MICREL_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200298 tristate "Micrel PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200299 ---help---
300 Supports the KSZ9021, VSC8201, KS8001 PHYs.
301
302config MICROCHIP_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200303 tristate "Microchip PHYs"
Iyappan Subramanian43b3cf62016-07-25 17:12:40 -0700304 help
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200305 Supports the LAN88XX PHYs.
Iyappan Subramanian43b3cf62016-07-25 17:12:40 -0700306
Raju Lakkarajud50736a2016-08-05 17:54:21 +0530307config MICROSEMI_PHY
Raju Lakkaraju4ffd03f2016-09-08 14:09:31 +0530308 tristate "Microsemi PHYs"
309 ---help---
Raju Lakkarajuaf1fee92016-10-28 12:10:11 +0200310 Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
Raju Lakkarajud50736a2016-08-05 17:54:21 +0530311
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200312config NATIONAL_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200313 tristate "National Semiconductor PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200314 ---help---
315 Currently supports the DP83865 PHY.
316
317config QSEMI_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200318 tristate "Quality Semiconductor PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200319 ---help---
320 Currently supports the qs6612
321
322config REALTEK_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200323 tristate "Realtek PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200324 ---help---
325 Supports the Realtek 821x PHY.
326
327config SMSC_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200328 tristate "SMSC PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200329 ---help---
330 Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
331
332config STE10XP
Andrew Lunn97c84382016-08-18 23:56:06 +0200333 tristate "STMicroelectronics STe10Xp PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200334 ---help---
335 This is the driver for the STe100p and STe101p PHYs.
336
337config TERANETICS_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200338 tristate "Teranetics PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200339 ---help---
340 Currently supports the Teranetics TN2020
341
342config VITESSE_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200343 tristate "Vitesse PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200344 ---help---
345 Currently supports the vsc8244
346
Appana Durga Kedareswara Raof411a612016-08-10 11:20:08 +0530347config XILINX_GMII2RGMII
348 tristate "Xilinx GMII2RGMII converter driver"
349 ---help---
350 This driver support xilinx GMII to RGMII IP core it provides
351 the Reduced Gigabit Media Independent Interface(RGMII) between
352 Ethernet physical media devices and the Gigabit Ethernet controller.
353
Jan Engelhardt53f99942007-05-10 22:52:55 -0700354endif # PHYLIB
Frederic LAMBERTa8e510f2011-12-18 07:33:41 +0000355
356config MICREL_KS8995MA
357 tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
358 depends on SPI