18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig NET_DSA_MV88E6XXX
38c2ecf20Sopenharmony_ci	tristate "Marvell 88E6xxx Ethernet switch fabric support"
48c2ecf20Sopenharmony_ci	depends on NET_DSA
58c2ecf20Sopenharmony_ci	select IRQ_DOMAIN
68c2ecf20Sopenharmony_ci	select NET_DSA_TAG_EDSA
78c2ecf20Sopenharmony_ci	select NET_DSA_TAG_DSA
88c2ecf20Sopenharmony_ci	help
98c2ecf20Sopenharmony_ci	  This driver adds support for most of the Marvell 88E6xxx models of
108c2ecf20Sopenharmony_ci	  Ethernet switch chips, except 88E6060.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciconfig NET_DSA_MV88E6XXX_GLOBAL2
138c2ecf20Sopenharmony_ci	bool "Switch Global 2 Registers support"
148c2ecf20Sopenharmony_ci	default y
158c2ecf20Sopenharmony_ci	depends on NET_DSA_MV88E6XXX
168c2ecf20Sopenharmony_ci	help
178c2ecf20Sopenharmony_ci	  This registers set at internal SMI address 0x1C provides extended
188c2ecf20Sopenharmony_ci	  features like EEPROM interface, trunking, cross-chip setup, etc.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci	  It is required on most chips. If the chip you compile the support for
218c2ecf20Sopenharmony_ci	  doesn't have such registers set, say N here. In doubt, say Y.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciconfig NET_DSA_MV88E6XXX_PTP
248c2ecf20Sopenharmony_ci	bool "PTP support for Marvell 88E6xxx"
258c2ecf20Sopenharmony_ci	default n
268c2ecf20Sopenharmony_ci	depends on NET_DSA_MV88E6XXX_GLOBAL2
278c2ecf20Sopenharmony_ci	depends on PTP_1588_CLOCK
288c2ecf20Sopenharmony_ci	imply NETWORK_PHY_TIMESTAMPING
298c2ecf20Sopenharmony_ci	help
308c2ecf20Sopenharmony_ci	  Say Y to enable PTP hardware timestamping on Marvell 88E6xxx switch
318c2ecf20Sopenharmony_ci	  chips that support it.
32