18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Cadence device configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig NET_VENDOR_CADENCE
78c2ecf20Sopenharmony_ci	bool "Cadence devices"
88c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
98c2ecf20Sopenharmony_ci	default y
108c2ecf20Sopenharmony_ci	help
118c2ecf20Sopenharmony_ci	  If you have a network (Ethernet) card belonging to this class, say Y.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci	  If unsure, say Y.
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
168c2ecf20Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all the
178c2ecf20Sopenharmony_ci	  remaining Cadence network card questions. If you say Y, you will be
188c2ecf20Sopenharmony_ci	  asked for your specific card in the following questions.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciif NET_VENDOR_CADENCE
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciconfig MACB
238c2ecf20Sopenharmony_ci	tristate "Cadence MACB/GEM support"
248c2ecf20Sopenharmony_ci	depends on HAS_DMA && COMMON_CLK
258c2ecf20Sopenharmony_ci	select PHYLINK
268c2ecf20Sopenharmony_ci	select CRC32
278c2ecf20Sopenharmony_ci	help
288c2ecf20Sopenharmony_ci	  The Cadence MACB ethernet interface is found on many Atmel AT32 and
298c2ecf20Sopenharmony_ci	  AT91 parts.  This driver also supports the Cadence GEM (Gigabit
308c2ecf20Sopenharmony_ci	  Ethernet MAC found in some ARM SoC devices).  Say Y to include
318c2ecf20Sopenharmony_ci	  support for the MACB/GEM chip.
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
348c2ecf20Sopenharmony_ci	  will be macb.
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciconfig MACB_USE_HWSTAMP
378c2ecf20Sopenharmony_ci	bool "Use IEEE 1588 hwstamp"
388c2ecf20Sopenharmony_ci	depends on MACB
398c2ecf20Sopenharmony_ci	depends on PTP_1588_CLOCK
408c2ecf20Sopenharmony_ci	default y
418c2ecf20Sopenharmony_ci	help
428c2ecf20Sopenharmony_ci	  Enable IEEE 1588 Precision Time Protocol (PTP) support for MACB.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciconfig MACB_PCI
458c2ecf20Sopenharmony_ci	tristate "Cadence PCI MACB/GEM support"
468c2ecf20Sopenharmony_ci	depends on MACB && PCI
478c2ecf20Sopenharmony_ci	help
488c2ecf20Sopenharmony_ci	  This is PCI wrapper for MACB driver.
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
518c2ecf20Sopenharmony_ci	  will be called macb_pci.
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ciendif # NET_VENDOR_CADENCE
54