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 && OF_MDIO 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 help 158 This driver supports the MDIO interfaces found on Cavium 159 ThunderX SoCs when the MDIO bus device appears as a PCI 160 device. 161 162config MDIO_XGENE 163 tristate "APM X-Gene SoC MDIO bus controller" 164 depends on ARCH_XGENE || COMPILE_TEST 165 help 166 This module provides a driver for the MDIO busses found in the 167 APM X-Gene SoC's. 168 169endif 170 171config PHYLINK 172 tristate 173 depends on NETDEVICES 174 select PHYLIB 175 select SWPHY 176 help 177 PHYlink models the link between the PHY and MAC, allowing fixed 178 configuration links, PHYs, and Serdes links with MAC level 179 autonegotiation modes. 180 181menuconfig PHYLIB 182 tristate "PHY Device support and infrastructure" 183 depends on NETDEVICES 184 select MDIO_DEVICE 185 help 186 Ethernet controllers are usually attached to PHY 187 devices. This option provides infrastructure for 188 managing PHY devices. 189 190if PHYLIB 191 192config SWPHY 193 bool 194 195config LED_TRIGGER_PHY 196 bool "Support LED triggers for tracking link state" 197 depends on LEDS_TRIGGERS 198 ---help--- 199 Adds support for a set of LED trigger events per-PHY. Link 200 state change will trigger the events, for consumption by an 201 LED class driver. There are triggers for each link speed currently 202 supported by the PHY and also a one common "link" trigger as a 203 logical-or of all the link speed ones. 204 All these triggers are named according to the following pattern: 205 <mii bus id>:<phy>:<speed> 206 207 Where speed is in the form: 208 <Speed in megabits>Mbps OR <Speed in gigabits>Gbps OR link 209 for any speed known to the PHY. 210 211 212comment "MII PHY device drivers" 213 214config SFP 215 tristate "SFP cage support" 216 depends on I2C && PHYLINK 217 select MDIO_I2C 218 219config AMD_PHY 220 tristate "AMD PHYs" 221 ---help--- 222 Currently supports the am79c874 223 224config AQUANTIA_PHY 225 tristate "Aquantia PHYs" 226 ---help--- 227 Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405 228 229config ASIX_PHY 230 tristate "Asix PHYs" 231 help 232 Currently supports the Asix Electronics PHY found in the X-Surf 100 233 AX88796B package. 234 235config AT803X_PHY 236 tristate "AT803X PHYs" 237 ---help--- 238 Currently supports the AT8030 and AT8035 model 239 240config BCM63XX_PHY 241 tristate "Broadcom 63xx SOCs internal PHY" 242 depends on BCM63XX 243 select BCM_NET_PHYLIB 244 ---help--- 245 Currently supports the 6348 and 6358 PHYs. 246 247config BCM7XXX_PHY 248 tristate "Broadcom 7xxx SOCs internal PHYs" 249 select BCM_NET_PHYLIB 250 ---help--- 251 Currently supports the BCM7366, BCM7439, BCM7445, and 252 40nm and 65nm generation of BCM7xxx Set Top Box SoCs. 253 254config BCM87XX_PHY 255 tristate "Broadcom BCM8706 and BCM8727 PHYs" 256 help 257 Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs. 258 259config BCM_CYGNUS_PHY 260 tristate "Broadcom Cygnus SoC internal PHY" 261 depends on ARCH_BCM_CYGNUS || COMPILE_TEST 262 depends on MDIO_BCM_IPROC 263 select BCM_NET_PHYLIB 264 ---help--- 265 This PHY driver is for the 1G internal PHYs of the Broadcom 266 Cygnus Family SoC. 267 268 Currently supports internal PHY's used in the BCM11300, 269 BCM11320, BCM11350, BCM11360, BCM58300, BCM58302, 270 BCM58303 & BCM58305 Broadcom Cygnus SoCs. 271 272config BCM_NET_PHYLIB 273 tristate 274 275config BROADCOM_PHY 276 tristate "Broadcom PHYs" 277 select BCM_NET_PHYLIB 278 ---help--- 279 Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464, 280 BCM5481, BCM54810 and BCM5482 PHYs. 281 282config CICADA_PHY 283 tristate "Cicada PHYs" 284 ---help--- 285 Currently supports the cis8204 286 287config CORTINA_PHY 288 tristate "Cortina EDC CDR 10G Ethernet PHY" 289 ---help--- 290 Currently supports the CS4340 phy. 291 292config DAVICOM_PHY 293 tristate "Davicom PHYs" 294 ---help--- 295 Currently supports dm9161e and dm9131 296 297config DP83822_PHY 298 tristate "Texas Instruments DP83822 PHY" 299 ---help--- 300 Supports the DP83822 PHY. 301 302config DP83TC811_PHY 303 tristate "Texas Instruments DP83TC822 PHY" 304 ---help--- 305 Supports the DP83TC822 PHY. 306 307config DP83848_PHY 308 tristate "Texas Instruments DP83848 PHY" 309 ---help--- 310 Supports the DP83848 PHY. 311 312config DP83867_PHY 313 tristate "Texas Instruments DP83867 Gigabit PHY" 314 ---help--- 315 Currently supports the DP83867 PHY. 316 317config FIXED_PHY 318 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs" 319 depends on PHYLIB 320 select SWPHY 321 ---help--- 322 Adds the platform "fixed" MDIO Bus to cover the boards that use 323 PHYs that are not connected to the real MDIO bus. 324 325 Currently tested with mpc866ads and mpc8349e-mitx. 326 327config ICPLUS_PHY 328 tristate "ICPlus PHYs" 329 ---help--- 330 Currently supports the IP175C and IP1001 PHYs. 331 332config INTEL_XWAY_PHY 333 tristate "Intel XWAY PHYs" 334 ---help--- 335 Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs. 336 These PHYs are marked as standalone chips under the names 337 PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel 338 SoCs xRX200, xRX300, xRX330, xRX350 and xRX550. 339 340config LSI_ET1011C_PHY 341 tristate "LSI ET1011C PHY" 342 ---help--- 343 Supports the LSI ET1011C PHY. 344 345config LXT_PHY 346 tristate "Intel LXT PHYs" 347 ---help--- 348 Currently supports the lxt970, lxt971 349 350config MARVELL_PHY 351 tristate "Marvell PHYs" 352 ---help--- 353 Currently has a driver for the 88E1011S 354 355config MARVELL_10G_PHY 356 tristate "Marvell Alaska 10Gbit PHYs" 357 ---help--- 358 Support for the Marvell Alaska MV88X3310 and compatible PHYs. 359 360config MESON_GXL_PHY 361 tristate "Amlogic Meson GXL Internal PHY" 362 depends on ARCH_MESON || COMPILE_TEST 363 ---help--- 364 Currently has a driver for the Amlogic Meson GXL Internal PHY 365 366config MICREL_PHY 367 tristate "Micrel PHYs" 368 ---help--- 369 Supports the KSZ9021, VSC8201, KS8001 PHYs. 370 371config MICROCHIP_PHY 372 tristate "Microchip PHYs" 373 help 374 Supports the LAN88XX PHYs. 375 376config MICROCHIP_T1_PHY 377 tristate "Microchip T1 PHYs" 378 ---help--- 379 Supports the LAN87XX PHYs. 380 381config MICROSEMI_PHY 382 tristate "Microsemi PHYs" 383 ---help--- 384 Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs 385 386config NATIONAL_PHY 387 tristate "National Semiconductor PHYs" 388 ---help--- 389 Currently supports the DP83865 PHY. 390 391config QSEMI_PHY 392 tristate "Quality Semiconductor PHYs" 393 ---help--- 394 Currently supports the qs6612 395 396config REALTEK_PHY 397 tristate "Realtek PHYs" 398 ---help--- 399 Supports the Realtek 821x PHY. 400 401config RENESAS_PHY 402 tristate "Driver for Renesas PHYs" 403 ---help--- 404 Supports the Renesas PHYs uPD60620 and uPD60620A. 405 406config ROCKCHIP_PHY 407 tristate "Driver for Rockchip Ethernet PHYs" 408 ---help--- 409 Currently supports the integrated Ethernet PHY. 410 411config SMSC_PHY 412 tristate "SMSC PHYs" 413 ---help--- 414 Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs 415 416config STE10XP 417 tristate "STMicroelectronics STe10Xp PHYs" 418 ---help--- 419 This is the driver for the STe100p and STe101p PHYs. 420 421config TERANETICS_PHY 422 tristate "Teranetics PHYs" 423 ---help--- 424 Currently supports the Teranetics TN2020 425 426config VITESSE_PHY 427 tristate "Vitesse PHYs" 428 ---help--- 429 Currently supports the vsc8244 430 431config XILINX_GMII2RGMII 432 tristate "Xilinx GMII2RGMII converter driver" 433 ---help--- 434 This driver support xilinx GMII to RGMII IP core it provides 435 the Reduced Gigabit Media Independent Interface(RGMII) between 436 Ethernet physical media devices and the Gigabit Ethernet controller. 437 438endif # PHYLIB 439 440config MICREL_KS8995MA 441 tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch" 442 depends on SPI 443