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.
44 bool "Enable Plug & Play support for PCI in SPL"
47 Enable PCI memory and I/O space resource allocation and assignment.
49 This is required to auto configure the enumerated devices.
51 This is normally not done in SPL, but can be enabled if devices must
52 be set up in the SPL phase. Often it is enough to manually configure
53 one device, so this option can be disabled.
55 config PCI_REGION_MULTI_ENTRY
56 bool "Enable Multiple entries of region type MEMORY in ranges for PCI"
58 Enable PCI memory regions to be of multiple entry. Multiple entry
59 here refers to allow more than one count of address ranges for MEMORY
60 region type. This helps to add support for SoC's like OcteonTX/TX2
61 where every peripheral is on the PCI bus.
63 config PCI_CONFIG_HOST_BRIDGE
64 bool "Configure PCI host bridges"
67 config PCI_MAP_SYSTEM_MEMORY
68 bool "Map local system memory from a virtual base address"
71 Say Y if base address of system memory is being used as a virtual address
72 instead of a physical address (e.g. on MIPS). The PCI core will then remap
73 the virtual memory base address to a physical address when adding the PCI
74 region of type PCI_REGION_SYS_MEMORY.
75 This should only be required on MIPS where CFG_SYS_SDRAM_BASE is still
76 being used as virtual address.
79 bool "Enable Single Root I/O Virtualization support for PCI"
81 Say Y here if you want to enable PCI Single Root I/O Virtualization
82 capability support. This helps to enumerate Virtual Function devices
83 if available on a PCI Physical Function device and probe for
86 config PCI_ENHANCED_ALLOCATION
87 bool "Enable support for Enhanced Allocation of resources"
90 Enable support for Enhanced Allocation which can be used by supported
91 devices in place of traditional BARS for allocation of resources.
94 bool "Enable Alternate Routing-ID support for PCI"
96 Say Y here if you want to enable Alternate Routing-ID capability
97 support on PCI devices. This helps to skip some devices in BDF
98 scan that are not present.
101 bool "Show PCI devices during startup"
104 config PCIE_ECAM_GENERIC
105 bool "Generic ECAM-based PCI host controller support"
107 Say Y here if you want to enable support for generic ECAM-based
108 PCIe host controllers, such as the one emulated by QEMU.
110 config PCIE_ECAM_SYNQUACER
111 bool "SynQuacer ECAM-based PCI host controller support"
113 select PCI_REGION_MULTI_ENTRY
115 Say Y here if you want to enable support for Socionext
116 SynQuacer SoC's ECAM-based PCIe host controllers.
117 Note that this must be configured when boot because Linux driver
118 expects the PCIe RC has been configured in the bootloader.
121 bool "Enable Apple PCIe driver"
122 depends on ARCH_APPLE
127 Say Y here if you want to enable PCIe controller support on
131 bool "Enable Faraday FTPCI100 PCI Bridge Controller driver"
133 Say Y here if you want to enable Faraday FTPCI100 PCI.
134 FTPCI100 IP is used in SoC chip designs.
137 bool "GT64120 PCI support"
141 bool "TI K3 PCIe support"
143 Say Y here to enable support for the Cadence PCIe Controller
147 bool "Phytium PCIe support"
149 Say Y here if you want to enable PCIe controller support on
153 bool "Enable Armada-8K PCIe driver (DesignWare core)"
156 Say Y here if you want to enable PCIe controller support on
157 Armada-8K SoCs. The PCIe controller on Armada-8K is based on
160 config PCIE_DW_SIFIVE
161 bool "Enable SiFive FU740 PCIe"
162 depends on CLK_SIFIVE_PRCI
163 depends on RESET_SIFIVE
164 depends on SIFIVE_GPIO
165 select PCIE_DW_COMMON
167 Say Y here if you want to enable PCIe controller support on
170 config SYS_FSL_PCI_VER_3_X
174 bool "FSL PowerPC PCIe support"
175 select SYS_FSL_PCI_VER_3_X if ARCH_T2080 || ARCH_T4240
177 Say Y here if you want to enable PCIe controller support on FSL
178 PowerPC MPC85xx, MPC86xx, B series, P series and T series SoCs.
179 This driver does not support SRIO_PCIE_BOOT feature.
182 bool "MPC85XX PowerPC PCI support"
184 Say Y here if you want to enable PCI controller support on FSL
188 bool "MSC01 PCI support"
189 depends on TARGET_MALTA
192 bool "Renesas R-Car Gen2 PCIe driver"
195 Say Y here if you want to enable PCIe controller support on
196 Renesas R-Car Gen2 SoCs. The PCIe controller on R-Car Gen2 is
197 also used to access EHCI USB controller on the SoC.
200 bool "Renesas R-Car Gen3 PCIe driver"
203 Say Y here if you want to enable PCIe controller support on
204 Renesas R-Car Gen3 SoCs.
207 bool "Sandbox PCI support"
210 Support PCI on sandbox, as an emulated bus. This permits testing of
211 PCI feature such as bus scanning, device configuration and device
212 access. The available (emulated) devices are defined statically in
213 the device tree but the normal PCI scan technique is used to find
217 bool "SH7751 PCI controller support"
220 SuperH PCI Bridge Configuration
223 bool "Tegra PCI support"
224 depends on ARCH_TEGRA
225 depends on (TEGRA186 && POWER_DOMAIN) || (!TEGRA186)
227 Enable support for the PCIe controller found on some generations of
228 Tegra. Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has
229 3 root ports with a total of 6 lanes and Tegra124 has 2 root ports
230 with a total of 5 lanes. Some boards require this for Ethernet
231 support to work (e.g. beaver, jetson-tk1).
234 bool "OcteonTX PCI support"
235 depends on (ARCH_OCTEONTX || ARCH_OCTEONTX2)
237 Enable support for the OcteonTX/TX2 SoC family ECAM/PEM controllers.
238 These controllers provide PCI configuration access to all on-board
239 peripherals so it should only be disabled for testing purposes
242 bool "MIPS Octeon PCIe support"
243 depends on ARCH_OCTEON
245 Enable support for the MIPS Octeon SoC family PCIe controllers.
248 bool "Xilinx AXI Bridge for PCI Express"
250 Enable support for the Xilinx AXI bridge for PCI express, an IP block
251 which can be used on some generations of Xilinx FPGAs.
253 config PCIE_LAYERSCAPE
256 config PCIE_LAYERSCAPE_RC
257 bool "Layerscape PCIe Root Complex mode support"
258 select PCIE_LAYERSCAPE
260 Enable Layerscape PCIe Root Complex mode driver support. The Layerscape
261 SoC may have one or several PCIe controllers. Each controller can be
262 configured to Root Complex mode by clearing the corresponding bit of
265 config PCI_IOMMU_EXTRA_MAPPINGS
266 bool "Support for specifying extra IOMMU mappings for PCI"
267 depends on PCIE_LAYERSCAPE_RC
269 Enable support for specifying extra IOMMU mappings for PCI
270 controllers through a special env var called "pci_iommu_extra" or
271 through a device tree property named "pci-iommu-extra" placed in
272 the node describing the PCI controller.
273 The intent is to cover SR-IOV scenarios which need mappings for VFs
274 and PCI hot-plug scenarios. More documentation can be found under:
275 arch/arm/cpu/armv8/fsl-layerscape/doc/README.pci_iommu_extra
277 config PCIE_LAYERSCAPE_EP
278 bool "Layerscape PCIe Endpoint mode support"
279 select PCIE_LAYERSCAPE
282 Enable Layerscape PCIe Endpoint mode driver support. The Layerscape
283 SoC may have one or several PCIe controllers. Each controller can be
284 configured to Endpoint mode by setting the corresponding bit of
287 config PCIE_LAYERSCAPE_GEN4
288 bool "Layerscape Gen4 PCIe support"
290 Support PCIe Gen4 on NXP Layerscape SoCs, which may have one or
291 several PCIe controllers. The PCIe controller can work in RC or
292 EP mode according to RCW[HOST_AGT_PEX] setting.
294 config FSL_PCIE_COMPAT
295 string "PCIe compatible of Kernel DT"
296 depends on PCIE_LAYERSCAPE_RC || PCIE_LAYERSCAPE_GEN4
297 default "fsl,ls1012a-pcie" if ARCH_LS1012A
298 default "fsl,ls1028a-pcie" if ARCH_LS1028A
299 default "fsl,ls1043a-pcie" if ARCH_LS1043A
300 default "fsl,ls1046a-pcie" if ARCH_LS1046A
301 default "fsl,ls2080a-pcie" if ARCH_LS2080A
302 default "fsl,ls1088a-pcie" if ARCH_LS1088A
303 default "fsl,ls2088a-pcie" if ARCH_LX2160A || ARCH_LX2162A
304 default "fsl,ls1021a-pcie" if ARCH_LS1021A
306 This compatible is used to find pci controller node in Kernel DT
309 config FSL_PCIE_EP_COMPAT
310 string "PCIe EP compatible of Kernel DT"
311 depends on PCIE_LAYERSCAPE_RC || PCIE_LAYERSCAPE_GEN4
312 default "fsl,ls-pcie-ep"
314 This compatible is used to find pci controller ep node in Kernel DT
318 bool "i.MX PCIe support"
321 config PCIE_INTEL_FPGA
322 bool "Intel FPGA PCIe support"
324 Say Y here if you want to enable PCIe controller support on Intel
325 FPGA, example Stratix 10.
328 bool "Iproc PCIe support"
330 Broadcom iProc PCIe controller driver.
331 Say Y here if you want to enable Broadcom iProc PCIe controller,
334 bool "Enable Kirkwood / Armada 370/XP/375/38x PCIe driver"
335 depends on (ARCH_KIRKWOOD || ARCH_MVEBU)
340 Say Y here if you want to enable PCIe controller support on
341 Kirkwood and Armada 370/XP/375/38x SoCs.
343 config PCIE_DW_COMMON
347 bool "TI Keystone PCIe controller"
348 select PCIE_DW_COMMON
350 Say Y here if you want to enable PCI controller support on AM654 SoC.
353 bool "MediaTek PCIe Gen2 controller"
354 depends on ARCH_MEDIATEK
356 Say Y here if you want to enable Gen2 PCIe controller,
357 which could be found on MT7623 SoC family.
359 config PCIE_MEDIATEK_GEN3
360 bool "MediaTek PCIe Gen3 controller"
361 depends on ARCH_MEDIATEK
363 Say Y here if you want to enable Gen3 PCIe controller,
364 which could be found on the Mediatek Filogic SoC family.
367 bool "Amlogic Meson DesignWare based PCIe controller"
368 depends on ARCH_MESON
369 select PCIE_DW_COMMON
371 Say Y here if you want to enable DW PCIe controller support on
375 bool "Qualcomm DesignWare based PCIe controller"
376 depends on ARCH_SNAPDRAGON
377 select PCIE_DW_COMMON
379 Say Y here if you want to enable DW PCIe controller support on
383 bool "Enable Rockchip PCIe driver"
384 depends on ARCH_ROCKCHIP
385 select PHY_ROCKCHIP_PCIE
386 default y if ROCKCHIP_RK3399
388 Say Y here if you want to enable PCIe controller support on
391 config PCIE_DW_ROCKCHIP
392 bool "Rockchip DesignWare based PCIe controller"
393 depends on ARCH_ROCKCHIP
394 select PCIE_DW_COMMON
395 select PHY_ROCKCHIP_SNPS_PCIE3
397 Say Y here if you want to enable DW PCIe controller support on
401 bool "Broadcom STB PCIe controller"
402 depends on ARCH_BCM283X
404 Say Y here if you want to enable support for PCIe controller
405 on Broadcom set-top-box (STB) SoCs.
406 This driver currently supports only BCM2711 SoC and RC mode
410 bool "Socionext UniPhier PCIe driver"
411 depends on ARCH_UNIPHIER
412 select PHY_UNIPHIER_PCIE
414 Say Y here if you want to enable PCIe controller support on
417 config PCIE_XILINX_NWL
418 bool "Xilinx NWL PCIe controller"
419 depends on ARCH_ZYNQMP
421 Say 'Y' here if you want support for Xilinx / AMD NWL PCIe
422 controller as Root Port.
424 config PCIE_PLDA_COMMON
427 config PCIE_STARFIVE_JH7110
428 bool "Enable Starfive JH7110 PCIe driver"
429 select PCIE_PLDA_COMMON
430 imply STARFIVE_JH7110
434 Say Y here if you want to enable PLDA XpressRich PCIe controller
435 support on StarFive JH7110 SoC.
438 bool "i.MX DW PCIe controller support"
439 depends on ARCH_IMX8M
440 select PCIE_DW_COMMON
445 Say Y here if you want to enable DW PCIe controller support on