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