1// SPDX-License-Identifier: GPL-2.0
2
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/ {
13	testcase-data-2 {
14		#address-cells = <1>;
15		#size-cells = <1>;
16
17		electric_1: substation@100 {
18			compatible = "ot,big-volts-control";
19			reg = < 0x00000100 0x100 >;
20			status = "disabled";
21
22			hvac_1: hvac-medium-1 {
23				compatible = "ot,hvac-medium";
24				heat-range = < 50 75 >;
25				cool-range = < 60 80 >;
26			};
27
28			spin_ctrl_1: motor-1 {
29				compatible = "ot,ferris-wheel-motor";
30				spin = "clockwise";
31				rpm_avail = < 50 >;
32			};
33
34			spin_ctrl_2: motor-8 {
35				compatible = "ot,roller-coaster-motor";
36			};
37		};
38
39		rides_1: fairway-1 {
40			#address-cells = <1>;
41			#size-cells = <1>;
42			compatible = "ot,rides";
43			status = "disabled";
44			orientation = < 127 >;
45
46			ride@100 {
47				#address-cells = <1>;
48				#size-cells = <1>;
49				compatible = "ot,roller-coaster";
50				reg = < 0x00000100 0x100 >;
51				hvac-provider = < &hvac_1 >;
52				hvac-thermostat = < 29 > ;
53				hvac-zones = < 14 >;
54				hvac-zone-names = "operator";
55				spin-controller = < &spin_ctrl_2 5 &spin_ctrl_2 7 >;
56				spin-controller-names = "track_1", "track_2";
57				queues = < 2 >;
58
59				track@30 {
60					reg = < 0x00000030 0x10 >;
61				};
62
63				track@40 {
64					reg = < 0x00000040 0x10 >;
65				};
66
67			};
68		};
69
70		lights_1: lights@30000 {
71			compatible = "ot,work-lights";
72			reg = < 0x00030000 0x1000 >;
73			status = "disabled";
74		};
75
76		lights_2: lights@40000 {
77			compatible = "ot,show-lights";
78			reg = < 0x00040000 0x1000 >;
79			status = "disabled";
80			rate = < 13 138 >;
81		};
82
83		retail_1: vending@50000 {
84			reg = < 0x00050000 0x1000 >;
85			compatible = "ot,tickets";
86			status = "disabled";
87		};
88
89	};
90};
91
92