xref: /openbmc/linux/drivers/net/dsa/mv88e6xxx/Kconfig (revision 151f4e2b)
1config NET_DSA_MV88E6XXX
2	tristate "Marvell 88E6xxx Ethernet switch fabric support"
3	depends on NET_DSA
4	select IRQ_DOMAIN
5	select NET_DSA_TAG_EDSA
6	select NET_DSA_TAG_DSA
7	help
8	  This driver adds support for most of the Marvell 88E6xxx models of
9	  Ethernet switch chips, except 88E6060.
10
11config NET_DSA_MV88E6XXX_GLOBAL2
12	bool "Switch Global 2 Registers support"
13	default y
14	depends on NET_DSA_MV88E6XXX
15	help
16	  This registers set at internal SMI address 0x1C provides extended
17	  features like EEPROM interface, trunking, cross-chip setup, etc.
18
19	  It is required on most chips. If the chip you compile the support for
20	  doesn't have such registers set, say N here. In doubt, say Y.
21
22config NET_DSA_MV88E6XXX_PTP
23	bool "PTP support for Marvell 88E6xxx"
24	default n
25	depends on NET_DSA_MV88E6XXX_GLOBAL2
26	imply NETWORK_PHY_TIMESTAMPING
27	imply PTP_1588_CLOCK
28	help
29	  Say Y to enable PTP hardware timestamping on Marvell 88E6xxx switch
30	  chips that support it.
31