Manish Pandey | 270ee15 | 2020-03-16 22:25:40 +0000 | [diff] [blame] | 1 | /* |
| 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-Alves | 7581c38 | 2020-05-07 18:34:20 +0100 | [diff] [blame] | 14 | compatible = "arm,ffa-manifest-1.0"; |
Manish Pandey | 270ee15 | 2020-03-16 22:25:40 +0000 | [diff] [blame] | 15 | |
| 16 | /* Properties */ |
| 17 | description = "Base-1"; |
J-Alves | 7581c38 | 2020-05-07 18:34:20 +0100 | [diff] [blame] | 18 | ffa-version = <0x00010000>; /* 31:16 - Major, 15:0 - Minor */ |
Manish Pandey | 270ee15 | 2020-03-16 22:25:40 +0000 | [diff] [blame] | 19 | 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-Alves | 7581c38 | 2020-05-07 18:34:20 +0100 | [diff] [blame] | 37 | compatible = "arm,ffa-manifest-rx_tx-buffer"; |
Manish Pandey | 09d3ce9 | 2020-04-30 16:31:32 +0100 | [diff] [blame] | 38 | rx-buffer = <&rxbuffer>; |
| 39 | tx-buffer = <&txbuffer>; |
Manish Pandey | 270ee15 | 2020-03-16 22:25:40 +0000 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | memory-regions { |
J-Alves | 7581c38 | 2020-05-07 18:34:20 +0100 | [diff] [blame] | 43 | compatible = "arm,ffa-manifest-memory-regions"; |
Manish Pandey | 09d3ce9 | 2020-04-30 16:31:32 +0100 | [diff] [blame] | 44 | |
| 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 Pandey | 270ee15 | 2020-03-16 22:25:40 +0000 | [diff] [blame] | 60 | test-memory { |
Manish Pandey | 09d3ce9 | 2020-04-30 16:31:32 +0100 | [diff] [blame] | 61 | description = "test-memory"; |
| 62 | pages-count = <4>; |
| 63 | attributes = <0x7>; /* read-write-execute */ |
Manish Pandey | 270ee15 | 2020-03-16 22:25:40 +0000 | [diff] [blame] | 64 | }; |
| 65 | }; |
| 66 | |
| 67 | device-regions { |
J-Alves | 7581c38 | 2020-05-07 18:34:20 +0100 | [diff] [blame] | 68 | compatible = "arm,ffa-manifest-device-regions"; |
Manish Pandey | 09d3ce9 | 2020-04-30 16:31:32 +0100 | [diff] [blame] | 69 | |
Manish Pandey | 270ee15 | 2020-03-16 22:25:40 +0000 | [diff] [blame] | 70 | test-reg { |
Manish Pandey | 09d3ce9 | 2020-04-30 16:31:32 +0100 | [diff] [blame] | 71 | /* Dummy values */ |
| 72 | base-address = <0x00000000 0x24000000>; |
| 73 | pages-count = <16>; |
| 74 | attributes = <0x3>; /* read-write */ |
| 75 | reg = <0x10000008 0x00000001 1>; |
Manish Pandey | 270ee15 | 2020-03-16 22:25:40 +0000 | [diff] [blame] | 76 | smmu-id = <1>; |
| 77 | stream-ids = <0x0 0x1>; |
| 78 | interrupts = <0x2 0x3>, |
| 79 | <0x4 0x5>; |
| 80 | }; |
| 81 | }; |
| 82 | |
| 83 | }; |