xref: /openbmc/linux/drivers/net/dsa/b53/Kconfig (revision 1ccea77e)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig B53
3	tristate "Broadcom BCM53xx managed switch support"
4	depends on NET_DSA
5	select NET_DSA_TAG_BRCM
6	select NET_DSA_TAG_BRCM_PREPEND
7	help
8	  This driver adds support for Broadcom managed switch chips. It supports
9	  BCM5325E, BCM5365, BCM539x, BCM53115 and BCM53125 as well as BCM63XX
10	  integrated switches.
11
12config B53_SPI_DRIVER
13	tristate "B53 SPI connected switch driver"
14	depends on B53 && SPI
15	help
16	  Select to enable support for registering switches configured through SPI.
17
18config B53_MDIO_DRIVER
19	tristate "B53 MDIO connected switch driver"
20	depends on B53
21	help
22	  Select to enable support for registering switches configured through MDIO.
23
24config B53_MMAP_DRIVER
25	tristate "B53 MMAP connected switch driver"
26	depends on B53 && HAS_IOMEM
27	default BCM63XX || BMIPS_GENERIC
28	help
29	  Select to enable support for memory-mapped switches like the BCM63XX
30	  integrated switches.
31
32config B53_SRAB_DRIVER
33	tristate "B53 SRAB connected switch driver"
34	depends on B53 && HAS_IOMEM
35	depends on B53_SERDES || !B53_SERDES
36	default ARCH_BCM_IPROC
37	help
38	  Select to enable support for memory-mapped Switch Register Access
39	  Bridge Registers (SRAB) like it is found on the BCM53010
40
41config B53_SERDES
42	tristate "B53 SerDes support"
43	depends on B53
44	default ARCH_BCM_NSP
45	help
46	  Select to enable support for SerDes on e.g: Northstar Plus SoCs.
47