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