test2.dtsi 978 B

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