Kconfig 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. config STMMAC_ETH
  2. tristate "STMicroelectronics 10/100/1000/EQOS Ethernet driver"
  3. depends on HAS_IOMEM && HAS_DMA
  4. select MII
  5. select PHYLIB
  6. select CRC32
  7. imply PTP_1588_CLOCK
  8. select RESET_CONTROLLER
  9. ---help---
  10. This is the driver for the Ethernet IPs built around a
  11. Synopsys IP Core.
  12. if STMMAC_ETH
  13. config STMMAC_PLATFORM
  14. tristate "STMMAC Platform bus support"
  15. depends on STMMAC_ETH
  16. select MFD_SYSCON
  17. default y
  18. ---help---
  19. This selects the platform specific bus support for the stmmac driver.
  20. This is the driver used on several SoCs:
  21. STi, Allwinner, Amlogic Meson, Altera SOCFPGA.
  22. If you have a controller with this interface, say Y or M here.
  23. If unsure, say N.
  24. if STMMAC_PLATFORM
  25. config DWMAC_DWC_QOS_ETH
  26. tristate "Support for snps,dwc-qos-ethernet.txt DT binding."
  27. select PHYLIB
  28. select CRC32
  29. select MII
  30. depends on OF && HAS_DMA
  31. help
  32. Support for chips using the snps,dwc-qos-ethernet.txt DT binding.
  33. config DWMAC_GENERIC
  34. tristate "Generic driver for DWMAC"
  35. default STMMAC_PLATFORM
  36. ---help---
  37. Generic DWMAC driver for platforms that don't require any
  38. platform specific code to function or is using platform
  39. data for setup.
  40. config DWMAC_IPQ806X
  41. tristate "QCA IPQ806x DWMAC support"
  42. default ARCH_QCOM
  43. depends on OF && (ARCH_QCOM || COMPILE_TEST)
  44. select MFD_SYSCON
  45. help
  46. Support for QCA IPQ806X DWMAC Ethernet.
  47. This selects the IPQ806x SoC glue layer support for the stmmac
  48. device driver. This driver does not use any of the hardware
  49. acceleration features available on this SoC. Network devices
  50. will behave like standard non-accelerated ethernet interfaces.
  51. config DWMAC_LPC18XX
  52. tristate "NXP LPC18xx/43xx DWMAC support"
  53. default ARCH_LPC18XX
  54. depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
  55. select MFD_SYSCON
  56. ---help---
  57. Support for NXP LPC18xx/43xx DWMAC Ethernet.
  58. config DWMAC_MESON
  59. tristate "Amlogic Meson dwmac support"
  60. default ARCH_MESON
  61. depends on OF && COMMON_CLK && (ARCH_MESON || COMPILE_TEST)
  62. help
  63. Support for Ethernet controller on Amlogic Meson SoCs.
  64. This selects the Amlogic Meson SoC glue layer support for
  65. the stmmac device driver. This driver is used for Meson6,
  66. Meson8, Meson8b and GXBB SoCs.
  67. config DWMAC_OXNAS
  68. tristate "Oxford Semiconductor OXNAS dwmac support"
  69. default ARCH_OXNAS
  70. depends on OF && COMMON_CLK && (ARCH_OXNAS || COMPILE_TEST)
  71. select MFD_SYSCON
  72. help
  73. Support for Ethernet controller on Oxford Semiconductor OXNAS SoCs.
  74. This selects the Oxford Semiconductor OXNASSoC glue layer support for
  75. the stmmac device driver. This driver is used for OX820.
  76. config DWMAC_ROCKCHIP
  77. tristate "Rockchip dwmac support"
  78. default ARCH_ROCKCHIP
  79. depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
  80. select MFD_SYSCON
  81. help
  82. Support for Ethernet controller on Rockchip RK3288 SoC.
  83. This selects the Rockchip RK3288 SoC glue layer support for
  84. the stmmac device driver.
  85. config DWMAC_SOCFPGA
  86. tristate "SOCFPGA dwmac support"
  87. default ARCH_SOCFPGA
  88. depends on OF && (ARCH_SOCFPGA || COMPILE_TEST)
  89. select MFD_SYSCON
  90. help
  91. Support for ethernet controller on Altera SOCFPGA
  92. This selects the Altera SOCFPGA SoC glue layer support
  93. for the stmmac device driver. This driver is used for
  94. arria5 and cyclone5 FPGA SoCs.
  95. config DWMAC_STI
  96. tristate "STi GMAC support"
  97. default ARCH_STI
  98. depends on OF && (ARCH_STI || COMPILE_TEST)
  99. select MFD_SYSCON
  100. ---help---
  101. Support for ethernet controller on STi SOCs.
  102. This selects STi SoC glue layer support for the stmmac
  103. device driver. This driver is used on for the STi series
  104. SOCs GMAC ethernet controller.
  105. config DWMAC_STM32
  106. tristate "STM32 DWMAC support"
  107. default ARCH_STM32
  108. depends on OF && HAS_IOMEM && (ARCH_STM32 || COMPILE_TEST)
  109. select MFD_SYSCON
  110. ---help---
  111. Support for ethernet controller on STM32 SOCs.
  112. This selects STM32 SoC glue layer support for the stmmac
  113. device driver. This driver is used on for the STM32 series
  114. SOCs GMAC ethernet controller.
  115. config DWMAC_SUNXI
  116. tristate "Allwinner GMAC support"
  117. default ARCH_SUNXI
  118. depends on OF && (ARCH_SUNXI || COMPILE_TEST)
  119. ---help---
  120. Support for Allwinner A20/A31 GMAC ethernet controllers.
  121. This selects Allwinner SoC glue layer support for the
  122. stmmac device driver. This driver is used for A20/A31
  123. GMAC ethernet controller.
  124. endif
  125. config STMMAC_PCI
  126. tristate "STMMAC PCI bus support"
  127. depends on STMMAC_ETH && PCI
  128. ---help---
  129. This selects the platform specific bus support for the stmmac driver.
  130. This driver was tested on XLINX XC2V3000 FF1152AMT0221
  131. D1215994A VIRTEX FPGA board and SNPS QoS IPK Prototyping Kit.
  132. If you have a controller with this interface, say Y or M here.
  133. If unsure, say N.
  134. endif