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 "Phytium PCIe support"
143 Say Y here if you want to enable PCIe controller support on
147 bool "Enable Armada-8K PCIe driver (DesignWare core)"
150 Say Y here if you want to enable PCIe controller support on
151 Armada-8K SoCs. The PCIe controller on Armada-8K is based on
154 config PCIE_DW_SIFIVE
155 bool "Enable SiFive FU740 PCIe"
156 depends on CLK_SIFIVE_PRCI
157 depends on RESET_SIFIVE
158 depends on SIFIVE_GPIO
159 select PCIE_DW_COMMON
161 Say Y here if you want to enable PCIe controller support on
164 config SYS_FSL_PCI_VER_3_X
168 bool "FSL PowerPC PCIe support"
169 select SYS_FSL_PCI_VER_3_X if ARCH_T2080 || ARCH_T4240
171 Say Y here if you want to enable PCIe controller support on FSL
172 PowerPC MPC85xx, MPC86xx, B series, P series and T series SoCs.
173 This driver does not support SRIO_PCIE_BOOT feature.
176 bool "MPC85XX PowerPC PCI support"
178 Say Y here if you want to enable PCI controller support on FSL
182 bool "MSC01 PCI support"
183 depends on TARGET_MALTA
186 bool "Renesas RCar Gen2 PCIe driver"
189 Say Y here if you want to enable PCIe controller support on
190 Renesas RCar Gen2 SoCs. The PCIe controller on RCar Gen2 is
191 also used to access EHCI USB controller on the SoC.
194 bool "Renesas RCar Gen3 PCIe driver"
197 Say Y here if you want to enable PCIe controller support on
198 Renesas RCar Gen3 SoCs.
201 bool "Sandbox PCI support"
204 Support PCI on sandbox, as an emulated bus. This permits testing of
205 PCI feature such as bus scanning, device configuration and device
206 access. The available (emulated) devices are defined statically in
207 the device tree but the normal PCI scan technique is used to find
211 bool "SH7751 PCI controller support"
214 SuperH PCI Bridge Configuration
217 bool "Tegra PCI support"
218 depends on ARCH_TEGRA
219 depends on (TEGRA186 && POWER_DOMAIN) || (!TEGRA186)
221 Enable support for the PCIe controller found on some generations of
222 Tegra. Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has
223 3 root ports with a total of 6 lanes and Tegra124 has 2 root ports
224 with a total of 5 lanes. Some boards require this for Ethernet
225 support to work (e.g. beaver, jetson-tk1).
228 bool "OcteonTX PCI support"
229 depends on (ARCH_OCTEONTX || ARCH_OCTEONTX2)
231 Enable support for the OcteonTX/TX2 SoC family ECAM/PEM controllers.
232 These controllers provide PCI configuration access to all on-board
233 peripherals so it should only be disabled for testing purposes
236 bool "MIPS Octeon PCIe support"
237 depends on ARCH_OCTEON
239 Enable support for the MIPS Octeon SoC family PCIe controllers.
242 bool "Xilinx AXI Bridge for PCI Express"
244 Enable support for the Xilinx AXI bridge for PCI express, an IP block
245 which can be used on some generations of Xilinx FPGAs.
247 config PCIE_LAYERSCAPE
250 config PCIE_LAYERSCAPE_RC
251 bool "Layerscape PCIe Root Complex mode support"
252 select PCIE_LAYERSCAPE
254 Enable Layerscape PCIe Root Complex mode driver support. The Layerscape
255 SoC may have one or several PCIe controllers. Each controller can be
256 configured to Root Complex mode by clearing the corresponding bit of
259 config PCI_IOMMU_EXTRA_MAPPINGS
260 bool "Support for specifying extra IOMMU mappings for PCI"
261 depends on PCIE_LAYERSCAPE_RC
263 Enable support for specifying extra IOMMU mappings for PCI
264 controllers through a special env var called "pci_iommu_extra" or
265 through a device tree property named "pci-iommu-extra" placed in
266 the node describing the PCI controller.
267 The intent is to cover SR-IOV scenarios which need mappings for VFs
268 and PCI hot-plug scenarios. More documentation can be found under:
269 arch/arm/cpu/armv8/fsl-layerscape/doc/README.pci_iommu_extra
271 config PCIE_LAYERSCAPE_EP
272 bool "Layerscape PCIe Endpoint mode support"
273 select PCIE_LAYERSCAPE
276 Enable Layerscape PCIe Endpoint mode driver support. The Layerscape
277 SoC may have one or several PCIe controllers. Each controller can be
278 configured to Endpoint mode by setting the corresponding bit of
281 config PCIE_LAYERSCAPE_GEN4
282 bool "Layerscape Gen4 PCIe support"
284 Support PCIe Gen4 on NXP Layerscape SoCs, which may have one or
285 several PCIe controllers. The PCIe controller can work in RC or
286 EP mode according to RCW[HOST_AGT_PEX] setting.
288 config FSL_PCIE_COMPAT
289 string "PCIe compatible of Kernel DT"
290 depends on PCIE_LAYERSCAPE_RC || PCIE_LAYERSCAPE_GEN4
291 default "fsl,ls1012a-pcie" if ARCH_LS1012A
292 default "fsl,ls1028a-pcie" if ARCH_LS1028A
293 default "fsl,ls1043a-pcie" if ARCH_LS1043A
294 default "fsl,ls1046a-pcie" if ARCH_LS1046A
295 default "fsl,ls2080a-pcie" if ARCH_LS2080A
296 default "fsl,ls1088a-pcie" if ARCH_LS1088A
297 default "fsl,ls2088a-pcie" if ARCH_LX2160A || ARCH_LX2162A
298 default "fsl,ls1021a-pcie" if ARCH_LS1021A
300 This compatible is used to find pci controller node in Kernel DT
303 config FSL_PCIE_EP_COMPAT
304 string "PCIe EP compatible of Kernel DT"
305 depends on PCIE_LAYERSCAPE_RC || PCIE_LAYERSCAPE_GEN4
306 default "fsl,ls-pcie-ep"
308 This compatible is used to find pci controller ep node in Kernel DT
312 bool "i.MX PCIe support"
315 config PCIE_INTEL_FPGA
316 bool "Intel FPGA PCIe support"
318 Say Y here if you want to enable PCIe controller support on Intel
319 FPGA, example Stratix 10.
322 bool "Iproc PCIe support"
324 Broadcom iProc PCIe controller driver.
325 Say Y here if you want to enable Broadcom iProc PCIe controller,
328 bool "Enable Kirkwood / Armada 370/XP/375/38x PCIe driver"
329 depends on (ARCH_KIRKWOOD || ARCH_MVEBU)
334 Say Y here if you want to enable PCIe controller support on
335 Kirkwood and Armada 370/XP/375/38x SoCs.
337 config PCIE_DW_COMMON
341 bool "TI Keystone PCIe controller"
342 select PCIE_DW_COMMON
344 Say Y here if you want to enable PCI controller support on AM654 SoC.
347 bool "MediaTek PCIe Gen2 controller"
348 depends on ARCH_MEDIATEK
350 Say Y here if you want to enable Gen2 PCIe controller,
351 which could be found on MT7623 SoC family.
353 config PCIE_MEDIATEK_GEN3
354 bool "MediaTek PCIe Gen3 controller"
355 depends on ARCH_MEDIATEK
357 Say Y here if you want to enable Gen3 PCIe controller,
358 which could be found on the Mediatek Filogic SoC family.
361 bool "Amlogic Meson DesignWare based PCIe controller"
362 depends on ARCH_MESON
363 select PCIE_DW_COMMON
365 Say Y here if you want to enable DW PCIe controller support on
369 bool "Enable Rockchip PCIe driver"
370 depends on ARCH_ROCKCHIP
371 select PHY_ROCKCHIP_PCIE
372 default y if ROCKCHIP_RK3399
374 Say Y here if you want to enable PCIe controller support on
377 config PCIE_DW_ROCKCHIP
378 bool "Rockchip DesignWare based PCIe controller"
379 depends on ARCH_ROCKCHIP
380 select PCIE_DW_COMMON
381 select PHY_ROCKCHIP_SNPS_PCIE3
383 Say Y here if you want to enable DW PCIe controller support on
387 bool "Broadcom STB PCIe controller"
388 depends on ARCH_BCM283X
390 Say Y here if you want to enable support for PCIe controller
391 on Broadcom set-top-box (STB) SoCs.
392 This driver currently supports only BCM2711 SoC and RC mode
396 bool "Socionext UniPhier PCIe driver"
397 depends on ARCH_UNIPHIER
398 select PHY_UNIPHIER_PCIE
400 Say Y here if you want to enable PCIe controller support on
403 config PCIE_XILINX_NWL
404 bool "Xilinx NWL PCIe controller"
405 depends on ARCH_ZYNQMP
407 Say 'Y' here if you want support for Xilinx / AMD NWL PCIe
408 controller as Root Port.
410 config PCIE_PLDA_COMMON
413 config PCIE_STARFIVE_JH7110
414 bool "Enable Starfive JH7110 PCIe driver"
415 select PCIE_PLDA_COMMON
416 imply STARFIVE_JH7110
420 Say Y here if you want to enable PLDA XpressRich PCIe controller
421 support on StarFive JH7110 SoC.
424 bool "i.MX DW PCIe controller support"
425 depends on ARCH_IMX8M
426 select PCIE_DW_COMMON
431 Say Y here if you want to enable DW PCIe controller support on