xref: /linux/drivers/of/unittest-data/overlay.dtso (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3/plugin/;
4
5&electric_1 {
6	status = "okay";
7
8	hvac_2: hvac-large-1 {
9		compatible = "ot,hvac-large";
10		heat-range = <40 75>;
11		cool-range = <65 80>;
12	};
13};
14
15&rides_1 {
16
17	#address-cells = <1>;
18	#size-cells = <1>;
19	status = "okay";
20
21	ride@100 {
22		#address-cells = <1>;
23		#size-cells = <1>;
24
25		track@30 {
26			incline-up = <48 32 16>;
27		};
28
29		track@40 {
30			incline-up = <47 31 15>;
31		};
32	};
33
34	ride_200: ride@200 {
35		#address-cells = <1>;
36		#size-cells = <1>;
37		compatible = "ot,ferris-wheel";
38		reg = <0x00000200 0x100>;
39		hvac-provider = <&hvac_2>;
40		hvac-thermostat = <27 32> ;
41		hvac-zones = <12 5>;
42		hvac-zone-names = "operator", "snack-bar";
43		spin-controller = <&spin_ctrl_1 3>;
44		spin-rph = <30>;
45		gondolas = <16>;
46		gondola-capacity = <6>;
47
48		ride_200_left: track@10 {
49			reg = <0x00000010 0x10>;
50		};
51
52		ride_200_right: track@20 {
53			reg = <0x00000020 0x10>;
54		};
55	};
56};
57
58&lights_2 {
59	status = "okay";
60	color = "purple", "white", "red", "green";
61	rate = <3 256>;
62};
63