Kconfig 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. imply 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_OXNAS
  61. tristate "Oxford Semiconductor OXNAS dwmac support"
  62. default ARCH_OXNAS
  63. depends on OF && COMMON_CLK && (ARCH_OXNAS || COMPILE_TEST)
  64. select MFD_SYSCON
  65. help
  66. Support for Ethernet controller on Oxford Semiconductor OXNAS SoCs.
  67. This selects the Oxford Semiconductor OXNASSoC glue layer support for
  68. the stmmac device driver. This driver is used for OX820.
  69. config DWMAC_ROCKCHIP
  70. tristate "Rockchip dwmac support"
  71. default ARCH_ROCKCHIP
  72. depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
  73. select MFD_SYSCON
  74. help
  75. Support for Ethernet controller on Rockchip RK3288 SoC.
  76. This selects the Rockchip RK3288 SoC glue layer support for
  77. the stmmac device driver.
  78. config DWMAC_SOCFPGA
  79. tristate "SOCFPGA dwmac support"
  80. default ARCH_SOCFPGA
  81. depends on OF && (ARCH_SOCFPGA || COMPILE_TEST)
  82. select MFD_SYSCON
  83. help
  84. Support for ethernet controller on Altera SOCFPGA
  85. This selects the Altera SOCFPGA SoC glue layer support
  86. for the stmmac device driver. This driver is used for
  87. arria5 and cyclone5 FPGA SoCs.
  88. config DWMAC_STI
  89. tristate "STi GMAC support"
  90. default ARCH_STI
  91. depends on OF && (ARCH_STI || COMPILE_TEST)
  92. select MFD_SYSCON
  93. ---help---
  94. Support for ethernet controller on STi SOCs.
  95. This selects STi SoC glue layer support for the stmmac
  96. device driver. This driver is used on for the STi series
  97. SOCs GMAC ethernet controller.
  98. config DWMAC_STM32
  99. tristate "STM32 DWMAC support"
  100. default ARCH_STM32
  101. depends on OF && HAS_IOMEM && (ARCH_STM32 || COMPILE_TEST)
  102. select MFD_SYSCON
  103. ---help---
  104. Support for ethernet controller on STM32 SOCs.
  105. This selects STM32 SoC glue layer support for the stmmac
  106. device driver. This driver is used on for the STM32 series
  107. SOCs GMAC ethernet controller.
  108. config DWMAC_SUNXI
  109. tristate "Allwinner GMAC support"
  110. default ARCH_SUNXI
  111. depends on OF && (ARCH_SUNXI || COMPILE_TEST)
  112. ---help---
  113. Support for Allwinner A20/A31 GMAC ethernet controllers.
  114. This selects Allwinner SoC glue layer support for the
  115. stmmac device driver. This driver is used for A20/A31
  116. GMAC ethernet controller.
  117. endif
  118. config STMMAC_PCI
  119. tristate "STMMAC PCI bus support"
  120. depends on STMMAC_ETH && PCI
  121. ---help---
  122. This is to select the Synopsys DWMAC available on PCI devices,
  123. if you have a controller with this interface, say Y or M here.
  124. This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
  125. D1215994A VIRTEX FPGA board.
  126. If unsure, say N.
  127. endif