]> Git Repo - J-u-boot.git/blob - drivers/pci/Kconfig
Merge tag 'u-boot-imx-master-20250127' of https://gitlab.denx.de/u-boot/custodians...
[J-u-boot.git] / drivers / pci / Kconfig
1 menuconfig PCI
2         bool "PCI support"
3         depends on DM
4         default y if PPC
5         help
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
8           peripherals.
9
10           This subsystem requires driver model.
11
12 if PCI
13
14 config DM_PCI_COMPAT
15         bool "Enable compatible functions for PCI"
16         help
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.
21
22 config SYS_PCI_64BIT
23         bool "Enable 64-bit PCI resources"
24         default y if PPC
25         help
26           Enable 64-bit PCI resource access.
27
28 config PCI_AARDVARK
29         bool "Enable Aardvark PCIe driver"
30         depends on DM_GPIO
31         depends on ARMADA_3700
32         help
33           Say Y here if you want to enable PCIe controller support on
34           Armada37x0 SoCs. The PCIe controller on Armada37x0 is based on
35           Aardvark hardware.
36
37 config PCI_PNP
38         bool "Enable Plug & Play support for PCI"
39         default y
40         help
41           Enable PCI memory and I/O space resource allocation and assignment.
42
43 config SPL_PCI_PNP
44         bool "Enable Plug & Play support for PCI in SPL"
45         depends on SPL_PCI
46         help
47           Enable PCI memory and I/O space resource allocation and assignment.
48
49           This is required to auto configure the enumerated devices.
50
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.
54
55 config PCI_REGION_MULTI_ENTRY
56         bool "Enable Multiple entries of region type MEMORY in ranges for PCI"
57         help
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.
62
63 config PCI_CONFIG_HOST_BRIDGE
64         bool "Configure PCI host bridges"
65         default y if X86
66
67 config PCI_MAP_SYSTEM_MEMORY
68         bool "Map local system memory from a virtual base address"
69         depends on MIPS
70         help
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.
77
78 config PCI_SRIOV
79         bool "Enable Single Root I/O Virtualization support for PCI"
80         help
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
84           applicable drivers.
85
86 config PCI_ENHANCED_ALLOCATION
87         bool "Enable support for Enhanced Allocation of resources"
88         default y
89         help
90           Enable support for Enhanced Allocation which can be used by supported
91           devices in place of traditional BARS for allocation of resources.
92
93 config PCI_ARID
94         bool "Enable Alternate Routing-ID support for PCI"
95         help
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.
99
100 config PCI_SCAN_SHOW
101         bool "Show PCI devices during startup"
102         depends on PCIE_IMX
103
104 config PCIE_ECAM_GENERIC
105         bool "Generic ECAM-based PCI host controller support"
106         help
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.
109
110 config PCIE_ECAM_SYNQUACER
111         bool "SynQuacer ECAM-based PCI host controller support"
112         select PCI_INIT_R
113         select PCI_REGION_MULTI_ENTRY
114         help
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.
119
120 config PCIE_APPLE
121         bool "Enable Apple PCIe driver"
122         depends on ARCH_APPLE
123         imply PCI_INIT_R
124         select SYS_PCI_64BIT
125         default y
126         help
127           Say Y here if you want to enable PCIe controller support on
128           Apple SoCs.
129
130 config PCI_FTPCI100
131         bool "Enable Faraday FTPCI100 PCI Bridge Controller driver"
132         help
133           Say Y here if you want to enable Faraday FTPCI100 PCI.
134           FTPCI100 IP is used in SoC chip designs.
135
136 config PCI_GT64120
137         bool "GT64120 PCI support"
138         depends on MIPS
139
140 config PCIE_CDNS_TI
141         bool "TI K3 PCIe support"
142         help
143           Say Y here to enable support for the Cadence PCIe Controller
144           on TI's K3 SoCs.
145
146 config PCI_PHYTIUM
147         bool "Phytium PCIe support"
148         help
149           Say Y here if you want to enable PCIe controller support on
150           Phytium SoCs.
151
152 config PCIE_DW_MVEBU
153         bool "Enable Armada-8K PCIe driver (DesignWare core)"
154         depends on ARMADA_8K
155         help
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
158           DesignWare hardware.
159
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
166         help
167           Say Y here if you want to enable PCIe controller support on
168           FU740.
169
170 config SYS_FSL_PCI_VER_3_X
171         bool
172
173 config PCIE_FSL
174         bool "FSL PowerPC PCIe support"
175         select SYS_FSL_PCI_VER_3_X if ARCH_T2080 || ARCH_T4240
176         help
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.
180
181 config PCI_MPC85XX
182         bool "MPC85XX PowerPC PCI support"
183         help
184           Say Y here if you want to enable PCI controller support on FSL
185           PowerPC MPC85xx SoC.
186
187 config PCI_MSC01
188         bool "MSC01 PCI support"
189         depends on TARGET_MALTA
190
191 config PCI_RCAR_GEN2
192         bool "Renesas R-Car Gen2 PCIe driver"
193         depends on RCAR_32
194         help
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.
198
199 config PCI_RCAR_GEN3
200         bool "Renesas R-Car Gen3 PCIe driver"
201         depends on RCAR_GEN3
202         help
203           Say Y here if you want to enable PCIe controller support on
204           Renesas R-Car Gen3 SoCs.
205
206 config PCI_SANDBOX
207         bool "Sandbox PCI support"
208         depends on SANDBOX
209         help
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
214           then.
215
216 config SH7751_PCI
217         bool "SH7751 PCI controller support"
218         depends on SH
219         help
220           SuperH PCI Bridge Configuration
221
222 config PCI_TEGRA
223         bool "Tegra PCI support"
224         depends on ARCH_TEGRA
225         depends on (TEGRA186 && POWER_DOMAIN) || (!TEGRA186)
226         help
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).
232
233 config PCI_OCTEONTX
234         bool "OcteonTX PCI support"
235         depends on (ARCH_OCTEONTX || ARCH_OCTEONTX2)
236         help
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
240
241 config PCIE_OCTEON
242         bool "MIPS Octeon PCIe support"
243         depends on ARCH_OCTEON
244         help
245           Enable support for the MIPS Octeon SoC family PCIe controllers.
246
247 config PCI_XILINX
248         bool "Xilinx AXI Bridge for PCI Express"
249         help
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.
252
253 config PCIE_LAYERSCAPE
254         bool
255
256 config PCIE_LAYERSCAPE_RC
257         bool "Layerscape PCIe Root Complex mode support"
258         select PCIE_LAYERSCAPE
259         help
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
263           RCW[HOST_AGT_PEX].
264
265 config PCI_IOMMU_EXTRA_MAPPINGS
266         bool "Support for specifying extra IOMMU mappings for PCI"
267         depends on PCIE_LAYERSCAPE_RC
268         help
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
276
277 config PCIE_LAYERSCAPE_EP
278         bool "Layerscape PCIe Endpoint mode support"
279         select PCIE_LAYERSCAPE
280         select PCI_ENDPOINT
281         help
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
285           RCW[HOST_AGT_PEX].
286
287 config PCIE_LAYERSCAPE_GEN4
288         bool "Layerscape Gen4 PCIe support"
289         help
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.
293
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
305         help
306           This compatible is used to find pci controller node in Kernel DT
307           to complete fixup.
308
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"
313         help
314           This compatible is used to find pci controller ep node in Kernel DT
315           to complete fixup.
316
317 config PCIE_IMX
318         bool "i.MX PCIe support"
319         depends on ARCH_MX6
320
321 config PCIE_INTEL_FPGA
322         bool "Intel FPGA PCIe support"
323         help
324           Say Y here if you want to enable PCIe controller support on Intel
325           FPGA, example Stratix 10.
326
327 config PCIE_IPROC
328         bool "Iproc PCIe support"
329         help
330           Broadcom iProc PCIe controller driver.
331           Say Y here if you want to enable Broadcom iProc PCIe controller,
332
333 config PCI_MVEBU
334         bool "Enable Kirkwood / Armada 370/XP/375/38x PCIe driver"
335         depends on (ARCH_KIRKWOOD || ARCH_MVEBU)
336         select MISC
337         select DM_RESET
338         select DM_GPIO
339         help
340           Say Y here if you want to enable PCIe controller support on
341           Kirkwood and Armada 370/XP/375/38x SoCs.
342
343 config PCIE_DW_COMMON
344         bool
345
346 config PCI_KEYSTONE
347         bool "TI Keystone PCIe controller"
348         select PCIE_DW_COMMON
349         help
350           Say Y here if you want to enable PCI controller support on AM654 SoC.
351
352 config PCIE_MEDIATEK
353         bool "MediaTek PCIe Gen2 controller"
354         depends on ARCH_MEDIATEK
355         help
356           Say Y here if you want to enable Gen2 PCIe controller,
357           which could be found on MT7623 SoC family.
358
359 config PCIE_MEDIATEK_GEN3
360         bool "MediaTek PCIe Gen3 controller"
361         depends on ARCH_MEDIATEK
362         help
363           Say Y here if you want to enable Gen3 PCIe controller,
364           which could be found on the Mediatek Filogic SoC family.
365
366 config PCIE_DW_MESON
367         bool "Amlogic Meson DesignWare based PCIe controller"
368         depends on ARCH_MESON
369         select PCIE_DW_COMMON
370         help
371           Say Y here if you want to enable DW PCIe controller support on
372           Amlogic SoCs.
373
374 config PCIE_DW_QCOM
375         bool "Qualcomm DesignWare based PCIe controller"
376         depends on ARCH_SNAPDRAGON
377         select PCIE_DW_COMMON
378         help
379           Say Y here if you want to enable DW PCIe controller support on
380           Qualcomm SoCs.
381
382 config PCIE_ROCKCHIP
383         bool "Enable Rockchip PCIe driver"
384         depends on ARCH_ROCKCHIP
385         select PHY_ROCKCHIP_PCIE
386         default y if ROCKCHIP_RK3399
387         help
388           Say Y here if you want to enable PCIe controller support on
389           Rockchip SoCs.
390
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
396         help
397           Say Y here if you want to enable DW PCIe controller support on
398           Rockchip SoCs.
399
400 config PCI_BRCMSTB
401         bool "Broadcom STB PCIe controller"
402         depends on ARCH_BCM283X
403         help
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
407           of the controller.
408
409 config PCIE_UNIPHIER
410         bool "Socionext UniPhier PCIe driver"
411         depends on ARCH_UNIPHIER
412         select PHY_UNIPHIER_PCIE
413         help
414           Say Y here if you want to enable PCIe controller support on
415           UniPhier SoCs.
416
417 config PCIE_XILINX_NWL
418         bool "Xilinx NWL PCIe controller"
419         depends on ARCH_ZYNQMP
420         help
421          Say 'Y' here if you want support for Xilinx / AMD NWL PCIe
422          controller as Root Port.
423
424 config PCIE_PLDA_COMMON
425         bool
426
427 config PCIE_STARFIVE_JH7110
428         bool "Enable Starfive JH7110 PCIe driver"
429         select PCIE_PLDA_COMMON
430         imply STARFIVE_JH7110
431         imply CLK_JH7110
432         imply RESET_JH7110
433         help
434           Say Y here if you want to enable PLDA XpressRich PCIe controller
435           support on StarFive JH7110 SoC.
436
437 config PCIE_DW_IMX
438         bool "i.MX DW PCIe controller support"
439         depends on ARCH_IMX8M
440         select PCIE_DW_COMMON
441         select DM_REGULATOR
442         select REGMAP
443         select SYSCON
444         help
445           Say Y here if you want to enable DW PCIe controller support on
446           iMX SoCs.
447
448 endif
This page took 0.050416 seconds and 4 git commands to generate.