Antonio Nino Diaz | 7e1e5e8 | 2018-12-05 14:38:15 +0000 | [diff] [blame] | 1 | /* |
Olivier Deprez | 48e6d26 | 2020-03-13 18:04:17 +0100 | [diff] [blame] | 2 | * Copyright (c) 2019-2020, Arm Limited. All rights reserved. |
Antonio Nino Diaz | 7e1e5e8 | 2018-12-05 14:38:15 +0000 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
Olivier Deprez | 48e6d26 | 2020-03-13 18:04:17 +0100 | [diff] [blame] | 5 | * |
| 6 | * This file is a Partition Manifest (PM) for a minimal Secure Partition (SP) |
| 7 | * that has additional optional properties defined. |
| 8 | * |
Antonio Nino Diaz | 7e1e5e8 | 2018-12-05 14:38:15 +0000 | [diff] [blame] | 9 | */ |
| 10 | |
Antonio Nino Diaz | 7e1e5e8 | 2018-12-05 14:38:15 +0000 | [diff] [blame] | 11 | /dts-v1/; |
| 12 | |
| 13 | / { |
J-Alves | 7581c38 | 2020-05-07 18:34:20 +0100 | [diff] [blame] | 14 | compatible = "arm,ffa-manifest-1.0"; |
Antonio Nino Diaz | 7e1e5e8 | 2018-12-05 14:38:15 +0000 | [diff] [blame] | 15 | |
Olivier Deprez | 48e6d26 | 2020-03-13 18:04:17 +0100 | [diff] [blame] | 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 */ |
Olivier Deprez | 48e6d26 | 2020-03-13 18:04:17 +0100 | [diff] [blame] | 19 | 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-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>; |
Antonio Nino Diaz | 7e1e5e8 | 2018-12-05 14:38:15 +0000 | [diff] [blame] | 40 | }; |
| 41 | |
Olivier Deprez | 48e6d26 | 2020-03-13 18:04:17 +0100 | [diff] [blame] | 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>; |
Max Shvetsov | 93119e3 | 2020-07-01 14:09:48 +0100 | [diff] [blame^] | 48 | base-address = <0x00000000 0x7300000>; |
Manish Pandey | 09d3ce9 | 2020-04-30 16:31:32 +0100 | [diff] [blame] | 49 | attributes = <0x1>; /* read-only */ |
| 50 | }; |
| 51 | |
| 52 | txbuffer: tx-buffer { |
| 53 | description = "tx-buffer"; |
| 54 | pages-count = <1>; |
Max Shvetsov | 93119e3 | 2020-07-01 14:09:48 +0100 | [diff] [blame^] | 55 | base-address = <0x00000000 0x7301000>; |
Manish Pandey | 09d3ce9 | 2020-04-30 16:31:32 +0100 | [diff] [blame] | 56 | attributes = <0x3>; /* read-write */ |
| 57 | }; |
| 58 | |
| 59 | /* Without optional base-address */ |
Olivier Deprez | 48e6d26 | 2020-03-13 18:04:17 +0100 | [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 */ |
Antonio Nino Diaz | 7e1e5e8 | 2018-12-05 14:38:15 +0000 | [diff] [blame] | 64 | }; |
| 65 | }; |
| 66 | |
Olivier Deprez | 48e6d26 | 2020-03-13 18:04:17 +0100 | [diff] [blame] | 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 | |
Olivier Deprez | 48e6d26 | 2020-03-13 18:04:17 +0100 | [diff] [blame] | 70 | test-reg { |
Manish Pandey | 09d3ce9 | 2020-04-30 16:31:32 +0100 | [diff] [blame] | 71 | /* Dummy Values */ |
| 72 | base-address = <0x00000000 0x22000000>; |
| 73 | pages-count = <64>; |
| 74 | attributes = <0x3>; /* read-write */ |
| 75 | reg = <0x10000008 0x00000001 1>; |
Olivier Deprez | 48e6d26 | 2020-03-13 18:04:17 +0100 | [diff] [blame] | 76 | smmu-id = <1>; |
| 77 | stream-ids = <0x0 0x1>; |
| 78 | interrupts = <0x2 0x3>, |
| 79 | <0x4 0x5>; |
Manish Pandey | 09d3ce9 | 2020-04-30 16:31:32 +0100 | [diff] [blame] | 80 | exclusive-access; |
Antonio Nino Diaz | 7e1e5e8 | 2018-12-05 14:38:15 +0000 | [diff] [blame] | 81 | }; |
| 82 | }; |
| 83 | |
Antonio Nino Diaz | 7e1e5e8 | 2018-12-05 14:38:15 +0000 | [diff] [blame] | 84 | }; |