]> git.sur5r.net Git - u-boot/commitdiff
usb: dwc2: Add brcm,bcm2708-usb compatible
authorEmmanuel Vadot <manu@freebsd.org>
Mon, 2 Jul 2018 12:34:23 +0000 (14:34 +0200)
committerMarek Vasut <marex@denx.de>
Thu, 5 Jul 2018 09:25:49 +0000 (11:25 +0200)
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@FreeBSD.org>
Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
drivers/usb/host/dwc2.c

index dd956110fc50772d2c76ab8ea52c9099a24fbd56..cbe065bbaf08f87004cf748191951fe858ba4ab5 100644 (file)
@@ -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" },
        { }
 };