5 Enable support for PCI (Peripheral Interconnect Bus), a type of bus
6 used on some devices to allow the CPU to communicate with its
12 bool "Enable driver model for PCI"
15 Use driver model for PCI. Driver model is the new method for
16 orgnising devices in U-Boot. For PCI, driver model keeps track of
17 available PCI devices, allows scanning of PCI buses and provides
18 device configuration support.
21 bool "Enable compatible functions for PCI"
24 Enable compatibility functions for PCI so that old code can be used
25 with CONFIG_DM_PCI enabled. This should be used as an interim
26 measure when porting a board to use driver model for PCI. Once the
27 board is fully supported, this option should be disabled.
30 bool "Enable Aardvark PCIe driver"
34 depends on ARMADA_3700
36 Say Y here if you want to enable PCIe controller support on
37 Armada37x0 SoCs. The PCIe controller on Armada37x0 is based on
41 bool "Enable Plug & Play support for PCI"
42 depends on PCI || DM_PCI
45 Enable PCI memory and I/O space resource allocation and assignment.
47 config PCI_REGION_MULTI_ENTRY
48 bool "Enable Multiple entries of region type MEMORY in ranges for PCI"
49 depends on PCI || DM_PCI
52 Enable PCI memory regions to be of multiple entry. Multiple entry
53 here refers to allow more than one count of address ranges for MEMORY
54 region type. This helps to add support for SoC's like OcteonTX/TX2
55 where every peripheral is on the PCI bus.
57 config PCI_MAP_SYSTEM_MEMORY
58 bool "Map local system memory from a virtual base address"
59 depends on PCI || DM_PCI
63 Say Y if base address of system memory is being used as a virtual address
64 instead of a physical address (e.g. on MIPS). The PCI core will then remap
65 the virtual memory base address to a physical address when adding the PCI
66 region of type PCI_REGION_SYS_MEMORY.
67 This should only be required on MIPS where CONFIG_SYS_SDRAM_BASE is still
68 being used as virtual address.
71 bool "Enable Single Root I/O Virtualization support for PCI"
72 depends on PCI || DM_PCI
75 Say Y here if you want to enable PCI Single Root I/O Virtualization
76 capability support. This helps to enumerate Virtual Function devices
77 if available on a PCI Physical Function device and probe for
81 bool "Enable Alternate Routing-ID support for PCI"
82 depends on PCI || DM_PCI
85 Say Y here if you want to enable Alternate Routing-ID capability
86 support on PCI devices. This helps to skip some devices in BDF
87 scan that are not present.
89 config PCIE_ECAM_GENERIC
90 bool "Generic ECAM-based PCI host controller support"
94 Say Y here if you want to enable support for generic ECAM-based
95 PCIe host controllers, such as the one emulated by QEMU.
97 config PCIE_ECAM_SYNQUACER
98 bool "SynQuacer ECAM-based PCI host controller support"
102 select PCI_REGION_MULTI_ENTRY
104 Say Y here if you want to enable support for Socionext
105 SynQuacer SoC's ECAM-based PCIe host controllers.
106 Note that this must be configured when boot because Linux driver
107 expects the PCIe RC has been configured in the bootloader.
110 bool "Phytium PCIe support"
113 Say Y here if you want to enable PCIe controller support on
117 bool "Enable Armada-8K PCIe driver (DesignWare core)"
121 Say Y here if you want to enable PCIe controller support on
122 Armada-8K SoCs. The PCIe controller on Armada-8K is based on
125 config PCIE_DW_SIFIVE
126 bool "Enable SiFive FU740 PCIe"
127 depends on CLK_SIFIVE_PRCI
128 depends on RESET_SIFIVE
129 depends on SIFIVE_GPIO
130 select PCIE_DW_COMMON
132 Say Y here if you want to enable PCIe controller support on
136 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"
147 Say Y here if you want to enable PCI controller support on FSL
151 bool "Renesas RCar Gen2 PCIe driver"
155 Say Y here if you want to enable PCIe controller support on
156 Renesas RCar Gen2 SoCs. The PCIe controller on RCar Gen2 is
157 also used to access EHCI USB controller on the SoC.
160 bool "Renesas RCar Gen3 PCIe driver"
164 Say Y here if you want to enable PCIe controller support on
165 Renesas RCar Gen3 SoCs.
168 bool "Sandbox PCI support"
169 depends on SANDBOX && DM_PCI
171 Support PCI on sandbox, as an emulated bus. This permits testing of
172 PCI feature such as bus scanning, device configuration and device
173 access. The available (emulated) devices are defined statically in
174 the device tree but the normal PCI scan technique is used to find
178 bool "Tegra PCI support"
179 depends on ARCH_TEGRA
180 depends on (TEGRA186 && POWER_DOMAIN) || (!TEGRA186)
182 Enable support for the PCIe controller found on some generations of
183 Tegra. Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has
184 3 root ports with a total of 6 lanes and Tegra124 has 2 root ports
185 with a total of 5 lanes. Some boards require this for Ethernet
186 support to work (e.g. beaver, jetson-tk1).
189 bool "OcteonTX PCI support"
190 depends on (ARCH_OCTEONTX || ARCH_OCTEONTX2)
192 Enable support for the OcteonTX/TX2 SoC family ECAM/PEM controllers.
193 These controllers provide PCI configuration access to all on-board
194 peripherals so it should only be disabled for testing purposes
197 bool "MIPS Octeon PCIe support"
198 depends on ARCH_OCTEON
200 Enable support for the MIPS Octeon SoC family PCIe controllers.
203 bool "Xilinx AXI Bridge for PCI Express"
206 Enable support for the Xilinx AXI bridge for PCI express, an IP block
207 which can be used on some generations of Xilinx FPGAs.
209 config PCIE_LAYERSCAPE
213 config PCIE_LAYERSCAPE_RC
214 bool "Layerscape PCIe Root Complex mode support"
216 select PCIE_LAYERSCAPE
218 Enable Layerscape PCIe Root Complex mode driver support. The Layerscape
219 SoC may have one or several PCIe controllers. Each controller can be
220 configured to Root Complex mode by clearing the corresponding bit of
223 config PCI_IOMMU_EXTRA_MAPPINGS
224 bool "Support for specifying extra IOMMU mappings for PCI"
225 depends on PCIE_LAYERSCAPE_RC
227 Enable support for specifying extra IOMMU mappings for PCI
228 controllers through a special env var called "pci_iommu_extra" or
229 through a device tree property named "pci-iommu-extra" placed in
230 the node describing the PCI controller.
231 The intent is to cover SR-IOV scenarios which need mappings for VFs
232 and PCI hot-plug scenarios. More documentation can be found under:
233 arch/arm/cpu/armv8/fsl-layerscape/doc/README.pci_iommu_extra
235 config PCIE_LAYERSCAPE_EP
236 bool "Layerscape PCIe Endpoint mode support"
238 select PCIE_LAYERSCAPE
241 Enable Layerscape PCIe Endpoint mode driver support. The Layerscape
242 SoC may have one or several PCIe controllers. Each controller can be
243 configured to Endpoint mode by setting the corresponding bit of
246 config PCIE_LAYERSCAPE_GEN4
247 bool "Layerscape Gen4 PCIe support"
250 Support PCIe Gen4 on NXP Layerscape SoCs, which may have one or
251 several PCIe controllers. The PCIe controller can work in RC or
252 EP mode according to RCW[HOST_AGT_PEX] setting.
254 config FSL_PCIE_COMPAT
255 string "PCIe compatible of Kernel DT"
256 depends on PCIE_LAYERSCAPE_RC || PCIE_LAYERSCAPE_GEN4
257 default "fsl,ls1012a-pcie" if ARCH_LS1012A
258 default "fsl,ls1028a-pcie" if ARCH_LS1028A
259 default "fsl,ls1043a-pcie" if ARCH_LS1043A
260 default "fsl,ls1046a-pcie" if ARCH_LS1046A
261 default "fsl,ls2080a-pcie" if ARCH_LS2080A
262 default "fsl,ls1088a-pcie" if ARCH_LS1088A
263 default "fsl,lx2160a-pcie" if ARCH_LX2160A
264 default "fsl,ls2088a-pcie" if ARCH_LX2162A
265 default "fsl,ls1021a-pcie" if ARCH_LS1021A
267 This compatible is used to find pci controller node in Kernel DT
270 config FSL_PCIE_EP_COMPAT
271 string "PCIe EP compatible of Kernel DT"
272 depends on PCIE_LAYERSCAPE_RC || PCIE_LAYERSCAPE_GEN4
273 default "fsl,lx2160a-pcie-ep" if ARCH_LX2160A
274 default "fsl,ls-pcie-ep"
276 This compatible is used to find pci controller ep node in Kernel DT
279 config PCIE_INTEL_FPGA
280 bool "Intel FPGA PCIe support"
283 Say Y here if you want to enable PCIe controller support on Intel
284 FPGA, example Stratix 10.
287 bool "Iproc PCIe support"
290 Broadcom iProc PCIe controller driver.
291 Say Y here if you want to enable Broadcom iProc PCIe controller,
294 bool "Enable Armada XP/38x PCIe driver"
295 depends on ARCH_MVEBU
299 Say Y here if you want to enable PCIe controller support on
302 config PCIE_DW_COMMON
307 bool "TI Keystone PCIe controller"
308 select PCIE_DW_COMMON
310 Say Y here if you want to enable PCI controller support on AM654 SoC.
313 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
332 select PHY_ROCKCHIP_PCIE
333 default y if ROCKCHIP_RK3399
335 Say Y here if you want to enable PCIe controller support on
338 config PCIE_DW_ROCKCHIP
339 bool "Rockchip DesignWare based PCIe controller"
340 depends on ARCH_ROCKCHIP
341 select PCIE_DW_COMMON
342 select PHY_ROCKCHIP_SNPS_PCIE3
344 Say Y here if you want to enable DW PCIe controller support on
348 bool "Broadcom STB PCIe controller"
350 depends on ARCH_BCM283X
352 Say Y here if you want to enable support for PCIe controller
353 on Broadcom set-top-box (STB) SoCs.
354 This driver currently supports only BCM2711 SoC and RC mode
358 bool "Socionext UniPhier PCIe driver"
360 depends on ARCH_UNIPHIER
361 select PHY_UNIPHIER_PCIE
363 Say Y here if you want to enable PCIe controller support on