overlay_base.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. // SPDX-License-Identifier: GPL-2.0
  2. /dts-v1/;
  3. /plugin/;
  4. /*
  5. * Base device tree that overlays will be applied against.
  6. *
  7. * Do not add any properties in node "/".
  8. * Do not add any nodes other than "/testcase-data-2" in node "/".
  9. * Do not add anything that would result in dtc creating node "/__fixups__".
  10. * dtc will create nodes "/__symbols__" and "/__local_fixups__".
  11. */
  12. / {
  13. testcase-data-2 {
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. electric_1: substation@100 {
  17. compatible = "ot,big-volts-control";
  18. reg = < 0x00000100 0x100 >;
  19. status = "disabled";
  20. hvac_1: hvac-medium-1 {
  21. compatible = "ot,hvac-medium";
  22. heat-range = < 50 75 >;
  23. cool-range = < 60 80 >;
  24. };
  25. spin_ctrl_1: motor-1 {
  26. compatible = "ot,ferris-wheel-motor";
  27. spin = "clockwise";
  28. };
  29. spin_ctrl_2: motor-8 {
  30. compatible = "ot,roller-coaster-motor";
  31. };
  32. };
  33. rides_1: fairway-1 {
  34. #address-cells = <1>;
  35. #size-cells = <1>;
  36. compatible = "ot,rides";
  37. status = "disabled";
  38. orientation = < 127 >;
  39. ride@100 {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. compatible = "ot,roller-coaster";
  43. reg = < 0x00000100 0x100 >;
  44. hvac-provider = < &hvac_1 >;
  45. hvac-thermostat = < 29 > ;
  46. hvac-zones = < 14 >;
  47. hvac-zone-names = "operator";
  48. spin-controller = < &spin_ctrl_2 5 &spin_ctrl_2 7 >;
  49. spin-controller-names = "track_1", "track_2";
  50. queues = < 2 >;
  51. track@30 {
  52. reg = < 0x00000030 0x10 >;
  53. };
  54. track@40 {
  55. reg = < 0x00000040 0x10 >;
  56. };
  57. };
  58. };
  59. lights_1: lights@30000 {
  60. compatible = "ot,work-lights";
  61. reg = < 0x00030000 0x1000 >;
  62. status = "disabled";
  63. };
  64. lights_2: lights@40000 {
  65. compatible = "ot,show-lights";
  66. reg = < 0x00040000 0x1000 >;
  67. status = "disabled";
  68. rate = < 13 138 >;
  69. };
  70. retail_1: vending@50000 {
  71. reg = < 0x00050000 0x1000 >;
  72. compatible = "ot,tickets";
  73. status = "disabled";
  74. };
  75. };
  76. };