blob: 99ebfb15cfe439a8cbf4d7c47551b9c27761198c [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>
Sylvain Munaut1714abc2022-10-05 12:45:56 +02005 * SPDX-License-Identifier: GPL-3.0-or-later
Sylvain Munautbc9f5c42020-09-14 10:22:29 +02006 */
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
Sylvain Munaut34b0d022022-09-01 18:16:19 +020021#define AUX_UART_BASE 0x8b000000
Sylvain Munaut5848f142022-01-11 11:01:12 +010022
23/* Alias for common code */
24#define UART_BASE DBG_UART_BASE
25
26#define SYS_CLK_FREQ 30720000