summaryrefslogtreecommitdiffstats
path: root/grlib.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-07-20 19:47:31 +0200
committerJiri Gaisler <jiri@gaisler.se>2023-09-29 14:40:24 +0200
commitea7db5c21e98d39c95dd520b864c0b69e8f0e65d (patch)
tree29d81a2fa15ae6d7535532ed422c34b4ecbb51bd /grlib.h
parentleon3/gptimer: Set IP bit on interrupt (diff)
downloadsis-master.tar.bz2
Add basic DSU support present on GR712RCHEADmaster
Only the time tag counter register is implemented so far. It may be used by clock drivers as a free-running counter to measure time.
Diffstat (limited to 'grlib.h')
-rw-r--r--grlib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/grlib.h b/grlib.h
index b182884..a88cb6b 100644
--- a/grlib.h
+++ b/grlib.h
@@ -32,6 +32,7 @@
/* Devices */
#define GAISLER_LEON3 0x003
+#define GAISLER_DSU 0x004
#define GAISLER_APBMST 0x006
#define GAISLER_SRCTRL 0x008
#define GAISLER_SDCTRL 0x009
@@ -105,4 +106,4 @@ extern void apbuart_restore_stdio (void);
extern void apbuart_close_port (void);
extern void apbuart_flush (void);
extern const struct grlib_ipcore gptimer, irqmp, apbuart, apbmst,
- greth, l2c, leon3s, srctrl, ns16550, clint, plic, sdctrl, s5test;
+ dsu, greth, l2c, leon3s, srctrl, ns16550, clint, plic, sdctrl, s5test;