xref: /rk3399_ARM-atf/plat/arm/board/juno/fdts/juno_stmm_spmc_at_el3_manifest.dts (revision 48a17d711789ae73fc6f68d89e2942c83b8bd13c)
1/*
2 * Copyright (c) 2025, Arm Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/dts-v1/;
8
9/**
10 * dtc compiler doesn't define architecture.
11 * To get proper define value for StandaloneMm, we need to define manually
12 * before including platform_def.h
13 */
14#define __aarch64__	1
15
16#include <platform_def.h>
17
18#define STMM_CORE_COUNT	PLATFORM_CORE_COUNT
19
20/**
21 * device region values.
22 */
23#define STMM_IOFPGA_BASE	V2M_IOFPGA_BASE
24#define STMM_IOFPGA_SIZE	V2M_IOFPGA_SIZE
25
26#define STMM_SYSREG_BASE	V2M_SYSREGS_BASE
27#define STMM_SYSREG_SIZE	V2M_SYSREGS_SIZE
28
29#define STMM_SOCCMP_BASE	UL(0x7FF50000)
30#define STMM_SOCCMP_SIZE	(SZ_64K * 9)
31
32#define STMM_FLASH0_BASE	V2M_FLASH0_BASE
33#define STMM_FLASH0_SIZE	V2M_FLASH0_SIZE
34#define STMM_FLASH0_ATTR	NON_SECURE_RW
35
36#define STMM_TPM_S_CRB_BASE	PLAT_SP_PSEUDO_S_CRB_BASE
37#define STMM_TPM_S_CRB_SIZE	PLAT_SP_PSEUDO_S_CRB_SIZE
38
39#define STMM_TPM_NS_CRB_BASE	PLAT_SP_PSEUDO_NS_CRB_BASE
40#define STMM_TPM_NS_CRB_SIZE	PLAT_SP_PSEUDO_NS_CRB_SIZE
41
42/**
43 * memory region values.
44 */
45#define STMM_IMAGE_BASE	ARM_SP_IMAGE_BASE
46#define STMM_IMAGE_SIZE	ARM_SP_IMAGE_SIZE
47
48#define STMM_SSBUF_BASE	PLAT_SPM_BUF_BASE
49#define STMM_SSBUF_SIZE	PLAT_SPM_BUF_SIZE
50
51#define STMM_NSBUF_BASE	PLAT_SP_IMAGE_NS_BUF_BASE
52#define STMM_NSBUF_SIZE	PLAT_SP_IMAGE_NS_BUF_SIZE
53
54#define STMM_HEAP_BASE	PLAT_SP_IMAGE_STACK_BASE
55#define STMM_HEAP_SIZE	ARM_SP_IMAGE_HEAP_SIZE + ARM_SP_IMAGE_STACK_TOTAL_SIZE
56
57#include <stmm_common.dtsi>
58
59/ {
60	description = "Juno StandaloneMm for SPMC_AT_EL3";
61	ffa-version = <0x00010002>; /* 31:16 - Major, 15:0 - Minor */
62	uuid = <UUID_INIT(0x378daedc, 0xf06b, 0x4446,
63			  0x83, 0x14, 0x40, 0xab, 0x93, 0x3c, 0x87, 0xa3)>,
64	       <UUID_INIT(0x17b862a4, 0x1806, 0x4faf,
65			  0x86, 0xb3, 0x08, 0x9a, 0x58, 0x35, 0x38, 0x61)>;
66	id = <0x8001>;
67	messaging-method = <0x603>; /* Direct req/resp/req2/resp2 supported. */
68	load-address = <0x0 0x0>;
69};
70
71#include "stmm_template.dts"
72