aboutsummaryrefslogtreecommitdiff
path: root/spm/cactus/plat/arm/fvp/include/cactus_platform_def.h
blob: 8940c83f5bcd4fff220452e8ba723af349d81e68 (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
33
/*
 * Copyright (c) 2020-2021, Arm Limited. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#include <platform_def.h>

#ifndef CACTUS_PLATFORM_DEF_H
#define CACTUS_PLATFORM_DEF_H

#define PLAT_ARM_DEVICE0_BASE		DEVICE0_BASE
#define PLAT_ARM_DEVICE0_SIZE		DEVICE0_SIZE

#define CACTUS_PL011_UART_BASE		PL011_UART2_BASE
#define CACTUS_PL011_UART_CLK_IN_HZ	PL011_UART2_CLK_IN_HZ

#define PLAT_CACTUS_RX_BASE		ULL(0x7300000)
#define PLAT_CACTUS_CORE_COUNT		(8U)

/* Scratch memory used for SMMUv3 driver testing purposes in Cactus SP */
#define PLAT_CACTUS_MEMCPY_BASE		ULL(0x7400000)
#define PLAT_CACTUS_MEMCPY_RANGE	ULL(0x8000)

#define CACTUS_PRIMARY_EC_COUNT		(8U)
#define CACTUS_SECONDARY_EC_COUNT	(8U)
#define CACTUS_TERTIARY_EC_COUNT	(1U)

/* Base address of user and PRIV frames in SMMUv3TestEngine */
#define USR_BASE_FRAME			ULL(0x2BFE0000)
#define PRIV_BASE_FRAME			ULL(0x2BFF0000)

#endif /* CACTUS_PLATFORM_DEF_H */