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
This commit is contained in:
Sylvain Munaut 2022-01-11 11:01:12 +01:00
parent 51122af10f
commit 5848f14563
1 changed files with 8 additions and 1 deletions

View File

@ -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