Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  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 ETHOC
  130. bool "OpenCores 10/100 Mbps Ethernet MAC"
  131. help
  132. This MAC is present in OpenRISC and Xtensa XTFPGA boards.
  133. config FEC_MXC_SHARE_MDIO
  134. bool "Share the MDIO bus for FEC controller"
  135. depends on FEC_MXC
  136. config FEC_MXC_MDIO_BASE
  137. hex "MDIO base address for the FEC controller"
  138. depends on FEC_MXC_SHARE_MDIO
  139. help
  140. This specifies the MDIO registers base address. It is used when
  141. two FEC controllers share MDIO bus.
  142. config FEC_MXC
  143. bool "FEC Ethernet controller"
  144. depends on MX5 || MX6 || MX7
  145. help
  146. This driver supports the 10/100 Fast Ethernet controller for
  147. NXP i.MX processors.
  148. config FTMAC100
  149. bool "Ftmac100 Ethernet Support"
  150. help
  151. This MAC is present in Andestech SoCs.
  152. config MVGBE
  153. bool "Marvell Orion5x/Kirkwood network interface support"
  154. depends on KIRKWOOD || ORION5X
  155. select PHYLIB if DM_ETH
  156. help
  157. This driver supports the network interface units in the
  158. Marvell Orion5x and Kirkwood SoCs
  159. config MVNETA
  160. bool "Marvell Armada XP/385/3700 network interface support"
  161. depends on ARMADA_XP || ARMADA_38X || ARMADA_3700
  162. select PHYLIB
  163. help
  164. This driver supports the network interface units in the
  165. Marvell ARMADA XP, ARMADA 38X and ARMADA 3700 SoCs
  166. config MVPP2
  167. bool "Marvell Armada 375/7K/8K network interface support"
  168. depends on ARMADA_375 || ARMADA_8K
  169. select PHYLIB
  170. help
  171. This driver supports the network interface units in the
  172. Marvell ARMADA 375, 7K and 8K SoCs.
  173. config MACB
  174. bool "Cadence MACB/GEM Ethernet Interface"
  175. depends on DM_ETH
  176. select PHYLIB
  177. help
  178. The Cadence MACB ethernet interface is found on many Atmel
  179. AT91 and SAMA5 parts. This driver also supports the Cadence
  180. GEM (Gigabit Ethernet MAC) found in some ARM SoC devices.
  181. Say Y to include support for the MACB/GEM chip.
  182. config MACB_ZYNQ
  183. bool "Cadence MACB/GEM Ethernet Interface for Xilinx Zynq"
  184. depends on MACB
  185. help
  186. The Cadence MACB ethernet interface was used on Zynq platform.
  187. Say Y to enable support for the MACB/GEM in Zynq chip.
  188. config PCH_GBE
  189. bool "Intel Platform Controller Hub EG20T GMAC driver"
  190. depends on DM_ETH && DM_PCI
  191. select PHYLIB
  192. help
  193. This MAC is present in Intel Platform Controller Hub EG20T. It
  194. supports 10/100/1000 Mbps operation.
  195. config RGMII
  196. bool "Enable RGMII"
  197. help
  198. Enable the support of the Reduced Gigabit Media-Independent
  199. Interface (RGMII).
  200. config RTL8139
  201. bool "Realtek 8139 series Ethernet controller driver"
  202. help
  203. This driver supports Realtek 8139 series fast ethernet family of
  204. PCI chipsets/adapters.
  205. config RTL8169
  206. bool "Realtek 8169 series Ethernet controller driver"
  207. help
  208. This driver supports Realtek 8169 series gigabit ethernet family of
  209. PCI/PCIe chipsets/adapters.
  210. config SMC911X
  211. bool "SMSC LAN911x and LAN921x controller driver"
  212. if SMC911X
  213. config SMC911X_BASE
  214. hex "SMC911X Base Address"
  215. help
  216. Define this to hold the physical address
  217. of the device (I/O space)
  218. choice
  219. prompt "SMC911X bus width"
  220. default SMC911X_16_BIT
  221. config SMC911X_32_BIT
  222. bool "Enable 32-bit interface"
  223. config SMC911X_16_BIT
  224. bool "Enable 16-bit interface"
  225. help
  226. Define this if data bus is 16 bits. If your processor
  227. automatically converts one 32 bit word to two 16 bit
  228. words you may also try CONFIG_SMC911X_32_BIT.
  229. endchoice
  230. endif #SMC911X
  231. config SUN7I_GMAC
  232. bool "Enable Allwinner GMAC Ethernet support"
  233. help
  234. Enable the support for Sun7i GMAC Ethernet controller
  235. config SUN7I_GMAC_FORCE_TXERR
  236. bool "Force PA17 as gmac function"
  237. depends on SUN7I_GMAC
  238. help
  239. Some ethernet phys needs TXERR control. Since the GMAC
  240. doesn't have such signal, setting PA17 as GMAC function
  241. makes the pin output low, which enables data transmission.
  242. config SUN4I_EMAC
  243. bool "Allwinner Sun4i Ethernet MAC support"
  244. depends on DM_ETH
  245. select PHYLIB
  246. help
  247. This driver supports the Allwinner based SUN4I Ethernet MAC.
  248. config SUN8I_EMAC
  249. bool "Allwinner Sun8i Ethernet MAC support"
  250. depends on DM_ETH
  251. select PHYLIB
  252. select PHY_GIGE
  253. help
  254. This driver supports the Allwinner based SUN8I/SUN50I Ethernet MAC.
  255. It can be found in H3/A64/A83T based SoCs and compatible with both
  256. External and Internal PHYs.
  257. config SH_ETHER
  258. bool "Renesas SH Ethernet MAC"
  259. select PHYLIB
  260. help
  261. This driver supports the Ethernet for Renesas SH and ARM SoCs.
  262. config XILINX_AXIEMAC
  263. depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP)
  264. select PHYLIB
  265. select MII
  266. bool "Xilinx AXI Ethernet"
  267. help
  268. This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
  269. config XILINX_EMACLITE
  270. depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || MIPS)
  271. select PHYLIB
  272. select MII
  273. bool "Xilinx Ethernetlite"
  274. help
  275. This MAC is present in Xilinx Microblaze, Zynq and ZynqMP SoCs.
  276. config ZYNQ_GEM
  277. depends on DM_ETH && (ARCH_ZYNQ || ARCH_ZYNQMP)
  278. select PHYLIB
  279. bool "Xilinx Ethernet GEM"
  280. help
  281. This MAC is present in Xilinx Zynq and ZynqMP SoCs.
  282. config PIC32_ETH
  283. bool "Microchip PIC32 Ethernet Support"
  284. depends on DM_ETH && MACH_PIC32
  285. select PHYLIB
  286. help
  287. This driver implements 10/100 Mbps Ethernet and MAC layer for
  288. Microchip PIC32 microcontrollers.
  289. config GMAC_ROCKCHIP
  290. bool "Rockchip Synopsys Designware Ethernet MAC"
  291. depends on DM_ETH && ETH_DESIGNWARE
  292. help
  293. This driver provides Rockchip SoCs network support based on the
  294. Synopsys Designware driver.
  295. config RENESAS_RAVB
  296. bool "Renesas Ethernet AVB MAC"
  297. depends on DM_ETH && RCAR_GEN3
  298. select PHYLIB
  299. help
  300. This driver implements support for the Ethernet AVB block in
  301. Renesas M3 and H3 SoCs.
  302. config MPC8XX_FEC
  303. bool "Fast Ethernet Controller on MPC8XX"
  304. depends on MPC8xx
  305. select MII
  306. help
  307. This driver implements support for the Fast Ethernet Controller
  308. on MPC8XX
  309. config SNI_AVE
  310. bool "Socionext AVE Ethernet support"
  311. depends on DM_ETH && ARCH_UNIPHIER
  312. select PHYLIB
  313. select SYSCON
  314. select REGMAP
  315. help
  316. This driver implements support for the Socionext AVE Ethernet
  317. controller, as found on the Socionext UniPhier family.
  318. config ETHER_ON_FEC1
  319. bool "FEC1"
  320. depends on MPC8XX_FEC
  321. default y
  322. config FEC1_PHY
  323. int "FEC1 PHY"
  324. depends on ETHER_ON_FEC1
  325. default -1
  326. help
  327. Define to the hardcoded PHY address which corresponds
  328. to the given FEC; i. e.
  329. #define CONFIG_FEC1_PHY 4
  330. means that the PHY with address 4 is connected to FEC1
  331. When set to -1, means to probe for first available.
  332. config PHY_NORXERR
  333. bool "PHY_NORXERR"
  334. depends on ETHER_ON_FEC1
  335. default n
  336. help
  337. The PHY does not have a RXERR line (RMII only).
  338. (so program the FEC to ignore it).
  339. config ETHER_ON_FEC2
  340. bool "FEC2"
  341. depends on MPC8XX_FEC && MPC885
  342. default y
  343. config FEC2_PHY
  344. int "FEC2 PHY"
  345. depends on ETHER_ON_FEC2
  346. default -1
  347. help
  348. Define to the hardcoded PHY address which corresponds
  349. to the given FEC; i. e.
  350. #define CONFIG_FEC1_PHY 4
  351. means that the PHY with address 4 is connected to FEC1
  352. When set to -1, means to probe for first available.
  353. config FEC2_PHY_NORXERR
  354. bool "PHY_NORXERR"
  355. depends on ETHER_ON_FEC2
  356. default n
  357. help
  358. The PHY does not have a RXERR line (RMII only).
  359. (so program the FEC to ignore it).
  360. config SYS_DPAA_QBMAN
  361. bool "Device tree fixup for QBMan on freescale SOCs"
  362. depends on (ARM || PPC) && !SPL_BUILD
  363. default y if ARCH_B4860 || \
  364. ARCH_B4420 || \
  365. ARCH_P1023 || \
  366. ARCH_P2041 || \
  367. ARCH_T1023 || \
  368. ARCH_T1024 || \
  369. ARCH_T1040 || \
  370. ARCH_T1042 || \
  371. ARCH_T2080 || \
  372. ARCH_T2081 || \
  373. ARCH_T4240 || \
  374. ARCH_T4160 || \
  375. ARCH_P4080 || \
  376. ARCH_P3041 || \
  377. ARCH_P5040 || \
  378. ARCH_P5020 || \
  379. ARCH_LS1043A || \
  380. ARCH_LS1046A
  381. help
  382. QBman fixups to allow deep sleep in DPAA 1 SOCs
  383. config TSEC_ENET
  384. select PHYLIB
  385. bool "Enable Three-Speed Ethernet Controller"
  386. help
  387. This driver implements support for the (Enhanced) Three-Speed
  388. Ethernet Controller found on Freescale SoCs.
  389. endif # NETDEVICES