Kconfig 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  1. source "drivers/net/phy/Kconfig"
  2. source "drivers/net/pfe_eth/Kconfig"
  3. config DM_ETH
  4. bool "Enable Driver Model for Ethernet drivers"
  5. depends on DM
  6. help
  7. Enable driver model for Ethernet.
  8. The eth_*() interface will be implemented by the UCLASS_ETH class
  9. This is currently implemented in net/eth-uclass.c
  10. Look in include/net.h for details.
  11. config DRIVER_TI_CPSW
  12. bool "TI Common Platform Ethernet Switch"
  13. select PHYLIB
  14. help
  15. This driver supports the TI three port switch gigabit ethernet
  16. subsystem found in the TI SoCs.
  17. menuconfig NETDEVICES
  18. bool "Network device support"
  19. depends on NET
  20. default y if DM_ETH
  21. help
  22. You must select Y to enable any network device support
  23. Generally if you have any networking support this is a given
  24. If unsure, say Y
  25. if NETDEVICES
  26. config PHY_GIGE
  27. bool "Enable GbE PHY status parsing and configuration"
  28. help
  29. Enables support for parsing the status output and for
  30. configuring GbE PHYs (affects the inner workings of some
  31. commands and miiphyutil.c).
  32. config AG7XXX
  33. bool "Atheros AG7xxx Ethernet MAC support"
  34. depends on DM_ETH && ARCH_ATH79
  35. select PHYLIB
  36. help
  37. This driver supports the Atheros AG7xxx Ethernet MAC. This MAC is
  38. present in the Atheros AR7xxx, AR9xxx and QCA9xxx MIPS chips.
  39. config ALTERA_TSE
  40. bool "Altera Triple-Speed Ethernet MAC support"
  41. depends on DM_ETH
  42. select PHYLIB
  43. help
  44. This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
  45. Please find details on the "Triple-Speed Ethernet MegaCore Function
  46. Resource Center" of Altera.
  47. config BCM_SF2_ETH
  48. bool "Broadcom SF2 (Starfighter2) Ethernet support"
  49. select PHYLIB
  50. help
  51. This is an abstract framework which provides a generic interface
  52. to MAC and DMA management for multiple Broadcom SoCs such as
  53. Cygnus, NSP and bcm28155_ap platforms.
  54. config BCM_SF2_ETH_DEFAULT_PORT
  55. int "Broadcom SF2 (Starfighter2) Ethernet default port number"
  56. depends on BCM_SF2_ETH
  57. default 0
  58. help
  59. Default port number for the Starfighter2 ethernet driver.
  60. config BCM_SF2_ETH_GMAC
  61. bool "Broadcom SF2 (Starfighter2) GMAC Ethernet support"
  62. depends on BCM_SF2_ETH
  63. help
  64. This flag enables the ethernet support for Broadcom platforms with
  65. GMAC such as Cygnus. This driver is based on the framework provided
  66. by the BCM_SF2_ETH driver.
  67. Say Y to any bcmcygnus based platforms.
  68. config DWC_ETH_QOS
  69. bool "Synopsys DWC Ethernet QOS device support"
  70. depends on DM_ETH
  71. select PHYLIB
  72. help
  73. This driver supports the Synopsys Designware Ethernet QOS (Quality
  74. Of Service) IP block. The IP supports many options for bus type,
  75. clocking/reset structure, and feature list. This driver currently
  76. supports the specific configuration used in NVIDIA's Tegra186 chip,
  77. but should be extensible to other combinations quite easily.
  78. config E1000
  79. bool "Intel PRO/1000 Gigabit Ethernet support"
  80. help
  81. This driver supports Intel(R) PRO/1000 gigabit ethernet family of
  82. adapters. For more information on how to identify your adapter, go
  83. to the Adapter & Driver ID Guide at:
  84. <http://support.intel.com/support/network/adapter/pro100/21397.htm>
  85. config E1000_SPI_GENERIC
  86. bool "Allow access to the Intel 8257x SPI bus"
  87. depends on E1000
  88. help
  89. Allow generic access to the SPI bus on the Intel 8257x, for
  90. example with the "sspi" command.
  91. config E1000_SPI
  92. bool "Enable SPI bus utility code"
  93. depends on E1000
  94. help
  95. Utility code for direct access to the SPI bus on Intel 8257x.
  96. This does not do anything useful unless you set at least one
  97. of CONFIG_CMD_E1000 or CONFIG_E1000_SPI_GENERIC.
  98. config CMD_E1000
  99. bool "Enable the e1000 command"
  100. depends on E1000
  101. help
  102. This enables the 'e1000' management command for E1000 devices. When
  103. used on devices with SPI support you can reprogram the EEPROM from
  104. U-Boot.
  105. config ETH_SANDBOX
  106. depends on DM_ETH && SANDBOX
  107. default y
  108. bool "Sandbox: Mocked Ethernet driver"
  109. help
  110. This driver simply responds with fake ARP replies and ping
  111. replies that are used to verify network stack functionality
  112. This driver is particularly useful in the test/dm/eth.c tests
  113. config ETH_SANDBOX_RAW
  114. depends on DM_ETH && SANDBOX
  115. default y
  116. bool "Sandbox: Bridge to Linux Raw Sockets"
  117. help
  118. This driver is a bridge from the bottom of the network stack
  119. in U-Boot to the RAW AF_PACKET API in Linux. This allows real
  120. network traffic to be tested from within sandbox. See
  121. board/sandbox/README.sandbox for more details.
  122. config ETH_DESIGNWARE
  123. bool "Synopsys Designware Ethernet MAC"
  124. select PHYLIB
  125. help
  126. This MAC is present in SoCs from various vendors. It supports
  127. 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to
  128. provide the PHY (physical media interface).
  129. config ETH_DESIGNWARE_SOCFPGA
  130. bool "Altera SoCFPGA extras for Synopsys Designware Ethernet MAC"
  131. depends on DM_ETH && ETH_DESIGNWARE
  132. help
  133. The Altera SoCFPGA requires additional configuration of the
  134. Altera system manager to correctly interface with the PHY.
  135. This code handles those SoC specifics.
  136. config ETHOC
  137. bool "OpenCores 10/100 Mbps Ethernet MAC"
  138. help
  139. This MAC is present in OpenRISC and Xtensa XTFPGA boards.
  140. config FEC_MXC_SHARE_MDIO
  141. bool "Share the MDIO bus for FEC controller"
  142. depends on FEC_MXC
  143. config FEC_MXC_MDIO_BASE
  144. hex "MDIO base address for the FEC controller"
  145. depends on FEC_MXC_SHARE_MDIO
  146. help
  147. This specifies the MDIO registers base address. It is used when
  148. two FEC controllers share MDIO bus.
  149. config FEC_MXC
  150. bool "FEC Ethernet controller"
  151. depends on MX5 || MX6 || MX7
  152. help
  153. This driver supports the 10/100 Fast Ethernet controller for
  154. NXP i.MX processors.
  155. config FTMAC100
  156. bool "Ftmac100 Ethernet Support"
  157. help
  158. This MAC is present in Andestech SoCs.
  159. config MVGBE
  160. bool "Marvell Orion5x/Kirkwood network interface support"
  161. depends on KIRKWOOD || ORION5X
  162. select PHYLIB if DM_ETH
  163. help
  164. This driver supports the network interface units in the
  165. Marvell Orion5x and Kirkwood SoCs
  166. config MVNETA
  167. bool "Marvell Armada XP/385/3700 network interface support"
  168. depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
  169. select PHYLIB
  170. help
  171. This driver supports the network interface units in the
  172. Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
  173. config MVPP2
  174. bool "Marvell Armada 375/7K/8K network interface support"
  175. depends on ARMADA_375 || ARMADA_8K
  176. select PHYLIB
  177. help
  178. This driver supports the network interface units in the
  179. Marvell ARMADA 375, 7K and 8K SoCs.
  180. config MACB
  181. bool "Cadence MACB/GEM Ethernet Interface"
  182. depends on DM_ETH
  183. select PHYLIB
  184. help
  185. The Cadence MACB ethernet interface is found on many Atmel
  186. AT91 and SAMA5 parts. This driver also supports the Cadence
  187. GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
  188. Say Y to include support for the MACB/GEM chip.
  189. config MACB_ZYNQ
  190. bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
  191. depends on MACB
  192. help
  193. The Cadence MACB ethernet interface was used on Zynq platform.
  194. Say Y to enable support for the MACB/GEM in Zynq chip.
  195. config PCH_GBE
  196. bool "Intel Platform Controller Hub EG20T GMAC driver"
  197. depends on DM_ETH && DM_PCI
  198. select PHYLIB
  199. help
  200. This MAC is present in Intel Platform Controller Hub EG20T. It
  201. supports 10/100/1000 Mbps operation.
  202. config RGMII
  203. bool "Enable RGMII"
  204. help
  205. Enable the support of the Reduced Gigabit Media-Independent
  206. Interface (RGMII).
  207. config MII
  208. bool "Enable MII"
  209. help
  210. Enable support of the Media-Independent Interface (MII)
  211. config RTL8139
  212. bool "Realtek 8139 series Ethernet controller driver"
  213. help
  214. This driver supports Realtek 8139 series fast ethernet family of
  215. PCI chipsets/adapters.
  216. config RTL8169
  217. bool "Realtek 8169 series Ethernet controller driver"
  218. help
  219. This driver supports Realtek 8169 series gigabit ethernet family of
  220. PCI/PCIe chipsets/adapters.
  221. config SMC911X
  222. bool "SMSC LAN911x and LAN921x controller driver"
  223. if SMC911X
  224. config SMC911X_BASE
  225. hex "SMC911X Base Address"
  226. help
  227. Define this to hold the physical address
  228. of the device (I/O space)
  229. choice
  230. prompt "SMC911X bus width"
  231. default SMC911X_16_BIT
  232. config SMC911X_32_BIT
  233. bool "Enable 32-bit interface"
  234. config SMC911X_16_BIT
  235. bool "Enable 16-bit interface"
  236. help
  237. Define this if data bus is 16 bits. If your processor
  238. automatically converts one 32 bit word to two 16 bit
  239. words you may also try CONFIG_SMC911X_32_BIT.
  240. endchoice
  241. endif #SMC911X
  242. config SUN7I_GMAC
  243. bool "Enable Allwinner GMAC Ethernet support"
  244. help
  245. Enable the support for Sun7i GMAC Ethernet controller
  246. config SUN7I_GMAC_FORCE_TXERR
  247. bool "Force PA17 as gmac function"
  248. depends on SUN7I_GMAC
  249. help
  250. Some ethernet phys needs TXERR control. Since the GMAC
  251. doesn't have such signal, setting PA17 as GMAC function
  252. makes the pin output low, which enables data transmission.
  253. config SUN4I_EMAC
  254. bool "Allwinner Sun4i Ethernet MAC support"
  255. depends on DM_ETH
  256. select PHYLIB
  257. help
  258. This driver supports the Allwinner based SUN4I Ethernet MAC.
  259. config SUN8I_EMAC
  260. bool "Allwinner Sun8i Ethernet MAC support"
  261. depends on DM_ETH
  262. select PHYLIB
  263. select PHY_GIGE
  264. help
  265. This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC.
  266. It can be found in H3/A64/A83T based SoCs and compatible with both
  267. External and Internal PHYs.
  268. config SH_ETHER
  269. bool "Renesas SH Ethernet MAC"
  270. select PHYLIB
  271. help
  272. This driver supports the Ethernet for Renesas SH and ARM SoCs.
  273. config DRIVER_TI_EMAC
  274. bool "TI Davinci EMAC"
  275. help
  276. Support for davinci emac
  277. config XILINX_AXIEMAC
  278. depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
  279. select PHYLIB
  280. select MII
  281. bool "Xilinx AXI Ethernet"
  282. help
  283. This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
  284. config XILINX_EMACLITE
  285. depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
  286. select PHYLIB
  287. select MII
  288. bool "Xilinx Ethernetlite"
  289. help
  290. This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
  291. config ZYNQ_GEM
  292. depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL)
  293. select PHYLIB
  294. bool "Xilinx Ethernet GEM"
  295. help
  296. This MAC is present in Xilinx Zynq and ZynqMP SoCs.
  297. config PIC32_ETH
  298. bool "Microchip PIC32 Ethernet Support"
  299. depends on DM_ETH && MACH_PIC32
  300. select PHYLIB
  301. help
  302. This driver implements 10/100 Mbps Ethernet and MAC layer for
  303. Microchip PIC32 microcontrollers.
  304. config GMAC_ROCKCHIP
  305. bool "Rockchip Synopsys Designware Ethernet MAC"
  306. depends on DM_ETH && ETH_DESIGNWARE
  307. help
  308. This driver provides Rockchip SoCs network support based on the
  309. Synopsys Designware driver.
  310. config RENESAS_RAVB
  311. bool "Renesas Ethernet AVB MAC"
  312. depends on DM_ETH && RCAR_GEN3
  313. select PHYLIB
  314. help
  315. This driver implements support for the Ethernet AVB block in
  316. Renesas M3 and H3 SoCs.
  317. config MPC8XX_FEC
  318. bool "Fast Ethernet Controller on MPC8XX"
  319. depends on MPC8xx
  320. select MII
  321. help
  322. This driver implements support for the Fast Ethernet Controller
  323. on MPC8XX
  324. config SNI_AVE
  325. bool "Socionext AVE Ethernet support"
  326. depends on DM_ETH && ARCH_UNIPHIER
  327. select PHYLIB
  328. select SYSCON
  329. select REGMAP
  330. help
  331. This driver implements support for the Socionext AVE Ethernet
  332. controller, as found on the Socionext UniPhier family.
  333. config ETHER_ON_FEC1
  334. bool "FEC1"
  335. depends on MPC8XX_FEC
  336. default y
  337. config FEC1_PHY
  338. int "FEC1 PHY"
  339. depends on ETHER_ON_FEC1
  340. default -1
  341. help
  342. Define to the hardcoded PHY address which corresponds
  343. to the given FEC; i. e.
  344. #define CONFIG_FEC1_PHY 4
  345. means that the PHY with address 4 is connected to FEC1
  346. When set to -1, means to probe for first available.
  347. config PHY_NORXERR
  348. bool "PHY_NORXERR"
  349. depends on ETHER_ON_FEC1
  350. default n
  351. help
  352. The PHY does not have a RXERR line (RMII only).
  353. (so program the FEC to ignore it).
  354. config ETHER_ON_FEC2
  355. bool "FEC2"
  356. depends on MPC8XX_FEC && MPC885
  357. default y
  358. config FEC2_PHY
  359. int "FEC2 PHY"
  360. depends on ETHER_ON_FEC2
  361. default -1
  362. help
  363. Define to the hardcoded PHY address which corresponds
  364. to the given FEC; i. e.
  365. #define CONFIG_FEC1_PHY 4
  366. means that the PHY with address 4 is connected to FEC1
  367. When set to -1, means to probe for first available.
  368. config FEC2_PHY_NORXERR
  369. bool "PHY_NORXERR"
  370. depends on ETHER_ON_FEC2
  371. default n
  372. help
  373. The PHY does not have a RXERR line (RMII only).
  374. (so program the FEC to ignore it).
  375. config SYS_DPAA_QBMAN
  376. bool "Device tree fixup for QBMan on freescale SOCs"
  377. depends on (ARM || PPC) && !SPL_BUILD
  378. default y if ARCH_B4860 || \
  379. ARCH_B4420 || \
  380. ARCH_P1023 || \
  381. ARCH_P2041 || \
  382. ARCH_T1023 || \
  383. ARCH_T1024 || \
  384. ARCH_T1040 || \
  385. ARCH_T1042 || \
  386. ARCH_T2080 || \
  387. ARCH_T2081 || \
  388. ARCH_T4240 || \
  389. ARCH_T4160 || \
  390. ARCH_P4080 || \
  391. ARCH_P3041 || \
  392. ARCH_P5040 || \
  393. ARCH_P5020 || \
  394. ARCH_LS1043A || \
  395. ARCH_LS1046A
  396. help
  397. QBman fixups to allow deep sleep in DPAA 1 SOCs
  398. config TSEC_ENET
  399. select PHYLIB
  400. bool "Enable Three-Speed Ethernet Controller"
  401. help
  402. This driver implements support for the (Enhanced) Three-Speed
  403. Ethernet Controller found on Freescale SoCs.
  404. endif # NETDEVICES