Kconfig 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. menuconfig PCI
  2. bool "PCI support"
  3. default y if PPC
  4. help
  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
  7. peripherals.
  8. if PCI
  9. config DM_PCI
  10. bool "Enable driver model for PCI"
  11. depends on DM
  12. help
  13. Use driver model for PCI. Driver model is the new method for
  14. orgnising devices in U-Boot. For PCI, driver model keeps track of
  15. available PCI devices, allows scanning of PCI buses and provides
  16. device configuration support.
  17. config DM_PCI_COMPAT
  18. bool "Enable compatible functions for PCI"
  19. depends on DM_PCI
  20. help
  21. Enable compatibility functions for PCI so that old code can be used
  22. with CONFIG_DM_PCI enabled. This should be used as an interim
  23. measure when porting a board to use driver model for PCI. Once the
  24. board is fully supported, this option should be disabled.
  25. config PCI_AARDVARK
  26. bool "Enable Aardvark PCIe driver"
  27. default n
  28. depends on DM_PCI
  29. depends on DM_GPIO
  30. depends on ARMADA_3700
  31. help
  32. Say Y here if you want to enable PCIe controller support on
  33. Armada37x0 SoCs. The PCIe controller on Armada37x0 is based on
  34. Aardvark hardware.
  35. config PCI_PNP
  36. bool "Enable Plug & Play support for PCI"
  37. depends on PCI || DM_PCI
  38. default y
  39. help
  40. Enable PCI memory and I/O space resource allocation and assignment.
  41. config PCI_REGION_MULTI_ENTRY
  42. bool "Enable Multiple entries of region type MEMORY in ranges for PCI"
  43. depends on PCI || DM_PCI
  44. default n
  45. help
  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.
  50. config PCI_SRIOV
  51. bool "Enable Single Root I/O Virtualization support for PCI"
  52. depends on PCI || DM_PCI
  53. default n
  54. help
  55. Say Y here if you want to enable PCI Single Root I/O Virtualization
  56. capability support. This helps to enumerate Virtual Function devices
  57. if available on a PCI Physical Function device and probe for
  58. applicable drivers.
  59. config PCI_ARID
  60. bool "Enable Alternate Routing-ID support for PCI"
  61. depends on PCI || DM_PCI
  62. default n
  63. help
  64. Say Y here if you want to enable Alternate Routing-ID capability
  65. support on PCI devices. This helps to skip some devices in BDF
  66. scan that are not present.
  67. config PCIE_ECAM_GENERIC
  68. bool "Generic ECAM-based PCI host controller support"
  69. default n
  70. depends on DM_PCI
  71. help
  72. Say Y here if you want to enable support for generic ECAM-based
  73. PCIe host controllers, such as the one emulated by QEMU.
  74. config PCI_PHYTIUM
  75. bool "Phytium PCIe support"
  76. depends on DM_PCI
  77. help
  78. Say Y here if you want to enable PCIe controller support on
  79. Phytium SoCs.
  80. config PCIE_DW_MVEBU
  81. bool "Enable Armada-8K PCIe driver (DesignWare core)"
  82. depends on DM_PCI
  83. depends on ARMADA_8K
  84. help
  85. Say Y here if you want to enable PCIe controller support on
  86. Armada-8K SoCs. The PCIe controller on Armada-8K is based on
  87. DesignWare hardware.
  88. config PCIE_FSL
  89. bool "FSL PowerPC PCIe support"
  90. depends on DM_PCI
  91. help
  92. Say Y here if you want to enable PCIe controller support on FSL
  93. PowerPC MPC85xx, MPC86xx, B series, P series and T series SoCs.
  94. This driver does not support SRIO_PCIE_BOOT feature.
  95. config PCI_MPC85XX
  96. bool "MPC85XX PowerPC PCI support"
  97. depends on DM_PCI
  98. help
  99. Say Y here if you want to enable PCI controller support on FSL
  100. PowerPC MPC85xx SoC.
  101. config PCI_RCAR_GEN2
  102. bool "Renesas RCar Gen2 PCIe driver"
  103. depends on DM_PCI
  104. depends on RCAR_32
  105. help
  106. Say Y here if you want to enable PCIe controller support on
  107. Renesas RCar Gen2 SoCs. The PCIe controller on RCar Gen2 is
  108. also used to access EHCI USB controller on the SoC.
  109. config PCI_RCAR_GEN3
  110. bool "Renesas RCar Gen3 PCIe driver"
  111. depends on DM_PCI
  112. depends on RCAR_GEN3
  113. help
  114. Say Y here if you want to enable PCIe controller support on
  115. Renesas RCar Gen3 SoCs.
  116. config PCI_SANDBOX
  117. bool "Sandbox PCI support"
  118. depends on SANDBOX && DM_PCI
  119. help
  120. Support PCI on sandbox, as an emulated bus. This permits testing of
  121. PCI feature such as bus scanning, device configuration and device
  122. access. The available (emulated) devices are defined statically in
  123. the device tree but the normal PCI scan technique is used to find
  124. then.
  125. config PCI_TEGRA
  126. bool "Tegra PCI support"
  127. depends on ARCH_TEGRA
  128. depends on (TEGRA186 && POWER_DOMAIN) || (!TEGRA186)
  129. help
  130. Enable support for the PCIe controller found on some generations of
  131. Tegra. Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has
  132. 3 root ports with a total of 6 lanes and Tegra124 has 2 root ports
  133. with a total of 5 lanes. Some boards require this for Ethernet
  134. support to work (e.g. beaver, jetson-tk1).
  135. config PCI_OCTEONTX
  136. bool "OcteonTX PCI support"
  137. depends on (ARCH_OCTEONTX || ARCH_OCTEONTX2)
  138. help
  139. Enable support for the OcteonTX/TX2 SoC family ECAM/PEM controllers.
  140. These controllers provide PCI configuration access to all on-board
  141. peripherals so it should only be disabled for testing purposes
  142. config PCI_XILINX
  143. bool "Xilinx AXI Bridge for PCI Express"
  144. depends on DM_PCI
  145. help
  146. Enable support for the Xilinx AXI bridge for PCI express, an IP block
  147. which can be used on some generations of Xilinx FPGAs.
  148. config PCIE_LAYERSCAPE
  149. bool
  150. default n
  151. config PCIE_LAYERSCAPE_RC
  152. bool "Layerscape PCIe Root Complex mode support"
  153. depends on DM_PCI
  154. select PCIE_LAYERSCAPE
  155. help
  156. Enable Layerscape PCIe Root Complex mode driver support. The Layerscape
  157. SoC may have one or several PCIe controllers. Each controller can be
  158. configured to Root Complex mode by clearing the corresponding bit of
  159. RCW[HOST_AGT_PEX].
  160. config PCI_IOMMU_EXTRA_MAPPINGS
  161. bool "Support for specifying extra IOMMU mappings for PCI"
  162. depends on PCIE_LAYERSCAPE_RC
  163. help
  164. Enable support for specifying extra IOMMU mappings for PCI
  165. controllers through a special env var called "pci_iommu_extra" or
  166. through a device tree property named "pci-iommu-extra" placed in
  167. the node describing the PCI controller.
  168. The intent is to cover SR-IOV scenarios which need mappings for VFs
  169. and PCI hot-plug scenarios. More documentation can be found under:
  170. arch/arm/cpu/armv8/fsl-layerscape/doc/README.pci_iommu_extra
  171. config PCIE_LAYERSCAPE_EP
  172. bool "Layerscape PCIe Endpoint mode support"
  173. depends on DM_PCI
  174. select PCIE_LAYERSCAPE
  175. select PCI_ENDPOINT
  176. help
  177. Enable Layerscape PCIe Endpoint mode driver support. The Layerscape
  178. SoC may have one or several PCIe controllers. Each controller can be
  179. configured to Endpoint mode by setting the corresponding bit of
  180. RCW[HOST_AGT_PEX].
  181. config PCIE_LAYERSCAPE_GEN4
  182. bool "Layerscape Gen4 PCIe support"
  183. depends on DM_PCI
  184. help
  185. Support PCIe Gen4 on NXP Layerscape SoCs, which may have one or
  186. several PCIe controllers. The PCIe controller can work in RC or
  187. EP mode according to RCW[HOST_AGT_PEX] setting.
  188. config FSL_PCIE_COMPAT
  189. string "PCIe compatible of Kernel DT"
  190. depends on PCIE_LAYERSCAPE_RC || PCIE_LAYERSCAPE_GEN4
  191. default "fsl,ls1012a-pcie" if ARCH_LS1012A
  192. default "fsl,ls1028a-pcie" if ARCH_LS1028A
  193. default "fsl,ls1043a-pcie" if ARCH_LS1043A
  194. default "fsl,ls1046a-pcie" if ARCH_LS1046A
  195. default "fsl,ls2080a-pcie" if ARCH_LS2080A
  196. default "fsl,ls1088a-pcie" if ARCH_LS1088A
  197. default "fsl,lx2160a-pcie" if ARCH_LX2160A || ARCH_LX2162A
  198. default "fsl,ls1021a-pcie" if ARCH_LS1021A
  199. help
  200. This compatible is used to find pci controller node in Kernel DT
  201. to complete fixup.
  202. config FSL_PCIE_EP_COMPAT
  203. string "PCIe EP compatible of Kernel DT"
  204. depends on PCIE_LAYERSCAPE_RC || PCIE_LAYERSCAPE_GEN4
  205. default "fsl,lx2160a-pcie-ep" if ARCH_LX2160A || ARCH_LX2162A
  206. default "fsl,ls-pcie-ep"
  207. help
  208. This compatible is used to find pci controller ep node in Kernel DT
  209. to complete fixup.
  210. config PCIE_INTEL_FPGA
  211. bool "Intel FPGA PCIe support"
  212. depends on DM_PCI
  213. help
  214. Say Y here if you want to enable PCIe controller support on Intel
  215. FPGA, example Stratix 10.
  216. config PCIE_IPROC
  217. bool "Iproc PCIe support"
  218. depends on DM_PCI
  219. help
  220. Broadcom iProc PCIe controller driver.
  221. Say Y here if you want to enable Broadcom iProc PCIe controller,
  222. config PCI_MVEBU
  223. bool "Enable Armada XP/38x PCIe driver"
  224. depends on ARCH_MVEBU
  225. select DM_PCI
  226. select MISC
  227. help
  228. Say Y here if you want to enable PCIe controller support on
  229. Armada XP/38x SoCs.
  230. config PCI_KEYSTONE
  231. bool "TI Keystone PCIe controller"
  232. depends on DM_PCI
  233. help
  234. Say Y here if you want to enable PCI controller support on AM654 SoC.
  235. config PCIE_MEDIATEK
  236. bool "MediaTek PCIe Gen2 controller"
  237. depends on DM_PCI
  238. depends on ARCH_MEDIATEK
  239. help
  240. Say Y here if you want to enable Gen2 PCIe controller,
  241. which could be found on MT7623 SoC family.
  242. config PCIE_ROCKCHIP
  243. bool "Enable Rockchip PCIe driver"
  244. depends on ARCH_ROCKCHIP
  245. select DM_PCI
  246. select PHY_ROCKCHIP_PCIE
  247. default y if ROCKCHIP_RK3399
  248. help
  249. Say Y here if you want to enable PCIe controller support on
  250. Rockchip SoCs.
  251. config PCI_BRCMSTB
  252. bool "Broadcom STB PCIe controller"
  253. depends on DM_PCI
  254. depends on ARCH_BCM283X
  255. help
  256. Say Y here if you want to enable support for PCIe controller
  257. on Broadcom set-top-box (STB) SoCs.
  258. This driver currently supports only BCM2711 SoC and RC mode
  259. of the controller.
  260. endif