Kconfig 9.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
if MDIO_DEVICE
11

12 13 14 15 16 17 18
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 已提交
19

20 21
config MDIO_BCM_UNIMAC
	tristate "Broadcom UniMAC MDIO bus controller"
22
	depends on HAS_IOMEM && OF_MDIO
23 24 25 26 27
	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 已提交
28

29
config MDIO_BITBANG
30
	tristate "Bitbanged MDIO buses"
31
	depends on !(MDIO_DEVICE=y && PHYLIB=m)
32 33 34 35
	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.
36

37
	  If in doubt, say N.
38

39 40 41 42 43 44 45 46
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.
47

48
config MDIO_BUS_MUX_BCM_IPROC
49
	tristate "Broadcom iProc based MDIO bus multiplexers"
50 51 52 53 54 55 56 57
	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 已提交
58

59
config MDIO_BUS_MUX_GPIO
60
	tristate "GPIO controlled MDIO bus multiplexers"
61 62 63 64 65 66 67
	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.
68

69
config MDIO_BUS_MUX_MMIOREG
70
	tristate "MMIO device-controlled MDIO bus multiplexers"
71 72 73 74 75 76 77 78
	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.
79

80
	  Currently, only 8-bit registers are supported.
81

82
config MDIO_CAVIUM
83 84
	tristate

85
config 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 92 93 94 95 96 97 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.

config MDIO_MOXART
        tristate "MOXA ART MDIO interface support"
        depends on ARCH_MOXART
        help
          This driver supports the MDIO interface found in the network
          interface units of the MOXA ART SoC

config MDIO_OCTEON
109
	tristate "Octeon and some ThunderX SOCs MDIO buses"
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
	depends on 64BIT
	depends on HAS_IOMEM
	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"
	depends on ARCH_SUNXI
	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
127
	tristate "ThunderX SOCs MDIO buses"
128 129 130 131 132 133 134 135 136 137
	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"
138
	depends on ARCH_XGENE || COMPILE_TEST
139 140 141 142
	help
	  This module provides a driver for the MDIO busses found in the
	  APM X-Gene SoC's.

143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
endif

menuconfig PHYLIB
	tristate "PHY Device support and infrastructure"
	depends on NETDEVICES
	select MDIO_DEVICE
	help
	  Ethernet controllers are usually attached to PHY
	  devices.  This option provides infrastructure for
	  managing PHY devices.

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
	  supported by the phy, and are of the form:
	       <mii bus id>:<phy>:<speed>

	  Where speed is in the form:
		<Speed in megabits>Mbps or <Speed in gigabits>Gbps


173 174 175
comment "MII PHY device drivers"

config AMD_PHY
176
	tristate "AMD PHYs"
177
	---help---
178
	  Currently supports the am79c874
179

180
config AQUANTIA_PHY
181
        tristate "Aquantia PHYs"
182 183 184 185
        ---help---
          Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405

config AT803X_PHY
186
	tristate "AT803X PHYs"
187 188
	---help---
	  Currently supports the AT8030 and AT8035 model
189

190
config BCM63XX_PHY
191
	tristate "Broadcom 63xx SOCs internal PHY"
192
	depends on BCM63XX
193
	select BCM_NET_PHYLIB
194 195 196
	---help---
	  Currently supports the 6348 and 6358 PHYs.

197
config BCM7XXX_PHY
198
	tristate "Broadcom 7xxx SOCs internal PHYs"
199
	select BCM_NET_PHYLIB
200 201 202 203
	---help---
	  Currently supports the BCM7366, BCM7439, BCM7445, and
	  40nm and 65nm generation of BCM7xxx Set Top Box SoCs.

204
config BCM87XX_PHY
205
	tristate "Broadcom BCM8706 and BCM8727 PHYs"
206 207 208
	help
	  Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.

209
config BCM_CYGNUS_PHY
210
	tristate "Broadcom Cygnus SoC internal PHY"
211 212 213
	depends on ARCH_BCM_CYGNUS || COMPILE_TEST
	depends on MDIO_BCM_IPROC
	select BCM_NET_PHYLIB
214
	---help---
215 216
	  This PHY driver is for the 1G internal PHYs of the Broadcom
	  Cygnus Family SoC.
217

218 219 220
	  Currently supports internal PHY's used in the BCM11300,
	  BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
	  BCM58303 & BCM58305 Broadcom Cygnus SoCs.
221

222 223
config BCM_NET_PHYLIB
	tristate
G
Giuseppe Cavallaro 已提交
224

225
config BROADCOM_PHY
226
	tristate "Broadcom PHYs"
227
	select BCM_NET_PHYLIB
G
Giuseppe Cavallaro 已提交
228
	---help---
229
	  Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
230
	  BCM5481, BCM54810 and BCM5482 PHYs.
G
Giuseppe Cavallaro 已提交
231

232
config CICADA_PHY
233
	tristate "Cicada PHYs"
C
Chaithrika U S 已提交
234
	---help---
235
	  Currently supports the cis8204
C
Chaithrika U S 已提交
236

237
config DAVICOM_PHY
238
	tristate "Davicom PHYs"
239
	---help---
240
	  Currently supports dm9161e and dm9131
241

242
config DP83848_PHY
243
	tristate "Texas Instruments DP83848 PHY"
244 245 246
	---help---
	  Supports the DP83848 PHY.

247
config DP83867_PHY
248
	tristate "Texas Instruments DP83867 Gigabit PHY"
249 250 251
	---help---
	  Currently supports the DP83867 PHY.

252
config FIXED_PHY
253
	tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
254
	depends on PHYLIB
255
	select SWPHY
256
	---help---
257 258 259 260
	  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.
261

262
config ICPLUS_PHY
263
	tristate "ICPlus PHYs"
264
	---help---
265
	  Currently supports the IP175C and IP1001 PHYs.
266

267
config INTEL_XWAY_PHY
268
	tristate "Intel XWAY PHYs"
269 270 271 272 273 274
	---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.

275
config LSI_ET1011C_PHY
276
	tristate "LSI ET1011C PHY"
277 278
	---help---
	  Supports the LSI ET1011C PHY.
279

280
config LXT_PHY
281
	tristate "Intel LXT PHYs"
282 283 284 285
	---help---
	  Currently supports the lxt970, lxt971

config MARVELL_PHY
286
	tristate "Marvell PHYs"
287 288 289
	---help---
	  Currently has a driver for the 88E1011S

290 291
config MESON_GXL_PHY
	tristate "Amlogic Meson GXL Internal PHY"
292
	depends on ARCH_MESON || COMPILE_TEST
293 294 295
	---help---
	  Currently has a driver for the Amlogic Meson GXL Internal PHY

296
config MICREL_PHY
297
	tristate "Micrel PHYs"
298 299 300 301
	---help---
	  Supports the KSZ9021, VSC8201, KS8001 PHYs.

config MICROCHIP_PHY
302
	tristate "Microchip PHYs"
303
	help
304
	  Supports the LAN88XX PHYs.
305

306
config MICROSEMI_PHY
307 308
	tristate "Microsemi PHYs"
	---help---
309
	  Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
310

311
config NATIONAL_PHY
312
	tristate "National Semiconductor PHYs"
313 314 315 316
	---help---
	  Currently supports the DP83865 PHY.

config QSEMI_PHY
317
	tristate "Quality Semiconductor PHYs"
318 319 320 321
	---help---
	  Currently supports the qs6612

config REALTEK_PHY
322
	tristate "Realtek PHYs"
323 324 325 326
	---help---
	  Supports the Realtek 821x PHY.

config SMSC_PHY
327
	tristate "SMSC PHYs"
328 329 330 331
	---help---
	  Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs

config STE10XP
332
	tristate "STMicroelectronics STe10Xp PHYs"
333 334 335 336
	---help---
	  This is the driver for the STe100p and STe101p PHYs.

config TERANETICS_PHY
337
        tristate "Teranetics PHYs"
338 339 340 341
        ---help---
          Currently supports the Teranetics TN2020

config VITESSE_PHY
342
        tristate "Vitesse PHYs"
343 344 345
        ---help---
          Currently supports the vsc8244

346 347 348 349 350 351 352
config XILINX_GMII2RGMII
       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.

J
Jan Engelhardt 已提交
353
endif # PHYLIB
354 355 356 357

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