xref: /kernel/linux/linux-5.10/drivers/net/dsa/b53/Kconfig (revision 8c2ecf20)
18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_cimenuconfig B53
38c2ecf20Sopenharmony_ci	tristate "Broadcom BCM53xx managed switch support"
48c2ecf20Sopenharmony_ci	depends on NET_DSA
58c2ecf20Sopenharmony_ci	select NET_DSA_TAG_BRCM
68c2ecf20Sopenharmony_ci	select NET_DSA_TAG_BRCM_PREPEND
78c2ecf20Sopenharmony_ci	help
88c2ecf20Sopenharmony_ci	  This driver adds support for Broadcom managed switch chips. It supports
98c2ecf20Sopenharmony_ci	  BCM5325E, BCM5365, BCM539x, BCM53115 and BCM53125 as well as BCM63XX
108c2ecf20Sopenharmony_ci	  integrated switches.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciconfig B53_SPI_DRIVER
138c2ecf20Sopenharmony_ci	tristate "B53 SPI connected switch driver"
148c2ecf20Sopenharmony_ci	depends on B53 && SPI
158c2ecf20Sopenharmony_ci	help
168c2ecf20Sopenharmony_ci	  Select to enable support for registering switches configured through SPI.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciconfig B53_MDIO_DRIVER
198c2ecf20Sopenharmony_ci	tristate "B53 MDIO connected switch driver"
208c2ecf20Sopenharmony_ci	depends on B53
218c2ecf20Sopenharmony_ci	help
228c2ecf20Sopenharmony_ci	  Select to enable support for registering switches configured through MDIO.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciconfig B53_MMAP_DRIVER
258c2ecf20Sopenharmony_ci	tristate "B53 MMAP connected switch driver"
268c2ecf20Sopenharmony_ci	depends on B53 && HAS_IOMEM
278c2ecf20Sopenharmony_ci	default BCM63XX || BMIPS_GENERIC
288c2ecf20Sopenharmony_ci	help
298c2ecf20Sopenharmony_ci	  Select to enable support for memory-mapped switches like the BCM63XX
308c2ecf20Sopenharmony_ci	  integrated switches.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciconfig B53_SRAB_DRIVER
338c2ecf20Sopenharmony_ci	tristate "B53 SRAB connected switch driver"
348c2ecf20Sopenharmony_ci	depends on B53 && HAS_IOMEM
358c2ecf20Sopenharmony_ci	depends on B53_SERDES || !B53_SERDES
368c2ecf20Sopenharmony_ci	default ARCH_BCM_IPROC
378c2ecf20Sopenharmony_ci	help
388c2ecf20Sopenharmony_ci	  Select to enable support for memory-mapped Switch Register Access
398c2ecf20Sopenharmony_ci	  Bridge Registers (SRAB) like it is found on the BCM53010
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciconfig B53_SERDES
428c2ecf20Sopenharmony_ci	tristate "B53 SerDes support"
438c2ecf20Sopenharmony_ci	depends on B53
448c2ecf20Sopenharmony_ci	default ARCH_BCM_NSP
458c2ecf20Sopenharmony_ci	help
468c2ecf20Sopenharmony_ci	  Select to enable support for SerDes on e.g: Northstar Plus SoCs.
47