dtoc_test_simple.dts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. #address-cells = <1>;
  11. #size-cells = <1>;
  12. spl-test {
  13. u-boot,dm-pre-reloc;
  14. compatible = "sandbox,spl-test";
  15. boolval;
  16. intval = <1>;
  17. intarray = <2 3 4>;
  18. byteval = [05];
  19. bytearray = [06];
  20. longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
  21. stringval = "message";
  22. stringarray = "multi-word", "message";
  23. };
  24. spl-test2 {
  25. u-boot,dm-pre-reloc;
  26. compatible = "sandbox,spl-test";
  27. intval = <3>;
  28. intarray = <5>;
  29. byteval = [08];
  30. bytearray = [01 23 34];
  31. longbytearray = [09 0a 0b 0c];
  32. stringval = "message2";
  33. stringarray = "another", "multi-word", "message";
  34. };
  35. spl-test3 {
  36. u-boot,dm-pre-reloc;
  37. compatible = "sandbox,spl-test";
  38. stringarray = "one";
  39. };
  40. spl-test4 {
  41. u-boot,dm-pre-reloc;
  42. compatible = "sandbox,spl-test.2";
  43. };
  44. i2c@0 {
  45. compatible = "sandbox,i2c-test";
  46. u-boot,dm-pre-reloc;
  47. #address-cells = <1>;
  48. #size-cells = <0>;
  49. pmic@9 {
  50. compatible = "sandbox,pmic-test";
  51. u-boot,dm-pre-reloc;
  52. reg = <9>;
  53. low-power;
  54. };
  55. };
  56. };