dtoc_test_phandle.dts 640 B

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