blob: 8a140a971bce7760f3ced706642390be3a807793 [file] [log] [blame]
Manish Pandey270ee152020-03-16 22:25:40 +00001/*
2 * Copyright (c) 2019-2020, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 * This file is a Partition Manifest (PM) for a minimal Secure Partition (SP)
7 * that has additional optional properties defined.
8 *
9 */
10
11/dts-v1/;
12
13/ {
J-Alves7581c382020-05-07 18:34:20 +010014 compatible = "arm,ffa-manifest-1.0";
Manish Pandey270ee152020-03-16 22:25:40 +000015
16 /* Properties */
17 description = "Base-1";
J-Alves7581c382020-05-07 18:34:20 +010018 ffa-version = <0x00010000>; /* 31:16 - Major, 15:0 - Minor */
Manish Pandey270ee152020-03-16 22:25:40 +000019 uuid = <0xd1582309 0xf02347b9 0x827c4464 0xf5578fc8>;
20 id = <2>;
21 auxiliary-id = <0xae>;
22 stream-endpoint-ids = <0 1 2 3>;
23 execution-ctx-count = <1>;
24 exception-level = <2>; /* S-EL1 */
25 execution-state = <0>; /* AARCH64 */
26 load-address = <0x7100000>;
27 entrypoint-offset = <0x00001000>;
28 xlat-granule = <0>; /* 4KiB */
29 boot-order = <0>;
30 messaging-method = <0>; /* Direct messaging only */
31 run-time-model = <0>; /* Run to completion */
32
33 /* Boot protocol */
34 gp-register-num = <0x0>;
35
36 rx_tx-info {
J-Alves7581c382020-05-07 18:34:20 +010037 compatible = "arm,ffa-manifest-rx_tx-buffer";
Manish Pandey09d3ce92020-04-30 16:31:32 +010038 rx-buffer = <&rxbuffer>;
39 tx-buffer = <&txbuffer>;
Manish Pandey270ee152020-03-16 22:25:40 +000040 };
41
42 memory-regions {
J-Alves7581c382020-05-07 18:34:20 +010043 compatible = "arm,ffa-manifest-memory-regions";
Manish Pandey09d3ce92020-04-30 16:31:32 +010044
45 rxbuffer: rx-buffer {
46 description = "rx-buffer";
47 pages-count = <1>;
48 base-address = <0x00000000 0x7202000>;
49 attributes = <0x1>; /* read-only */
50 };
51
52 txbuffer: tx-buffer {
53 description = "tx-buffer";
54 pages-count = <1>;
55 base-address = <0x00000000 0x7203000>;
56 attributes = <0x3>; /* read-write */
57 };
58
59 /* Without optional base-address */
Manish Pandey270ee152020-03-16 22:25:40 +000060 test-memory {
Manish Pandey09d3ce92020-04-30 16:31:32 +010061 description = "test-memory";
62 pages-count = <4>;
63 attributes = <0x7>; /* read-write-execute */
Manish Pandey270ee152020-03-16 22:25:40 +000064 };
65 };
66
67 device-regions {
J-Alves7581c382020-05-07 18:34:20 +010068 compatible = "arm,ffa-manifest-device-regions";
Manish Pandey09d3ce92020-04-30 16:31:32 +010069
Manish Pandey270ee152020-03-16 22:25:40 +000070 test-reg {
Manish Pandey09d3ce92020-04-30 16:31:32 +010071 /* Dummy values */
72 base-address = <0x00000000 0x24000000>;
73 pages-count = <16>;
74 attributes = <0x3>; /* read-write */
75 reg = <0x10000008 0x00000001 1>;
Manish Pandey270ee152020-03-16 22:25:40 +000076 smmu-id = <1>;
77 stream-ids = <0x0 0x1>;
78 interrupts = <0x2 0x3>,
79 <0x4 0x5>;
80 };
81 };
82
83};