blob: 2651c8d8de2f8ae96ab867756a8a05e0c1e608a7 [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
Andrew Lunnd75b4a22016-08-18 23:56:05 +020018comment "MDIO bus device drivers"
Andy Fleming00db8182005-07-30 19:31:23 -040019
Andrew Lunnd75b4a22016-08-18 23:56:05 +020020config MDIO_BCM_IPROC
21 tristate "Broadcom iProc MDIO bus controller"
22 depends on ARCH_BCM_IPROC || COMPILE_TEST
23 depends on HAS_IOMEM && OF_MDIO
David Daneye9976d72012-06-27 07:33:38 +000024 help
Andrew Lunnd75b4a22016-08-18 23:56:05 +020025 This module provides a driver for the MDIO busses found in the
26 Broadcom iProc SoC's.
David Daneye9976d72012-06-27 07:33:38 +000027
Andrew Lunnd75b4a22016-08-18 23:56:05 +020028config MDIO_BCM_UNIMAC
29 tristate "Broadcom UniMAC MDIO bus controller"
30 depends on HAS_IOMEM
Woojung.Huh@microchip.com792aec42015-09-09 20:49:53 +000031 help
Andrew Lunnd75b4a22016-08-18 23:56:05 +020032 This module provides a driver for the Broadcom UniMAC MDIO busses.
33 This hardware can be found in the Broadcom GENET Ethernet MAC
34 controllers as well as some Broadcom Ethernet switches such as the
35 Starfighter 2 switches.
Vitaly Bordug7c32f472007-08-10 14:05:16 -070036
Scott Woode2ec4582007-10-01 14:20:56 -050037config MDIO_BITBANG
Andrew Lunn97c84382016-08-18 23:56:06 +020038 tristate "Bitbanged MDIO buses"
Scott Woode2ec4582007-10-01 14:20:56 -050039 help
40 This module implements the MDIO bus protocol in software,
41 for use by low level drivers that export the ability to
42 drive the relevant pins.
43
44 If in doubt, say N.
45
David Daney0ca29972012-05-02 15:16:38 +000046config MDIO_BUS_MUX
47 tristate
48 depends on OF_MDIO
49 help
50 This module provides a driver framework for MDIO bus
51 multiplexers which connect one of several child MDIO busses
52 to a parent bus. Switching between child busses is done by
53 device specific drivers.
54
Andrew Lunnd75b4a22016-08-18 23:56:05 +020055config MDIO_BUS_MUX_BCM_IPROC
Andrew Lunn97c84382016-08-18 23:56:06 +020056 tristate "Broadcom iProc based MDIO bus multiplexers"
Andrew Lunnd75b4a22016-08-18 23:56:05 +020057 depends on OF && OF_MDIO && (ARCH_BCM_IPROC || COMPILE_TEST)
58 select MDIO_BUS_MUX
59 default ARCH_BCM_IPROC
60 help
61 This module provides a driver for MDIO bus multiplexers found in
62 iProc based Broadcom SoCs. This multiplexer connects one of several
63 child MDIO bus to a parent bus. Buses could be internal as well as
64 external and selection logic lies inside the same multiplexer.
65
David Daney416912a2012-05-02 15:16:39 +000066config MDIO_BUS_MUX_GPIO
Andrew Lunn97c84382016-08-18 23:56:06 +020067 tristate "GPIO controlled MDIO bus multiplexers"
David Daney416912a2012-05-02 15:16:39 +000068 depends on OF_GPIO && OF_MDIO
69 select MDIO_BUS_MUX
70 help
71 This module provides a driver for MDIO bus multiplexers that
72 are controlled via GPIO lines. The multiplexer connects one of
73 several child MDIO busses to a parent bus. Child bus
74 selection is under the control of GPIO lines.
75
Timur Tabi6cc2ff82012-08-24 09:10:53 +000076config MDIO_BUS_MUX_MMIOREG
Andrew Lunn97c84382016-08-18 23:56:06 +020077 tristate "MMIO device-controlled MDIO bus multiplexers"
Rob Herringcfa52002015-07-05 12:16:27 -050078 depends on OF_MDIO && HAS_IOMEM
Timur Tabi6cc2ff82012-08-24 09:10:53 +000079 select MDIO_BUS_MUX
80 help
81 This module provides a driver for MDIO bus multiplexers that
82 are controlled via a simple memory-mapped device, like an FPGA.
83 The multiplexer connects one of several child MDIO busses to a
84 parent bus. Child bus selection is under the control of one of
85 the FPGA's registers.
86
87 Currently, only 8-bit registers are supported.
88
Andrew Lunnd75b4a22016-08-18 23:56:05 +020089config MDIO_CAVIUM
90 tristate
Pramod Kumar98bc8652016-06-10 11:03:49 +053091
Andrew Lunnd75b4a22016-08-18 23:56:05 +020092config MDIO_GPIO
Andrew Lunn97c84382016-08-18 23:56:06 +020093 tristate "GPIO lib-based bitbanged MDIO buses"
Andrew Lunnd75b4a22016-08-18 23:56:05 +020094 depends on MDIO_BITBANG && GPIOLIB
95 ---help---
96 Supports GPIO lib-based MDIO busses.
Arun Parameswaranddc24ae2015-10-06 12:25:47 -070097
Andrew Lunnd75b4a22016-08-18 23:56:05 +020098 To compile this driver as a module, choose M here: the module
99 will be called mdio-gpio.
100
101config MDIO_HISI_FEMAC
102 tristate "Hisilicon FEMAC MDIO bus controller"
Arun Parameswaranddc24ae2015-10-06 12:25:47 -0700103 depends on HAS_IOMEM && OF_MDIO
104 help
105 This module provides a driver for the MDIO busses found in the
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200106 Hisilicon SoC that have an Fast Ethernet MAC.
107
108config MDIO_MOXART
109 tristate "MOXA ART MDIO interface support"
110 depends on ARCH_MOXART
111 help
112 This driver supports the MDIO interface found in the network
113 interface units of the MOXA ART SoC
114
115config MDIO_OCTEON
Andrew Lunn97c84382016-08-18 23:56:06 +0200116 tristate "Octeon and some ThunderX SOCs MDIO buses"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200117 depends on 64BIT
118 depends on HAS_IOMEM
119 select MDIO_CAVIUM
120 help
121 This module provides a driver for the Octeon and ThunderX MDIO
122 buses. It is required by the Octeon and ThunderX ethernet device
123 drivers on some systems.
124
125config MDIO_SUN4I
126 tristate "Allwinner sun4i MDIO interface support"
127 depends on ARCH_SUNXI
128 help
129 This driver supports the MDIO interface found in the network
130 interface units of the Allwinner SoC that have an EMAC (A10,
131 A12, A10s, etc.)
132
133config MDIO_THUNDER
Andrew Lunn97c84382016-08-18 23:56:06 +0200134 tristate "ThunderX SOCs MDIO buses"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200135 depends on 64BIT
136 depends on PCI
137 select MDIO_CAVIUM
138 help
139 This driver supports the MDIO interfaces found on Cavium
140 ThunderX SoCs when the MDIO bus device appears as a PCI
141 device.
142
143config MDIO_XGENE
144 tristate "APM X-Gene SoC MDIO bus controller"
Laura Abbott7aa6ec22016-10-06 11:22:51 -0700145 depends on ARCH_XGENE || COMPILE_TEST
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200146 help
147 This module provides a driver for the MDIO busses found in the
148 APM X-Gene SoC's.
149
150comment "MII PHY device drivers"
151
152config AMD_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200153 tristate "AMD PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200154 ---help---
155 Currently supports the am79c874
156
157config AQUANTIA_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200158 tristate "Aquantia PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200159 ---help---
160 Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
161
162config AT803X_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200163 tristate "AT803X PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200164 ---help---
165 Currently supports the AT8030 and AT8035 model
166
167config BCM63XX_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200168 tristate "Broadcom 63xx SOCs internal PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200169 depends on BCM63XX
170 select BCM_NET_PHYLIB
171 ---help---
172 Currently supports the 6348 and 6358 PHYs.
173
174config BCM7XXX_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200175 tristate "Broadcom 7xxx SOCs internal PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200176 select BCM_NET_PHYLIB
177 ---help---
178 Currently supports the BCM7366, BCM7439, BCM7445, and
179 40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
180
181config BCM87XX_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200182 tristate "Broadcom BCM8706 and BCM8727 PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200183 help
184 Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
185
186config BCM_CYGNUS_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200187 tristate "Broadcom Cygnus SoC internal PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200188 depends on ARCH_BCM_CYGNUS || COMPILE_TEST
189 depends on MDIO_BCM_IPROC
190 select BCM_NET_PHYLIB
191 ---help---
192 This PHY driver is for the 1G internal PHYs of the Broadcom
193 Cygnus Family SoC.
194
195 Currently supports internal PHY's used in the BCM11300,
196 BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
197 BCM58303 & BCM58305 Broadcom Cygnus SoCs.
198
199config BCM_NET_PHYLIB
200 tristate
201
202config BROADCOM_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200203 tristate "Broadcom PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200204 select BCM_NET_PHYLIB
205 ---help---
206 Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
207 BCM5481 and BCM5482 PHYs.
208
209config CICADA_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200210 tristate "Cicada PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200211 ---help---
212 Currently supports the cis8204
213
214config DAVICOM_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200215 tristate "Davicom PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200216 ---help---
217 Currently supports dm9161e and dm9131
218
219config DP83848_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200220 tristate "Texas Instruments DP83848 PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200221 ---help---
222 Supports the DP83848 PHY.
223
224config DP83867_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200225 tristate "Texas Instruments DP83867 Gigabit PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200226 ---help---
227 Currently supports the DP83867 PHY.
228
229config FIXED_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200230 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200231 depends on PHYLIB
232 select SWPHY
233 ---help---
234 Adds the platform "fixed" MDIO Bus to cover the boards that use
235 PHYs that are not connected to the real MDIO bus.
236
237 Currently tested with mpc866ads and mpc8349e-mitx.
238
239config ICPLUS_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200240 tristate "ICPlus PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200241 ---help---
242 Currently supports the IP175C and IP1001 PHYs.
Arun Parameswaranddc24ae2015-10-06 12:25:47 -0700243
Hauke Mehrtens112b5582016-06-05 23:41:11 +0200244config INTEL_XWAY_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200245 tristate "Intel XWAY PHYs"
Hauke Mehrtens112b5582016-06-05 23:41:11 +0200246 ---help---
247 Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
248 These PHYs are marked as standalone chips under the names
249 PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
250 SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
251
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200252config LSI_ET1011C_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200253 tristate "LSI ET1011C PHY"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200254 ---help---
255 Supports the LSI ET1011C PHY.
Dongpo Li4960e4b2016-07-15 16:26:33 +0800256
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200257config LXT_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200258 tristate "Intel LXT PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200259 ---help---
260 Currently supports the lxt970, lxt971
261
262config MARVELL_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200263 tristate "Marvell PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200264 ---help---
265 Currently has a driver for the 88E1011S
266
267config MICREL_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200268 tristate "Micrel PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200269 ---help---
270 Supports the KSZ9021, VSC8201, KS8001 PHYs.
271
272config MICROCHIP_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200273 tristate "Microchip PHYs"
Iyappan Subramanian43b3cf62016-07-25 17:12:40 -0700274 help
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200275 Supports the LAN88XX PHYs.
Iyappan Subramanian43b3cf62016-07-25 17:12:40 -0700276
Raju Lakkarajud50736a2016-08-05 17:54:21 +0530277config MICROSEMI_PHY
Raju Lakkaraju4ffd03f2016-09-08 14:09:31 +0530278 tristate "Microsemi PHYs"
279 ---help---
280 Currently supports the VSC8531 and VSC8541 PHYs
Raju Lakkarajud50736a2016-08-05 17:54:21 +0530281
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200282config NATIONAL_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200283 tristate "National Semiconductor PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200284 ---help---
285 Currently supports the DP83865 PHY.
286
287config QSEMI_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200288 tristate "Quality Semiconductor PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200289 ---help---
290 Currently supports the qs6612
291
292config REALTEK_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200293 tristate "Realtek PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200294 ---help---
295 Supports the Realtek 821x PHY.
296
297config SMSC_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200298 tristate "SMSC PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200299 ---help---
300 Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
301
302config STE10XP
Andrew Lunn97c84382016-08-18 23:56:06 +0200303 tristate "STMicroelectronics STe10Xp PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200304 ---help---
305 This is the driver for the STe100p and STe101p PHYs.
306
307config TERANETICS_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200308 tristate "Teranetics PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200309 ---help---
310 Currently supports the Teranetics TN2020
311
312config VITESSE_PHY
Andrew Lunn97c84382016-08-18 23:56:06 +0200313 tristate "Vitesse PHYs"
Andrew Lunnd75b4a22016-08-18 23:56:05 +0200314 ---help---
315 Currently supports the vsc8244
316
Appana Durga Kedareswara Raof411a612016-08-10 11:20:08 +0530317config XILINX_GMII2RGMII
318 tristate "Xilinx GMII2RGMII converter driver"
319 ---help---
320 This driver support xilinx GMII to RGMII IP core it provides
321 the Reduced Gigabit Media Independent Interface(RGMII) between
322 Ethernet physical media devices and the Gigabit Ethernet controller.
323
Jan Engelhardt53f99942007-05-10 22:52:55 -0700324endif # PHYLIB
Frederic LAMBERTa8e510f2011-12-18 07:33:41 +0000325
326config MICREL_KS8995MA
327 tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
328 depends on SPI