aboutsummaryrefslogtreecommitdiff
path: root/spm/cactus/plat/arm/fvp/fdts/cactus.dts
blob: 3c011c91c3d60c740365f56d547baf7200c05cc0 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/*
 * Copyright (c) 2019-2021, Arm Limited. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 *
 * This file is a Partition Manifest (PM) for a minimal Secure Partition (SP)
 * that has additional optional properties defined.
 *
 */

/dts-v1/;

/ {
	compatible = "arm,ffa-manifest-1.0";

	/* Properties */
	description = "Base-1";
	ffa-version = <0x00010001>; /* 31:16 - Major, 15:0 - Minor */
	uuid = <0x1e67b5b4 0xe14f904a 0x13fb1fb8 0xcbdae1da>;
	id = <1>;
	auxiliary-id = <0xae>;
	stream-endpoint-ids = <0 1 2 3>;
	execution-ctx-count = <8>;
	exception-level = <2>; /* S-EL1 */
	execution-state = <0>; /* AARCH64 */
	load-address = <0x7000000>;
	entrypoint-offset = <0x00002000>;
	xlat-granule = <0>; /* 4KiB */
	boot-order = <0>;
	messaging-method = <3>; /* Direct messaging only */
	managed-exit; /* Managed exit is supported */
	notification-support; /* Support receipt of notifications. */
	run-time-model = <0>; /* Run to completion */

	/* Boot protocol */
	gp-register-num = <0>;

	/* Boot Info */
	boot-info {
		compatible = "arm,ffa-manifest-boot-info";
		ffa_manifest;
	};

	rx_tx-info {
		compatible = "arm,ffa-manifest-rx_tx-buffer";
		rx-buffer = <&rxbuffer>;
		tx-buffer = <&txbuffer>;
	};

	memory-regions {
		compatible = "arm,ffa-manifest-memory-regions";

		rxbuffer: rx-buffer {
			description = "rx-buffer";
			pages-count = <1>;
			base-address = <0x00000000 0x7300000>;
			attributes = <0x1>; /* read-only */
		};

		txbuffer: tx-buffer {
			description = "tx-buffer";
			pages-count = <1>;
			base-address = <0x00000000 0x7301000>;
			attributes = <0x3>; /* read-write */
		};

		/* Memory to be shared in memory sharing tests. */
		share-memory {
			description = "share-memory";
			pages-count = <1>;
			base-address =<0x00000000 0x7500000>;
			attributes = <0x3>; /* read-write */
		};

		/* Without optional base-address */
		test-memory {
			description = "test-memory";
			pages-count = <4>;
			attributes = <0x3>; /* read-write */
		};

		/*
		 * Scratch memory used for the purpose of testing SMMUv3 driver
		 * through Cactus SP
		 */
		smmuv3-memcpy-src {
			description = "smmuv3-memcpy-source";
			pages-count = <4>;
			base-address = <0x00000000 0x7400000>;
			attributes = <0x3>; /* read-write */
		};

		smmuv3-memcpy-dst {
			description = "smmuv3-memcpy-destination";
			pages-count = <4>;
			base-address = <0x00000000 0x7404000>;
			attributes = <0x3>; /* read-write */
		};
	};

	device-regions {
		compatible = "arm,ffa-manifest-device-regions";

		uart2 {
			base-address = <0x00000000 0x1c0b0000>;
			pages-count = <1>;
			attributes = <0x3>; /* read-write */
		};

		smmuv3-testengine {
			/*
			 * SMMUv3TestEngine is a DMA IP modeled in the
			 * Base-RevC FVP Model.
			 * User Frame: 0x2bfe0000
			 * Privileged Frame: 0x2bff0000
			 */
			base-address = <0x00000000 0x2bfe0000>;
			pages-count = <32>; /* Two 64KB pages */
			attributes = <0x3>; /* read-write */
			smmu-id = <0>;
			stream-ids = <0x0 0x1>;
		};

		sec_wdog {
			/* SP805 Trusted Watchdog Module */
			base-address = <0x00000000 0x2a490000>;
			pages-count = <32>; /* Two 64KB pages */
			attributes = <0x3>; /* read-write */
			interrupts = <56 0x900>;
		};
	};
};