blob: 6213b3c95fa4b51a4cfba10e406d49b6d9ac83d6 [file] [log] [blame]
Masahiro Yamada1b0a06b2014-11-07 18:48:31 +09001#
2# USB Host Controller Drivers
3#
4comment "USB Host Controller Drivers"
5
Masahiro Yamada59cfdc02016-08-01 00:16:34 +09006config USB_HOST
7 bool
Tom Rini5b9e6162021-07-09 10:11:56 -04008 select DM_USB
Masahiro Yamada59cfdc02016-08-01 00:16:34 +09009
Masahiro Yamada1b0a06b2014-11-07 18:48:31 +090010config USB_XHCI_HCD
11 bool "xHCI HCD (USB 3.0) support"
Tom Rini5b9e6162021-07-09 10:11:56 -040012 depends on DM && OF_CONTROL
Masahiro Yamada59cfdc02016-08-01 00:16:34 +090013 select USB_HOST
Masahiro Yamada1b0a06b2014-11-07 18:48:31 +090014 ---help---
15 The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0
16 "SuperSpeed" host controller hardware.
17
Masahiro Yamada1b0a06b2014-11-07 18:48:31 +090018if USB_XHCI_HCD
19
Masahiro Yamadad3b72ca2016-06-04 07:35:04 +090020config USB_XHCI_DWC3
21 bool "DesignWare USB3 DRD Core Support"
22 help
23 Say Y or if your system has a Dual Role SuperSpeed
24 USB controller based on the DesignWare USB3 IP Core.
25
Neil Armstrong069421e2018-04-11 17:08:00 +020026config USB_XHCI_DWC3_OF_SIMPLE
27 bool "DesignWare USB3 DRD Generic OF Simple Glue Layer"
Jean-Jacques Hiblot74d9a9d2018-04-12 10:41:10 +020028 depends on DM_USB
Mark Kettenis06ec9132019-06-30 18:01:54 +020029 default y if ARCH_ROCKCHIP
Jean-Jacques Hiblot6c705f42018-04-12 10:41:11 +020030 default y if DRA7XX
Neil Armstrong069421e2018-04-11 17:08:00 +020031 help
32 Support USB2/3 functionality in simple SoC integrations with
33 USB controller based on the DesignWare USB3 IP Core.
34
Tom Rini6d772e52022-06-10 23:03:00 -040035config USB_XHCI_EXYNOS
36 bool "Support for Samsung Exynos5 family on-chip xHCI USB controller"
37 depends on ARCH_EXYNOS5
38 default y
39 help
40 Enables support for he on-chip xHCI controller on Samsung Exynos5
41 SoCs.
42
developer507fc9b2020-05-02 11:35:18 +020043config USB_XHCI_MTK
44 bool "Support for MediaTek on-chip xHCI USB controller"
developer4adcdca2022-05-20 11:22:56 +080045 depends on ARCH_MEDIATEK || SOC_MT7621
developer507fc9b2020-05-02 11:35:18 +020046 help
47 Enables support for the on-chip xHCI controller on MediaTek SoCs.
48
Stefan Roese07faf112016-07-14 11:39:20 +020049config USB_XHCI_MVEBU
50 bool "MVEBU USB 3.0 support"
51 default y
52 depends on ARCH_MVEBU
Konstantin Porotchkin1b5ed4d2017-02-12 11:10:30 +020053 select DM_REGULATOR
Stefan Roese07faf112016-07-14 11:39:20 +020054 help
55 Choose this option to add support for USB 3.0 driver on mvebu
56 SoCs, which includes Armada8K, Armada3700 and other Armada
57 family SoCs.
58
Stefan Roesedf33b572020-08-24 13:04:38 +020059config USB_XHCI_OCTEON
60 bool "Support for Marvell Octeon family on-chip xHCI USB controller"
61 depends on ARCH_OCTEON
62 default y
63 help
64 Enables support for the on-chip xHCI controller on Marvell Octeon
65 family SoCs. This is a driver for the dwc3 to provide the glue logic
66 to configure the controller.
67
Tom Riniebc1c842021-09-12 20:32:22 -040068config USB_XHCI_OMAP
69 bool "Support for TI OMAP family xHCI USB controller"
70 depends on ARCH_OMAP2PLUS
71 help
72 Enables support for the on-chip xHCI controller found on some TI SoC
73 families. Note that some families have multiple contollers while
74 others only have something such as DesignWare-based controllers.
75 Consult the SoC documentation to determine if this option applies
76 to your hardware.
77
Bin Mengd34d6fc2017-07-19 21:50:08 +080078config USB_XHCI_PCI
79 bool "Support for PCI-based xHCI USB controller"
Bin Meng7e8644d2017-07-19 21:51:07 +080080 depends on DM_USB
Bin Mengd34d6fc2017-07-19 21:50:08 +080081 default y if X86
82 help
83 Enables support for the PCI-based xHCI controller.
84
Marek Vasut24257272017-10-15 15:01:29 +020085config USB_XHCI_RCAR
86 bool "Renesas RCar USB 3.0 support"
87 default y
88 depends on ARCH_RMOBILE
89 help
90 Choose this option to add support for USB 3.0 driver on Renesas
91 RCar Gen3 SoCs.
92
Patrice Chotardf2505b12017-09-05 11:04:24 +020093config USB_XHCI_STI
94 bool "Support for STMicroelectronics STiH407 family on-chip xHCI USB controller"
95 depends on ARCH_STI
96 default y
97 help
98 Enables support for the on-chip xHCI controller on STMicroelectronics
99 STiH407 family SoCs. This is a driver for the dwc3 to provide the glue logic
100 to configure the controller.
101
Uri Mashiachf6ff74e2017-02-23 15:39:36 +0200102config USB_XHCI_DRA7XX_INDEX
103 int "DRA7XX xHCI USB index"
104 range 0 1
105 default 0
106 depends on DRA7XX
107 help
108 Select the DRA7XX xHCI USB index.
109 Current supported values: 0, 1.
110
Ran Wanga5a97352017-10-23 10:09:22 +0800111config USB_XHCI_FSL
112 bool "Support for NXP Layerscape on-chip xHCI USB controller"
113 default y if ARCH_LS1021A || FSL_LSCH3 || FSL_LSCH2
114 depends on !SPL_NO_USB
115 help
116 Enables support for the on-chip xHCI controller on NXP Layerscape SoCs.
Rayagonda Kokatanurf59d24e2020-04-09 09:23:15 +0530117
118config USB_XHCI_BRCM
119 bool "Broadcom USB3 Host XHCI controller"
120 depends on DM_USB
121 help
122 USB controller based on the Broadcom USB3 IP Core.
123 Supports USB2/3 functionality.
124
Masahiro Yamada78a9c792016-08-01 00:16:32 +0900125endif # USB_XHCI_HCD
Alexey Brodkin83fd3122015-12-14 17:18:50 +0300126
Tom Rini21ad2802022-06-08 08:24:26 -0400127config EHCI_DESC_BIG_ENDIAN
128 bool
129
130config EHCI_MMIO_BIG_ENDIAN
131 bool
132
Masahiro Yamada1b0a06b2014-11-07 18:48:31 +0900133config USB_EHCI_HCD
134 bool "EHCI HCD (USB 2.0) support"
Tom Rini7716cd62017-05-12 22:33:28 -0400135 default y if ARCH_MX5 || ARCH_MX6
Tom Rini5b9e6162021-07-09 10:11:56 -0400136 depends on DM && OF_CONTROL
Masahiro Yamada59cfdc02016-08-01 00:16:34 +0900137 select USB_HOST
Tom Rini21ad2802022-06-08 08:24:26 -0400138 select EHCI_DESC_BIG_ENDIAN if SYS_BIG_ENDIAN
139 select EHCI_MMIO_BIG_ENDIAN if SYS_BIG_ENDIAN
Masahiro Yamada1b0a06b2014-11-07 18:48:31 +0900140 ---help---
141 The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
142 "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware.
143 If your USB host controller supports USB 2.0, you will likely want to
144 configure this Host Controller Driver.
145
146 EHCI controllers are packaged with "companion" host controllers (OHCI
147 or UHCI) to handle USB 1.1 devices connected to root hub ports. Ports
148 will connect to EHCI if the device is high speed, otherwise they
149 connect to a companion controller. If you configure EHCI, you should
150 probably configure the OHCI (for NEC and some other vendors) USB Host
151 Controller Driver or UHCI (for Via motherboards) Host Controller
152 Driver too.
153
154 You may want to read <file:Documentation/usb/ehci.txt>.
155
Masahiro Yamada1b0a06b2014-11-07 18:48:31 +0900156if USB_EHCI_HCD
157
Marek Behúne1489262021-10-09 15:27:35 +0200158config USB_EHCI_IS_TDI
159 bool
160
Wenyou Yang11e26652016-08-05 08:57:35 +0800161config USB_EHCI_ATMEL
162 bool "Support for Atmel on-chip EHCI USB controller"
163 depends on ARCH_AT91
164 default y
165 ---help---
166 Enables support for the on-chip EHCI controller on Atmel chips.
167
Tom Rini6d772e52022-06-10 23:03:00 -0400168config USB_EHCI_EXYNOS
169 bool "Support for Samsung Exynos EHCI USB controller"
170 depends on ARCH_EXYNOS
171 default y
172 ---help---
173 Enables support for the on-chip EHCI controller on Samsung Exynos
174 SoCs.
175
Stefan Roese03901022015-09-01 11:39:44 +0200176config USB_EHCI_MARVELL
Tom Rini496a4172017-05-12 22:33:29 -0400177 bool "Support for Marvell on-chip EHCI USB controller"
Trevor Woernerbb7ab072020-05-06 08:02:40 -0400178 depends on ARCH_MVEBU || ARCH_KIRKWOOD || ARCH_ORION5X
Stefan Roese03901022015-09-01 11:39:44 +0200179 default y
Marek Behúne1489262021-10-09 15:27:35 +0200180 select USB_EHCI_IS_TDI if !ARM64
Chris Packham927671e2022-11-05 17:23:57 +1300181 select USB_EHCI_IS_TDI if ALLEYCAT_5
Stefan Roese03901022015-09-01 11:39:44 +0200182 ---help---
183 Enables support for the on-chip EHCI controller on MVEBU SoCs.
184
Lukasz Majewski6fccaf22019-04-04 12:26:55 +0200185config USB_EHCI_MX5
186 bool "Support for i.MX5 on-chip EHCI USB controller"
187 depends on ARCH_MX5
Lukasz Majewski6fccaf22019-04-04 12:26:55 +0200188 help
189 Enables support for the on-chip EHCI controller on i.MX5 SoCs.
190
Nikita Kiryanov99241032015-07-23 17:19:35 +0300191config USB_EHCI_MX6
Ye Li9da57ea2019-10-24 10:29:32 -0300192 bool "Support for i.MX6/i.MX7ULP on-chip EHCI USB controller"
Giulio Benetti13ded2c2021-05-20 16:10:15 +0200193 depends on ARCH_MX6 || ARCH_MX7ULP || ARCH_IMXRT
Tom Rini21ad2802022-06-08 08:24:26 -0400194 select EHCI_HCD_INIT_AFTER_RESET
Nikita Kiryanov99241032015-07-23 17:19:35 +0300195 default y
196 ---help---
197 Enables support for the on-chip EHCI controller on i.MX6 SoCs.
198
Stefan Agner100fe072016-07-13 00:25:36 -0700199config USB_EHCI_MX7
200 bool "Support for i.MX7 on-chip EHCI USB controller"
Marek Vasute15971f2021-04-02 14:07:22 +0200201 depends on ARCH_MX7 || IMX8M
Tom Rini21ad2802022-06-08 08:24:26 -0400202 select EHCI_HCD_INIT_AFTER_RESET if ARCH_MX7
Marek Vasute15971f2021-04-02 14:07:22 +0200203 select PHY if IMX8M
204 select NOP_PHY if IMX8M
Stefan Agner100fe072016-07-13 00:25:36 -0700205 default y
206 ---help---
207 Enables support for the on-chip EHCI controller on i.MX7 SoCs.
208
Marek Behún53d53512021-10-09 15:27:33 +0200209config USB_EHCI_MXS
Lukasz Majewski7a4aba62021-12-22 10:55:06 +0100210 bool "Support for i.MX23/i.MX28 EHCI USB controller"
211 depends on ARCH_MX23 || ARCH_MX28
Marek Behún53d53512021-10-09 15:27:33 +0200212 default y
Marek Behúne1489262021-10-09 15:27:35 +0200213 select USB_EHCI_IS_TDI
Marek Behún53d53512021-10-09 15:27:33 +0200214 help
Lukasz Majewski7a4aba62021-12-22 10:55:06 +0100215 Enables support for the on-chip EHCI controller on i.MX23 and
216 i.MX28 SoCs.
Marek Behún53d53512021-10-09 15:27:33 +0200217
Jim Liu1fd3b3d2022-06-21 17:09:02 +0800218config USB_EHCI_NPCM
219 bool "Support for Nuvoton NPCM on-chip EHCI USB controller"
220 depends on ARCH_NPCM
221 default n
222 ---help---
223 Enables support for the on-chip EHCI controller on
224 Nuvoton NPCM chips.
225
Tom Rini639a8402017-05-12 22:33:30 -0400226config USB_EHCI_OMAP
227 bool "Support for OMAP3+ on-chip EHCI USB controller"
228 depends on ARCH_OMAP2PLUS
Adam Fordcb9a3562022-02-19 17:08:44 -0600229 select PHY
230 imply NOP_PHY
Tom Rini639a8402017-05-12 22:33:30 -0400231 default y
232 ---help---
233 Enables support for the on-chip EHCI controller on OMAP3 and later
234 SoCs.
235
Marcel Ziswiler31f44952019-03-25 17:24:54 +0100236config USB_EHCI_VF
237 bool "Support for Vybrid on-chip EHCI USB controller"
238 depends on ARCH_VF610
239 default y
240 help
241 Enables support for the on-chip EHCI controller on Vybrid SoCs.
242
Ye Li9da57ea2019-10-24 10:29:32 -0300243if USB_EHCI_MX6 || USB_EHCI_MX7
Stefan Agner8652ce92016-07-13 00:25:38 -0700244
245config MXC_USB_OTG_HACTIVE
246 bool "USB Power pin high active"
247 ---help---
248 Set the USB Power pin polarity to be high active (PWR_POL)
249
250endif
251
Mateusz Kulikowskidc381172016-03-31 23:12:26 +0200252config USB_EHCI_MSM
253 bool "Support for Qualcomm on-chip EHCI USB controller"
254 depends on DM_USB
255 select USB_ULPI_VIEWPORT
Ramon Fried7e365962018-09-21 13:35:50 +0300256 select MSM8916_USB_PHY
Mateusz Kulikowskidc381172016-03-31 23:12:26 +0200257 ---help---
258 Enables support for the on-chip EHCI controller on Qualcomm
259 Snapdragon SoCs.
Mateusz Kulikowskidc381172016-03-31 23:12:26 +0200260
Bin Mengec4b5732017-08-09 00:21:54 -0700261config USB_EHCI_PCI
262 bool "Support for PCI-based EHCI USB controller"
263 default y if X86
264 help
265 Enables support for the PCI-based EHCI controller.
266
Peter Robinson43ecef42019-02-20 12:17:27 +0000267config USB_EHCI_TEGRA
268 bool "Support for NVIDIA Tegra on-chip EHCI USB controller"
Trevor Woerner513f6402020-05-06 08:02:41 -0400269 depends on ARCH_TEGRA
Marek Behúne1489262021-10-09 15:27:35 +0200270 select USB_EHCI_IS_TDI
Peter Robinson43ecef42019-02-20 12:17:27 +0000271 ---help---
272 Enable support for Tegra on-chip EHCI USB controller
273
Siva Durga Prasad Paladugu42fcc182016-07-22 14:51:51 +0530274config USB_EHCI_ZYNQ
275 bool "Support for Xilinx Zynq on-chip EHCI USB controller"
Michal Simek3239d712020-08-24 14:41:51 +0200276 default y if ARCH_ZYNQ
Marek Behúne1489262021-10-09 15:27:35 +0200277 select USB_EHCI_IS_TDI
Siva Durga Prasad Paladugu42fcc182016-07-22 14:51:51 +0530278 ---help---
279 Enable support for Zynq on-chip EHCI USB controller
280
Alexey Brodkina6aff432015-12-02 12:32:02 +0300281config USB_EHCI_GENERIC
282 bool "Support for generic EHCI USB controller"
Alexey Brodkina6aff432015-12-02 12:32:02 +0300283 depends on DM_USB
Jagan Teki1ba41e12018-12-22 18:18:10 +0530284 default ARCH_SUNXI
Alexey Brodkina6aff432015-12-02 12:32:02 +0300285 ---help---
286 Enables support for generic EHCI controller.
287
Tom Rini30fd3d92022-06-08 08:24:27 -0400288config EHCI_HCD_INIT_AFTER_RESET
289 bool
290
Ran Wang9798b662017-12-20 10:34:20 +0800291config USB_EHCI_FSL
292 bool "Support for FSL on-chip EHCI USB controller"
Tom Rini30fd3d92022-06-08 08:24:27 -0400293 select EHCI_HCD_INIT_AFTER_RESET
Tom Rini8d7aa572022-07-31 21:08:29 -0400294 select SYS_FSL_USB_INTERNAL_UTMI_PHY if MPC85xx && \
295 !(ARCH_B4860 || ARCH_B4420 || ARCH_P4080 || ARCH_P1020 || ARCH_P2020)
Ran Wang9798b662017-12-20 10:34:20 +0800296 ---help---
297 Enables support for the on-chip EHCI controller on FSL chips.
Tom Rinic85a7922022-06-08 08:24:31 -0400298
Tom Rini8d7aa572022-07-31 21:08:29 -0400299config SYS_FSL_USB_INTERNAL_UTMI_PHY
300 bool
301 depends on USB_EHCI_FSL
302
Tom Rinic85a7922022-06-08 08:24:31 -0400303config USB_EHCI_TXFIFO_THRESH
304 hex
305 depends on USB_EHCI_TEGRA
306 default 0x10
307 help
308 This parameter affects a TXFILLTUNING field that controls how much
309 data is sent to the latency fifo before it is sent to the wire.
310 Without this parameter, the default (2) causes occasional Data Buffer
311 Errors in OUT packets depending on the buffer address and size.
312
Masahiro Yamada78a9c792016-08-01 00:16:32 +0900313endif # USB_EHCI_HCD
314
Tom Rini112d2e02022-06-25 11:02:31 -0400315config USB_OHCI_NEW
316 bool
317
318config SYS_USB_OHCI_CPU_INIT
319 bool
320
Masahiro Yamada78a9c792016-08-01 00:16:32 +0900321config USB_OHCI_HCD
322 bool "OHCI HCD (USB 1.1) support"
Tom Rini5b9e6162021-07-09 10:11:56 -0400323 depends on DM && OF_CONTROL
324 select USB_HOST
Tom Rini112d2e02022-06-25 11:02:31 -0400325 select USB_OHCI_NEW
Masahiro Yamada78a9c792016-08-01 00:16:32 +0900326 ---help---
327 The Open Host Controller Interface (OHCI) is a standard for accessing
328 USB 1.1 host controller hardware. It does more in hardware than Intel's
329 UHCI specification. If your USB host controller follows the OHCI spec,
330 say Y. On most non-x86 systems, and on x86 hardware that's not using a
331 USB controller from Intel or VIA, this is appropriate. If your host
332 controller doesn't use PCI, this is probably appropriate. For a PCI
333 based system where you're not sure, the "lspci -v" entry will list the
334 right "prog-if" for your USB controller(s): EHCI, OHCI, or UHCI.
335
Tom Rini5b9e6162021-07-09 10:11:56 -0400336if USB_OHCI_HCD
337
Heiko Schocher124f9472019-07-16 10:49:07 +0200338config USB_OHCI_PCI
339 bool "Support for PCI-based OHCI USB controller"
Tom Rini5b9e6162021-07-09 10:11:56 -0400340 depends on PCI
Heiko Schocher124f9472019-07-16 10:49:07 +0200341 help
342 Enables support for the PCI-based OHCI controller.
343
Masahiro Yamada78a9c792016-08-01 00:16:32 +0900344config USB_OHCI_GENERIC
345 bool "Support for generic OHCI USB controller"
Jagan Teki1ba41e12018-12-22 18:18:10 +0530346 default ARCH_SUNXI
Masahiro Yamada78a9c792016-08-01 00:16:32 +0900347 ---help---
348 Enables support for generic OHCI controller.
349
Adam Ford5f364f52019-04-30 05:21:41 -0500350config USB_OHCI_DA8XX
351 bool "Support for da850 OHCI USB controller"
352 help
353 Enable support for the da850 USB controller.
354
Jim Liu1fd3b3d2022-06-21 17:09:02 +0800355config USB_OHCI_NPCM
356 bool "Support for Nuvoton NPCM on-chip OHCI USB controller"
357 depends on ARCH_NPCM
358 default n
359 ---help---
360 Enables support for the on-chip OHCI controller on
361 Nuvoton NPCM chips.
362
Masahiro Yamada78a9c792016-08-01 00:16:32 +0900363endif # USB_OHCI_HCD
Masahiro Yamada718ba3c2016-08-01 00:16:33 +0900364
Tom Rini112d2e02022-06-25 11:02:31 -0400365config SYS_USB_OHCI_SLOT_NAME
366 string "Display name for the OHCI controller"
367 depends on USB_OHCI_NEW && !DM_USB
368
Tom Rini112d2e02022-06-25 11:02:31 -0400369config SYS_OHCI_SWAP_REG_ACCESS
370 bool "Perform byte swapping on OHCI controller register accesses"
371 depends on USB_OHCI_NEW
372
Masahiro Yamada718ba3c2016-08-01 00:16:33 +0900373config USB_UHCI_HCD
374 bool "UHCI HCD (most Intel and VIA) support"
Masahiro Yamada59cfdc02016-08-01 00:16:34 +0900375 select USB_HOST
Masahiro Yamada718ba3c2016-08-01 00:16:33 +0900376 ---help---
377 The Universal Host Controller Interface is a standard by Intel for
378 accessing the USB hardware in the PC (which is also called the USB
379 host controller). If your USB host controller conforms to this
380 standard, you may want to say Y, but see below. All recent boards
381 with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
382 i810, i820) conform to this standard. Also all VIA PCI chipsets
383 (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
384 133) and LEON/GRLIB SoCs with the GRUSBHC controller.
385 If unsure, say Y.
386
387if USB_UHCI_HCD
388
389endif # USB_UHCI_HCD
Philipp Tomsich54983812017-07-03 18:30:06 +0200390
391config USB_DWC2
392 bool "DesignWare USB2 Core support"
Tom Rini5b9e6162021-07-09 10:11:56 -0400393 depends on DM && OF_CONTROL
Philipp Tomsich54983812017-07-03 18:30:06 +0200394 select USB_HOST
395 ---help---
396 The DesignWare USB 2.0 controller is compliant with the
397 USB-Implementers Forum (USB-IF) USB 2.0 specifications.
398 Hi-Speed (480 Mbps), Full-Speed (12 Mbps), and Low-Speed (1.5 Mbps)
399 operation is compliant to the controller Supplement. If you want to
400 enable this controller in host mode, say Y.
Alexey Brodkinf19414b2018-02-28 16:16:58 +0300401
402if USB_DWC2
403config USB_DWC2_BUFFER_SIZE
404 int "Data buffer size in kB"
405 default 64
406 ---help---
407 By default 64 kB buffer is used but if amount of RAM avaialble on
408 the target is not enough to accommodate allocation of buffer of
409 that size it is possible to shrink it. Smaller sizes should be fine
410 because larger transactions could be split in smaller ones.
411
412endif # USB_DWC2
Marek Vasut88016032019-08-11 13:23:43 +0200413
414config USB_R8A66597_HCD
415 bool "Renesas R8A66597 USB Core support"
Tom Rini5b9e6162021-07-09 10:11:56 -0400416 depends on DM && OF_CONTROL
Marek Vasut88016032019-08-11 13:23:43 +0200417 select USB_HOST
418 ---help---
419 This enables support for the on-chip Renesas R8A66597 USB 2.0
420 controller, present in various RZ and SH SoCs.
Tom Rinibde21702022-06-12 20:02:04 -0400421
Tom Rini112d2e02022-06-25 11:02:31 -0400422config USB_ATMEL
423 bool "AT91 OHCI USB support"
424 depends on ARCH_AT91
425 select SYS_USB_OHCI_CPU_INIT
426 select USB_OHCI_NEW
427
428choice
429 prompt "Clock for OHCI"
430 depends on USB_ATMEL
431
432config USB_ATMEL_CLK_SEL_PLLB
433 bool "PLLB"
434
435config USB_ATMEL_CLK_SEL_UPLL
436 bool "UPLL"
437
438endchoice
439
440config USB_OHCI_LPC32XX
441 bool "LPC32xx USB OHCI support"
442 depends on ARCH_LPC32XX
443 select SYS_USB_OHCI_CPU_INIT
444 select USB_OHCI_NEW
445
Tom Rinibde21702022-06-12 20:02:04 -0400446config USB_MAX_CONTROLLER_COUNT
447 int "Maximum number of USB host controllers"
448 depends on USB_EHCI_FSL || USB_XHCI_FSL || \
449 (SPL_USB_HOST && !DM_SPL_USB) || (USB_HOST && !DM_USB)
450 default 1