Kconfig 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  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 PCIE_ECAM_SYNQUACER
  75. bool "SynQuacer ECAM-based PCI host controller support"
  76. default n
  77. depends on DM_PCI
  78. select PCI_INIT_R
  79. select PCI_REGION_MULTI_ENTRY
  80. help
  81. Say Y here if you want to enable support for Socionext
  82. SynQuacer SoC's ECAM-based PCIe host controllers.
  83. Note that this must be configured when boot because Linux driver
  84. expects the PCIe RC has been configured in the bootloader.
  85. config PCI_PHYTIUM
  86. bool "Phytium PCIe support"
  87. depends on DM_PCI
  88. help
  89. Say Y here if you want to enable PCIe controller support on
  90. Phytium SoCs.
  91. config PCIE_DW_MVEBU
  92. bool "Enable Armada-8K PCIe driver (DesignWare core)"
  93. depends on DM_PCI
  94. depends on ARMADA_8K
  95. help
  96. Say Y here if you want to enable PCIe controller support on
  97. Armada-8K SoCs. The PCIe controller on Armada-8K is based on
  98. DesignWare hardware.
  99. config PCIE_DW_SIFIVE
  100. bool "Enable SiFive FU740 PCIe"
  101. depends on CLK_SIFIVE_PRCI
  102. depends on RESET_SIFIVE
  103. depends on SIFIVE_GPIO
  104. select PCIE_DW_COMMON
  105. help
  106. Say Y here if you want to enable PCIe controller support on
  107. FU740.
  108. config PCIE_FSL
  109. bool "FSL PowerPC PCIe support"
  110. depends on DM_PCI
  111. help
  112. Say Y here if you want to enable PCIe controller support on FSL
  113. PowerPC MPC85xx, MPC86xx, B series, P series and T series SoCs.
  114. This driver does not support SRIO_PCIE_BOOT feature.
  115. config PCI_MPC85XX
  116. bool "MPC85XX PowerPC PCI support"
  117. depends on DM_PCI
  118. help
  119. Say Y here if you want to enable PCI controller support on FSL
  120. PowerPC MPC85xx SoC.
  121. config PCI_RCAR_GEN2
  122. bool "Renesas RCar Gen2 PCIe driver"
  123. depends on DM_PCI
  124. depends on RCAR_32
  125. help
  126. Say Y here if you want to enable PCIe controller support on
  127. Renesas RCar Gen2 SoCs. The PCIe controller on RCar Gen2 is
  128. also used to access EHCI USB controller on the SoC.
  129. config PCI_RCAR_GEN3
  130. bool "Renesas RCar Gen3 PCIe driver"
  131. depends on DM_PCI
  132. depends on RCAR_GEN3
  133. help
  134. Say Y here if you want to enable PCIe controller support on
  135. Renesas RCar Gen3 SoCs.
  136. config PCI_SANDBOX
  137. bool "Sandbox PCI support"
  138. depends on SANDBOX && DM_PCI
  139. help
  140. Support PCI on sandbox, as an emulated bus. This permits testing of
  141. PCI feature such as bus scanning, device configuration and device
  142. access. The available (emulated) devices are defined statically in
  143. the device tree but the normal PCI scan technique is used to find
  144. then.
  145. config PCI_TEGRA
  146. bool "Tegra PCI support"
  147. depends on ARCH_TEGRA
  148. depends on (TEGRA186 && POWER_DOMAIN) || (!TEGRA186)
  149. help
  150. Enable support for the PCIe controller found on some generations of
  151. Tegra. Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has
  152. 3 root ports with a total of 6 lanes and Tegra124 has 2 root ports
  153. with a total of 5 lanes. Some boards require this for Ethernet
  154. support to work (e.g. beaver, jetson-tk1).
  155. config PCI_OCTEONTX
  156. bool "OcteonTX PCI support"
  157. depends on (ARCH_OCTEONTX || ARCH_OCTEONTX2)
  158. help
  159. Enable support for the OcteonTX/TX2 SoC family ECAM/PEM controllers.
  160. These controllers provide PCI configuration access to all on-board
  161. peripherals so it should only be disabled for testing purposes
  162. config PCIE_OCTEON
  163. bool "MIPS Octeon PCIe support"
  164. depends on ARCH_OCTEON
  165. help
  166. Enable support for the MIPS Octeon SoC family PCIe controllers.
  167. config PCI_XILINX
  168. bool "Xilinx AXI Bridge for PCI Express"
  169. depends on DM_PCI
  170. help
  171. Enable support for the Xilinx AXI bridge for PCI express, an IP block
  172. which can be used on some generations of Xilinx FPGAs.
  173. config PCIE_LAYERSCAPE
  174. bool
  175. default n
  176. config PCIE_LAYERSCAPE_RC
  177. bool "Layerscape PCIe Root Complex mode support"
  178. depends on DM_PCI
  179. select PCIE_LAYERSCAPE
  180. help
  181. Enable Layerscape PCIe Root Complex mode driver support. The Layerscape
  182. SoC may have one or several PCIe controllers. Each controller can be
  183. configured to Root Complex mode by clearing the corresponding bit of
  184. RCW[HOST_AGT_PEX].
  185. config PCI_IOMMU_EXTRA_MAPPINGS
  186. bool "Support for specifying extra IOMMU mappings for PCI"
  187. depends on PCIE_LAYERSCAPE_RC
  188. help
  189. Enable support for specifying extra IOMMU mappings for PCI
  190. controllers through a special env var called "pci_iommu_extra" or
  191. through a device tree property named "pci-iommu-extra" placed in
  192. the node describing the PCI controller.
  193. The intent is to cover SR-IOV scenarios which need mappings for VFs
  194. and PCI hot-plug scenarios. More documentation can be found under:
  195. arch/arm/cpu/armv8/fsl-layerscape/doc/README.pci_iommu_extra
  196. config PCIE_LAYERSCAPE_EP
  197. bool "Layerscape PCIe Endpoint mode support"
  198. depends on DM_PCI
  199. select PCIE_LAYERSCAPE
  200. select PCI_ENDPOINT
  201. help
  202. Enable Layerscape PCIe Endpoint mode driver support. The Layerscape
  203. SoC may have one or several PCIe controllers. Each controller can be
  204. configured to Endpoint mode by setting the corresponding bit of
  205. RCW[HOST_AGT_PEX].
  206. config PCIE_LAYERSCAPE_GEN4
  207. bool "Layerscape Gen4 PCIe support"
  208. depends on DM_PCI
  209. help
  210. Support PCIe Gen4 on NXP Layerscape SoCs, which may have one or
  211. several PCIe controllers. The PCIe controller can work in RC or
  212. EP mode according to RCW[HOST_AGT_PEX] setting.
  213. config FSL_PCIE_COMPAT
  214. string "PCIe compatible of Kernel DT"
  215. depends on PCIE_LAYERSCAPE_RC || PCIE_LAYERSCAPE_GEN4
  216. default "fsl,ls1012a-pcie" if ARCH_LS1012A
  217. default "fsl,ls1028a-pcie" if ARCH_LS1028A
  218. default "fsl,ls1043a-pcie" if ARCH_LS1043A
  219. default "fsl,ls1046a-pcie" if ARCH_LS1046A
  220. default "fsl,ls2080a-pcie" if ARCH_LS2080A
  221. default "fsl,ls1088a-pcie" if ARCH_LS1088A
  222. default "fsl,lx2160a-pcie" if ARCH_LX2160A
  223. default "fsl,ls2088a-pcie" if ARCH_LX2162A
  224. default "fsl,ls1021a-pcie" if ARCH_LS1021A
  225. help
  226. This compatible is used to find pci controller node in Kernel DT
  227. to complete fixup.
  228. config FSL_PCIE_EP_COMPAT
  229. string "PCIe EP compatible of Kernel DT"
  230. depends on PCIE_LAYERSCAPE_RC || PCIE_LAYERSCAPE_GEN4
  231. default "fsl,lx2160a-pcie-ep" if ARCH_LX2160A
  232. default "fsl,ls-pcie-ep"
  233. help
  234. This compatible is used to find pci controller ep node in Kernel DT
  235. to complete fixup.
  236. config PCIE_INTEL_FPGA
  237. bool "Intel FPGA PCIe support"
  238. depends on DM_PCI
  239. help
  240. Say Y here if you want to enable PCIe controller support on Intel
  241. FPGA, example Stratix 10.
  242. config PCIE_IPROC
  243. bool "Iproc PCIe support"
  244. depends on DM_PCI
  245. help
  246. Broadcom iProc PCIe controller driver.
  247. Say Y here if you want to enable Broadcom iProc PCIe controller,
  248. config PCI_MVEBU
  249. bool "Enable Armada XP/38x PCIe driver"
  250. depends on ARCH_MVEBU
  251. select DM_PCI
  252. select MISC
  253. help
  254. Say Y here if you want to enable PCIe controller support on
  255. Armada XP/38x SoCs.
  256. config PCIE_DW_COMMON
  257. bool
  258. select DM_PCI
  259. config PCI_KEYSTONE
  260. bool "TI Keystone PCIe controller"
  261. select PCIE_DW_COMMON
  262. help
  263. Say Y here if you want to enable PCI controller support on AM654 SoC.
  264. config PCIE_MEDIATEK
  265. bool "MediaTek PCIe Gen2 controller"
  266. depends on DM_PCI
  267. depends on ARCH_MEDIATEK
  268. help
  269. Say Y here if you want to enable Gen2 PCIe controller,
  270. which could be found on MT7623 SoC family.
  271. config PCIE_DW_MESON
  272. bool "Amlogic Meson DesignWare based PCIe controller"
  273. depends on ARCH_MESON
  274. select PCIE_DW_COMMON
  275. help
  276. Say Y here if you want to enable DW PCIe controller support on
  277. Amlogic SoCs.
  278. config PCIE_ROCKCHIP
  279. bool "Enable Rockchip PCIe driver"
  280. depends on ARCH_ROCKCHIP
  281. select DM_PCI
  282. select PHY_ROCKCHIP_PCIE
  283. default y if ROCKCHIP_RK3399
  284. help
  285. Say Y here if you want to enable PCIe controller support on
  286. Rockchip SoCs.
  287. config PCIE_DW_ROCKCHIP
  288. bool "Rockchip DesignWare based PCIe controller"
  289. depends on ARCH_ROCKCHIP
  290. select PCIE_DW_COMMON
  291. select PHY_ROCKCHIP_SNPS_PCIE3
  292. help
  293. Say Y here if you want to enable DW PCIe controller support on
  294. Rockchip SoCs.
  295. config PCI_BRCMSTB
  296. bool "Broadcom STB PCIe controller"
  297. depends on DM_PCI
  298. depends on ARCH_BCM283X
  299. help
  300. Say Y here if you want to enable support for PCIe controller
  301. on Broadcom set-top-box (STB) SoCs.
  302. This driver currently supports only BCM2711 SoC and RC mode
  303. of the controller.
  304. config PCIE_UNIPHIER
  305. bool "Socionext UniPhier PCIe driver"
  306. depends on DM_PCI
  307. depends on ARCH_UNIPHIER
  308. select PHY_UNIPHIER_PCIE
  309. help
  310. Say Y here if you want to enable PCIe controller support on
  311. UniPhier SoCs.
  312. endif