testcases.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. // SPDX-License-Identifier: GPL-2.0
  2. /dts-v1/;
  3. / {
  4. testcase-data {
  5. changeset {
  6. prop-update = "hello";
  7. prop-remove = "world";
  8. node-remove {
  9. };
  10. };
  11. };
  12. };
  13. #include "tests-phandle.dtsi"
  14. #include "tests-interrupts.dtsi"
  15. #include "tests-match.dtsi"
  16. #include "tests-platform.dtsi"
  17. #include "tests-overlay.dtsi"
  18. /*
  19. * phandle fixup data - generated by dtc patches that aren't upstream.
  20. * This data must be regenerated whenever phandle references are modified in
  21. * the testdata tree.
  22. *
  23. * The format of this data may be subject to change. For the time being consider
  24. * this a kernel-internal data format.
  25. */
  26. / { __local_fixups__ {
  27. testcase-data {
  28. phandle-tests {
  29. consumer-a {
  30. phandle-list = <0x00000000 0x00000008
  31. 0x00000018 0x00000028
  32. 0x00000034 0x00000038>;
  33. phandle-list-bad-args = <0x00000000 0x0000000c>;
  34. };
  35. };
  36. interrupts {
  37. intmap0 {
  38. interrupt-map = <0x00000004 0x00000010
  39. 0x00000024 0x00000034>;
  40. };
  41. intmap1 {
  42. interrupt-map = <0x0000000c>;
  43. };
  44. interrupts0 {
  45. interrupt-parent = <0x00000000>;
  46. };
  47. interrupts1 {
  48. interrupt-parent = <0x00000000>;
  49. };
  50. interrupts-extended0 {
  51. interrupts-extended = <0x00000000 0x00000008
  52. 0x00000018 0x00000024
  53. 0x0000002c 0x00000034
  54. 0x0000003c>;
  55. };
  56. };
  57. testcase-device1 {
  58. interrupt-parent = <0x00000000>;
  59. };
  60. testcase-device2 {
  61. interrupt-parent = <0x00000000>;
  62. };
  63. overlay2 {
  64. fragment@0 {
  65. target = <0x00000000>;
  66. };
  67. };
  68. overlay3 {
  69. fragment@0 {
  70. target = <0x00000000>;
  71. };
  72. };
  73. overlay4 {
  74. fragment@0 {
  75. target = <0x00000000>;
  76. };
  77. };
  78. };
  79. }; };