blob: 731e0453a7d41dc5c90766d9f2fa41023e12cb31 [file] [log] [blame]
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -07001config STMMAC_ETH
2 tristate "STMicroelectronics 10/100/1000 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
Rayagond Kokatanur92ba6882013-03-26 04:43:11 +00007 select PTP_1588_CLOCK
Chen-Yu Tsaic5e4ddb2014-01-17 21:24:41 +08008 select RESET_CONTROLLER
Jeff Kirsher7ac66532011-05-16 00:05:19 -07009 ---help---
Giuseppe CAVALLARO7187c1a2010-01-06 23:07:22 +000010 This is the driver for the Ethernet IPs are built around a
Giuseppe CAVALLAROac757912010-08-23 20:40:41 +000011 Synopsys IP Core and only tested on the STMicroelectronics
Giuseppe CAVALLARO7187c1a2010-01-06 23:07:22 +000012 platforms.
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -070013
14if STMMAC_ETH
15
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +000016config STMMAC_PLATFORM
Andy Shevchenkob2e2f0c2014-11-10 12:38:59 +020017 tristate "STMMAC Platform bus support"
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +000018 depends on STMMAC_ETH
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
31config DWMAC_GENERIC
32 tristate "Generic driver for DWMAC"
33 default STMMAC_PLATFORM
34 ---help---
35 Generic DWMAC driver for platforms that don't require any
36 platform specific code to function or is using platform
37 data for setup.
38
Joachim Eastwood69bdd2d2015-05-14 12:11:00 +020039config DWMAC_LPC18XX
40 tristate "NXP LPC18xx/43xx DWMAC support"
41 default ARCH_LPC18XX
42 depends on OF
43 select MFD_SYSCON
44 ---help---
45 Support for NXP LPC18xx/43xx DWMAC Ethernet.
46
Joachim Eastwood40e6b0b2015-05-14 12:11:01 +020047config DWMAC_MESON
48 tristate "Amlogic Meson dwmac support"
49 default ARCH_MESON
50 depends on OF
51 help
52 Support for Ethernet controller on Amlogic Meson SoCs.
53
54 This selects the Amlogic Meson SoC glue layer support for
55 the stmmac device driver. This driver is used for Meson6 and
56 Meson8 SoCs.
57
Joachim Eastwoode0fb4012015-05-14 12:11:02 +020058config DWMAC_ROCKCHIP
59 tristate "Rockchip dwmac support"
60 default ARCH_ROCKCHIP
61 depends on OF
62 select MFD_SYSCON
63 help
64 Support for Ethernet controller on Rockchip RK3288 SoC.
65
66 This selects the Rockchip RK3288 SoC glue layer support for
67 the stmmac device driver.
68
Joachim Eastwoodc7c52ae2015-05-14 12:11:03 +020069config DWMAC_SOCFPGA
70 tristate "SOCFPGA dwmac support"
71 default ARCH_SOCFPGA
72 depends on OF
73 select MFD_SYSCON
74 help
75 Support for ethernet controller on Altera SOCFPGA
76
77 This selects the Altera SOCFPGA SoC glue layer support
78 for the stmmac device driver. This driver is used for
79 arria5 and cyclone5 FPGA SoCs.
80
Joachim Eastwood2a321792015-05-14 12:11:04 +020081config DWMAC_STI
82 tristate "STi GMAC support"
83 default ARCH_STI
84 depends on OF
85 select MFD_SYSCON
86 ---help---
87 Support for ethernet controller on STi SOCs.
88
89 This selects STi SoC glue layer support for the stmmac
90 device driver. This driver is used on for the STi series
91 SOCs GMAC ethernet controller.
92
Joachim Eastwood4198b7d2015-05-14 12:11:05 +020093config DWMAC_SUNXI
94 tristate "Allwinner GMAC support"
95 default ARCH_SUNXI
96 depends on OF
97 ---help---
98 Support for Allwinner A20/A31 GMAC ethernet controllers.
99
100 This selects Allwinner SoC glue layer support for the
101 stmmac device driver. This driver is used for A20/A31
102 GMAC ethernet controller.
Joachim Eastwoodba250202015-05-14 12:10:59 +0200103endif
104
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +0000105config STMMAC_PCI
Andy Shevchenkob2e2f0c2014-11-10 12:38:59 +0200106 tristate "STMMAC PCI bus support"
Kees Cook6e1215a2013-01-22 10:30:30 -0800107 depends on STMMAC_ETH && PCI
Giuseppe CAVALLARObfab27a2011-12-21 03:58:19 +0000108 ---help---
109 This is to select the Synopsys DWMAC available on PCI devices,
110 if you have a controller with this interface, say Y or M here.
111
112 This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
113 D1215994A VIRTEX FPGA board.
114
115 If unsure, say N.
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -0700116endif