blob: cfbe3634dfa18143c8cf4500697a3ed6f9778c07 [file] [log] [blame]
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -07001config STMMAC_ETH
jpintoab70e582017-01-17 14:53:07 +00002 tristate "STMicroelectronics 10/100/1000/EQOS Ethernet driver"
Geert Uytterhoevenfd1eb9e2013-05-09 11:04:46 +00003 depends on HAS_IOMEM && HAS_DMA
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -07004 select MII
5 select PHYLIB
Carmelo AMOROSO7ba8a9b2010-03-31 21:44:03 +00006 select CRC32
Nicolas Pitred1cbfd72016-11-11 00:10:07 -05007 imply PTP_1588_CLOCK
Chen-Yu Tsaic5e4ddb2014-01-17 21:24:41 +08008 select RESET_CONTROLLER
Jeff Kirsher7ac66532011-05-16 00:05:19 -07009 ---help---
jpintoab70e582017-01-17 14:53:07 +000010 This is the driver for the Ethernet IPs built around a
11 Synopsys IP Core.
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -070012
13if STMMAC_ETH
14
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +000015config STMMAC_PLATFORM
Andy Shevchenkob2e2f0c2014-11-10 12:38:59 +020016 tristate "STMMAC Platform bus support"
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +000017 depends on STMMAC_ETH
Mathieu Olivarib1c17212015-05-27 11:02:49 -070018 select MFD_SYSCON
Giuseppe CAVALLARO33d5e332012-06-07 19:25:07 +000019 default y
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +000020 ---help---
Giuseppe CAVALLAROc0d54062014-11-04 15:49:32 +010021 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.
24
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +000025 If you have a controller with this interface, say Y or M here.
26
27 If unsure, say N.
28
Joachim Eastwoodba250202015-05-14 12:10:59 +020029if STMMAC_PLATFORM
30
jpintod8256122017-01-09 12:35:10 +000031config DWMAC_DWC_QOS_ETH
32 tristate "Support for snps,dwc-qos-ethernet.txt DT binding."
33 select PHYLIB
34 select CRC32
35 select MII
36 depends on OF && HAS_DMA
37 help
38 Support for chips using the snps,dwc-qos-ethernet.txt DT binding.
39
Joachim Eastwoodba250202015-05-14 12:10:59 +020040config DWMAC_GENERIC
41 tristate "Generic driver for DWMAC"
42 default STMMAC_PLATFORM
43 ---help---
44 Generic DWMAC driver for platforms that don't require any
45 platform specific code to function or is using platform
46 data for setup.
47
Mathieu Olivarib1c17212015-05-27 11:02:49 -070048config DWMAC_IPQ806X
49 tristate "QCA IPQ806x DWMAC support"
50 default ARCH_QCOM
Peter Robinson2e280c12016-06-01 13:28:58 +010051 depends on OF && (ARCH_QCOM || COMPILE_TEST)
Mathieu Olivarib1c17212015-05-27 11:02:49 -070052 select MFD_SYSCON
53 help
54 Support for QCA IPQ806X DWMAC Ethernet.
55
56 This selects the IPQ806x SoC glue layer support for the stmmac
57 device driver. This driver does not use any of the hardware
58 acceleration features available on this SoC. Network devices
59 will behave like standard non-accelerated ethernet interfaces.
60
Joachim Eastwood69bdd2d2015-05-14 12:11:00 +020061config DWMAC_LPC18XX
62 tristate "NXP LPC18xx/43xx DWMAC support"
63 default ARCH_LPC18XX
Peter Robinson2e280c12016-06-01 13:28:58 +010064 depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
Joachim Eastwood69bdd2d2015-05-14 12:11:00 +020065 select MFD_SYSCON
66 ---help---
67 Support for NXP LPC18xx/43xx DWMAC Ethernet.
68
Joachim Eastwood40e6b0b2015-05-14 12:11:01 +020069config DWMAC_MESON
70 tristate "Amlogic Meson dwmac support"
71 default ARCH_MESON
Martin Blumenstingl566e8252016-09-06 23:38:46 +020072 depends on OF && COMMON_CLK && (ARCH_MESON || COMPILE_TEST)
Joachim Eastwood40e6b0b2015-05-14 12:11:01 +020073 help
74 Support for Ethernet controller on Amlogic Meson SoCs.
75
76 This selects the Amlogic Meson SoC glue layer support for
Martin Blumenstingl566e8252016-09-06 23:38:46 +020077 the stmmac device driver. This driver is used for Meson6,
78 Meson8, Meson8b and GXBB SoCs.
Joachim Eastwood40e6b0b2015-05-14 12:11:01 +020079
Neil Armstrong5ed74142016-11-02 15:02:36 +010080config DWMAC_OXNAS
81 tristate "Oxford Semiconductor OXNAS dwmac support"
82 default ARCH_OXNAS
83 depends on OF && COMMON_CLK && (ARCH_OXNAS || COMPILE_TEST)
84 select MFD_SYSCON
85 help
86 Support for Ethernet controller on Oxford Semiconductor OXNAS SoCs.
87
88 This selects the Oxford Semiconductor OXNASSoC glue layer support for
89 the stmmac device driver. This driver is used for OX820.
90
Joachim Eastwoode0fb4012015-05-14 12:11:02 +020091config DWMAC_ROCKCHIP
92 tristate "Rockchip dwmac support"
93 default ARCH_ROCKCHIP
Peter Robinson2e280c12016-06-01 13:28:58 +010094 depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
Joachim Eastwoode0fb4012015-05-14 12:11:02 +020095 select MFD_SYSCON
96 help
97 Support for Ethernet controller on Rockchip RK3288 SoC.
98
99 This selects the Rockchip RK3288 SoC glue layer support for
100 the stmmac device driver.
101
Joachim Eastwoodc7c52ae2015-05-14 12:11:03 +0200102config DWMAC_SOCFPGA
103 tristate "SOCFPGA dwmac support"
104 default ARCH_SOCFPGA
Peter Robinson2e280c12016-06-01 13:28:58 +0100105 depends on OF && (ARCH_SOCFPGA || COMPILE_TEST)
Joachim Eastwoodc7c52ae2015-05-14 12:11:03 +0200106 select MFD_SYSCON
107 help
108 Support for ethernet controller on Altera SOCFPGA
109
110 This selects the Altera SOCFPGA SoC glue layer support
111 for the stmmac device driver. This driver is used for
112 arria5 and cyclone5 FPGA SoCs.
113
Joachim Eastwood2a321792015-05-14 12:11:04 +0200114config DWMAC_STI
115 tristate "STi GMAC support"
116 default ARCH_STI
Peter Robinson2e280c12016-06-01 13:28:58 +0100117 depends on OF && (ARCH_STI || COMPILE_TEST)
Joachim Eastwood2a321792015-05-14 12:11:04 +0200118 select MFD_SYSCON
119 ---help---
120 Support for ethernet controller on STi SOCs.
121
122 This selects STi SoC glue layer support for the stmmac
123 device driver. This driver is used on for the STi series
124 SOCs GMAC ethernet controller.
125
Alexandre TORGUEc6eec6f2016-08-29 18:23:38 +0200126config DWMAC_STM32
127 tristate "STM32 DWMAC support"
128 default ARCH_STM32
Peter Robinson6bc54452016-11-20 17:22:38 +0000129 depends on OF && HAS_IOMEM && (ARCH_STM32 || COMPILE_TEST)
Alexandre TORGUEc6eec6f2016-08-29 18:23:38 +0200130 select MFD_SYSCON
131 ---help---
132 Support for ethernet controller on STM32 SOCs.
133
134 This selects STM32 SoC glue layer support for the stmmac
135 device driver. This driver is used on for the STM32 series
136 SOCs GMAC ethernet controller.
137
Joachim Eastwood4198b7d2015-05-14 12:11:05 +0200138config DWMAC_SUNXI
139 tristate "Allwinner GMAC support"
140 default ARCH_SUNXI
Peter Robinson2e280c12016-06-01 13:28:58 +0100141 depends on OF && (ARCH_SUNXI || COMPILE_TEST)
Joachim Eastwood4198b7d2015-05-14 12:11:05 +0200142 ---help---
143 Support for Allwinner A20/A31 GMAC ethernet controllers.
144
145 This selects Allwinner SoC glue layer support for the
146 stmmac device driver. This driver is used for A20/A31
147 GMAC ethernet controller.
Joachim Eastwoodba250202015-05-14 12:10:59 +0200148endif
149
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +0000150config STMMAC_PCI
Andy Shevchenkob2e2f0c2014-11-10 12:38:59 +0200151 tristate "STMMAC PCI bus support"
Kees Cook6e1215a2013-01-22 10:30:30 -0800152 depends on STMMAC_ETH && PCI
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +0000153 ---help---
jpintoab70e582017-01-17 14:53:07 +0000154 This selects the platform specific bus support for the stmmac driver.
155 This driver was tested on XLINX XC2V3000 FF1152AMT0221
156 D1215994A VIRTEX FPGA board and SNPS QoS IPK Prototyping Kit.
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +0000157
jpintoab70e582017-01-17 14:53:07 +0000158 If you have a controller with this interface, say Y or M here.
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +0000159
160 If unsure, say N.
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -0700161endif