]>
Commit | Line | Data |
---|---|---|
00db8189 AF |
1 | # |
2 | # PHY Layer Configuration | |
3 | # | |
4 | ||
90eff909 FF |
5 | menuconfig MDIO_DEVICE |
6 | tristate "MDIO bus device drivers" | |
00db8189 | 7 | help |
54161ed4 | 8 | MDIO devices and driver infrastructure code. |
2e0bc452 | 9 | |
4c3464a8 AB |
10 | config MDIO_BUS |
11 | tristate | |
12 | default m if PHYLIB=m | |
13 | default MDIO_DEVICE | |
14 | help | |
15 | This internal symbol is used for link time dependencies and it | |
16 | reflects whether the mdio_bus/mdio_device code is built as a | |
17 | loadable module or built-in. | |
18 | ||
19 | if MDIO_BUS | |
00db8189 | 20 | |
d75b4a22 AL |
21 | config MDIO_BCM_IPROC |
22 | tristate "Broadcom iProc MDIO bus controller" | |
23 | depends on ARCH_BCM_IPROC || COMPILE_TEST | |
24 | depends on HAS_IOMEM && OF_MDIO | |
25 | help | |
26 | This module provides a driver for the MDIO busses found in the | |
27 | Broadcom iProc SoC's. | |
0ca7111a | 28 | |
d75b4a22 AL |
29 | config MDIO_BCM_UNIMAC |
30 | tristate "Broadcom UniMAC MDIO bus controller" | |
17487eeb | 31 | depends on HAS_IOMEM && OF_MDIO |
d75b4a22 AL |
32 | help |
33 | This module provides a driver for the Broadcom UniMAC MDIO busses. | |
34 | This hardware can be found in the Broadcom GENET Ethernet MAC | |
35 | controllers as well as some Broadcom Ethernet switches such as the | |
36 | Starfighter 2 switches. | |
49099122 | 37 | |
d75b4a22 | 38 | config MDIO_BITBANG |
97c84389 | 39 | tristate "Bitbanged MDIO buses" |
d75b4a22 AL |
40 | help |
41 | This module implements the MDIO bus protocol in software, | |
42 | for use by low level drivers that export the ability to | |
43 | drive the relevant pins. | |
00db8189 | 44 | |
d75b4a22 | 45 | If in doubt, say N. |
00db8189 | 46 | |
d75b4a22 AL |
47 | config MDIO_BUS_MUX |
48 | tristate | |
49 | depends on OF_MDIO | |
50 | help | |
51 | This module provides a driver framework for MDIO bus | |
52 | multiplexers which connect one of several child MDIO busses | |
53 | to a parent bus. Switching between child busses is done by | |
54 | device specific drivers. | |
00db8189 | 55 | |
d75b4a22 | 56 | config MDIO_BUS_MUX_BCM_IPROC |
97c84389 | 57 | tristate "Broadcom iProc based MDIO bus multiplexers" |
d75b4a22 AL |
58 | depends on OF && OF_MDIO && (ARCH_BCM_IPROC || COMPILE_TEST) |
59 | select MDIO_BUS_MUX | |
60 | default ARCH_BCM_IPROC | |
61 | help | |
62 | This module provides a driver for MDIO bus multiplexers found in | |
63 | iProc based Broadcom SoCs. This multiplexer connects one of several | |
64 | child MDIO bus to a parent bus. Buses could be internal as well as | |
65 | external and selection logic lies inside the same multiplexer. | |
53f99941 | 66 | |
d75b4a22 | 67 | config MDIO_BUS_MUX_GPIO |
97c84389 | 68 | tristate "GPIO controlled MDIO bus multiplexers" |
d75b4a22 AL |
69 | depends on OF_GPIO && OF_MDIO |
70 | select MDIO_BUS_MUX | |
71 | help | |
72 | This module provides a driver for MDIO bus multiplexers that | |
73 | are controlled via GPIO lines. The multiplexer connects one of | |
74 | several child MDIO busses to a parent bus. Child bus | |
75 | selection is under the control of GPIO lines. | |
00db8189 | 76 | |
d75b4a22 | 77 | config MDIO_BUS_MUX_MMIOREG |
97c84389 | 78 | tristate "MMIO device-controlled MDIO bus multiplexers" |
d75b4a22 AL |
79 | depends on OF_MDIO && HAS_IOMEM |
80 | select MDIO_BUS_MUX | |
81 | help | |
82 | This module provides a driver for MDIO bus multiplexers that | |
83 | are controlled via a simple memory-mapped device, like an FPGA. | |
84 | The multiplexer connects one of several child MDIO busses to a | |
85 | parent bus. Child bus selection is under the control of one of | |
86 | the FPGA's registers. | |
f61687c0 | 87 | |
d75b4a22 | 88 | Currently, only 8-bit registers are supported. |
c9e055ac | 89 | |
d75b4a22 | 90 | config MDIO_CAVIUM |
a1cba561 AP |
91 | tristate |
92 | ||
d75b4a22 | 93 | config MDIO_GPIO |
97c84389 | 94 | tristate "GPIO lib-based bitbanged MDIO buses" |
d75b4a22 | 95 | depends on MDIO_BITBANG && GPIOLIB |
c4b41c9f | 96 | ---help--- |
d75b4a22 | 97 | Supports GPIO lib-based MDIO busses. |
c4b41c9f | 98 | |
d75b4a22 AL |
99 | To compile this driver as a module, choose M here: the module |
100 | will be called mdio-gpio. | |
101 | ||
102 | config MDIO_HISI_FEMAC | |
103 | tristate "Hisilicon FEMAC MDIO bus controller" | |
104 | depends on HAS_IOMEM && OF_MDIO | |
105 | help | |
106 | This module provides a driver for the MDIO busses found in the | |
107 | Hisilicon SoC that have an Fast Ethernet MAC. | |
108 | ||
453d00de RK |
109 | config MDIO_I2C |
110 | tristate | |
111 | depends on I2C | |
112 | help | |
113 | Support I2C based PHYs. This provides a MDIO bus bridged | |
114 | to I2C to allow PHYs connected in I2C mode to be accessed | |
115 | using the existing infrastructure. | |
116 | ||
117 | This is library mode. | |
118 | ||
d75b4a22 | 119 | config MDIO_MOXART |
54161ed4 MS |
120 | tristate "MOXA ART MDIO interface support" |
121 | depends on ARCH_MOXART | |
122 | help | |
123 | This driver supports the MDIO interface found in the network | |
124 | interface units of the MOXA ART SoC | |
d75b4a22 AL |
125 | |
126 | config MDIO_OCTEON | |
97c84389 | 127 | tristate "Octeon and some ThunderX SOCs MDIO buses" |
d75b4a22 | 128 | depends on 64BIT |
cd47512e | 129 | depends on HAS_IOMEM && OF_MDIO |
d75b4a22 AL |
130 | select MDIO_CAVIUM |
131 | help | |
132 | This module provides a driver for the Octeon and ThunderX MDIO | |
133 | buses. It is required by the Octeon and ThunderX ethernet device | |
134 | drivers on some systems. | |
135 | ||
136 | config MDIO_SUN4I | |
137 | tristate "Allwinner sun4i MDIO interface support" | |
138 | depends on ARCH_SUNXI | |
139 | help | |
140 | This driver supports the MDIO interface found in the network | |
141 | interface units of the Allwinner SoC that have an EMAC (A10, | |
142 | A12, A10s, etc.) | |
143 | ||
144 | config MDIO_THUNDER | |
97c84389 | 145 | tristate "ThunderX SOCs MDIO buses" |
d75b4a22 AL |
146 | depends on 64BIT |
147 | depends on PCI | |
148 | select MDIO_CAVIUM | |
149 | help | |
150 | This driver supports the MDIO interfaces found on Cavium | |
151 | ThunderX SoCs when the MDIO bus device appears as a PCI | |
152 | device. | |
153 | ||
154 | config MDIO_XGENE | |
155 | tristate "APM X-Gene SoC MDIO bus controller" | |
7aa6ec22 | 156 | depends on ARCH_XGENE || COMPILE_TEST |
d75b4a22 AL |
157 | help |
158 | This module provides a driver for the MDIO busses found in the | |
159 | APM X-Gene SoC's. | |
160 | ||
90eff909 FF |
161 | endif |
162 | ||
163 | menuconfig PHYLIB | |
164 | tristate "PHY Device support and infrastructure" | |
165 | depends on NETDEVICES | |
166 | select MDIO_DEVICE | |
167 | help | |
168 | Ethernet controllers are usually attached to PHY | |
169 | devices. This option provides infrastructure for | |
170 | managing PHY devices. | |
171 | ||
9525ae83 RK |
172 | config PHYLINK |
173 | tristate | |
174 | depends on NETDEVICES | |
175 | select PHYLIB | |
176 | select SWPHY | |
177 | help | |
178 | PHYlink models the link between the PHY and MAC, allowing fixed | |
179 | configuration links, PHYs, and Serdes links with MAC level | |
180 | autonegotiation modes. | |
181 | ||
90eff909 FF |
182 | if PHYLIB |
183 | ||
184 | config SWPHY | |
185 | bool | |
186 | ||
187 | config LED_TRIGGER_PHY | |
188 | bool "Support LED triggers for tracking link state" | |
189 | depends on LEDS_TRIGGERS | |
190 | ---help--- | |
191 | Adds support for a set of LED trigger events per-PHY. Link | |
192 | state change will trigger the events, for consumption by an | |
193 | LED class driver. There are triggers for each link speed currently | |
194 | supported by the phy, and are of the form: | |
54161ed4 | 195 | <mii bus id>:<phy>:<speed> |
90eff909 FF |
196 | |
197 | Where speed is in the form: | |
198 | <Speed in megabits>Mbps or <Speed in gigabits>Gbps | |
199 | ||
200 | ||
d75b4a22 AL |
201 | comment "MII PHY device drivers" |
202 | ||
73970055 RK |
203 | config SFP |
204 | tristate "SFP cage support" | |
205 | depends on I2C && PHYLINK | |
206 | select MDIO_I2C | |
207 | ||
d75b4a22 | 208 | config AMD_PHY |
97c84389 | 209 | tristate "AMD PHYs" |
8e185d69 | 210 | ---help--- |
d75b4a22 | 211 | Currently supports the am79c874 |
8e185d69 | 212 | |
d75b4a22 | 213 | config AQUANTIA_PHY |
54161ed4 MS |
214 | tristate "Aquantia PHYs" |
215 | ---help--- | |
216 | Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405 | |
d75b4a22 AL |
217 | |
218 | config AT803X_PHY | |
97c84389 | 219 | tristate "AT803X PHYs" |
d75b4a22 AL |
220 | ---help--- |
221 | Currently supports the AT8030 and AT8035 model | |
8e185d69 | 222 | |
09bb9aa0 | 223 | config BCM63XX_PHY |
97c84389 | 224 | tristate "Broadcom 63xx SOCs internal PHY" |
f1dc045e | 225 | depends on BCM63XX |
a1cba561 | 226 | select BCM_NET_PHYLIB |
09bb9aa0 MB |
227 | ---help--- |
228 | Currently supports the 6348 and 6358 PHYs. | |
229 | ||
b560a58c | 230 | config BCM7XXX_PHY |
97c84389 | 231 | tristate "Broadcom 7xxx SOCs internal PHYs" |
a1cba561 | 232 | select BCM_NET_PHYLIB |
b560a58c FF |
233 | ---help--- |
234 | Currently supports the BCM7366, BCM7439, BCM7445, and | |
235 | 40nm and 65nm generation of BCM7xxx Set Top Box SoCs. | |
236 | ||
e9976d7c | 237 | config BCM87XX_PHY |
97c84389 | 238 | tristate "Broadcom BCM8706 and BCM8727 PHYs" |
e9976d7c DD |
239 | help |
240 | Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs. | |
241 | ||
d75b4a22 | 242 | config BCM_CYGNUS_PHY |
97c84389 | 243 | tristate "Broadcom Cygnus SoC internal PHY" |
d75b4a22 AL |
244 | depends on ARCH_BCM_CYGNUS || COMPILE_TEST |
245 | depends on MDIO_BCM_IPROC | |
246 | select BCM_NET_PHYLIB | |
0cefeeba | 247 | ---help--- |
d75b4a22 AL |
248 | This PHY driver is for the 1G internal PHYs of the Broadcom |
249 | Cygnus Family SoC. | |
0cefeeba | 250 | |
d75b4a22 AL |
251 | Currently supports internal PHY's used in the BCM11300, |
252 | BCM11320, BCM11350, BCM11360, BCM58300, BCM58302, | |
253 | BCM58303 & BCM58305 Broadcom Cygnus SoCs. | |
097c2aa8 | 254 | |
d75b4a22 AL |
255 | config BCM_NET_PHYLIB |
256 | tristate | |
914804b9 | 257 | |
d75b4a22 | 258 | config BROADCOM_PHY |
97c84389 | 259 | tristate "Broadcom PHYs" |
d75b4a22 | 260 | select BCM_NET_PHYLIB |
f95be180 | 261 | ---help--- |
d75b4a22 | 262 | Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464, |
b14995ac | 263 | BCM5481, BCM54810 and BCM5482 PHYs. |
f95be180 | 264 | |
d75b4a22 | 265 | config CICADA_PHY |
97c84389 | 266 | tristate "Cicada PHYs" |
dbb7a95d | 267 | ---help--- |
d75b4a22 | 268 | Currently supports the cis8204 |
dbb7a95d | 269 | |
15b9e533 BP |
270 | config CORTINA_PHY |
271 | tristate "Cortina EDC CDR 10G Ethernet PHY" | |
272 | ---help--- | |
273 | Currently supports the CS4340 phy. | |
274 | ||
d75b4a22 | 275 | config DAVICOM_PHY |
97c84389 | 276 | tristate "Davicom PHYs" |
d0507009 | 277 | ---help--- |
d75b4a22 | 278 | Currently supports dm9161e and dm9131 |
d0507009 | 279 | |
34e45ad9 | 280 | config DP83848_PHY |
97c84389 | 281 | tristate "Texas Instruments DP83848 PHY" |
34e45ad9 AD |
282 | ---help--- |
283 | Supports the DP83848 PHY. | |
284 | ||
2a10154a | 285 | config DP83867_PHY |
97c84389 | 286 | tristate "Texas Instruments DP83867 Gigabit PHY" |
2a10154a DM |
287 | ---help--- |
288 | Currently supports the DP83867 PHY. | |
289 | ||
11b0bacd | 290 | config FIXED_PHY |
97c84389 | 291 | tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs" |
6539c44d | 292 | depends on PHYLIB |
5ae68b0c | 293 | select SWPHY |
11b0bacd | 294 | ---help--- |
a79d8e93 VB |
295 | Adds the platform "fixed" MDIO Bus to cover the boards that use |
296 | PHYs that are not connected to the real MDIO bus. | |
297 | ||
298 | Currently tested with mpc866ads and mpc8349e-mitx. | |
7c32f470 | 299 | |
d75b4a22 | 300 | config ICPLUS_PHY |
97c84389 | 301 | tristate "ICPlus PHYs" |
a5edeccb | 302 | ---help--- |
d75b4a22 | 303 | Currently supports the IP175C and IP1001 PHYs. |
ddc24ae1 | 304 | |
112b558d | 305 | config INTEL_XWAY_PHY |
97c84389 | 306 | tristate "Intel XWAY PHYs" |
112b558d HM |
307 | ---help--- |
308 | Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs. | |
309 | These PHYs are marked as standalone chips under the names | |
310 | PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel | |
311 | SoCs xRX200, xRX300, xRX330, xRX350 and xRX550. | |
312 | ||
d75b4a22 | 313 | config LSI_ET1011C_PHY |
97c84389 | 314 | tristate "LSI ET1011C PHY" |
d75b4a22 AL |
315 | ---help--- |
316 | Supports the LSI ET1011C PHY. | |
4960e4b1 | 317 | |
d75b4a22 | 318 | config LXT_PHY |
97c84389 | 319 | tristate "Intel LXT PHYs" |
d75b4a22 AL |
320 | ---help--- |
321 | Currently supports the lxt970, lxt971 | |
322 | ||
323 | config MARVELL_PHY | |
97c84389 | 324 | tristate "Marvell PHYs" |
d75b4a22 AL |
325 | ---help--- |
326 | Currently has a driver for the 88E1011S | |
327 | ||
20b2af32 RK |
328 | config MARVELL_10G_PHY |
329 | tristate "Marvell Alaska 10Gbit PHYs" | |
330 | ---help--- | |
331 | Support for the Marvell Alaska MV88X3310 and compatible PHYs. | |
332 | ||
7334b3e4 NA |
333 | config MESON_GXL_PHY |
334 | tristate "Amlogic Meson GXL Internal PHY" | |
2ebae8bd | 335 | depends on ARCH_MESON || COMPILE_TEST |
7334b3e4 NA |
336 | ---help--- |
337 | Currently has a driver for the Amlogic Meson GXL Internal PHY | |
338 | ||
d75b4a22 | 339 | config MICREL_PHY |
97c84389 | 340 | tristate "Micrel PHYs" |
d75b4a22 AL |
341 | ---help--- |
342 | Supports the KSZ9021, VSC8201, KS8001 PHYs. | |
343 | ||
344 | config MICROCHIP_PHY | |
97c84389 | 345 | tristate "Microchip PHYs" |
43b3cf66 | 346 | help |
d75b4a22 | 347 | Supports the LAN88XX PHYs. |
43b3cf66 | 348 | |
d50736a8 | 349 | config MICROSEMI_PHY |
4ffd03f5 RL |
350 | tristate "Microsemi PHYs" |
351 | ---help--- | |
af1fee98 | 352 | Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs |
d50736a8 | 353 | |
d75b4a22 | 354 | config NATIONAL_PHY |
97c84389 | 355 | tristate "National Semiconductor PHYs" |
d75b4a22 AL |
356 | ---help--- |
357 | Currently supports the DP83865 PHY. | |
358 | ||
359 | config QSEMI_PHY | |
97c84389 | 360 | tristate "Quality Semiconductor PHYs" |
d75b4a22 AL |
361 | ---help--- |
362 | Currently supports the qs6612 | |
363 | ||
364 | config REALTEK_PHY | |
97c84389 | 365 | tristate "Realtek PHYs" |
d75b4a22 AL |
366 | ---help--- |
367 | Supports the Realtek 821x PHY. | |
368 | ||
baf6ee81 DW |
369 | config ROCKCHIP_PHY |
370 | tristate "Driver for Rockchip Ethernet PHYs" | |
371 | ---help--- | |
372 | Currently supports the integrated Ethernet PHY. | |
373 | ||
d75b4a22 | 374 | config SMSC_PHY |
97c84389 | 375 | tristate "SMSC PHYs" |
d75b4a22 AL |
376 | ---help--- |
377 | Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs | |
378 | ||
379 | config STE10XP | |
97c84389 | 380 | tristate "STMicroelectronics STe10Xp PHYs" |
d75b4a22 AL |
381 | ---help--- |
382 | This is the driver for the STe100p and STe101p PHYs. | |
383 | ||
384 | config TERANETICS_PHY | |
54161ed4 MS |
385 | tristate "Teranetics PHYs" |
386 | ---help--- | |
387 | Currently supports the Teranetics TN2020 | |
d75b4a22 AL |
388 | |
389 | config VITESSE_PHY | |
54161ed4 MS |
390 | tristate "Vitesse PHYs" |
391 | ---help--- | |
392 | Currently supports the vsc8244 | |
d75b4a22 | 393 | |
f411a616 | 394 | config XILINX_GMII2RGMII |
54161ed4 MS |
395 | tristate "Xilinx GMII2RGMII converter driver" |
396 | ---help--- | |
397 | This driver support xilinx GMII to RGMII IP core it provides | |
398 | the Reduced Gigabit Media Independent Interface(RGMII) between | |
399 | Ethernet physical media devices and the Gigabit Ethernet controller. | |
f411a616 | 400 | |
53f99941 | 401 | endif # PHYLIB |
a8e510f6 FL |
402 | |
403 | config MICREL_KS8995MA | |
404 | tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch" | |
405 | depends on SPI |