blob: 8dbd59baa34d5ed9eda97396f38b5ab38e96416a [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
Zach Brown2e0bc452016-10-17 10:49:55 -050018config LED_TRIGGER_PHY
19 bool "Support LED triggers for tracking link state"
20 depends on LEDS_TRIGGERS
21 ---help---
22 Adds support for a set of LED trigger events per-PHY. Link
23 state change will trigger the events, for consumption by an
24 LED class driver. There are triggers for each link speed currently
25 supported by the phy, and are of the form:
26 <mii bus id>:<phy>:<speed>
27
28 Where speed is in the form:
29 <Speed in megabits>Mbps or <Speed in gigabits>Gbps
30
Andrew Lunnd75b4a22016-08-18 23:56:05 +020031comment "MDIO bus device drivers"
Andy Fleming00db8182005-07-30 19:31:23 -040032
Andrew Lunnd75b4a22016-08-18 23:56:05 +020033config MDIO_BCM_IPROC
34 tristate "Broadcom iProc MDIO bus controller"
35 depends on ARCH_BCM_IPROC || COMPILE_TEST
36 depends on HAS_IOMEM && OF_MDIO
David Daneye9976d72012-06-27 07:33:38 +000037 help
Andrew Lunnd75b4a22016-08-18 23:56:05 +020038 This module provides a driver for the MDIO busses found in the
39 Broadcom iProc SoC's.
David Daneye9976d72012-06-27 07:33:38 +000040
Andrew Lunnd75b4a22016-08-18 23:56:05 +020041config MDIO_BCM_UNIMAC
42 tristate "Broadcom UniMAC MDIO bus controller"
43 depends on HAS_IOMEM
Woojung.Huh@microchip.com792aec42015-09-09 20:49:53 +000044 help
Andrew Lunnd75b4a22016-08-18 23:56:05 +020045 This module provides a driver for the Broadcom UniMAC MDIO busses.
46 This hardware can be found in the Broadcom GENET Ethernet MAC
47 controllers as well as some Broadcom Ethernet switches such as the
48 Starfighter 2 switches.
Vitaly Bordug7c32f472007-08-10 14:05:16 -070049
Scott Woode2ec4582007-10-01 14:20:56 -050050config MDIO_BITBANG
Andrew Lunn97c84382016-08-18 23:56:06 +020051 tristate "Bitbanged MDIO buses"
Scott Woode2ec4582007-10-01 14:20:56 -050052 help
53 This module implements the MDIO bus protocol in software,
54 for use by low level drivers that export the ability to
55 drive the relevant pins.
56
57 If in doubt, say N.
58
David Daney0ca29972012-05-02 15:16:38 +000059config MDIO_BUS_MUX
60 tristate
61 depends on OF_MDIO
62 help
63 This module provides a driver framework for MDIO bus
64 multiplexers which connect one of several child MDIO busses
65 to a parent bus. Switching between child busses is done by
66 device specific drivers.
67
Andrew Lunnd75b4a22016-08-18 23:56:05 +020068config MDIO_BUS_MUX_BCM_IPROC
Andrew Lunn97c84382016-08-18 23:56:06 +020069 tristate "Broadcom iProc based MDIO bus multiplexers"
Andrew Lunnd75b4a22016-08-18 23:56:05 +020070 depends on OF && OF_MDIO && (ARCH_BCM_IPROC || COMPILE_TEST)
71 select MDIO_BUS_MUX
72 default ARCH_BCM_IPROC
73 help
74 This module provides a driver for MDIO bus multiplexers found in
75 iProc based Broadcom SoCs. This multiplexer connects one of several
76 child MDIO bus to a parent bus. Buses could be internal as well as
77 external and selection logic lies inside the same multiplexer.
78
David Daney416912a2012-05-02 15:16:39 +000079config MDIO_BUS_MUX_GPIO
Andrew Lunn97c84382016-08-18 23:56:06 +020080 tristate "GPIO controlled MDIO bus multiplexers"
David Daney416912a2012-05-02 15:16:39 +000081 depends on OF_GPIO && OF_MDIO
82 select MDIO_BUS_MUX
83 help
84 This module provides a driver for MDIO bus multiplexers that
85 are controlled via GPIO lines. The multiplexer connects one of
86 several child MDIO busses to a parent bus. Child bus
87 selection is under the control of GPIO lines.
88
Timur Tabi6cc2ff82012-08-24 09:10:53 +000089config MDIO_BUS_MUX_MMIOREG
Andrew Lunn97c84382016-08-18 23:56:06 +020090 tristate "MMIO device-controlled MDIO bus multiplexers"
Rob Herringcfa52002015-07-05 12:16:27 -050091 depends on OF_MDIO && HAS_IOMEM
Timur Tabi6cc2ff82012-08-24 09:10:53 +000092 select MDIO_BUS_MUX
93 help
94 This module provides a driver for MDIO bus multiplexers that
95 are controlled via a simple memory-mapped device, like an FPGA.
96 The multiplexer connects one of several child MDIO busses to a
97 parent bus. Child bus selection is under the control of one of
98 the FPGA's registers.
99
100 Currently, only 8-bit registers are supported.
101
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200102config MDIO_CAVIUM
103 tristate
Pramod Kumar98bc8652016-06-10 11:03:49 +0530104
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200105config MDIO_GPIO
Andrew Lunn97c84382016-08-18 23:56:06 +0200106 tristate "GPIO lib-based bitbanged MDIO buses"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200107 depends on MDIO_BITBANG && GPIOLIB
108 ---help---
109 Supports GPIO lib-based MDIO busses.
Arun Parameswaranddc24ae2015-10-06 12:25:47 -0700110
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200111 To compile this driver as a module, choose M here: the module
112 will be called mdio-gpio.
113
114config MDIO_HISI_FEMAC
115 tristate "Hisilicon FEMAC MDIO bus controller"
Arun Parameswaranddc24ae2015-10-06 12:25:47 -0700116 depends on HAS_IOMEM && OF_MDIO
117 help
118 This module provides a driver for the MDIO busses found in the
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200119 Hisilicon SoC that have an Fast Ethernet MAC.
120
121config MDIO_MOXART
122 tristate "MOXA ART MDIO interface support"
123 depends on ARCH_MOXART
124 help
125 This driver supports the MDIO interface found in the network
126 interface units of the MOXA ART SoC
127
128config MDIO_OCTEON
Andrew Lunn97c84382016-08-18 23:56:06 +0200129 tristate "Octeon and some ThunderX SOCs MDIO buses"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200130 depends on 64BIT
131 depends on HAS_IOMEM
132 select MDIO_CAVIUM
133 help
134 This module provides a driver for the Octeon and ThunderX MDIO
135 buses. It is required by the Octeon and ThunderX ethernet device
136 drivers on some systems.
137
138config MDIO_SUN4I
139 tristate "Allwinner sun4i MDIO interface support"
140 depends on ARCH_SUNXI
141 help
142 This driver supports the MDIO interface found in the network
143 interface units of the Allwinner SoC that have an EMAC (A10,
144 A12, A10s, etc.)
145
146config MDIO_THUNDER
Andrew Lunn97c84382016-08-18 23:56:06 +0200147 tristate "ThunderX SOCs MDIO buses"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200148 depends on 64BIT
149 depends on PCI
150 select MDIO_CAVIUM
151 help
152 This driver supports the MDIO interfaces found on Cavium
153 ThunderX SoCs when the MDIO bus device appears as a PCI
154 device.
155
156config MDIO_XGENE
157 tristate "APM X-Gene SoC MDIO bus controller"
Laura Abbott7aa6ec22016-10-06 11:22:51 -0700158 depends on ARCH_XGENE || COMPILE_TEST
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200159 help
160 This module provides a driver for the MDIO busses found in the
161 APM X-Gene SoC's.
162
163comment "MII PHY device drivers"
164
165config AMD_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200166 tristate "AMD PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200167 ---help---
168 Currently supports the am79c874
169
170config AQUANTIA_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200171 tristate "Aquantia PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200172 ---help---
173 Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
174
175config AT803X_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200176 tristate "AT803X PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200177 ---help---
178 Currently supports the AT8030 and AT8035 model
179
180config BCM63XX_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200181 tristate "Broadcom 63xx SOCs internal PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200182 depends on BCM63XX
183 select BCM_NET_PHYLIB
184 ---help---
185 Currently supports the 6348 and 6358 PHYs.
186
187config BCM7XXX_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200188 tristate "Broadcom 7xxx SOCs internal PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200189 select BCM_NET_PHYLIB
190 ---help---
191 Currently supports the BCM7366, BCM7439, BCM7445, and
192 40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
193
194config BCM87XX_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200195 tristate "Broadcom BCM8706 and BCM8727 PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200196 help
197 Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
198
199config BCM_CYGNUS_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200200 tristate "Broadcom Cygnus SoC internal PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200201 depends on ARCH_BCM_CYGNUS || COMPILE_TEST
202 depends on MDIO_BCM_IPROC
203 select BCM_NET_PHYLIB
204 ---help---
205 This PHY driver is for the 1G internal PHYs of the Broadcom
206 Cygnus Family SoC.
207
208 Currently supports internal PHY's used in the BCM11300,
209 BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
210 BCM58303 & BCM58305 Broadcom Cygnus SoCs.
211
212config BCM_NET_PHYLIB
213 tristate
214
215config BROADCOM_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200216 tristate "Broadcom PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200217 select BCM_NET_PHYLIB
218 ---help---
219 Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
Jon Masonb14995a2016-11-04 01:10:58 -0400220 BCM5481, BCM54810 and BCM5482 PHYs.
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200221
222config CICADA_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200223 tristate "Cicada PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200224 ---help---
225 Currently supports the cis8204
226
227config DAVICOM_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200228 tristate "Davicom PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200229 ---help---
230 Currently supports dm9161e and dm9131
231
232config DP83848_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200233 tristate "Texas Instruments DP83848 PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200234 ---help---
235 Supports the DP83848 PHY.
236
237config DP83867_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200238 tristate "Texas Instruments DP83867 Gigabit PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200239 ---help---
240 Currently supports the DP83867 PHY.
241
242config FIXED_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200243 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200244 depends on PHYLIB
245 select SWPHY
246 ---help---
247 Adds the platform "fixed" MDIO Bus to cover the boards that use
248 PHYs that are not connected to the real MDIO bus.
249
250 Currently tested with mpc866ads and mpc8349e-mitx.
251
252config ICPLUS_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200253 tristate "ICPlus PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200254 ---help---
255 Currently supports the IP175C and IP1001 PHYs.
Arun Parameswaranddc24ae2015-10-06 12:25:47 -0700256
Hauke Mehrtens112b5582016-06-05 23:41:11 +0200257config INTEL_XWAY_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200258 tristate "Intel XWAY PHYs"
Hauke Mehrtens112b5582016-06-05 23:41:11 +0200259 ---help---
260 Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
261 These PHYs are marked as standalone chips under the names
262 PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
263 SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
264
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200265config LSI_ET1011C_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200266 tristate "LSI ET1011C PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200267 ---help---
268 Supports the LSI ET1011C PHY.
Dongpo Li4960e4b2016-07-15 16:26:33 +0800269
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200270config LXT_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200271 tristate "Intel LXT PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200272 ---help---
273 Currently supports the lxt970, lxt971
274
275config MARVELL_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200276 tristate "Marvell PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200277 ---help---
278 Currently has a driver for the 88E1011S
279
Neil Armstrong7334b3e2016-11-04 16:51:23 +0100280config MESON_GXL_PHY
281 tristate "Amlogic Meson GXL Internal PHY"
Jean Delvare2ebae8b2017-01-09 15:17:27 +0100282 depends on ARCH_MESON || COMPILE_TEST
Neil Armstrong7334b3e2016-11-04 16:51:23 +0100283 ---help---
284 Currently has a driver for the Amlogic Meson GXL Internal PHY
285
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200286config MICREL_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200287 tristate "Micrel PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200288 ---help---
289 Supports the KSZ9021, VSC8201, KS8001 PHYs.
290
291config MICROCHIP_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200292 tristate "Microchip PHYs"
Iyappan Subramanian43b3cf62016-07-25 17:12:40 -0700293 help
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200294 Supports the LAN88XX PHYs.
Iyappan Subramanian43b3cf62016-07-25 17:12:40 -0700295
Raju Lakkarajud50736a2016-08-05 17:54:21 +0530296config MICROSEMI_PHY
Raju Lakkaraju4ffd03f2016-09-08 14:09:31 +0530297 tristate "Microsemi PHYs"
298 ---help---
Raju Lakkarajuaf1fee92016-10-28 12:10:11 +0200299 Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
Raju Lakkarajud50736a2016-08-05 17:54:21 +0530300
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200301config NATIONAL_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200302 tristate "National Semiconductor PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200303 ---help---
304 Currently supports the DP83865 PHY.
305
306config QSEMI_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200307 tristate "Quality Semiconductor PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200308 ---help---
309 Currently supports the qs6612
310
311config REALTEK_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200312 tristate "Realtek PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200313 ---help---
314 Supports the Realtek 821x PHY.
315
316config SMSC_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200317 tristate "SMSC PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200318 ---help---
319 Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
320
321config STE10XP
Andrew Lunn97c84382016-08-18 23:56:06 +0200322 tristate "STMicroelectronics STe10Xp PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200323 ---help---
324 This is the driver for the STe100p and STe101p PHYs.
325
326config TERANETICS_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200327 tristate "Teranetics PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200328 ---help---
329 Currently supports the Teranetics TN2020
330
331config VITESSE_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200332 tristate "Vitesse PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200333 ---help---
334 Currently supports the vsc8244
335
Appana Durga Kedareswara Raof411a612016-08-10 11:20:08 +0530336config XILINX_GMII2RGMII
337 tristate "Xilinx GMII2RGMII converter driver"
338 ---help---
339 This driver support xilinx GMII to RGMII IP core it provides
340 the Reduced Gigabit Media Independent Interface(RGMII) between
341 Ethernet physical media devices and the Gigabit Ethernet controller.
342
Jan Engelhardt53f99942007-05-10 22:52:55 -0700343endif # PHYLIB
Frederic LAMBERTa8e510f2011-12-18 07:33:41 +0000344
345config MICREL_KS8995MA
346 tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
347 depends on SPI