summaryrefslogtreecommitdiff
path: root/firmware/export/dm320.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/dm320.h')
-rw-r--r--firmware/export/dm320.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/export/dm320.h b/firmware/export/dm320.h
index 4d6b9ac08b..0e1623365a 100644
--- a/firmware/export/dm320.h
+++ b/firmware/export/dm320.h
@@ -43,6 +43,14 @@
43#define PHY_IO_BASE2 0x00060000 43#define PHY_IO_BASE2 0x00060000
44#define DM320_REG2(addr) (*(volatile unsigned int *)(PHY_IO_BASE2 + (addr))) 44#define DM320_REG2(addr) (*(volatile unsigned int *)(PHY_IO_BASE2 + (addr)))
45 45
46/* USBOTG */
47#define USB_NUM_ENDPOINTS 3
48/* This needs to be 2048 byte aligned, but USB_QHARRAY_ATTR should take care
49 * of that */
50#define USB_QHARRAY_ATTR __attribute__((section(".qharray"),nocommon,aligned(4)))
51#define USB_DEVBSS_ATTR IBSS_ATTR
52
53
46/* Timer 0-3 */ 54/* Timer 0-3 */
47#define IO_TIMER0_TMMD DM320_REG(0x0000) 55#define IO_TIMER0_TMMD DM320_REG(0x0000)
48#define IO_TIMER0_TMRSV0 DM320_REG(0x0002) 56#define IO_TIMER0_TMRSV0 DM320_REG(0x0002)