Kconfig 14 KB

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