2 tristate "STMicroelectronics 10/100/1000/EQOS Ethernet driver"
3 depends on HAS_IOMEM && HAS_DMA
8 select RESET_CONTROLLER
10 This is the driver for the Ethernet IPs built around a
15 config STMMAC_PLATFORM
16 tristate "STMMAC Platform bus support"
21 This selects the platform specific bus support for the stmmac driver.
22 This is the driver used on several SoCs:
23 STi, Allwinner, Amlogic Meson, Altera SOCFPGA.
25 If you have a controller with this interface, say Y or M here.
31 config DWMAC_DWC_QOS_ETH
32 tristate "Support for snps,dwc-qos-ethernet.txt DT binding."
36 depends on OF && HAS_DMA
38 Support for chips using the snps,dwc-qos-ethernet.txt DT binding.
41 tristate "Generic driver for DWMAC"
42 default STMMAC_PLATFORM
44 Generic DWMAC driver for platforms that don't require any
45 platform specific code to function or is using platform
49 tristate "Adaptrum Anarion GMAC support"
51 depends on OF && (ARC || COMPILE_TEST)
53 Support for Adaptrum Anarion GMAC Ethernet controller.
55 This selects the Anarion SoC glue layer support for the stmmac driver.
58 tristate "QCA IPQ806x DWMAC support"
60 depends on OF && (ARCH_QCOM || COMPILE_TEST)
63 Support for QCA IPQ806X DWMAC Ethernet.
65 This selects the IPQ806x SoC glue layer support for the stmmac
66 device driver. This driver does not use any of the hardware
67 acceleration features available on this SoC. Network devices
68 will behave like standard non-accelerated ethernet interfaces.
71 tristate "NXP LPC18xx/43xx DWMAC support"
73 depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
76 Support for NXP LPC18xx/43xx DWMAC Ethernet.
79 tristate "MediaTek MT27xx GMAC support"
80 depends on OF && (ARCH_MEDIATEK || COMPILE_TEST)
82 Support for MediaTek GMAC Ethernet controller.
84 This selects the MT2712 SoC support for the stmmac driver.
87 tristate "Amlogic Meson dwmac support"
89 depends on OF && COMMON_CLK && (ARCH_MESON || COMPILE_TEST)
91 Support for Ethernet controller on Amlogic Meson SoCs.
93 This selects the Amlogic Meson SoC glue layer support for
94 the stmmac device driver. This driver is used for Meson6,
95 Meson8, Meson8b and GXBB SoCs.
98 tristate "Oxford Semiconductor OXNAS dwmac support"
100 depends on OF && COMMON_CLK && (ARCH_OXNAS || COMPILE_TEST)
103 Support for Ethernet controller on Oxford Semiconductor OXNAS SoCs.
105 This selects the Oxford Semiconductor OXNASSoC glue layer support for
106 the stmmac device driver. This driver is used for OX820.
108 config DWMAC_QCOM_ETHQOS
109 tristate "Qualcomm ETHQOS support"
111 depends on OF && (ARCH_QCOM || COMPILE_TEST)
113 Support for the Qualcomm ETHQOS core.
115 This selects the Qualcomm ETHQOS glue layer support for the
116 stmmac device driver.
118 config DWMAC_ROCKCHIP
119 tristate "Rockchip dwmac support"
120 default ARCH_ROCKCHIP
121 depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
124 Support for Ethernet controller on Rockchip RK3288 SoC.
126 This selects the Rockchip RK3288 SoC glue layer support for
127 the stmmac device driver.
130 tristate "SOCFPGA dwmac support"
131 default (ARCH_SOCFPGA || ARCH_STRATIX10)
132 depends on OF && (ARCH_SOCFPGA || ARCH_STRATIX10 || COMPILE_TEST)
135 Support for ethernet controller on Altera SOCFPGA
137 This selects the Altera SOCFPGA SoC glue layer support
138 for the stmmac device driver. This driver is used for
139 arria5 and cyclone5 FPGA SoCs.
142 tristate "STi GMAC support"
144 depends on OF && (ARCH_STI || COMPILE_TEST)
147 Support for ethernet controller on STi SOCs.
149 This selects STi SoC glue layer support for the stmmac
150 device driver. This driver is used on for the STi series
151 SOCs GMAC ethernet controller.
154 tristate "STM32 DWMAC support"
156 depends on OF && HAS_IOMEM && (ARCH_STM32 || COMPILE_TEST)
159 Support for ethernet controller on STM32 SOCs.
161 This selects STM32 SoC glue layer support for the stmmac
162 device driver. This driver is used on for the STM32 series
163 SOCs GMAC ethernet controller.
166 tristate "Allwinner GMAC support"
168 depends on OF && (ARCH_SUNXI || COMPILE_TEST)
170 Support for Allwinner A20/A31 GMAC ethernet controllers.
172 This selects Allwinner SoC glue layer support for the
173 stmmac device driver. This driver is used for A20/A31
174 GMAC ethernet controller.
177 tristate "Allwinner sun8i GMAC support"
179 depends on OF && (ARCH_SUNXI || COMPILE_TEST)
182 Support for Allwinner H3 A83T A64 EMAC ethernet controllers.
184 This selects Allwinner SoC glue layer support for the
185 stmmac device driver. This driver is used for H3/A83T/A64
186 EMAC ethernet controller.
190 tristate "STMMAC PCI bus support"
191 depends on STMMAC_ETH && PCI
193 This selects the platform specific bus support for the stmmac driver.
194 This driver was tested on XLINX XC2V3000 FF1152AMT0221
195 D1215994A VIRTEX FPGA board and SNPS QoS IPK Prototyping Kit.
197 If you have a controller with this interface, say Y or M here.