Kconfig 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. config BITBANGMII
  2. bool "Bit-banged ethernet MII management channel support"
  3. config BITBANGMII_MULTI
  4. bool "Enable the multi bus support"
  5. depends on BITBANGMII
  6. config MV88E6352_SWITCH
  7. bool "Marvell 88E6352 switch support"
  8. menuconfig PHYLIB
  9. bool "Ethernet PHY (physical media interface) support"
  10. depends on NET
  11. help
  12. Enable Ethernet PHY (physical media interface) support.
  13. if PHYLIB
  14. config PHY_ADDR_ENABLE
  15. bool "Limit phy address"
  16. default y if ARCH_SUNXI
  17. help
  18. Select this if you want to control which phy address is used
  19. if PHY_ADDR_ENABLE
  20. config PHY_ADDR
  21. int "PHY address"
  22. default 1 if ARCH_SUNXI
  23. default 0
  24. help
  25. The address of PHY on MII bus. Usually in range of 0 to 31.
  26. endif
  27. config B53_SWITCH
  28. bool "Broadcom BCM53xx (RoboSwitch) Ethernet switch PHY support."
  29. help
  30. Enable support for Broadcom BCM53xx (RoboSwitch) Ethernet switches.
  31. This currently supports BCM53125 and similar models.
  32. if B53_SWITCH
  33. config B53_CPU_PORT
  34. int "CPU port"
  35. default 8
  36. config B53_PHY_PORTS
  37. hex "Bitmask of PHY ports"
  38. endif # B53_SWITCH
  39. config MV88E61XX_SWITCH
  40. bool "Marvell MV88E61xx Ethernet switch PHY support."
  41. if MV88E61XX_SWITCH
  42. config MV88E61XX_CPU_PORT
  43. int "CPU Port"
  44. config MV88E61XX_PHY_PORTS
  45. hex "Bitmask of PHY Ports"
  46. config MV88E61XX_FIXED_PORTS
  47. hex "Bitmask of PHYless serdes Ports"
  48. default 0x0
  49. help
  50. These are ports without PHYs that may be wired directly to other
  51. serdes interfaces
  52. endif # MV88E61XX_SWITCH
  53. config PHYLIB_10G
  54. bool "Generic 10G PHY support"
  55. config PHY_ADIN
  56. bool "Analog Devices Industrial Ethernet PHYs"
  57. help
  58. Add support for configuring RGMII on Analog Devices ADIN PHYs.
  59. menuconfig PHY_AQUANTIA
  60. bool "Aquantia Ethernet PHYs support"
  61. select PHY_GIGE
  62. select PHYLIB_10G
  63. config PHY_AQUANTIA_UPLOAD_FW
  64. bool "Aquantia firmware loading support"
  65. depends on PHY_AQUANTIA
  66. help
  67. Aquantia PHYs use firmware which can be either loaded automatically
  68. from storage directly attached to the phy or loaded by the boot loader
  69. via MDIO commands. The firmware is loaded from a file, specified by
  70. the PHY_AQUANTIA_FW_PART and PHY_AQUANTIA_FW_NAME options.
  71. config PHY_AQUANTIA_FW_PART
  72. string "Aquantia firmware partition"
  73. depends on PHY_AQUANTIA_UPLOAD_FW
  74. help
  75. Partition containing the firmware file.
  76. config PHY_AQUANTIA_FW_NAME
  77. string "Aquantia firmware filename"
  78. depends on PHY_AQUANTIA_UPLOAD_FW
  79. help
  80. Firmware filename.
  81. config PHY_ATHEROS
  82. bool "Atheros Ethernet PHYs support"
  83. config SPL_PHY_ATHEROS
  84. bool "Atheros Ethernet PHYs support (SPL)"
  85. config PHY_BROADCOM
  86. bool "Broadcom Ethernet PHYs support"
  87. config PHY_CORTINA
  88. bool "Cortina Ethernet PHYs support"
  89. config SYS_CORTINA_NO_FW_UPLOAD
  90. bool "Cortina firmware loading support"
  91. depends on PHY_CORTINA
  92. help
  93. Cortina phy has provision to store phy firmware in attached dedicated
  94. EEPROM. And boards designed with such EEPROM does not require firmware
  95. upload.
  96. choice
  97. prompt "Location of the Cortina firmware"
  98. default SYS_CORTINA_FW_IN_NOR
  99. depends on PHY_CORTINA
  100. config SYS_CORTINA_FW_IN_MMC
  101. bool "Cortina firmware in MMC"
  102. config SYS_CORTINA_FW_IN_NAND
  103. bool "Cortina firmware in NAND flash"
  104. config SYS_CORTINA_FW_IN_NOR
  105. bool "Cortina firmware in NOR flash"
  106. config SYS_CORTINA_FW_IN_REMOTE
  107. bool "Cortina firmware in remote device"
  108. config SYS_CORTINA_FW_IN_SPIFLASH
  109. bool "Cortina firmware in SPI flash"
  110. endchoice
  111. config CORTINA_FW_ADDR
  112. hex "Cortina Firmware Address"
  113. depends on PHY_CORTINA && !SYS_CORTINA_NO_FW_UPLOAD
  114. default 0x0
  115. config CORTINA_FW_LENGTH
  116. hex "Cortina Firmware Length"
  117. depends on PHY_CORTINA && !SYS_CORTINA_NO_FW_UPLOAD
  118. default 0x40000
  119. config PHY_CORTINA_ACCESS
  120. bool "Cortina Access Ethernet PHYs support"
  121. default y
  122. depends on CORTINA_NI_ENET
  123. help
  124. Cortina Access Ethernet PHYs init process
  125. config PHY_DAVICOM
  126. bool "Davicom Ethernet PHYs support"
  127. config PHY_ET1011C
  128. bool "LSI TruePHY ET1011C support"
  129. config PHY_LXT
  130. bool "LXT971 Ethernet PHY support"
  131. config PHY_MARVELL
  132. bool "Marvell Ethernet PHYs support"
  133. config PHY_MARVELL_10G
  134. bool "Marvell Alaska 10Gbit PHYs"
  135. help
  136. Support for the Marvell Alaska MV88X3310 and compatible PHYs.
  137. config PHY_MESON_GXL
  138. bool "Amlogic Meson GXL Internal PHY support"
  139. config PHY_MICREL
  140. bool "Micrel Ethernet PHYs support"
  141. help
  142. Enable support for the GbE PHYs manufactured by Micrel (now
  143. a part of Microchip). This includes drivers for the KSZ804, KSZ8031,
  144. KSZ8051, KSZ8081, KSZ8895, KSZ886x and KSZ8721 (if "Micrel KSZ8xxx
  145. family support" is selected) and the KSZ9021 and KSZ9031 (if "Micrel
  146. KSZ90x1 family support" is selected).
  147. if PHY_MICREL
  148. config PHY_MICREL_KSZ9021
  149. bool
  150. select PHY_MICREL_KSZ90X1
  151. config PHY_MICREL_KSZ9031
  152. bool
  153. select PHY_MICREL_KSZ90X1
  154. config PHY_MICREL_KSZ90X1
  155. bool "Micrel KSZ90x1 family support"
  156. select PHY_GIGE
  157. help
  158. Enable support for the Micrel KSZ9021 and KSZ9031 GbE PHYs. If
  159. enabled, the extended register read/write for KSZ90x1 PHYs
  160. is supported through the 'mdio' command and any RGMII signal
  161. delays configured in the device tree will be applied to the
  162. PHY during initialization.
  163. config PHY_MICREL_KSZ8XXX
  164. bool "Micrel KSZ8xxx family support"
  165. help
  166. Enable support for the 8000 series 10/100 PHYs manufactured by Micrel
  167. (now a part of Microchip). This includes drivers for the KSZ804,
  168. KSZ8031, KSZ8051, KSZ8081, KSZ8895, KSZ886x, and KSZ8721.
  169. endif # PHY_MICREL
  170. config PHY_MOTORCOMM
  171. tristate "Motorcomm PHYs"
  172. help
  173. Enables support for Motorcomm network PHYs.
  174. Currently supports the YT8531 Gigabit Ethernet PHYs.
  175. config PHY_MSCC
  176. bool "Microsemi Corp Ethernet PHYs support"
  177. config PHY_NATSEMI
  178. bool "National Semiconductor Ethernet PHYs support"
  179. config PHY_NXP_C45_TJA11XX
  180. tristate "NXP C45 TJA11XX PHYs"
  181. help
  182. Enable support for NXP C45 TJA11XX PHYs.
  183. Currently supports only the TJA1103 PHY.
  184. config PHY_NXP_TJA11XX
  185. bool "NXP TJA11XX Ethernet PHYs support"
  186. help
  187. Currently supports the NXP TJA1100 and TJA1101 PHY.
  188. config PHY_REALTEK
  189. bool "Realtek Ethernet PHYs support"
  190. config RTL8211X_PHY_FORCE_MASTER
  191. bool "Ethernet PHY RTL8211x: force 1000BASE-T master mode"
  192. depends on PHY_REALTEK
  193. help
  194. Force master mode for 1000BASE-T on RTl8211x PHYs (except for RTL8211F).
  195. This can work around link stability and data corruption issues on gigabit
  196. links which can occur in slave mode on certain PHYs, e.g. on the
  197. RTL8211C(L).
  198. Please note that two directly connected devices (i.e. via crossover cable)
  199. will not be able to establish a link between each other if they both force
  200. master mode. Multiple devices forcing master mode when connected by a
  201. network switch do not pose a problem as the switch configures its affected
  202. ports into slave mode.
  203. This option only affects gigabit links. If you must establish a direct
  204. connection between two devices which both force master mode, try forcing
  205. the link speed to 100MBit/s.
  206. If unsure, say N.
  207. config RTL8211F_PHY_FORCE_EEE_RXC_ON
  208. bool "Ethernet PHY RTL8211F: do not stop receiving the xMII clock during LPI"
  209. depends on PHY_REALTEK
  210. help
  211. The IEEE 802.3az-2010 (EEE) standard provides a protocol to coordinate
  212. transitions to/from a lower power consumption level (Low Power Idle
  213. mode) based on link utilization. When no packets are being
  214. transmitted, the system goes to Low Power Idle mode to save power.
  215. Under particular circumstances this setting can cause issues where
  216. the PHY is unable to transmit or receive any packet when in LPI mode.
  217. The problem is caused when the PHY is configured to stop receiving
  218. the xMII clock while it is signaling LPI. For some PHYs the bit
  219. configuring this behavior is set by the Linux kernel, causing the
  220. issue in U-Boot on reboot if the PHY retains the register value.
  221. Default n, which means that the PHY state is not changed. To work
  222. around the issues, change this setting to y.
  223. config RTL8201F_PHY_S700_RMII_TIMINGS
  224. bool "Ethernet PHY RTL8201F: adjust RMII Tx Interface timings"
  225. depends on PHY_REALTEK
  226. help
  227. This provides an option to configure specific timing requirements (needed
  228. for proper PHY operations) for the PHY module present on ACTION SEMI S700
  229. based cubieboard7. Exact timing requiremnets seems to be SoC specific
  230. (and it's undocumented) that comes from vendor code itself.
  231. config PHY_SMSC
  232. bool "Microchip(SMSC) Ethernet PHYs support"
  233. config PHY_TERANETICS
  234. bool "Teranetics Ethernet PHYs support"
  235. config PHY_TI
  236. bool "Texas Instruments Ethernet PHYs support"
  237. ---help---
  238. Adds PHY registration support for TI PHYs.
  239. config PHY_TI_DP83867
  240. select PHY_TI
  241. bool "Texas Instruments Ethernet DP83867 PHY support"
  242. ---help---
  243. Adds support for the TI DP83867 1Gbit PHY.
  244. config PHY_TI_DP83869
  245. select PHY_TI
  246. bool "Texas Instruments Ethernet DP83869 PHY support"
  247. ---help---
  248. Adds support for the TI DP83869 1Gbit PHY.
  249. config PHY_TI_GENERIC
  250. select PHY_TI
  251. bool "Texas Instruments Generic Ethernet PHYs support"
  252. ---help---
  253. Adds support for Generic TI PHYs that don't need special handling but
  254. the PHY name is associated with a PHY ID.
  255. config PHY_VITESSE
  256. bool "Vitesse Ethernet PHYs support"
  257. config PHY_XILINX
  258. bool "Xilinx Ethernet PHYs support"
  259. config PHY_XILINX_GMII2RGMII
  260. bool "Xilinx GMII to RGMII Ethernet PHYs support"
  261. help
  262. This adds support for Xilinx GMII to RGMII IP core. This IP acts
  263. as bridge between MAC connected over GMII and external phy that
  264. is connected over RGMII interface.
  265. config PHY_XWAY
  266. bool "Intel XWAY PHY support"
  267. help
  268. This adds support for the Intel XWAY (formerly Lantiq) Gbe PHYs.
  269. config PHY_ETHERNET_ID
  270. bool "Read ethernet PHY id"
  271. depends on DM_GPIO
  272. default y if ZYNQ_GEM
  273. help
  274. Enable this config to read ethernet phy id from the phy node of DT
  275. and create a phy device using id.
  276. config PHY_FIXED
  277. bool "Fixed-Link PHY"
  278. help
  279. Fixed PHY is used for having a 'fixed-link' to another MAC with a direct
  280. connection (MII, RGMII, ...).
  281. There is nothing like autoneogation and so
  282. on, the link is always up with fixed speed and fixed duplex-setting.
  283. More information: doc/device-tree-bindings/net/fixed-link.txt
  284. config PHY_NCSI
  285. bool "NC-SI based PHY"
  286. endif #PHYLIB
  287. config FSL_MEMAC
  288. bool "NXP mEMAC PHY support"
  289. config SYS_MEMAC_LITTLE_ENDIAN
  290. bool "mEMAC is access in little endian mode"
  291. depends on FSL_MEMAC || FSL_LS_MDIO
  292. config PHY_RESET_DELAY
  293. int "Extra delay after reset before MII register access"
  294. default 0
  295. help
  296. Some PHYs need extra delay after reset before any MII register access
  297. is possible. For such PHY, set this option to the usec delay
  298. required.