aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/controller/dwc_otgreg.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2015-02-23 17:01:38 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2015-02-23 17:01:38 +0000
commitf5757453dcc044374b033bf8a6dbe36c879508c9 (patch)
tree2d580b3250507f66de7657d0c44858e744aaab6e /sys/dev/usb/controller/dwc_otgreg.h
parente9b70483d1e17f672e528f9d0d091f58f97fafca (diff)
Notes
Diffstat (limited to 'sys/dev/usb/controller/dwc_otgreg.h')
-rw-r--r--sys/dev/usb/controller/dwc_otgreg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/dwc_otgreg.h b/sys/dev/usb/controller/dwc_otgreg.h
index 344d36a28534..8ab35829ddab 100644
--- a/sys/dev/usb/controller/dwc_otgreg.h
+++ b/sys/dev/usb/controller/dwc_otgreg.h
@@ -196,6 +196,14 @@
#define GUSBCFG_TOUTCAL_MASK 0x00000007
#define GUSBCFG_TOUTCAL_SHIFT 0
+/* STM32F4 */
+#define DOTG_GGPIO_NOVBUSSENS (1 << 21)
+#define DOTG_GGPIO_SOFOUTEN (1 << 20)
+#define DOTG_GGPIO_VBUSBSEN (1 << 19)
+#define DOTG_GGPIO_VBUSASEN (1 << 18)
+#define DOTG_GGPIO_I2CPADEN (1 << 17)
+#define DOTG_GGPIO_PWRDWN (1 << 16)
+
#define GRSTCTL_AHBIDLE (1<<31)
#define GRSTCTL_DMAREQ (1<<30)
#define GRSTCTL_TXFNUM_MASK 0x000007c0