aboutsummaryrefslogtreecommitdiff
path: root/core/arch/arm/plat-rzn1/platform_config.h
blob: a6340bb333a333f9e957a7f9923b8e3b5ac10513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (c) 2017, Schneider Electric
 * Copyright (c) 2020, Linaro Limited
 */

#ifndef PLATFORM_CONFIG_H
#define PLATFORM_CONFIG_H

#include <mm/generic_ram_layout.h>

/* DRAM */
#define DRAM_BASE			0x80000000
#define DRAM_SIZE			0x10000000

/* GIC */
#define GIC_BASE			0x44100000
#define GICD_OFFSET			0x1000
#define GICC_OFFSET			0x2000
#define GICD_BASE			(GIC_BASE + GICD_OFFSET)
#define GICC_BASE			(GIC_BASE + GICC_OFFSET)

/* Peripheral memory map */
#define PERIPH_REG_BASE			0x40000000

/* System Control */
#define SYSCTRL_BASE			0x4000C000

/* UART */
#define CONSOLE_UART_BASE		0x40060000

#endif /* PLATFORM_CONFIG_H */