162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenuconfig B53
362306a36Sopenharmony_ci	tristate "Broadcom BCM53xx managed switch support"
462306a36Sopenharmony_ci	depends on NET_DSA
562306a36Sopenharmony_ci	select NET_DSA_TAG_NONE
662306a36Sopenharmony_ci	select NET_DSA_TAG_BRCM
762306a36Sopenharmony_ci	select NET_DSA_TAG_BRCM_LEGACY
862306a36Sopenharmony_ci	select NET_DSA_TAG_BRCM_PREPEND
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  This driver adds support for Broadcom managed switch chips. It supports
1162306a36Sopenharmony_ci	  BCM5325E, BCM5365, BCM539x, BCM53115 and BCM53125 as well as BCM63XX
1262306a36Sopenharmony_ci	  integrated switches.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciconfig B53_SPI_DRIVER
1562306a36Sopenharmony_ci	tristate "B53 SPI connected switch driver"
1662306a36Sopenharmony_ci	depends on B53 && SPI
1762306a36Sopenharmony_ci	help
1862306a36Sopenharmony_ci	  Select to enable support for registering switches configured through SPI.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconfig B53_MDIO_DRIVER
2162306a36Sopenharmony_ci	tristate "B53 MDIO connected switch driver"
2262306a36Sopenharmony_ci	depends on B53
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  Select to enable support for registering switches configured through MDIO.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciconfig B53_MMAP_DRIVER
2762306a36Sopenharmony_ci	tristate "B53 MMAP connected switch driver"
2862306a36Sopenharmony_ci	depends on B53 && HAS_IOMEM
2962306a36Sopenharmony_ci	default BCM63XX || BMIPS_GENERIC
3062306a36Sopenharmony_ci	help
3162306a36Sopenharmony_ci	  Select to enable support for memory-mapped switches like the BCM63XX
3262306a36Sopenharmony_ci	  integrated switches.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciconfig B53_SRAB_DRIVER
3562306a36Sopenharmony_ci	tristate "B53 SRAB connected switch driver"
3662306a36Sopenharmony_ci	depends on B53 && HAS_IOMEM
3762306a36Sopenharmony_ci	depends on B53_SERDES || !B53_SERDES
3862306a36Sopenharmony_ci	default ARCH_BCM_IPROC
3962306a36Sopenharmony_ci	help
4062306a36Sopenharmony_ci	  Select to enable support for memory-mapped Switch Register Access
4162306a36Sopenharmony_ci	  Bridge Registers (SRAB) like it is found on the BCM53010
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ciconfig B53_SERDES
4462306a36Sopenharmony_ci	tristate "B53 SerDes support"
4562306a36Sopenharmony_ci	depends on B53
4662306a36Sopenharmony_ci	default ARCH_BCM_NSP
4762306a36Sopenharmony_ci	help
4862306a36Sopenharmony_ci	  Select to enable support for SerDes on e.g: Northstar Plus SoCs.
49