dtoc_test_simple.dts 852 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * Test device tree file for dtoc
  3. *
  4. * Copyright 2017 Google, Inc
  5. *
  6. * SPDX-License-Identifier: GPL-2.0+
  7. */
  8. /dts-v1/;
  9. / {
  10. spl-test {
  11. u-boot,dm-pre-reloc;
  12. compatible = "sandbox,spl-test";
  13. boolval;
  14. intval = <1>;
  15. intarray = <2 3 4>;
  16. byteval = [05];
  17. bytearray = [06];
  18. longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
  19. stringval = "message";
  20. stringarray = "multi-word", "message";
  21. };
  22. spl-test2 {
  23. u-boot,dm-pre-reloc;
  24. compatible = "sandbox,spl-test";
  25. intval = <3>;
  26. intarray = <5>;
  27. byteval = [08];
  28. bytearray = [01 23 34];
  29. longbytearray = [09 0a 0b 0c];
  30. stringval = "message2";
  31. stringarray = "another", "multi-word", "message";
  32. };
  33. spl-test3 {
  34. u-boot,dm-pre-reloc;
  35. compatible = "sandbox,spl-test";
  36. stringarray = "one";
  37. };
  38. spl-test4 {
  39. u-boot,dm-pre-reloc;
  40. compatible = "sandbox,spl-test.2";
  41. };
  42. };