dtoc_test_alias_bad_path.dts 961 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Test device tree file for dtoc
  4. *
  5. * Copyright 2017 Google, Inc
  6. */
  7. /dts-v1/;
  8. / {
  9. #address-cells = <1>;
  10. #size-cells = <1>;
  11. aliases {
  12. testbus2 = &bus2;
  13. testfdt1 = &testfdt_1;
  14. i2c4 = "/does/not/exist";
  15. };
  16. spl-test {
  17. u-boot,dm-pre-reloc;
  18. compatible = "sandbox,spl-test";
  19. boolval;
  20. intval = <1>;
  21. };
  22. i2c: i2c {
  23. u-boot,dm-pre-reloc;
  24. compatible = "sandbox,i2c";
  25. intval = <3>;
  26. };
  27. spl-test3 {
  28. u-boot,dm-pre-reloc;
  29. compatible = "sandbox,spl-test";
  30. stringarray = "one";
  31. longbytearray = [09 0a 0b 0c 0d 0e 0f 10];
  32. };
  33. bus2: some-bus {
  34. #address-cells = <1>;
  35. #size-cells = <0>;
  36. compatible = "denx,u-boot-test-bus";
  37. reg = <3 1>;
  38. ping-expect = <4>;
  39. ping-add = <4>;
  40. testfdt_1: test {
  41. compatible = "denx,u-boot-fdt-test", "google,another-fdt-test";
  42. reg = <5>;
  43. ping-expect = <5>;
  44. ping-add = <5>;
  45. };
  46. test0 {
  47. compatible = "google,another-fdt-test";
  48. };
  49. };
  50. };