Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  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
  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
  82. depends on GPIOLIB || COMPILE_TEST
  83. ---help---
  84. Supports GPIO lib-based MDIO busses.
  85. To compile this driver as a module, choose M here: the module
  86. will be called mdio-gpio.
  87. config MDIO_HISI_FEMAC
  88. tristate "Hisilicon FEMAC MDIO bus controller"
  89. depends on HAS_IOMEM && OF_MDIO
  90. help
  91. This module provides a driver for the MDIO busses found in the
  92. Hisilicon SoC that have an Fast Ethernet MAC.
  93. config MDIO_I2C
  94. tristate
  95. depends on I2C
  96. help
  97. Support I2C based PHYs. This provides a MDIO bus bridged
  98. to I2C to allow PHYs connected in I2C mode to be accessed
  99. using the existing infrastructure.
  100. This is library mode.
  101. config MDIO_MOXART
  102. tristate "MOXA ART MDIO interface support"
  103. depends on ARCH_MOXART || COMPILE_TEST
  104. help
  105. This driver supports the MDIO interface found in the network
  106. interface units of the MOXA ART SoC
  107. config MDIO_MSCC_MIIM
  108. tristate "Microsemi MIIM interface support"
  109. depends on HAS_IOMEM
  110. help
  111. This driver supports the MIIM (MDIO) interface found in the network
  112. switches of the Microsemi SoCs
  113. config MDIO_OCTEON
  114. tristate "Octeon and some ThunderX SOCs MDIO buses"
  115. depends on 64BIT
  116. depends on HAS_IOMEM && OF_MDIO
  117. select MDIO_CAVIUM
  118. help
  119. This module provides a driver for the Octeon and ThunderX MDIO
  120. buses. It is required by the Octeon and ThunderX ethernet device
  121. drivers on some systems.
  122. config MDIO_SUN4I
  123. tristate "Allwinner sun4i MDIO interface support"
  124. depends on ARCH_SUNXI || COMPILE_TEST
  125. help
  126. This driver supports the MDIO interface found in the network
  127. interface units of the Allwinner SoC that have an EMAC (A10,
  128. A12, A10s, etc.)
  129. config MDIO_THUNDER
  130. tristate "ThunderX SOCs MDIO buses"
  131. depends on 64BIT
  132. depends on PCI
  133. select MDIO_CAVIUM
  134. select MDIO_DEVRES
  135. help
  136. This driver supports the MDIO interfaces found on Cavium
  137. ThunderX SoCs when the MDIO bus device appears as a PCI
  138. device.
  139. config MDIO_XGENE
  140. tristate "APM X-Gene SoC MDIO bus controller"
  141. depends on ARCH_XGENE || COMPILE_TEST
  142. help
  143. This module provides a driver for the MDIO busses found in the
  144. APM X-Gene SoC's.
  145. endif
  146. config PHYLINK
  147. tristate
  148. depends on NETDEVICES
  149. select PHYLIB
  150. select SWPHY
  151. help
  152. PHYlink models the link between the PHY and MAC, allowing fixed
  153. configuration links, PHYs, and Serdes links with MAC level
  154. autonegotiation modes.
  155. menuconfig PHYLIB
  156. tristate "PHY Device support and infrastructure"
  157. depends on NETDEVICES
  158. select MDIO_DEVICE
  159. help
  160. Ethernet controllers are usually attached to PHY
  161. devices. This option provides infrastructure for
  162. managing PHY devices.
  163. if PHYLIB
  164. config SWPHY
  165. bool
  166. config LED_TRIGGER_PHY
  167. bool "Support LED triggers for tracking link state"
  168. depends on LEDS_TRIGGERS
  169. ---help---
  170. Adds support for a set of LED trigger events per-PHY. Link
  171. state change will trigger the events, for consumption by an
  172. LED class driver. There are triggers for each link speed currently
  173. supported by the PHY and also a one common "link" trigger as a
  174. logical-or of all the link speed ones.
  175. All these triggers are named according to the following pattern:
  176. <mii bus id>:<phy>:<speed>
  177. Where speed is in the form:
  178. <Speed in megabits>Mbps OR <Speed in gigabits>Gbps OR link
  179. for any speed known to the PHY.
  180. comment "MII PHY device drivers"
  181. config SFP
  182. tristate "SFP cage support"
  183. depends on I2C && PHYLINK
  184. depends on HWMON || HWMON=n
  185. select MDIO_I2C
  186. config AMD_PHY
  187. tristate "AMD PHYs"
  188. ---help---
  189. Currently supports the am79c874
  190. config AQUANTIA_PHY
  191. tristate "Aquantia PHYs"
  192. ---help---
  193. Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
  194. config AX88796B_PHY
  195. tristate "Asix PHYs"
  196. help
  197. Currently supports the Asix Electronics PHY found in the X-Surf 100
  198. AX88796B package.
  199. config AT803X_PHY
  200. tristate "AT803X PHYs"
  201. ---help---
  202. Currently supports the AT8030 and AT8035 model
  203. config BCM63XX_PHY
  204. tristate "Broadcom 63xx SOCs internal PHY"
  205. depends on BCM63XX
  206. select BCM_NET_PHYLIB
  207. ---help---
  208. Currently supports the 6348 and 6358 PHYs.
  209. config BCM7XXX_PHY
  210. tristate "Broadcom 7xxx SOCs internal PHYs"
  211. select BCM_NET_PHYLIB
  212. ---help---
  213. Currently supports the BCM7366, BCM7439, BCM7445, and
  214. 40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
  215. config BCM87XX_PHY
  216. tristate "Broadcom BCM8706 and BCM8727 PHYs"
  217. help
  218. Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
  219. config BCM_CYGNUS_PHY
  220. tristate "Broadcom Cygnus SoC internal PHY"
  221. depends on ARCH_BCM_CYGNUS || COMPILE_TEST
  222. depends on MDIO_BCM_IPROC
  223. select BCM_NET_PHYLIB
  224. ---help---
  225. This PHY driver is for the 1G internal PHYs of the Broadcom
  226. Cygnus Family SoC.
  227. Currently supports internal PHY's used in the BCM11300,
  228. BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
  229. BCM58303 & BCM58305 Broadcom Cygnus SoCs.
  230. config BCM_NET_PHYLIB
  231. tristate
  232. config BROADCOM_PHY
  233. tristate "Broadcom PHYs"
  234. select BCM_NET_PHYLIB
  235. ---help---
  236. Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
  237. BCM5481, BCM54810 and BCM5482 PHYs.
  238. config CICADA_PHY
  239. tristate "Cicada PHYs"
  240. ---help---
  241. Currently supports the cis8204
  242. config CORTINA_PHY
  243. tristate "Cortina EDC CDR 10G Ethernet PHY"
  244. ---help---
  245. Currently supports the CS4340 phy.
  246. config DAVICOM_PHY
  247. tristate "Davicom PHYs"
  248. ---help---
  249. Currently supports dm9161e and dm9131
  250. config DP83822_PHY
  251. tristate "Texas Instruments DP83822 PHY"
  252. ---help---
  253. Supports the DP83822 PHY.
  254. config DP83TC811_PHY
  255. tristate "Texas Instruments DP83TC822 PHY"
  256. ---help---
  257. Supports the DP83TC822 PHY.
  258. config DP83848_PHY
  259. tristate "Texas Instruments DP83848 PHY"
  260. ---help---
  261. Supports the DP83848 PHY.
  262. config DP83867_PHY
  263. tristate "Texas Instruments DP83867 Gigabit PHY"
  264. ---help---
  265. Currently supports the DP83867 PHY.
  266. config FIXED_PHY
  267. tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
  268. depends on PHYLIB
  269. select SWPHY
  270. ---help---
  271. Adds the platform "fixed" MDIO Bus to cover the boards that use
  272. PHYs that are not connected to the real MDIO bus.
  273. Currently tested with mpc866ads and mpc8349e-mitx.
  274. config ICPLUS_PHY
  275. tristate "ICPlus PHYs"
  276. ---help---
  277. Currently supports the IP175C and IP1001 PHYs.
  278. config INTEL_XWAY_PHY
  279. tristate "Intel XWAY PHYs"
  280. ---help---
  281. Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
  282. These PHYs are marked as standalone chips under the names
  283. PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
  284. SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
  285. config LSI_ET1011C_PHY
  286. tristate "LSI ET1011C PHY"
  287. ---help---
  288. Supports the LSI ET1011C PHY.
  289. config LXT_PHY
  290. tristate "Intel LXT PHYs"
  291. ---help---
  292. Currently supports the lxt970, lxt971
  293. config MARVELL_PHY
  294. tristate "Marvell PHYs"
  295. ---help---
  296. Currently has a driver for the 88E1011S
  297. config MARVELL_10G_PHY
  298. tristate "Marvell Alaska 10Gbit PHYs"
  299. ---help---
  300. Support for the Marvell Alaska MV88X3310 and compatible PHYs.
  301. config 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. config MICREL_PHY
  307. tristate "Micrel PHYs"
  308. ---help---
  309. Supports the KSZ9021, VSC8201, KS8001 PHYs.
  310. config MICROCHIP_PHY
  311. tristate "Microchip PHYs"
  312. help
  313. Supports the LAN88XX PHYs.
  314. config MICROCHIP_T1_PHY
  315. tristate "Microchip T1 PHYs"
  316. ---help---
  317. Supports the LAN87XX PHYs.
  318. config MICROSEMI_PHY
  319. tristate "Microsemi PHYs"
  320. ---help---
  321. Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
  322. config NATIONAL_PHY
  323. tristate "National Semiconductor PHYs"
  324. ---help---
  325. Currently supports the DP83865 PHY.
  326. config QSEMI_PHY
  327. tristate "Quality Semiconductor PHYs"
  328. ---help---
  329. Currently supports the qs6612
  330. config REALTEK_PHY
  331. tristate "Realtek PHYs"
  332. ---help---
  333. Supports the Realtek 821x PHY.
  334. config RENESAS_PHY
  335. tristate "Driver for Renesas PHYs"
  336. ---help---
  337. Supports the Renesas PHYs uPD60620 and uPD60620A.
  338. config ROCKCHIP_PHY
  339. tristate "Driver for Rockchip Ethernet PHYs"
  340. ---help---
  341. Currently supports the integrated Ethernet PHY.
  342. config SMSC_PHY
  343. tristate "SMSC PHYs"
  344. ---help---
  345. Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
  346. config STE10XP
  347. tristate "STMicroelectronics STe10Xp PHYs"
  348. ---help---
  349. This is the driver for the STe100p and STe101p PHYs.
  350. config TERANETICS_PHY
  351. tristate "Teranetics PHYs"
  352. ---help---
  353. Currently supports the Teranetics TN2020
  354. config VITESSE_PHY
  355. tristate "Vitesse PHYs"
  356. ---help---
  357. Currently supports the vsc8244
  358. config XILINX_GMII2RGMII
  359. tristate "Xilinx GMII2RGMII converter driver"
  360. ---help---
  361. This driver support xilinx GMII to RGMII IP core it provides
  362. the Reduced Gigabit Media Independent Interface(RGMII) between
  363. Ethernet physical media devices and the Gigabit Ethernet controller.
  364. endif # PHYLIB
  365. config MICREL_KS8995MA
  366. tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
  367. depends on SPI