blob: 2e30db4ad6f4b72226c0234ebbe30a66ad5ae96b [file] [log] [blame]
Antonio Nino Diaz7e1e5e82018-12-05 14:38:15 +00001/*
Olivier Deprez48e6d262020-03-13 18:04:17 +01002 * Copyright (c) 2019-2020, Arm Limited. All rights reserved.
Antonio Nino Diaz7e1e5e82018-12-05 14:38:15 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
Olivier Deprez48e6d262020-03-13 18:04:17 +01005 *
6 * This file is a Partition Manifest (PM) for a minimal Secure Partition (SP)
7 * that has additional optional properties defined.
8 *
Antonio Nino Diaz7e1e5e82018-12-05 14:38:15 +00009 */
10
Antonio Nino Diaz7e1e5e82018-12-05 14:38:15 +000011/dts-v1/;
12
13/ {
J-Alves7581c382020-05-07 18:34:20 +010014 compatible = "arm,ffa-manifest-1.0";
Antonio Nino Diaz7e1e5e82018-12-05 14:38:15 +000015
Olivier Deprez48e6d262020-03-13 18:04:17 +010016 /* Properties */
17 description = "Base-1";
J-Alves7581c382020-05-07 18:34:20 +010018 ffa-version = <0x00010000>; /* 31:16 - Major, 15:0 - Minor */
Olivier Deprez48e6d262020-03-13 18:04:17 +010019 uuid = <0xb4b5671e 0x4a904fe1 0xb81ffb13 0xdae1dacb>;
20 id = <1>;
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 = <0x7000000>;
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>;
Antonio Nino Diaz7e1e5e82018-12-05 14:38:15 +000040 };
41
Olivier Deprez48e6d262020-03-13 18:04:17 +010042 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 0x7200000>;
49 attributes = <0x1>; /* read-only */
50 };
51
52 txbuffer: tx-buffer {
53 description = "tx-buffer";
54 pages-count = <1>;
55 base-address = <0x00000000 0x7201000>;
56 attributes = <0x3>; /* read-write */
57 };
58
59 /* Without optional base-address */
Olivier Deprez48e6d262020-03-13 18:04:17 +010060 test-memory {
Manish Pandey09d3ce92020-04-30 16:31:32 +010061 description = "test-memory";
62 pages-count = <4>;
63 attributes = <0x7>; /* read-write-execute */
Antonio Nino Diaz7e1e5e82018-12-05 14:38:15 +000064 };
65 };
66
Olivier Deprez48e6d262020-03-13 18:04:17 +010067 device-regions {
J-Alves7581c382020-05-07 18:34:20 +010068 compatible = "arm,ffa-manifest-device-regions";
Manish Pandey09d3ce92020-04-30 16:31:32 +010069
Olivier Deprez48e6d262020-03-13 18:04:17 +010070 test-reg {
Manish Pandey09d3ce92020-04-30 16:31:32 +010071 /* Dummy Values */
72 base-address = <0x00000000 0x22000000>;
73 pages-count = <64>;
74 attributes = <0x3>; /* read-write */
75 reg = <0x10000008 0x00000001 1>;
Olivier Deprez48e6d262020-03-13 18:04:17 +010076 smmu-id = <1>;
77 stream-ids = <0x0 0x1>;
78 interrupts = <0x2 0x3>,
79 <0x4 0x5>;
Manish Pandey09d3ce92020-04-30 16:31:32 +010080 exclusive-access;
Antonio Nino Diaz7e1e5e82018-12-05 14:38:15 +000081 };
82 };
83
Antonio Nino Diaz7e1e5e82018-12-05 14:38:15 +000084};