| 1 |
/* |
| 2 |
* Copyright (c) 2024, Arm Limited. All rights reserved. |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: BSD-3-Clause |
| 5 |
* |
| 6 |
* This file provide a valid CoT DT file |
| 7 |
* |
| 8 |
*/ |
| 9 |
|
| 10 |
#if test |
| 11 |
#include <example/example.h> |
| 12 |
#include <example/example/example.h> |
| 13 |
#endif |
| 14 |
|
| 15 |
cot |
| 16 |
{ |
| 17 |
manifests |
| 18 |
{ |
| 19 |
compatible = "arm, cert-descs"; |
| 20 |
#if defined (test) |
| 21 |
example_cert: example_cert |
| 22 |
{ |
| 23 |
root-certificate; |
| 24 |
image-id =<EXAMPLE_ID>; |
| 25 |
antirollback-counter = <&example_ctr>; |
| 26 |
|
| 27 |
example_hash: example_hash |
| 28 |
{ |
| 29 |
oid = EXAMPLE_HASH_ID; |
| 30 |
}; |
| 31 |
|
| 32 |
}; |
| 33 |
#endif |
| 34 |
}; |
| 35 |
|
| 36 |
images |
| 37 |
{ |
| 38 |
compatible = "arm, img-descs"; |
| 39 |
|
| 40 |
example |
| 41 |
{ |
| 42 |
image-id = <EXAMPLE_ID>; |
| 43 |
parent = <&example_cert>; |
| 44 |
hash = <&example_hash>; |
| 45 |
}; |
| 46 |
}; |
| 47 |
}; |
| 48 |
|
| 49 |
non_volatile_counters: non_volatile_counters |
| 50 |
{ |
| 51 |
compatible = "arm, non-volatile-counter"; |
| 52 |
|
| 53 |
#address-cells = <1>; |
| 54 |
#size-cells = <0>; |
| 55 |
|
| 56 |
example_ctr: example_ctr |
| 57 |
{ |
| 58 |
id = <TRUSTED_NV_CTR_ID>; |
| 59 |
oid = CCA_FW_NVCOUNTER_OID; |
| 60 |
}; |
| 61 |
}; |
| 62 |
|
| 63 |
rot_keys |
| 64 |
{ |
| 65 |
example_pk: example_pk |
| 66 |
{ |
| 67 |
oid = EXAMPLE_PK_OID; |
| 68 |
}; |
| 69 |
}; |