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