1# 2# PHY Layer Configuration 3# 4 5menuconfig MDIO_DEVICE 6 tristate "MDIO bus device drivers" 7 help 8 MDIO devices and driver infrastructure code. 9 10config 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 19if MDIO_BUS 20 21config 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. 28 29config MDIO_BCM_UNIMAC 30 tristate "Broadcom UniMAC MDIO bus controller" 31 depends on HAS_IOMEM 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. 37 38config MDIO_BITBANG 39 tristate "Bitbanged MDIO buses" 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. 44 45 If in doubt, say N. 46 47config 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. 55 56config MDIO_BUS_MUX_BCM_IPROC 57 tristate "Broadcom iProc based MDIO bus multiplexers" 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. 66 67config MDIO_BUS_MUX_GPIO 68 tristate "GPIO controlled MDIO bus multiplexers" 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. 76 77config MDIO_BUS_MUX_MMIOREG 78 tristate "MMIO device-controlled MDIO bus multiplexers" 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. 87 88 Currently, only 8/16/32 bits registers are supported. 89 90config MDIO_CAVIUM 91 tristate 92 93config MDIO_GPIO 94 tristate "GPIO lib-based bitbanged MDIO buses" 95 depends on MDIO_BITBANG 96 depends on GPIOLIB || COMPILE_TEST 97 ---help--- 98 Supports GPIO lib-based MDIO busses. 99 100 To compile this driver as a module, choose M here: the module 101 will be called mdio-gpio. 102 103config MDIO_HISI_FEMAC 104 tristate "Hisilicon FEMAC MDIO bus controller" 105 depends on HAS_IOMEM && OF_MDIO 106 help 107 This module provides a driver for the MDIO busses found in the 108 Hisilicon SoC that have an Fast Ethernet MAC. 109 110config MDIO_I2C 111 tristate 112 depends on I2C 113 help 114 Support I2C based PHYs. This provides a MDIO bus bridged 115 to I2C to allow PHYs connected in I2C mode to be accessed 116 using the existing infrastructure. 117 118 This is library mode. 119 120config MDIO_MOXART 121 tristate "MOXA ART MDIO interface support" 122 depends on ARCH_MOXART || COMPILE_TEST 123 help 124 This driver supports the MDIO interface found in the network 125 interface units of the MOXA ART SoC 126 127config MDIO_MSCC_MIIM 128 tristate "Microsemi MIIM interface support" 129 depends on HAS_IOMEM 130 help 131 This driver supports the MIIM (MDIO) interface found in the network 132 switches of the Microsemi SoCs 133 134config MDIO_OCTEON 135 tristate "Octeon and some ThunderX SOCs MDIO buses" 136 depends on 64BIT 137 depends on HAS_IOMEM && OF_MDIO 138 select MDIO_CAVIUM 139 help 140 This module provides a driver for the Octeon and ThunderX MDIO 141 buses. It is required by the Octeon and ThunderX ethernet device 142 drivers on some systems. 143 144config MDIO_SUN4I 145 tristate "Allwinner sun4i MDIO interface support" 146 depends on ARCH_SUNXI || COMPILE_TEST 147 help 148 This driver supports the MDIO interface found in the network 149 interface units of the Allwinner SoC that have an EMAC (A10, 150 A12, A10s, etc.) 151 152config MDIO_THUNDER 153 tristate "ThunderX SOCs MDIO buses" 154 depends on 64BIT 155 depends on PCI 156 select MDIO_CAVIUM 157 select MDIO_DEVRES 158 help 159 This driver supports the MDIO interfaces found on Cavium 160 ThunderX SoCs when the MDIO bus device appears as a PCI 161 device. 162 163config MDIO_XGENE 164 tristate "APM X-Gene SoC MDIO bus controller" 165 depends on ARCH_XGENE || COMPILE_TEST 166 help 167 This module provides a driver for the MDIO busses found in the 168 APM X-Gene SoC's. 169 170endif 171 172config 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 182menuconfig PHYLIB 183 tristate "PHY Device support and infrastructure" 184 depends on NETDEVICES 185 select MDIO_DEVICE 186 help 187 Ethernet controllers are usually attached to PHY 188 devices. This option provides infrastructure for 189 managing PHY devices. 190 191if PHYLIB 192 193config SWPHY 194 bool 195 196config LED_TRIGGER_PHY 197 bool "Support LED triggers for tracking link state" 198 depends on LEDS_TRIGGERS 199 ---help--- 200 Adds support for a set of LED trigger events per-PHY. Link 201 state change will trigger the events, for consumption by an 202 LED class driver. There are triggers for each link speed currently 203 supported by the PHY and also a one common "link" trigger as a 204 logical-or of all the link speed ones. 205 All these triggers are named according to the following pattern: 206 <mii bus id>:<phy>:<speed> 207 208 Where speed is in the form: 209 <Speed in megabits>Mbps OR <Speed in gigabits>Gbps OR link 210 for any speed known to the PHY. 211 212 213comment "MII PHY device drivers" 214 215config SFP 216 tristate "SFP cage support" 217 depends on I2C && PHYLINK 218 depends on HWMON || HWMON=n 219 select MDIO_I2C 220 221config AMD_PHY 222 tristate "AMD PHYs" 223 ---help--- 224 Currently supports the am79c874 225 226config AQUANTIA_PHY 227 tristate "Aquantia PHYs" 228 ---help--- 229 Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405 230 231config AX88796B_PHY 232 tristate "Asix PHYs" 233 help 234 Currently supports the Asix Electronics PHY found in the X-Surf 100 235 AX88796B package. 236 237config AT803X_PHY 238 tristate "AT803X PHYs" 239 ---help--- 240 Currently supports the AT8030 and AT8035 model 241 242config BCM63XX_PHY 243 tristate "Broadcom 63xx SOCs internal PHY" 244 depends on BCM63XX 245 select BCM_NET_PHYLIB 246 ---help--- 247 Currently supports the 6348 and 6358 PHYs. 248 249config BCM7XXX_PHY 250 tristate "Broadcom 7xxx SOCs internal PHYs" 251 select BCM_NET_PHYLIB 252 ---help--- 253 Currently supports the BCM7366, BCM7439, BCM7445, and 254 40nm and 65nm generation of BCM7xxx Set Top Box SoCs. 255 256config BCM87XX_PHY 257 tristate "Broadcom BCM8706 and BCM8727 PHYs" 258 help 259 Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs. 260 261config BCM_CYGNUS_PHY 262 tristate "Broadcom Cygnus SoC internal PHY" 263 depends on ARCH_BCM_CYGNUS || COMPILE_TEST 264 depends on MDIO_BCM_IPROC 265 select BCM_NET_PHYLIB 266 ---help--- 267 This PHY driver is for the 1G internal PHYs of the Broadcom 268 Cygnus Family SoC. 269 270 Currently supports internal PHY's used in the BCM11300, 271 BCM11320, BCM11350, BCM11360, BCM58300, BCM58302, 272 BCM58303 & BCM58305 Broadcom Cygnus SoCs. 273 274config BCM_NET_PHYLIB 275 tristate 276 277config BROADCOM_PHY 278 tristate "Broadcom PHYs" 279 select BCM_NET_PHYLIB 280 ---help--- 281 Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464, 282 BCM5481, BCM54810 and BCM5482 PHYs. 283 284config CICADA_PHY 285 tristate "Cicada PHYs" 286 ---help--- 287 Currently supports the cis8204 288 289config CORTINA_PHY 290 tristate "Cortina EDC CDR 10G Ethernet PHY" 291 ---help--- 292 Currently supports the CS4340 phy. 293 294config DAVICOM_PHY 295 tristate "Davicom PHYs" 296 ---help--- 297 Currently supports dm9161e and dm9131 298 299config DP83822_PHY 300 tristate "Texas Instruments DP83822 PHY" 301 ---help--- 302 Supports the DP83822 PHY. 303 304config DP83TC811_PHY 305 tristate "Texas Instruments DP83TC822 PHY" 306 ---help--- 307 Supports the DP83TC822 PHY. 308 309config DP83848_PHY 310 tristate "Texas Instruments DP83848 PHY" 311 ---help--- 312 Supports the DP83848 PHY. 313 314config DP83867_PHY 315 tristate "Texas Instruments DP83867 Gigabit PHY" 316 ---help--- 317 Currently supports the DP83867 PHY. 318 319config FIXED_PHY 320 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs" 321 depends on PHYLIB 322 select SWPHY 323 ---help--- 324 Adds the platform "fixed" MDIO Bus to cover the boards that use 325 PHYs that are not connected to the real MDIO bus. 326 327 Currently tested with mpc866ads and mpc8349e-mitx. 328 329config ICPLUS_PHY 330 tristate "ICPlus PHYs" 331 ---help--- 332 Currently supports the IP175C and IP1001 PHYs. 333 334config INTEL_XWAY_PHY 335 tristate "Intel XWAY PHYs" 336 ---help--- 337 Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs. 338 These PHYs are marked as standalone chips under the names 339 PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel 340 SoCs xRX200, xRX300, xRX330, xRX350 and xRX550. 341 342config LSI_ET1011C_PHY 343 tristate "LSI ET1011C PHY" 344 ---help--- 345 Supports the LSI ET1011C PHY. 346 347config LXT_PHY 348 tristate "Intel LXT PHYs" 349 ---help--- 350 Currently supports the lxt970, lxt971 351 352config MARVELL_PHY 353 tristate "Marvell PHYs" 354 ---help--- 355 Currently has a driver for the 88E1011S 356 357config MARVELL_10G_PHY 358 tristate "Marvell Alaska 10Gbit PHYs" 359 ---help--- 360 Support for the Marvell Alaska MV88X3310 and compatible PHYs. 361 362config MESON_GXL_PHY 363 tristate "Amlogic Meson GXL Internal PHY" 364 depends on ARCH_MESON || COMPILE_TEST 365 ---help--- 366 Currently has a driver for the Amlogic Meson GXL Internal PHY 367 368config MICREL_PHY 369 tristate "Micrel PHYs" 370 ---help--- 371 Supports the KSZ9021, VSC8201, KS8001 PHYs. 372 373config MICROCHIP_PHY 374 tristate "Microchip PHYs" 375 help 376 Supports the LAN88XX PHYs. 377 378config MICROCHIP_T1_PHY 379 tristate "Microchip T1 PHYs" 380 ---help--- 381 Supports the LAN87XX PHYs. 382 383config MICROSEMI_PHY 384 tristate "Microsemi PHYs" 385 ---help--- 386 Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs 387 388config NATIONAL_PHY 389 tristate "National Semiconductor PHYs" 390 ---help--- 391 Currently supports the DP83865 PHY. 392 393config QSEMI_PHY 394 tristate "Quality Semiconductor PHYs" 395 ---help--- 396 Currently supports the qs6612 397 398config REALTEK_PHY 399 tristate "Realtek PHYs" 400 ---help--- 401 Supports the Realtek 821x PHY. 402 403config RENESAS_PHY 404 tristate "Driver for Renesas PHYs" 405 ---help--- 406 Supports the Renesas PHYs uPD60620 and uPD60620A. 407 408config ROCKCHIP_PHY 409 tristate "Driver for Rockchip Ethernet PHYs" 410 ---help--- 411 Currently supports the integrated Ethernet PHY. 412 413config SMSC_PHY 414 tristate "SMSC PHYs" 415 ---help--- 416 Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs 417 418config STE10XP 419 tristate "STMicroelectronics STe10Xp PHYs" 420 ---help--- 421 This is the driver for the STe100p and STe101p PHYs. 422 423config TERANETICS_PHY 424 tristate "Teranetics PHYs" 425 ---help--- 426 Currently supports the Teranetics TN2020 427 428config VITESSE_PHY 429 tristate "Vitesse PHYs" 430 ---help--- 431 Currently supports the vsc8244 432 433config XILINX_GMII2RGMII 434 tristate "Xilinx GMII2RGMII converter driver" 435 ---help--- 436 This driver support xilinx GMII to RGMII IP core it provides 437 the Reduced Gigabit Media Independent Interface(RGMII) between 438 Ethernet physical media devices and the Gigabit Ethernet controller. 439 440endif # PHYLIB 441 442config MICREL_KS8995MA 443 tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch" 444 depends on SPI 445