From: Mark Kettenis <kettenis@openbsd.org>
Date: Sat, 21 Jan 2023 19:27:59 +0000 (+0100)
Subject: arm: apple: Enable PCIe USB controller
X-Git-Tag: v2025.01-rc5-pxa1908~1132^2~1
X-Git-Url: http://git.dujemihanovic.xyz/%22mailto:Murray.Jensen%40csiro.au/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=06af0e8026ad6f21946f0f5a050ec2e0a1876491;p=u-boot.git

arm: apple: Enable PCIe USB controller

Some Apple Silicon machines have a PCIe XHCI controller in additon
to the DWC3 controllers integrated on the SoC.  On the Mac mini
the Type-A ports are handled by this PCIe controller.  Enabling
it allows the use of these ports in U-Boot.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
---

diff --git a/configs/apple_m1_defconfig b/configs/apple_m1_defconfig
index 4ba09334d4..b4ecf73cbc 100644
--- a/configs/apple_m1_defconfig
+++ b/configs/apple_m1_defconfig
@@ -15,6 +15,7 @@ CONFIG_APPLE_SPI_KEYB=y
 CONFIG_NVME_APPLE=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
+CONFIG_USB_XHCI_PCI=y
 CONFIG_USB_KEYBOARD=y
 CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_NO_FB_CLEAR=y