6 Enable support for PCI (Peripheral Interconnect Bus), a type of bus
7 used on some devices to allow the CPU to communicate with its
10 This subsystem requires driver model.
15 bool "Enable compatible functions for PCI"
17 Enable compatibility functions for PCI so that old code can be used
18 with CONFIG_PCI enabled. This should be used as an interim
19 measure when porting a board to use driver model for PCI. Once the
20 board is fully supported, this option should be disabled.
23 bool "Enable 64-bit PCI resources"
26 Enable 64-bit PCI resource access.
29 bool "Enable Aardvark PCIe driver"
31 depends on ARMADA_3700
33 Say Y here if you want to enable PCIe controller support on
34 Armada37x0 SoCs. The PCIe controller on Armada37x0 is based on
38 bool "Enable Plug & Play support for PCI"
41 Enable PCI memory and I/O space resource allocation and assignment.
43 config PCI_REGION_MULTI_ENTRY
44 bool "Enable Multiple entries of region type MEMORY in ranges for PCI"
46 Enable PCI memory regions to be of multiple entry. Multiple entry
47 here refers to allow more than one count of address ranges for MEMORY
48 region type. This helps to add support for SoC's like OcteonTX/TX2
49 where every peripheral is on the PCI bus.
51 config PCI_CONFIG_HOST_BRIDGE
52 bool "Configure PCI host bridges"
55 config PCI_MAP_SYSTEM_MEMORY
56 bool "Map local system memory from a virtual base address"
59 Say Y if base address of system memory is being used as a virtual address
60 instead of a physical address (e.g. on MIPS). The PCI core will then remap
61 the virtual memory base address to a physical address when adding the PCI
62 region of type PCI_REGION_SYS_MEMORY.
63 This should only be required on MIPS where CONFIG_SYS_SDRAM_BASE is still
64 being used as virtual address.
67 bool "Enable Single Root I/O Virtualization support for PCI"
69 Say Y here if you want to enable PCI Single Root I/O Virtualization
70 capability support. This helps to enumerate Virtual Function devices
71 if available on a PCI Physical Function device and probe for
74 config PCI_ENHANCED_ALLOCATION
75 bool "Enable support for Enhanced Allocation of resources"
78 Enable support for Enhanced Allocation which can be used by supported
79 devices in place of traditional BARS for allocation of resources.
82 bool "Enable Alternate Routing-ID support for PCI"
84 Say Y here if you want to enable Alternate Routing-ID capability
85 support on PCI devices. This helps to skip some devices in BDF
86 scan that are not present.
89 bool "Show PCI devices during startup"
92 config PCIE_ECAM_GENERIC
93 bool "Generic ECAM-based PCI host controller support"
95 Say Y here if you want to enable support for generic ECAM-based
96 PCIe host controllers, such as the one emulated by QEMU.
98 config PCIE_ECAM_SYNQUACER
99 bool "SynQuacer ECAM-based PCI host controller support"
101 select PCI_REGION_MULTI_ENTRY
103 Say Y here if you want to enable support for Socionext
104 SynQuacer SoC's ECAM-based PCIe host controllers.
105 Note that this must be configured when boot because Linux driver
106 expects the PCIe RC has been configured in the bootloader.
109 bool "GT64120 PCI support"
113 bool "Phytium PCIe support"
115 Say Y here if you want to enable PCIe controller support on
119 bool "Enable Armada-8K PCIe driver (DesignWare core)"
122 Say Y here if you want to enable PCIe controller support on
123 Armada-8K SoCs. The PCIe controller on Armada-8K is based on
126 config PCIE_DW_SIFIVE
127 bool "Enable SiFive FU740 PCIe"
128 depends on CLK_SIFIVE_PRCI
129 depends on RESET_SIFIVE
130 depends on SIFIVE_GPIO
131 select PCIE_DW_COMMON
133 Say Y here if you want to enable PCIe controller support on
137 bool "FSL PowerPC PCIe support"
139 Say Y here if you want to enable PCIe controller support on FSL
140 PowerPC MPC85xx, MPC86xx, B series, P series and T series SoCs.
141 This driver does not support SRIO_PCIE_BOOT feature.
144 bool "MPC85XX PowerPC PCI support"
146 Say Y here if you want to enable PCI controller support on FSL
150 bool "MSC01 PCI support"
151 depends on TARGET_MALTA
154 bool "Renesas RCar Gen2 PCIe driver"
157 Say Y here if you want to enable PCIe controller support on
158 Renesas RCar Gen2 SoCs. The PCIe controller on RCar Gen2 is
159 also used to access EHCI USB controller on the SoC.
162 bool "Renesas RCar Gen3 PCIe driver"
165 Say Y here if you want to enable PCIe controller support on
166 Renesas RCar Gen3 SoCs.
169 bool "Sandbox PCI support"
172 Support PCI on sandbox, as an emulated bus. This permits testing of
173 PCI feature such as bus scanning, device configuration and device
174 access. The available (emulated) devices are defined statically in
175 the device tree but the normal PCI scan technique is used to find
179 bool "SH7751 PCI controller support"
182 SuperH PCI Bridge Configuration
185 bool "Tegra PCI support"
186 depends on ARCH_TEGRA
187 depends on (TEGRA186 && POWER_DOMAIN) || (!TEGRA186)
189 Enable support for the PCIe controller found on some generations of
190 Tegra. Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has
191 3 root ports with a total of 6 lanes and Tegra124 has 2 root ports
192 with a total of 5 lanes. Some boards require this for Ethernet
193 support to work (e.g. beaver, jetson-tk1).
196 bool "OcteonTX PCI support"
197 depends on (ARCH_OCTEONTX || ARCH_OCTEONTX2)
199 Enable support for the OcteonTX/TX2 SoC family ECAM/PEM controllers.
200 These controllers provide PCI configuration access to all on-board
201 peripherals so it should only be disabled for testing purposes
204 bool "MIPS Octeon PCIe support"
205 depends on ARCH_OCTEON
207 Enable support for the MIPS Octeon SoC family PCIe controllers.
210 bool "Xilinx AXI Bridge for PCI Express"
212 Enable support for the Xilinx AXI bridge for PCI express, an IP block
213 which can be used on some generations of Xilinx FPGAs.
215 config PCIE_LAYERSCAPE
218 config PCIE_LAYERSCAPE_RC
219 bool "Layerscape PCIe Root Complex mode support"
220 select PCIE_LAYERSCAPE
222 Enable Layerscape PCIe Root Complex mode driver support. The Layerscape
223 SoC may have one or several PCIe controllers. Each controller can be
224 configured to Root Complex mode by clearing the corresponding bit of
227 config PCI_IOMMU_EXTRA_MAPPINGS
228 bool "Support for specifying extra IOMMU mappings for PCI"
229 depends on PCIE_LAYERSCAPE_RC
231 Enable support for specifying extra IOMMU mappings for PCI
232 controllers through a special env var called "pci_iommu_extra" or
233 through a device tree property named "pci-iommu-extra" placed in
234 the node describing the PCI controller.
235 The intent is to cover SR-IOV scenarios which need mappings for VFs
236 and PCI hot-plug scenarios. More documentation can be found under:
237 arch/arm/cpu/armv8/fsl-layerscape/doc/README.pci_iommu_extra
239 config PCIE_LAYERSCAPE_EP
240 bool "Layerscape PCIe Endpoint mode support"
241 select PCIE_LAYERSCAPE
244 Enable Layerscape PCIe Endpoint mode driver support. The Layerscape
245 SoC may have one or several PCIe controllers. Each controller can be
246 configured to Endpoint mode by setting the corresponding bit of
249 config PCIE_LAYERSCAPE_GEN4
250 bool "Layerscape Gen4 PCIe support"
252 Support PCIe Gen4 on NXP Layerscape SoCs, which may have one or
253 several PCIe controllers. The PCIe controller can work in RC or
254 EP mode according to RCW[HOST_AGT_PEX] setting.
256 config FSL_PCIE_COMPAT
257 string "PCIe compatible of Kernel DT"
258 depends on PCIE_LAYERSCAPE_RC || PCIE_LAYERSCAPE_GEN4
259 default "fsl,ls1012a-pcie" if ARCH_LS1012A
260 default "fsl,ls1028a-pcie" if ARCH_LS1028A
261 default "fsl,ls1043a-pcie" if ARCH_LS1043A
262 default "fsl,ls1046a-pcie" if ARCH_LS1046A
263 default "fsl,ls2080a-pcie" if ARCH_LS2080A
264 default "fsl,ls1088a-pcie" if ARCH_LS1088A
265 default "fsl,ls2088a-pcie" if ARCH_LX2160A || ARCH_LX2162A
266 default "fsl,ls1021a-pcie" if ARCH_LS1021A
268 This compatible is used to find pci controller node in Kernel DT
271 config FSL_PCIE_EP_COMPAT
272 string "PCIe EP compatible of Kernel DT"
273 depends on PCIE_LAYERSCAPE_RC || PCIE_LAYERSCAPE_GEN4
274 default "fsl,ls-pcie-ep"
276 This compatible is used to find pci controller ep node in Kernel DT
280 bool "i.MX PCIe support"
283 config PCIE_INTEL_FPGA
284 bool "Intel FPGA PCIe support"
286 Say Y here if you want to enable PCIe controller support on Intel
287 FPGA, example Stratix 10.
290 bool "Iproc PCIe support"
292 Broadcom iProc PCIe controller driver.
293 Say Y here if you want to enable Broadcom iProc PCIe controller,
296 bool "Enable Kirkwood / Armada 370/XP/375/38x PCIe driver"
297 depends on (ARCH_KIRKWOOD || ARCH_MVEBU)
301 Say Y here if you want to enable PCIe controller support on
302 Kirkwood and Armada 370/XP/375/38x SoCs.
304 config PCIE_DW_COMMON
308 bool "TI Keystone PCIe controller"
309 select PCIE_DW_COMMON
311 Say Y here if you want to enable PCI controller support on AM654 SoC.
314 bool "MediaTek PCIe Gen2 controller"
315 depends on ARCH_MEDIATEK
317 Say Y here if you want to enable Gen2 PCIe controller,
318 which could be found on MT7623 SoC family.
321 bool "Amlogic Meson DesignWare based PCIe controller"
322 depends on ARCH_MESON
323 select PCIE_DW_COMMON
325 Say Y here if you want to enable DW PCIe controller support on
329 bool "Enable Rockchip PCIe driver"
330 depends on ARCH_ROCKCHIP
331 select PHY_ROCKCHIP_PCIE
332 default y if ROCKCHIP_RK3399
334 Say Y here if you want to enable PCIe controller support on
337 config PCIE_DW_ROCKCHIP
338 bool "Rockchip DesignWare based PCIe controller"
339 depends on ARCH_ROCKCHIP
340 select PCIE_DW_COMMON
341 select PHY_ROCKCHIP_SNPS_PCIE3
343 Say Y here if you want to enable DW PCIe controller support on
347 bool "Broadcom STB PCIe controller"
348 depends on ARCH_BCM283X
350 Say Y here if you want to enable support for PCIe controller
351 on Broadcom set-top-box (STB) SoCs.
352 This driver currently supports only BCM2711 SoC and RC mode
356 bool "Socionext UniPhier PCIe driver"
357 depends on ARCH_UNIPHIER
358 select PHY_UNIPHIER_PCIE
360 Say Y here if you want to enable PCIe controller support on