Balint Dobszay | ad82efb | 2024-11-21 13:53:09 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2024, Arm Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | @DTS_TAG@ |
| 8 | |
| 9 | @DTS_NODE@ { |
| 10 | compatible = "arm,ffa-manifest-1.0"; |
| 11 | ffa-version = <@CFG_FFA_VERSION@>; /* 31:16 - Major, 15:0 - Minor */ |
| 12 | uuid = <@EXPORT_SP_UUID_DT@>; |
| 13 | description = "fTPM SP"; |
| 14 | execution-ctx-count = <1>; |
| 15 | exception-level = <1>; /* S-EL0 */ |
| 16 | execution-state = <0>; /* AArch64 */ |
| 17 | xlat-granule = <0>; /* 4KiB */ |
Gyorgy Szing | a044648 | 2025-05-19 23:17:15 +0200 | [diff] [blame^] | 18 | boot-order = <@EXPORT_SP_BOOT_ORDER@>; |
Balint Dobszay | ad82efb | 2024-11-21 13:53:09 +0100 | [diff] [blame] | 19 | messaging-method = <3>; /* Direct messaging only */ |
| 20 | ns-interrupts-action = <2>; /* Non-secure interrupts are signaled */ |
| 21 | |
| 22 | memory-regions { |
| 23 | compatible = "arm,ffa-manifest-memory-regions"; |
| 24 | |
| 25 | #include "@EXPORT_DTS_MEM_REGIONS@" |
| 26 | }; |
| 27 | |
| 28 | device-regions { |
| 29 | compatible = "arm,ffa-manifest-device-regions"; |
| 30 | |
| 31 | tpm-crb-ns { |
| 32 | base-address = <@CRB_NS_ADDR_HI@ @CRB_NS_ADDR_LO@>; |
| 33 | pages-count = <@TPM_CRB_NS_PAGE_COUNT@>; |
| 34 | attributes = <0xb>; /* ns access-read-write */ |
| 35 | }; |
| 36 | |
| 37 | tpm-crb-s { |
| 38 | base-address = <@CRB_S_ADDR_HI@ @CRB_S_ADDR_LO@>; |
| 39 | pages-count = <@TPM_CRB_S_PAGE_COUNT@>; |
| 40 | attributes = <0x3>; /* read-write */ |
| 41 | }; |
| 42 | |
| 43 | trng { |
| 44 | /* Armv8-A Base Platform values */ |
| 45 | base-address = <0x00000000 0x7fe60000>; |
| 46 | pages-count = <1>; |
| 47 | attributes = <0x3>; /* read-write */ |
| 48 | }; |
| 49 | }; |
| 50 | }; |