xref: /optee_os/core/arch/arm/plat-altera/platform_config.h (revision c12c2c9b50a1087734011a3330b04d0601c104ea)
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (c) 2026, Altera Corporation.
4  */
5 
6 #ifndef __PLATFORM_CONFIG_H
7 #define __PLATFORM_CONFIG_H
8 
9 #include <mm/generic_ram_layout.h>
10 
11 /* UART settings */
12 #define CONSOLE_UART_BASE  0x10C02000
13 #define CONSOLE_BAUDRATE       115200
14 #define CONSOLE_UART_CLK_IN_HZ 100000000
15 
16 /* Generic Interrupt Controller */
17 #define GIC_BASE_ADDR 0x1D000000
18 #define GIC_DIST_OFFSET 0x0
19 #define GIC_CPU_OFFSET  0x100000
20 
21 /* DDR memory for dynamic shared memory */
22 #define DRAM0_BASE 0x80000000
23 #define DRAM0_SIZE 0x70000000  /* 1792 MB */
24 
25 #endif /* __PLATFORM_CONFIG_H */
26