blob: 6435020d690dd5ae35c7c0fe0b8d0a9fc6c12d16 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Vivien Didelot0d3cd4b2016-06-21 12:28:19 -04002config NET_DSA_MV88E6XXX
3 tristate "Marvell 88E6xxx Ethernet switch fabric support"
4 depends on NET_DSA
Florian Fainelli0717b872016-11-17 11:19:14 -08005 select IRQ_DOMAIN
Vivien Didelot0d3cd4b2016-06-21 12:28:19 -04006 select NET_DSA_TAG_EDSA
Andrew Lunn2bbb33b2016-08-22 16:01:02 +02007 select NET_DSA_TAG_DSA
Vivien Didelot0d3cd4b2016-06-21 12:28:19 -04008 help
9 This driver adds support for most of the Marvell 88E6xxx models of
10 Ethernet switch chips, except 88E6060.
Vivien Didelotca070c12016-09-02 14:45:34 -040011
12config NET_DSA_MV88E6XXX_GLOBAL2
13 bool "Switch Global 2 Registers support"
14 default y
15 depends on NET_DSA_MV88E6XXX
16 help
17 This registers set at internal SMI address 0x1C provides extended
18 features like EEPROM interface, trunking, cross-chip setup, etc.
19
20 It is required on most chips. If the chip you compile the support for
21 doesn't have such registers set, say N here. In doubt, say Y.
Brandon Streiff2fa8d3a2018-02-14 01:07:45 +010022
23config NET_DSA_MV88E6XXX_PTP
24 bool "PTP support for Marvell 88E6xxx"
25 default n
26 depends on NET_DSA_MV88E6XXX_GLOBAL2
27 imply NETWORK_PHY_TIMESTAMPING
28 imply PTP_1588_CLOCK
29 help
30 Say Y to enable PTP hardware timestamping on Marvell 88E6xxx switch
31 chips that support it.