testcases.dts 1.6 KB

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