overlay_common.dtsi 1.9 KB

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