blob: c360dd6ead2213b112282ff508b963354cf15d72 [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
130 select MDIO_CAVIUM
131 help
132 This driver supports the MDIO interfaces found on Cavium
133 ThunderX SoCs when the MDIO bus device appears as a PCI
134 device.
135
136config MDIO_XGENE
137 tristate "APM X-Gene SoC MDIO bus controller"
Laura Abbott7aa6ec22016-10-06 11:22:51 -0700138 depends on ARCH_XGENE || COMPILE_TEST
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200139 help
140 This module provides a driver for the MDIO busses found in the
141 APM X-Gene SoC's.
142
Florian Fainelli90eff902017-03-23 10:01:19 -0700143endif
144
145menuconfig PHYLIB
146 tristate "PHY Device support and infrastructure"
147 depends on NETDEVICES
148 select MDIO_DEVICE
149 help
150 Ethernet controllers are usually attached to PHY
151 devices. This option provides infrastructure for
152 managing PHY devices.
153
154if PHYLIB
155
156config SWPHY
157 bool
158
159config LED_TRIGGER_PHY
160 bool "Support LED triggers for tracking link state"
161 depends on LEDS_TRIGGERS
162 ---help---
163 Adds support for a set of LED trigger events per-PHY. Link
164 state change will trigger the events, for consumption by an
165 LED class driver. There are triggers for each link speed currently
166 supported by the phy, and are of the form:
167 <mii bus id>:<phy>:<speed>
168
169 Where speed is in the form:
170 <Speed in megabits>Mbps or <Speed in gigabits>Gbps
171
172
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200173comment "MII PHY device drivers"
174
175config AMD_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200176 tristate "AMD PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200177 ---help---
178 Currently supports the am79c874
179
180config AQUANTIA_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200181 tristate "Aquantia PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200182 ---help---
183 Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
184
185config AT803X_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200186 tristate "AT803X PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200187 ---help---
188 Currently supports the AT8030 and AT8035 model
189
190config BCM63XX_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200191 tristate "Broadcom 63xx SOCs internal PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200192 depends on BCM63XX
193 select BCM_NET_PHYLIB
194 ---help---
195 Currently supports the 6348 and 6358 PHYs.
196
197config BCM7XXX_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200198 tristate "Broadcom 7xxx SOCs internal PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200199 select BCM_NET_PHYLIB
200 ---help---
201 Currently supports the BCM7366, BCM7439, BCM7445, and
202 40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
203
204config BCM87XX_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200205 tristate "Broadcom BCM8706 and BCM8727 PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200206 help
207 Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
208
209config BCM_CYGNUS_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200210 tristate "Broadcom Cygnus SoC internal PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200211 depends on ARCH_BCM_CYGNUS || COMPILE_TEST
212 depends on MDIO_BCM_IPROC
213 select BCM_NET_PHYLIB
214 ---help---
215 This PHY driver is for the 1G internal PHYs of the Broadcom
216 Cygnus Family SoC.
217
218 Currently supports internal PHY's used in the BCM11300,
219 BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
220 BCM58303 & BCM58305 Broadcom Cygnus SoCs.
221
222config BCM_NET_PHYLIB
223 tristate
224
225config BROADCOM_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200226 tristate "Broadcom PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200227 select BCM_NET_PHYLIB
228 ---help---
229 Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
Jon Masonb14995a2016-11-04 01:10:58 -0400230 BCM5481, BCM54810 and BCM5482 PHYs.
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200231
232config CICADA_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200233 tristate "Cicada PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200234 ---help---
235 Currently supports the cis8204
236
237config DAVICOM_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200238 tristate "Davicom PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200239 ---help---
240 Currently supports dm9161e and dm9131
241
242config DP83848_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200243 tristate "Texas Instruments DP83848 PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200244 ---help---
245 Supports the DP83848 PHY.
246
247config DP83867_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200248 tristate "Texas Instruments DP83867 Gigabit PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200249 ---help---
250 Currently supports the DP83867 PHY.
251
252config FIXED_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200253 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200254 depends on PHYLIB
255 select SWPHY
256 ---help---
257 Adds the platform "fixed" MDIO Bus to cover the boards that use
258 PHYs that are not connected to the real MDIO bus.
259
260 Currently tested with mpc866ads and mpc8349e-mitx.
261
262config ICPLUS_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200263 tristate "ICPlus PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200264 ---help---
265 Currently supports the IP175C and IP1001 PHYs.
Arun Parameswaranddc24ae2015-10-06 12:25:47 -0700266
Hauke Mehrtens112b5582016-06-05 23:41:11 +0200267config INTEL_XWAY_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200268 tristate "Intel XWAY PHYs"
Hauke Mehrtens112b5582016-06-05 23:41:11 +0200269 ---help---
270 Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
271 These PHYs are marked as standalone chips under the names
272 PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
273 SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
274
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200275config LSI_ET1011C_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200276 tristate "LSI ET1011C PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200277 ---help---
278 Supports the LSI ET1011C PHY.
Dongpo Li4960e4b2016-07-15 16:26:33 +0800279
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200280config LXT_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200281 tristate "Intel LXT PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200282 ---help---
283 Currently supports the lxt970, lxt971
284
285config MARVELL_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200286 tristate "Marvell PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200287 ---help---
288 Currently has a driver for the 88E1011S
289
Neil Armstrong7334b3e2016-11-04 16:51:23 +0100290config MESON_GXL_PHY
291 tristate "Amlogic Meson GXL Internal PHY"
Jean Delvare2ebae8b2017-01-09 15:17:27 +0100292 depends on ARCH_MESON || COMPILE_TEST
Neil Armstrong7334b3e2016-11-04 16:51:23 +0100293 ---help---
294 Currently has a driver for the Amlogic Meson GXL Internal PHY
295
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200296config MICREL_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200297 tristate "Micrel PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200298 ---help---
299 Supports the KSZ9021, VSC8201, KS8001 PHYs.
300
301config MICROCHIP_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200302 tristate "Microchip PHYs"
Iyappan Subramanian43b3cf62016-07-25 17:12:40 -0700303 help
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200304 Supports the LAN88XX PHYs.
Iyappan Subramanian43b3cf62016-07-25 17:12:40 -0700305
Raju Lakkarajud50736a2016-08-05 17:54:21 +0530306config MICROSEMI_PHY
Raju Lakkaraju4ffd03f2016-09-08 14:09:31 +0530307 tristate "Microsemi PHYs"
308 ---help---
Raju Lakkarajuaf1fee92016-10-28 12:10:11 +0200309 Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
Raju Lakkarajud50736a2016-08-05 17:54:21 +0530310
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200311config NATIONAL_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200312 tristate "National Semiconductor PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200313 ---help---
314 Currently supports the DP83865 PHY.
315
316config QSEMI_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200317 tristate "Quality Semiconductor PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200318 ---help---
319 Currently supports the qs6612
320
321config REALTEK_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200322 tristate "Realtek PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200323 ---help---
324 Supports the Realtek 821x PHY.
325
326config SMSC_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200327 tristate "SMSC PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200328 ---help---
329 Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
330
331config STE10XP
Andrew Lunn97c84382016-08-18 23:56:06 +0200332 tristate "STMicroelectronics STe10Xp PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200333 ---help---
334 This is the driver for the STe100p and STe101p PHYs.
335
336config TERANETICS_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200337 tristate "Teranetics PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200338 ---help---
339 Currently supports the Teranetics TN2020
340
341config VITESSE_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200342 tristate "Vitesse PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200343 ---help---
344 Currently supports the vsc8244
345
Appana Durga Kedareswara Raof411a612016-08-10 11:20:08 +0530346config XILINX_GMII2RGMII
347 tristate "Xilinx GMII2RGMII converter driver"
348 ---help---
349 This driver support xilinx GMII to RGMII IP core it provides
350 the Reduced Gigabit Media Independent Interface(RGMII) between
351 Ethernet physical media devices and the Gigabit Ethernet controller.
352
Jan Engelhardt53f99942007-05-10 22:52:55 -0700353endif # PHYLIB
Frederic LAMBERTa8e510f2011-12-18 07:33:41 +0000354
355config MICREL_KS8995MA
356 tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
357 depends on SPI