Kconfig 11 KB

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