Kconfig 4.0 KB

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