aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pci/controller/Kconfig
diff options
context:
space:
mode:
authorJim Quinlan <jim2101024@gmail.com>2021-12-09 15:47:25 -0500
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2022-01-11 11:55:41 +0100
commitaa8589aac8e335e5e2e9a9de72a53913892e92f9 (patch)
tree560612b0334115ade06c0c4b592d0b9c8a6f656b /drivers/pci/controller/Kconfig
parentMIPS: bmips: Remove obsolete DMA mapping support (diff)
downloadwireguard-linux-aa8589aac8e335e5e2e9a9de72a53913892e92f9.tar.xz
wireguard-linux-aa8589aac8e335e5e2e9a9de72a53913892e92f9.zip
PCI: brcmstb: Augment driver for MIPs SOCs
The current brcmstb driver works for Arm and Arm64. A few things are modified here for us to support MIPs as well. o There are four outbound range register groups and each directs a window of up to 128MB. Even though there are four 128MB DT "ranges" in the bmips PCIe DT node, these ranges are contiguous and are collapsed into a single range by the OF range parser. Now the driver assumes a single range -- for MIPs only -- and splits it back into 128MB sizes. o For bcm7425, the config space accesses must be 32-bit reads or writes. In addition, the 4k config space register array is missing and not used. o The registers for the upper 32-bits of the outbound window address do not exist. o Burst size must be set to 256 (this refers to an internal bus). Signed-off-by: Jim Quinlan <jim2101024@gmail.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'drivers/pci/controller/Kconfig')
-rw-r--r--drivers/pci/controller/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
index 93b141110537..4ac474d4a956 100644
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -274,7 +274,7 @@ config PCIE_BRCMSTB
BMIPS_GENERIC || COMPILE_TEST
depends on OF
depends on PCI_MSI_IRQ_DOMAIN
- default ARCH_BRCMSTB
+ default ARCH_BRCMSTB || BMIPS_GENERIC
help
Say Y here to enable PCIe host controller support for
Broadcom STB based SoCs, like the Raspberry Pi 4.