From ea7db5c21e98d39c95dd520b864c0b69e8f0e65d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 20 Jul 2023 19:47:31 +0200 Subject: Add basic DSU support present on GR712RC 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. --- leon3.c | 1 + 1 file changed, 1 insertion(+) (limited to 'leon3.c') diff --git a/leon3.c b/leon3.c index d833689..0bf6cbe 100644 --- a/leon3.c +++ b/leon3.c @@ -65,6 +65,7 @@ init_sim (void) grlib_ahbs_add (&apbmst, 0, APBSTART, 0xFFF); grlib_ahbs_add (&sdctrl, 0, RAM_START, RAM_MASKPP); + grlib_ahbs_add (&dsu, 0, 0x90000000, 0xFFF); grlib_apb_add (&apbuart, 3, APBSTART + 0x100, 0xFFF); grlib_apb_add (&irqmp, 0, APBSTART + 0x200, 0xFFF); -- cgit v1.2.3