Kconfig 9.6 KB

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