osmo-e1-hardware/firmware/ice40-riscv/icE1usb/config.h

26 lines
577 B
C

/*
* config.h
*
* Copyright (C) 2019-2020 Sylvain Munaut <tnt@246tNt.com>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#pragma once
#define SPI_FLASH_BASE 0x80000000
#define DBG_UART_BASE 0x81000000
#define LED_BASE 0x82000000
#define USB_CORE_BASE 0x83000000
#define USB_DATA_BASE 0x84000000
#define E1_DATA_BASE 0x85000000
#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