]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/blob - drivers/net/ethernet/stmicro/stmmac/Kconfig
Merge tag 'xfs-fixes-for-4.19-rc7' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[rpmsg/rpmsg.git] / drivers / net / ethernet / stmicro / stmmac / Kconfig
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.
13 if STMMAC_ETH
15 config STMMAC_PLATFORM
16         tristate "STMMAC Platform bus support"
17         depends on STMMAC_ETH
18         select MFD_SYSCON
19         default y
20         ---help---
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.
27           If unsure, say N.
29 if STMMAC_PLATFORM
31 config 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.
40 config 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.
48 config DWMAC_ANARION
49         tristate "Adaptrum Anarion GMAC support"
50         default ARC
51         depends on OF && (ARC || COMPILE_TEST)
52         help
53           Support for Adaptrum Anarion GMAC Ethernet controller.
55           This selects the Anarion SoC glue layer support for the stmmac driver.
57 config DWMAC_IPQ806X
58         tristate "QCA IPQ806x DWMAC support"
59         default ARCH_QCOM
60         depends on OF && (ARCH_QCOM || COMPILE_TEST)
61         select MFD_SYSCON
62         help
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.
70 config DWMAC_LPC18XX
71         tristate "NXP LPC18xx/43xx DWMAC support"
72         default ARCH_LPC18XX
73         depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
74         select MFD_SYSCON
75         ---help---
76           Support for NXP LPC18xx/43xx DWMAC Ethernet.
78 config DWMAC_MESON
79         tristate "Amlogic Meson dwmac support"
80         default ARCH_MESON
81         depends on OF && COMMON_CLK && (ARCH_MESON || COMPILE_TEST)
82         help
83           Support for Ethernet controller on Amlogic Meson SoCs.
85           This selects the Amlogic Meson SoC glue layer support for
86           the stmmac device driver. This driver is used for Meson6,
87           Meson8, Meson8b and GXBB SoCs.
89 config DWMAC_OXNAS
90         tristate "Oxford Semiconductor OXNAS dwmac support"
91         default ARCH_OXNAS
92         depends on OF && COMMON_CLK && (ARCH_OXNAS || COMPILE_TEST)
93         select MFD_SYSCON
94         help
95           Support for Ethernet controller on Oxford Semiconductor OXNAS SoCs.
97           This selects the Oxford Semiconductor OXNASSoC glue layer support for
98           the stmmac device driver. This driver is used for OX820.
100 config DWMAC_ROCKCHIP
101         tristate "Rockchip dwmac support"
102         default ARCH_ROCKCHIP
103         depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
104         select MFD_SYSCON
105         help
106           Support for Ethernet controller on Rockchip RK3288 SoC.
108           This selects the Rockchip RK3288 SoC glue layer support for
109           the stmmac device driver.
111 config DWMAC_SOCFPGA
112         tristate "SOCFPGA dwmac support"
113         default (ARCH_SOCFPGA || ARCH_STRATIX10)
114         depends on OF && (ARCH_SOCFPGA || ARCH_STRATIX10 || COMPILE_TEST)
115         select MFD_SYSCON
116         help
117           Support for ethernet controller on Altera SOCFPGA
119           This selects the Altera SOCFPGA SoC glue layer support
120           for the stmmac device driver. This driver is used for
121           arria5 and cyclone5 FPGA SoCs.
123 config DWMAC_STI
124         tristate "STi GMAC support"
125         default ARCH_STI
126         depends on OF && (ARCH_STI || COMPILE_TEST)
127         select MFD_SYSCON
128         ---help---
129           Support for ethernet controller on STi SOCs.
131           This selects STi SoC glue layer support for the stmmac
132           device driver. This driver is used on for the STi series
133           SOCs GMAC ethernet controller.
135 config DWMAC_STM32
136         tristate "STM32 DWMAC support"
137         default ARCH_STM32
138         depends on OF && HAS_IOMEM && (ARCH_STM32 || COMPILE_TEST)
139         select MFD_SYSCON
140         ---help---
141           Support for ethernet controller on STM32 SOCs.
143           This selects STM32 SoC glue layer support for the stmmac
144           device driver. This driver is used on for the STM32 series
145           SOCs GMAC ethernet controller.
147 config DWMAC_SUNXI
148         tristate "Allwinner GMAC support"
149         default ARCH_SUNXI
150         depends on OF && (ARCH_SUNXI || COMPILE_TEST)
151         ---help---
152           Support for Allwinner A20/A31 GMAC ethernet controllers.
154           This selects Allwinner SoC glue layer support for the
155           stmmac device driver. This driver is used for A20/A31
156           GMAC ethernet controller.
158 config DWMAC_SUN8I
159         tristate "Allwinner sun8i GMAC support"
160         default ARCH_SUNXI
161         depends on OF && (ARCH_SUNXI || COMPILE_TEST)
162         select MDIO_BUS_MUX
163         ---help---
164           Support for Allwinner H3 A83T A64 EMAC ethernet controllers.
166           This selects Allwinner SoC glue layer support for the
167           stmmac device driver. This driver is used for H3/A83T/A64
168           EMAC ethernet controller.
169 endif
171 config STMMAC_PCI
172         tristate "STMMAC PCI bus support"
173         depends on STMMAC_ETH && PCI
174         ---help---
175           This selects the platform specific bus support for the stmmac driver.
176           This driver was tested on XLINX XC2V3000 FF1152AMT0221
177           D1215994A VIRTEX FPGA board and SNPS QoS IPK Prototyping Kit.
179           If you have a controller with this interface, say Y or M here.
181           If unsure, say N.
182 endif