blob: f467b6550ce8e67ce53e220f1254996e434bf6e8 [file] [log] [blame]
Sylvain Munautbc9f5c42020-09-14 10:22:29 +02001/*
2 * config.h
3 *
4 * Copyright (C) 2019-2020 Sylvain Munaut <tnt@246tNt.com>
5 * SPDX-License-Identifier: LGPL-3.0-or-later
6 */
7
8#pragma once
9
10#define SPI_FLASH_BASE 0x80000000
Sylvain Munaut5848f142022-01-11 11:01:12 +010011#define DBG_UART_BASE 0x81000000
Sylvain Munautbc9f5c42020-09-14 10:22:29 +020012#define LED_BASE 0x82000000
13#define USB_CORE_BASE 0x83000000
14#define USB_DATA_BASE 0x84000000
15#define E1_DATA_BASE 0x85000000
16#define DMA_BASE 0x86000000
17#define E1_CORE_BASE 0x87000000
18#define MISC_BASE 0x88000000
Sylvain Munaut5848f142022-01-11 11:01:12 +010019#define GPS_UART_BASE 0x89000000
20#define I2C_BASE 0x8a000000
21
22/* Alias for common code */
23#define UART_BASE DBG_UART_BASE
24
25#define SYS_CLK_FREQ 30720000