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#include <example/example.h> 11#include <example/example/example.h> 12 13cot { 14 manifests { 15 compatible = "arm, cert-descs"; 16 17#if defined(test) 18 example_cert: example_cert { 19 root-certificate; 20 image-id =<EXAMPLE_ID>; 21 antirollback-counter = <&example_ctr>; 22 23 example_hash: example_hash 24 { 25 oid = EXAMPLE_HASH_ID; 26 }; 27 }; 28#endif 29 }; 30 31 images { 32 compatible = "arm, img-descs"; 33 34 example { 35 image-id = <EXAMPLE_ID>; 36 parent = <&example_cert>; 37 hash = <&example_hash>; 38 }; 39 }; 40}; 41 42non_volatile_counters: non_volatile_counters { 43 compatible = "arm, non-volatile-counter"; 44 45 #address-cells = <1>; 46 #size-cells = <0>; 47 48 example_ctr: example_ctr { 49 id = <TRUSTED_NV_CTR_ID>; 50 oid = CCA_FW_NVCOUNTER_OID; 51 }; 52}; 53 54rot_keys { 55 example_pk: example_pk { 56 oid = EXAMPLE_PK_OID; 57 }; 58}; 59