Kconfig 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. config BITBANGMII
  2. bool "Bit-banged ethernet MII management channel support"
  3. config MV88E6352_SWITCH
  4. bool "Marvell 88E6352 switch support"
  5. menuconfig PHYLIB
  6. bool "Ethernet PHY (physical media interface) support"
  7. depends on NET
  8. help
  9. Enable Ethernet PHY (physical media interface) support.
  10. if PHYLIB
  11. config PHY_ADDR_ENABLE
  12. bool "Limit phy address"
  13. default y if ARCH_SUNXI
  14. help
  15. Select this if you want to control which phy address is used
  16. if PHY_ADDR_ENABLE
  17. config PHY_ADDR
  18. int "PHY address"
  19. default 1 if ARCH_SUNXI
  20. default 0
  21. help
  22. The address of PHY on MII bus. Usually in range of 0 to 31.
  23. endif
  24. config B53_SWITCH
  25. bool "Broadcom BCM53xx (RoboSwitch) Ethernet switch PHY support."
  26. help
  27. Enable support for Broadcom BCM53xx (RoboSwitch) Ethernet switches.
  28. This currently supports BCM53125 and similar models.
  29. if B53_SWITCH
  30. config B53_CPU_PORT
  31. int "CPU port"
  32. default 8
  33. config B53_PHY_PORTS
  34. hex "Bitmask of PHY ports"
  35. endif # B53_SWITCH
  36. config MV88E61XX_SWITCH
  37. bool "Marvel MV88E61xx Ethernet switch PHY support."
  38. if MV88E61XX_SWITCH
  39. config MV88E61XX_CPU_PORT
  40. int "CPU Port"
  41. config MV88E61XX_PHY_PORTS
  42. hex "Bitmask of PHY Ports"
  43. config MV88E61XX_FIXED_PORTS
  44. hex "Bitmask of PHYless serdes Ports"
  45. endif # MV88E61XX_SWITCH
  46. config PHYLIB_10G
  47. bool "Generic 10G PHY support"
  48. config PHY_AQUANTIA
  49. bool "Aquantia Ethernet PHYs support"
  50. config PHY_ATHEROS
  51. bool "Atheros Ethernet PHYs support"
  52. config PHY_BROADCOM
  53. bool "Broadcom Ethernet PHYs support"
  54. config PHY_CORTINA
  55. bool "Cortina Ethernet PHYs support"
  56. config PHY_DAVICOM
  57. bool "Davicom Ethernet PHYs support"
  58. config PHY_ET1011C
  59. bool "LSI TruePHY ET1011C support"
  60. config PHY_LXT
  61. bool "LXT971 Ethernet PHY support"
  62. config PHY_MARVELL
  63. bool "Marvell Ethernet PHYs support"
  64. config PHY_MESON_GXL
  65. bool "Amlogic Meson GXL Internal PHY support"
  66. config PHY_MICREL
  67. bool "Micrel Ethernet PHYs support"
  68. help
  69. Enable support for the GbE PHYs manufactured by Micrel (now
  70. a part of Microchip). This includes drivers for the KSZ804,
  71. KSZ8031, KSZ8051, KSZ8081, KSZ8895, KSZ886x, KSZ8721
  72. either/or KSZ9021 (see the "Micrel KSZ9021 family support"
  73. config option for details), and KSZ9031 (if configured).
  74. if PHY_MICREL
  75. config PHY_MICREL_KSZ9021
  76. bool
  77. select PHY_GIGE
  78. select PHY_MICREL_KSZ90X1
  79. config PHY_MICREL_KSZ9031
  80. bool
  81. select PHY_GIGE
  82. select PHY_MICREL_KSZ90X1
  83. config PHY_MICREL_KSZ90X1
  84. bool "Micrel KSZ90x1 family support"
  85. select PHY_GIGE
  86. help
  87. Enable support for the Micrel KSZ9021 and KSZ9031 GbE PHYs. If
  88. enabled, the extended register read/write for KSZ90x1 PHYs
  89. is supported through the 'mdio' command and any RGMII signal
  90. delays configured in the device tree will be applied to the
  91. PHY during initialization.
  92. This should not be enabled at the same time with PHY_MICREL_KSZ8XXX
  93. as the KSZ9021 and KS8721 share the same ID.
  94. config PHY_MICREL_KSZ8XXX
  95. bool "Micrel KSZ8xxx family support"
  96. default y if !PHY_MICREL_KSZ90X1
  97. help
  98. Enable support for the 8000 series GbE PHYs manufactured by Micrel
  99. (now a part of Microchip). This includes drivers for the KSZ804,
  100. KSZ8031, KSZ8051, KSZ8081, KSZ8895, KSZ886x, and KSZ8721.
  101. This should not be enabled at the same time with PHY_MICREL_KSZ90X1
  102. as the KSZ9021 and KS8721 share the same ID.
  103. endif # PHY_MICREL
  104. config PHY_MSCC
  105. bool "Microsemi Corp Ethernet PHYs support"
  106. config PHY_NATSEMI
  107. bool "National Semiconductor Ethernet PHYs support"
  108. config PHY_REALTEK
  109. bool "Realtek Ethernet PHYs support"
  110. config RTL8211E_PINE64_GIGABIT_FIX
  111. bool "Fix gigabit throughput on some Pine64+ models"
  112. depends on PHY_REALTEK
  113. help
  114. Configure the Realtek RTL8211E found on some Pine64+ models differently to
  115. fix throughput on Gigabit links, turning off all internal delays in the
  116. process. The settings that this touches are not documented in the CONFREG
  117. section of the RTL8211E datasheet, but come from Realtek by way of the
  118. Pine64 engineering team.
  119. config RTL8211X_PHY_FORCE_MASTER
  120. bool "Ethernet PHY RTL8211x: force 1000BASE-T master mode"
  121. depends on PHY_REALTEK
  122. help
  123. Force master mode for 1000BASE-T on RTl8211x PHYs (except for RTL8211F).
  124. This can work around link stability and data corruption issues on gigabit
  125. links which can occur in slave mode on certain PHYs, e.g. on the
  126. RTL8211C(L).
  127. Please note that two directly connected devices (i.e. via crossover cable)
  128. will not be able to establish a link between each other if they both force
  129. master mode. Multiple devices forcing master mode when connected by a
  130. network switch do not pose a problem as the switch configures its affected
  131. ports into slave mode.
  132. This option only affects gigabit links. If you must establish a direct
  133. connection between two devices which both force master mode, try forcing
  134. the link speed to 100MBit/s.
  135. If unsure, say N.
  136. config PHY_SMSC
  137. bool "Microchip(SMSC) Ethernet PHYs support"
  138. config PHY_TERANETICS
  139. bool "Teranetics Ethernet PHYs support"
  140. config PHY_TI
  141. bool "Texas Instruments Ethernet PHYs support"
  142. config PHY_VITESSE
  143. bool "Vitesse Ethernet PHYs support"
  144. config PHY_XILINX
  145. bool "Xilinx Ethernet PHYs support"
  146. config PHY_FIXED
  147. bool "Fixed-Link PHY"
  148. depends on DM_ETH
  149. help
  150. Fixed PHY is used for having a 'fixed-link' to another MAC with a direct
  151. connection (MII, RGMII, ...).
  152. There is nothing like autoneogation and so
  153. on, the link is always up with fixed speed and fixed duplex-setting.
  154. More information: doc/device-tree-bindings/net/fixed-link.txt
  155. endif #PHYLIB