[U-Boot] [PATCH] usb: dwc2: Add brcm,bcm2708-usb compatible

Emmanuel Vadot manu at freebsd.org
Mon Jul 2 12:34:23 UTC 2018


When using CONFIG_OF_BOARD on rpi to use the dtb provided by the
RaspberryPi Fundation, the compatible string isn't the same, resulting
in not-functional usb from u-boot.

Signed-off-by: Oleksandr Tymoshenko <gonzo at FreeBSD.org>
Signed-off-by: Emmanuel Vadot <manu at freebsd.org>
---
 drivers/usb/host/dwc2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c
index dd956110fc..cbe065bbaf 100644
--- a/drivers/usb/host/dwc2.c
+++ b/drivers/usb/host/dwc2.c
@@ -1314,6 +1314,7 @@ struct dm_usb_ops dwc2_usb_ops = {
 
 static const struct udevice_id dwc2_usb_ids[] = {
 	{ .compatible = "brcm,bcm2835-usb" },
+	{ .compatible = "brcm,bcm2708-usb" },
 	{ .compatible = "snps,dwc2" },
 	{ }
 };
-- 
2.17.0



More information about the U-Boot mailing list