test_invalid_bracket.dtsi 894 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * Copyright (c) 2024, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. *
  6. * This file provide a malformed CoT DT file that there is
  7. * unmatching bracket
  8. *
  9. */
  10. cot {
  11. manifests {
  12. compatible = "arm, cert-descs";
  13. example_cert: example_cert {
  14. root-certificate;
  15. image-id =<2>;
  16. antirollback-counter = <&example_ctr>;
  17. example_hash: example_hash
  18. {
  19. oid = "1.3.6.1.4.1.4128.2100.101";
  20. };
  21. };
  22. };
  23. images {
  24. compatible = "arm, img-descs";
  25. example {
  26. image-id = <2>;
  27. parent = <&example_cert>;
  28. hash = <&example_hash>;
  29. };
  30. };
  31. non_volatile_counters: non_volatile_counters {
  32. compatible = "arm, non-volatile-counter";
  33. #address-cells = <1>;
  34. #size-cells = <0>;
  35. example_ctr: example_ctr {
  36. id = <0>;
  37. oid = "1.3.6.1.4.1.4128.2100.3";
  38. };
  39. };
  40. rot_keys {
  41. example_pk: example_pk {
  42. oid = "1.3.6.1.4.1.4128.2100.101";
  43. };
  44. };