tnt has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/26905 )
Change subject: icE1usb fw: Add more hw units to config.h along with sys clock ......................................................................
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 --- M firmware/ice40-riscv/icE1usb/config.h 1 file changed, 8 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1-hardware refs/changes/05/26905/1
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
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-e1-hardware/+/26905
to look at the new patch set (#2).
Change subject: icE1usb fw: Add more hw units to config.h along with sys clock ......................................................................
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 --- M firmware/ice40-riscv/icE1usb/config.h 1 file changed, 8 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1-hardware refs/changes/05/26905/2
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/26905 )
Change subject: icE1usb fw: Add more hw units to config.h along with sys clock ......................................................................
Patch Set 2: Code-Review+2
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/26905 )
Change subject: icE1usb fw: Add more hw units to config.h along with sys clock ......................................................................
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 --- M firmware/ice40-riscv/icE1usb/config.h 1 file changed, 8 insertions(+), 1 deletion(-)
Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified
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