icE1usb fw: Add more hw units to config.h along with sys clock
Those are already in the gateware, this just adds the define for
them.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Change-Id: I87fae20e4a987c2186d5db6747e03e7ce9789a8f
diff --git a/firmware/ice40-riscv/icE1usb/config.h b/firmware/ice40-riscv/icE1usb/config.h
index e10a120..f467b65 100644
--- a/firmware/ice40-riscv/icE1usb/config.h
+++ b/firmware/ice40-riscv/icE1usb/config.h
@@ -8,7 +8,7 @@
#pragma once
#define SPI_FLASH_BASE 0x80000000
-#define UART_BASE 0x81000000
+#define DBG_UART_BASE 0x81000000
#define LED_BASE 0x82000000
#define USB_CORE_BASE 0x83000000
#define USB_DATA_BASE 0x84000000
@@ -16,3 +16,10 @@
#define DMA_BASE 0x86000000
#define E1_CORE_BASE 0x87000000
#define MISC_BASE 0x88000000
+#define GPS_UART_BASE 0x89000000
+#define I2C_BASE 0x8a000000
+
+/* Alias for common code */
+#define UART_BASE DBG_UART_BASE
+
+#define SYS_CLK_FREQ 30720000