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