overlay_base.dts 1.7 KB

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