Kconfig 11.5 KB
Newer Older
1 2 3 4
#
# PHY Layer Configuration
#

5 6
menuconfig MDIO_DEVICE
	tristate "MDIO bus device drivers"
7
	help
8
	  MDIO devices and driver infrastructure code.
9

10 11
config MDIO_BUS
	tristate
12
	default m if PHYLIB=m
13 14 15 16 17 18 19
	default MDIO_DEVICE
	help
	  This internal symbol is used for link time dependencies and it
	  reflects whether the mdio_bus/mdio_device code is built as a
	  loadable module or built-in.

if MDIO_BUS
20

21 22 23 24 25 26 27
config MDIO_BCM_IPROC
	tristate "Broadcom iProc MDIO bus controller"
	depends on ARCH_BCM_IPROC || COMPILE_TEST
	depends on HAS_IOMEM && OF_MDIO
	help
	  This module provides a driver for the MDIO busses found in the
	  Broadcom iProc SoC's.
M
Matus Ujhelyi 已提交
28

29 30
config MDIO_BCM_UNIMAC
	tristate "Broadcom UniMAC MDIO bus controller"
31
	depends on HAS_IOMEM && OF_MDIO
32 33 34 35 36
	help
	  This module provides a driver for the Broadcom UniMAC MDIO busses.
	  This hardware can be found in the Broadcom GENET Ethernet MAC
	  controllers as well as some Broadcom Ethernet switches such as the
	  Starfighter 2 switches.
H
Heiko Schocher 已提交
37

38
config MDIO_BITBANG
39
	tristate "Bitbanged MDIO buses"
40 41 42 43
	help
	  This module implements the MDIO bus protocol in software,
	  for use by low level drivers that export the ability to
	  drive the relevant pins.
44

45
	  If in doubt, say N.
46

47 48 49 50 51 52 53 54
config MDIO_BUS_MUX
	tristate
	depends on OF_MDIO
	help
	  This module provides a driver framework for MDIO bus
	  multiplexers which connect one of several child MDIO busses
	  to a parent bus.  Switching between child busses is done by
	  device specific drivers.
55

56
config MDIO_BUS_MUX_BCM_IPROC
57
	tristate "Broadcom iProc based MDIO bus multiplexers"
58 59 60 61 62 63 64 65
	depends on OF && OF_MDIO && (ARCH_BCM_IPROC || COMPILE_TEST)
	select MDIO_BUS_MUX
	default ARCH_BCM_IPROC
	help
	  This module provides a driver for MDIO bus multiplexers found in
	  iProc based Broadcom SoCs. This multiplexer connects one of several
	  child MDIO bus to a parent bus. Buses could be internal as well as
	  external and selection logic lies inside the same multiplexer.
J
Jan Engelhardt 已提交
66

67
config MDIO_BUS_MUX_GPIO
68
	tristate "GPIO controlled MDIO bus multiplexers"
69 70 71 72 73 74 75
	depends on OF_GPIO && OF_MDIO
	select MDIO_BUS_MUX
	help
	  This module provides a driver for MDIO bus multiplexers that
	  are controlled via GPIO lines.  The multiplexer connects one of
	  several child MDIO busses to a parent bus.  Child bus
	  selection is under the control of GPIO lines.
76

77
config MDIO_BUS_MUX_MMIOREG
78
	tristate "MMIO device-controlled MDIO bus multiplexers"
79 80 81 82 83 84 85 86
	depends on OF_MDIO && HAS_IOMEM
	select MDIO_BUS_MUX
	help
	  This module provides a driver for MDIO bus multiplexers that
	  are controlled via a simple memory-mapped device, like an FPGA.
	  The multiplexer connects one of several child MDIO busses to a
	  parent bus.  Child bus selection is under the control of one of
	  the FPGA's registers.
87

88
	  Currently, only 8/16/32 bits registers are supported.
89

90
config MDIO_CAVIUM
91 92
	tristate

93
config MDIO_GPIO
94
	tristate "GPIO lib-based bitbanged MDIO buses"
95
	depends on MDIO_BITBANG && GPIOLIB
96
	---help---
97
	  Supports GPIO lib-based MDIO busses.
98

99 100 101 102 103 104 105 106 107 108
	  To compile this driver as a module, choose M here: the module
	  will be called mdio-gpio.

config MDIO_HISI_FEMAC
	tristate "Hisilicon FEMAC MDIO bus controller"
	depends on HAS_IOMEM && OF_MDIO
	help
	  This module provides a driver for the MDIO busses found in the
	  Hisilicon SoC that have an Fast Ethernet MAC.

R
Russell King 已提交
109 110 111 112 113 114 115 116 117 118
config MDIO_I2C
	tristate
	depends on I2C
	help
	  Support I2C based PHYs.  This provides a MDIO bus bridged
	  to I2C to allow PHYs connected in I2C mode to be accessed
	  using the existing infrastructure.

	  This is library mode.

119
config MDIO_MOXART
120
	tristate "MOXA ART MDIO interface support"
121
	depends on ARCH_MOXART || COMPILE_TEST
122 123 124
	help
	  This driver supports the MDIO interface found in the network
	  interface units of the MOXA ART SoC
125

126 127 128 129 130 131 132
config MDIO_MSCC_MIIM
	tristate "Microsemi MIIM interface support"
	depends on HAS_IOMEM
	help
	  This driver supports the MIIM (MDIO) interface found in the network
	  switches of the Microsemi SoCs

133
config MDIO_OCTEON
134
	tristate "Octeon and some ThunderX SOCs MDIO buses"
135
	depends on 64BIT
136
	depends on HAS_IOMEM && OF_MDIO
137 138 139 140 141 142 143 144
	select MDIO_CAVIUM
	help
	  This module provides a driver for the Octeon and ThunderX MDIO
	  buses. It is required by the Octeon and ThunderX ethernet device
	  drivers on some systems.

config MDIO_SUN4I
	tristate "Allwinner sun4i MDIO interface support"
145
	depends on ARCH_SUNXI || COMPILE_TEST
146 147 148 149 150 151
	help
	  This driver supports the MDIO interface found in the network
	  interface units of the Allwinner SoC that have an EMAC (A10,
	  A12, A10s, etc.)

config MDIO_THUNDER
152
	tristate "ThunderX SOCs MDIO buses"
153 154 155 156 157 158 159 160 161 162
	depends on 64BIT
	depends on PCI
	select MDIO_CAVIUM
	help
	  This driver supports the MDIO interfaces found on Cavium
	  ThunderX SoCs when the MDIO bus device appears as a PCI
	  device.

config MDIO_XGENE
	tristate "APM X-Gene SoC MDIO bus controller"
163
	depends on ARCH_XGENE || COMPILE_TEST
164 165 166 167
	help
	  This module provides a driver for the MDIO busses found in the
	  APM X-Gene SoC's.

168 169
endif

170 171 172 173 174 175 176 177 178 179
config PHYLINK
	tristate
	depends on NETDEVICES
	select PHYLIB
	select SWPHY
	help
	  PHYlink models the link between the PHY and MAC, allowing fixed
	  configuration links, PHYs, and Serdes links with MAC level
	  autonegotiation modes.

180
menuconfig PHYLIB
181
	tristate "PHY Device support and infrastructure"
182 183 184 185 186 187 188
	depends on NETDEVICES
	select MDIO_DEVICE
	help
	  Ethernet controllers are usually attached to PHY
	  devices.  This option provides infrastructure for
	  managing PHY devices.

189 190 191 192 193 194 195 196 197 198 199 200
if PHYLIB

config SWPHY
	bool

config LED_TRIGGER_PHY
	bool "Support LED triggers for tracking link state"
	depends on LEDS_TRIGGERS
	---help---
	  Adds support for a set of LED trigger events per-PHY.  Link
	  state change will trigger the events, for consumption by an
	  LED class driver.  There are triggers for each link speed currently
201 202 203
	  supported by the PHY and also a one common "link" trigger as a
	  logical-or of all the link speed ones.
	  All these triggers are named according to the following pattern:
204
	      <mii bus id>:<phy>:<speed>
205 206

	  Where speed is in the form:
207 208
		<Speed in megabits>Mbps OR <Speed in gigabits>Gbps OR link
		for any speed known to the PHY.
209 210


211 212
comment "MII PHY device drivers"

R
Russell King 已提交
213 214 215 216 217
config SFP
	tristate "SFP cage support"
	depends on I2C && PHYLINK
	select MDIO_I2C

218
config AMD_PHY
219
	tristate "AMD PHYs"
220
	---help---
221
	  Currently supports the am79c874
222

223
config AQUANTIA_PHY
224 225 226
	tristate "Aquantia PHYs"
	---help---
	  Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
227

228 229 230 231 232 233
config ASIX_PHY
	tristate "Asix PHYs"
	help
	  Currently supports the Asix Electronics PHY found in the X-Surf 100
	  AX88796B package.

234
config AT803X_PHY
235
	tristate "AT803X PHYs"
236 237
	---help---
	  Currently supports the AT8030 and AT8035 model
238

239
config BCM63XX_PHY
240
	tristate "Broadcom 63xx SOCs internal PHY"
241
	depends on BCM63XX
242
	select BCM_NET_PHYLIB
243 244 245
	---help---
	  Currently supports the 6348 and 6358 PHYs.

246
config BCM7XXX_PHY
247
	tristate "Broadcom 7xxx SOCs internal PHYs"
248
	select BCM_NET_PHYLIB
249 250 251 252
	---help---
	  Currently supports the BCM7366, BCM7439, BCM7445, and
	  40nm and 65nm generation of BCM7xxx Set Top Box SoCs.

253
config BCM87XX_PHY
254
	tristate "Broadcom BCM8706 and BCM8727 PHYs"
255 256 257
	help
	  Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.

258
config BCM_CYGNUS_PHY
259
	tristate "Broadcom Cygnus SoC internal PHY"
260 261 262
	depends on ARCH_BCM_CYGNUS || COMPILE_TEST
	depends on MDIO_BCM_IPROC
	select BCM_NET_PHYLIB
263
	---help---
264 265
	  This PHY driver is for the 1G internal PHYs of the Broadcom
	  Cygnus Family SoC.
266

267 268 269
	  Currently supports internal PHY's used in the BCM11300,
	  BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
	  BCM58303 & BCM58305 Broadcom Cygnus SoCs.
270

271 272
config BCM_NET_PHYLIB
	tristate
G
Giuseppe Cavallaro 已提交
273

274
config BROADCOM_PHY
275
	tristate "Broadcom PHYs"
276
	select BCM_NET_PHYLIB
G
Giuseppe Cavallaro 已提交
277
	---help---
278
	  Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
279
	  BCM5481, BCM54810 and BCM5482 PHYs.
G
Giuseppe Cavallaro 已提交
280

281
config CICADA_PHY
282
	tristate "Cicada PHYs"
C
Chaithrika U S 已提交
283
	---help---
284
	  Currently supports the cis8204
C
Chaithrika U S 已提交
285

286 287 288 289 290
config CORTINA_PHY
	tristate "Cortina EDC CDR 10G Ethernet PHY"
	---help---
	  Currently supports the CS4340 phy.

291
config DAVICOM_PHY
292
	tristate "Davicom PHYs"
293
	---help---
294
	  Currently supports dm9161e and dm9131
295

296 297 298 299 300
config DP83822_PHY
	tristate "Texas Instruments DP83822 PHY"
	---help---
	  Supports the DP83822 PHY.

301 302 303 304 305
config DP83TC811_PHY
	tristate "Texas Instruments DP83TC822 PHY"
	---help---
	  Supports the DP83TC822 PHY.

306
config DP83848_PHY
307
	tristate "Texas Instruments DP83848 PHY"
308 309 310
	---help---
	  Supports the DP83848 PHY.

311
config DP83867_PHY
312
	tristate "Texas Instruments DP83867 Gigabit PHY"
313 314 315
	---help---
	  Currently supports the DP83867 PHY.

316
config FIXED_PHY
317
	tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
318
	depends on PHYLIB
319
	select SWPHY
320
	---help---
321 322 323 324
	  Adds the platform "fixed" MDIO Bus to cover the boards that use
	  PHYs that are not connected to the real MDIO bus.

	  Currently tested with mpc866ads and mpc8349e-mitx.
325

326
config ICPLUS_PHY
327
	tristate "ICPlus PHYs"
328
	---help---
329
	  Currently supports the IP175C and IP1001 PHYs.
330

331
config INTEL_XWAY_PHY
332
	tristate "Intel XWAY PHYs"
333 334 335 336 337 338
	---help---
	  Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
	  These PHYs are marked as standalone chips under the names
	  PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
	  SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.

339
config LSI_ET1011C_PHY
340
	tristate "LSI ET1011C PHY"
341 342
	---help---
	  Supports the LSI ET1011C PHY.
343

344
config LXT_PHY
345
	tristate "Intel LXT PHYs"
346 347 348 349
	---help---
	  Currently supports the lxt970, lxt971

config MARVELL_PHY
350
	tristate "Marvell PHYs"
351 352 353
	---help---
	  Currently has a driver for the 88E1011S

354 355 356 357 358
config MARVELL_10G_PHY
	tristate "Marvell Alaska 10Gbit PHYs"
	---help---
	  Support for the Marvell Alaska MV88X3310 and compatible PHYs.

359 360
config MESON_GXL_PHY
	tristate "Amlogic Meson GXL Internal PHY"
361
	depends on ARCH_MESON || COMPILE_TEST
362 363 364
	---help---
	  Currently has a driver for the Amlogic Meson GXL Internal PHY

365
config MICREL_PHY
366
	tristate "Micrel PHYs"
367 368 369 370
	---help---
	  Supports the KSZ9021, VSC8201, KS8001 PHYs.

config MICROCHIP_PHY
371
	tristate "Microchip PHYs"
372
	help
373
	  Supports the LAN88XX PHYs.
374

375 376 377 378 379
config MICROCHIP_T1_PHY
	tristate "Microchip T1 PHYs"
	---help---
	  Supports the LAN87XX PHYs.

380
config MICROSEMI_PHY
381 382
	tristate "Microsemi PHYs"
	---help---
383
	  Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
384

385
config NATIONAL_PHY
386
	tristate "National Semiconductor PHYs"
387 388 389 390
	---help---
	  Currently supports the DP83865 PHY.

config QSEMI_PHY
391
	tristate "Quality Semiconductor PHYs"
392 393 394 395
	---help---
	  Currently supports the qs6612

config REALTEK_PHY
396
	tristate "Realtek PHYs"
397 398 399
	---help---
	  Supports the Realtek 821x PHY.

400 401 402 403 404
config RENESAS_PHY
	tristate "Driver for Renesas PHYs"
	---help---
	  Supports the Renesas PHYs uPD60620 and uPD60620A.

405 406 407 408 409
config ROCKCHIP_PHY
        tristate "Driver for Rockchip Ethernet PHYs"
        ---help---
          Currently supports the integrated Ethernet PHY.

410
config SMSC_PHY
411
	tristate "SMSC PHYs"
412 413 414 415
	---help---
	  Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs

config STE10XP
416
	tristate "STMicroelectronics STe10Xp PHYs"
417 418 419 420
	---help---
	  This is the driver for the STe100p and STe101p PHYs.

config TERANETICS_PHY
421 422 423
	tristate "Teranetics PHYs"
	---help---
	  Currently supports the Teranetics TN2020
424 425

config VITESSE_PHY
426 427 428
	tristate "Vitesse PHYs"
	---help---
	  Currently supports the vsc8244
429

430
config XILINX_GMII2RGMII
431 432 433 434 435
	tristate "Xilinx GMII2RGMII converter driver"
	---help---
	  This driver support xilinx GMII to RGMII IP core it provides
	  the Reduced Gigabit Media Independent Interface(RGMII) between
	  Ethernet physical media devices and the Gigabit Ethernet controller.
436

J
Jan Engelhardt 已提交
437
endif # PHYLIB
438 439 440 441

config MICREL_KS8995MA
	tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
	depends on SPI