summaryrefslogtreecommitdiffstats
path: root/drivers/of/unittest-data/overlay.dts
blob: ab5e89b5e27e10cef2137073ecaa42fe838b9268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
/plugin/;

/ {

	fragment@0 {
		target = <&electric_1>;

		__overlay__ {
			status = "okay";

			hvac_2: hvac-large-1 {
				compatible = "ot,hvac-large";
				heat-range = < 40 75 >;
				cool-range = < 65 80 >;
			};
		};
	};

	fragment@1 {
		target = <&rides_1>;

		__overlay__ {
			#address-cells = <1>;
			#size-cells = <1>;
			status = "okay";

			ride@100 {
				#address-cells = <1>;
				#size-cells = <1>;

				track@30 {
					incline-up = < 48 32 16 >;
				};

				track@40 {
					incline-up = < 47 31 15 >;
				};
			};

			ride_200: ride@200 {
				#address-cells = <1>;
				#size-cells = <1>;
				compatible = "ot,ferris-wheel";
				reg = < 0x00000200 0x100 >;
				hvac-provider = < &hvac_2 >;
				hvac-thermostat = < 27 32 > ;
				hvac-zones = < 12 5 >;
				hvac-zone-names = "operator", "snack-bar";
				spin-controller = < &spin_ctrl_1 3 >;
				spin-rph = < 30 >;
				gondolas = < 16 >;
				gondola-capacity = < 6 >;

				ride_200_left: track@10 {
					reg = < 0x00000010 0x10 >;
				};

				ride_200_right: track@20 {
					reg = < 0x00000020 0x10 >;
				};
			};
		};
	};

	fragment@2 {
		target = <&lights_2>;

		__overlay__ {
			status = "okay";
			color = "purple", "white", "red", "green";
			rate = < 3 256 >;
		};
	};

};
OpenPOWER on IntegriCloud