Antonio Nino Diaz | 26b3864 | 2019-03-28 13:16:04 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2018-2019, Arm Limited. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #include <sp_res_desc_def.h> |
| 8 | |
| 9 | #include "quark_def.h" |
| 10 | |
| 11 | /* 4 KiB pages */ |
| 12 | #define PAGE_SIZE U(0x1000) |
| 13 | |
| 14 | /dts-v1/; |
| 15 | |
| 16 | / { |
| 17 | compatible = "arm,sp_rd"; |
| 18 | |
| 19 | attribute { |
| 20 | version = <0x00000001>; |
| 21 | sp_type = <RD_ATTR_TYPE_UP_MIGRATABLE>; |
| 22 | pe_mpidr = <0>; /* Unused */ |
| 23 | runtime_el = <RD_ATTR_RUNTIME_SEL0>; |
| 24 | exec_type = <RD_ATTR_RUNTIME>; |
| 25 | panic_policy = <RD_ATTR_PANIC_ONESHOT>; |
| 26 | xlat_granule = <RD_ATTR_XLAT_GRANULE_4KB>; |
| 27 | binary_size = <QUARK_IMAGE_SIZE>; |
| 28 | load_address = <0x00000000 QUARK_IMAGE_BASE>; |
| 29 | entrypoint = <0x00000000 QUARK_IMAGE_BASE>; |
| 30 | }; |
| 31 | |
| 32 | memory_regions { |
| 33 | spm_buffer { |
| 34 | str = "SPM buffer"; |
| 35 | base = <0x00000000 QUARK_SPM_BUF_BASE>; |
| 36 | size = <0x00000000 QUARK_SPM_BUF_SIZE>; |
| 37 | attr = <RD_MEM_NORMAL_SPM_SP_SHARED_MEM>; |
| 38 | }; |
| 39 | }; |
| 40 | |
| 41 | notifications { |
| 42 | notification_0 { |
| 43 | attr = <0>; |
| 44 | pe = <0>; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | services { |
| 49 | test_service_1 { |
| 50 | uuid = <QUARK_SERVICE1_UUID_RD>; |
| 51 | |
| 52 | accessibility = <(RD_SERV_ACCESS_SECURE | |
| 53 | RD_SERV_ACCESS_EL3 | |
| 54 | RD_SERV_ACCESS_NORMAL)>; |
| 55 | request_type = <(RD_SERV_SUPPORT_BLOCKING | |
| 56 | RD_SERV_SUPPORT_NON_BLOCKING)>; |
| 57 | connection_quota = <10>; |
| 58 | sec_mem_size = <0>; |
| 59 | interrupt_num = <0>; |
| 60 | }; |
| 61 | }; |
| 62 | }; |