dtoc_test_phandle.dts 732 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. phandle: phandle-target {
  10. u-boot,dm-pre-reloc;
  11. compatible = "target";
  12. intval = <0>;
  13. #clock-cells = <0>;
  14. };
  15. phandle_1: phandle2-target {
  16. u-boot,dm-pre-reloc;
  17. compatible = "target";
  18. intval = <1>;
  19. #clock-cells = <1>;
  20. };
  21. phandle_2: phandle3-target {
  22. u-boot,dm-pre-reloc;
  23. compatible = "target";
  24. intval = <2>;
  25. #clock-cells = <2>;
  26. };
  27. phandle-source {
  28. u-boot,dm-pre-reloc;
  29. compatible = "source";
  30. clocks = <&phandle &phandle_1 11 &phandle_2 12 13 &phandle>;
  31. };
  32. phandle-source2 {
  33. u-boot,dm-pre-reloc;
  34. compatible = "source";
  35. clocks = <&phandle>;
  36. };
  37. };