xref: /openbmc/linux/drivers/net/dsa/mv88e6xxx/Kconfig (revision ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20d3cd4b6SVivien Didelotconfig NET_DSA_MV88E6XXX
30d3cd4b6SVivien Didelot	tristate "Marvell 88E6xxx Ethernet switch fabric support"
40d3cd4b6SVivien Didelot	depends on NET_DSA
50717b876SFlorian Fainelli	select IRQ_DOMAIN
60d3cd4b6SVivien Didelot	select NET_DSA_TAG_EDSA
72bbb33beSAndrew Lunn	select NET_DSA_TAG_DSA
80d3cd4b6SVivien Didelot	help
90d3cd4b6SVivien Didelot	  This driver adds support for most of the Marvell 88E6xxx models of
100d3cd4b6SVivien Didelot	  Ethernet switch chips, except 88E6060.
11ca070c10SVivien Didelot
12ca070c10SVivien Didelotconfig NET_DSA_MV88E6XXX_GLOBAL2
13ca070c10SVivien Didelot	bool "Switch Global 2 Registers support"
14ca070c10SVivien Didelot	default y
15ca070c10SVivien Didelot	depends on NET_DSA_MV88E6XXX
16ca070c10SVivien Didelot	help
17ca070c10SVivien Didelot	  This registers set at internal SMI address 0x1C provides extended
18ca070c10SVivien Didelot	  features like EEPROM interface, trunking, cross-chip setup, etc.
19ca070c10SVivien Didelot
20ca070c10SVivien Didelot	  It is required on most chips. If the chip you compile the support for
21ca070c10SVivien Didelot	  doesn't have such registers set, say N here. In doubt, say Y.
222fa8d3afSBrandon Streiff
232fa8d3afSBrandon Streiffconfig NET_DSA_MV88E6XXX_PTP
242fa8d3afSBrandon Streiff	bool "PTP support for Marvell 88E6xxx"
252fa8d3afSBrandon Streiff	default n
262fa8d3afSBrandon Streiff	depends on NET_DSA_MV88E6XXX_GLOBAL2
272fa8d3afSBrandon Streiff	imply NETWORK_PHY_TIMESTAMPING
282fa8d3afSBrandon Streiff	imply PTP_1588_CLOCK
292fa8d3afSBrandon Streiff	help
302fa8d3afSBrandon Streiff	  Say Y to enable PTP hardware timestamping on Marvell 88E6xxx switch
312fa8d3afSBrandon Streiff	  chips that support it.
32