tests-phandle.dtsi 946 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. / {
  2. aliases {
  3. testcase-alias = &testcase;
  4. };
  5. testcase: testcase-data {
  6. security-password = "password";
  7. duplicate-name = "duplicate";
  8. duplicate-name { };
  9. phandle-tests {
  10. provider0: provider0 {
  11. #phandle-cells = <0>;
  12. };
  13. provider1: provider1 {
  14. #phandle-cells = <1>;
  15. };
  16. provider2: provider2 {
  17. #phandle-cells = <2>;
  18. };
  19. provider3: provider3 {
  20. #phandle-cells = <3>;
  21. };
  22. consumer-a {
  23. phandle-list = <&provider1 1>,
  24. <&provider2 2 0>,
  25. <0>,
  26. <&provider3 4 4 3>,
  27. <&provider2 5 100>,
  28. <&provider0>,
  29. <&provider1 7>;
  30. phandle-list-names = "first", "second", "third";
  31. phandle-list-bad-phandle = <12345678 0 0>;
  32. phandle-list-bad-args = <&provider2 1 0>,
  33. <&provider3 0>;
  34. empty-property;
  35. string-property = "foobar";
  36. unterminated-string = [40 41 42 43];
  37. unterminated-string-list = "first", "second", [40 41 42 43];
  38. };
  39. };
  40. };
  41. };