aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/board/micronas/vct/vcth/reg_usbh.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/board/micronas/vct/vcth/reg_usbh.h')
-rw-r--r--roms/u-boot/board/micronas/vct/vcth/reg_usbh.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/roms/u-boot/board/micronas/vct/vcth/reg_usbh.h b/roms/u-boot/board/micronas/vct/vcth/reg_usbh.h
new file mode 100644
index 00000000..44b7c4ac
--- /dev/null
+++ b/roms/u-boot/board/micronas/vct/vcth/reg_usbh.h
@@ -0,0 +1,20 @@
+/*
+ * (C) Copyright 2009 Stefan Roese <sr@denx.de>, DENX Software Engineering
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#define USBH_BASE 0x00080000
+
+/* Relative offsets of the register adresses */
+
+#define USBH_CAPLENGTH_OFFS 0x00000100
+#define USBH_CAPLENGTH(base) ((base) + USBH_CAPLENGTH_OFFS)
+#define USBH_USBCMD_OFFS 0x00000140
+#define USBH_USBCMD(base) ((base) + USBH_USBCMD_OFFS)
+#define USBH_BURSTSIZE_OFFS 0x00000160
+#define USBH_BURSTSIZE(base) ((base) + USBH_BURSTSIZE_OFFS)
+#define USBH_USBMODE_OFFS 0x000001A8
+#define USBH_USBMODE(base) ((base) + USBH_USBMODE_OFFS)
+#define USBH_USBHMISC_OFFS 0x00000200
+#define USBH_USBHMISC(base) ((base) + USBH_USBHMISC_OFFS)