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