]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/of/unittest-data/overlay_base.dts
Merge tag 'pwm/for-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
[karo-tx-linux.git] / drivers / of / unittest-data / overlay_base.dts
1 /dts-v1/;
2 /plugin/;
3
4 /*
5  * Base device tree that overlays will be applied against.
6  *
7  * Do not add any properties in node "/".
8  * Do not add any nodes other than "/testcase-data-2" in node "/".
9  * Do not add anything that would result in dtc creating node "/__fixups__".
10  * dtc will create nodes "/__symbols__" and "/__local_fixups__".
11  */
12
13 / {
14         testcase-data-2 {
15                 #address-cells = <1>;
16                 #size-cells = <1>;
17
18                 electric_1: substation@100 {
19                         compatible = "ot,big-volts-control";
20                         reg = < 0x00000100 0x100 >;
21                         status = "disabled";
22
23                         hvac_1: hvac-medium-1 {
24                                 compatible = "ot,hvac-medium";
25                                 heat-range = < 50 75 >;
26                                 cool-range = < 60 80 >;
27                         };
28
29                         spin_ctrl_1: motor-1 {
30                                 compatible = "ot,ferris-wheel-motor";
31                                 spin = "clockwise";
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                                 compatible = "ot,roller-coaster";
48                                 reg = < 0x00000100 0x100 >;
49                                 hvac-provider = < &hvac_1 >;
50                                 hvac-thermostat = < 29 > ;
51                                 hvac-zones = < 14 >;
52                                 hvac-zone-names = "operator";
53                                 spin-controller = < &spin_ctrl_2 5 &spin_ctrl_2 7 >;
54                                 spin-controller-names = "track_1", "track_2";
55                                 queues = < 2 >;
56                         };
57                 };
58
59                 lights_1: lights@30000 {
60                         compatible = "ot,work-lights";
61                         reg = < 0x00030000 0x1000 >;
62                         status = "disabled";
63                 };
64
65                 lights_2: lights@40000 {
66                         compatible = "ot,show-lights";
67                         reg = < 0x00040000 0x1000 >;
68                         status = "disabled";
69                         rate = < 13 138 >;
70                 };
71
72                 retail_1: vending@50000 {
73                         reg = < 0x00050000 0x1000 >;
74                         compatible = "ot,tickets";
75                         status = "disabled";
76                 };
77
78         };
79 };
80