summaryrefslogtreecommitdiff
path: root/drivers/usb/host/dwc2.h
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2015-05-12 14:38:27 +0100
committerMarek Vasut <marex@denx.de>2015-05-29 12:41:04 +0200
commit5cfd6c002aa962d102953936a77cc170bb6e5265 (patch)
tree0125434d6a9d05c23950f5db8b10ff3ee47edc6a /drivers/usb/host/dwc2.h
parent6a132416359e36ed77b1319674d7ccb9c1a82694 (diff)
downloadu-boot-imx-5cfd6c002aa962d102953936a77cc170bb6e5265.zip
u-boot-imx-5cfd6c002aa962d102953936a77cc170bb6e5265.tar.gz
u-boot-imx-5cfd6c002aa962d102953936a77cc170bb6e5265.tar.bz2
usb: dwc2: Add support for v3 snpsid value
This has been tested to the extent that I can enumerate a asix usb networking adapter and boot a kernel over usb on the 96boards hikey u-boot port I'm currently doing. Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Diffstat (limited to 'drivers/usb/host/dwc2.h')
-rw-r--r--drivers/usb/host/dwc2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/dwc2.h b/drivers/usb/host/dwc2.h
index 45408c6..f69372e 100644
--- a/drivers/usb/host/dwc2.h
+++ b/drivers/usb/host/dwc2.h
@@ -732,6 +732,7 @@ struct dwc2_core_regs {
#define DWC2_PCGCCTL_DEEP_SLEEP (1 << 7)
#define DWC2_PCGCCTL_DEEP_SLEEP_OFFSET 7
#define DWC2_SNPSID_DEVID_VER_2xx (0x4f542 << 12)
+#define DWC2_SNPSID_DEVID_VER_3xx (0x4f543 << 12)
#define DWC2_SNPSID_DEVID_MASK (0xfffff << 12)
#define DWC2_SNPSID_DEVID_OFFSET 12