Sylvain Munaut | bc9f5c4 | 2020-09-14 10:22:29 +0200 | [diff] [blame] | 1 | /* |
| 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 Munaut | 5848f14 | 2022-01-11 11:01:12 +0100 | [diff] [blame] | 11 | #define DBG_UART_BASE 0x81000000 |
Sylvain Munaut | bc9f5c4 | 2020-09-14 10:22:29 +0200 | [diff] [blame] | 12 | #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 Munaut | 5848f14 | 2022-01-11 11:01:12 +0100 | [diff] [blame] | 19 | #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 |