]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - drivers/of/unittest-data/overlay_base.dts
Input: wm97xx: add new AC97 bus support
[mirror_ubuntu-focal-kernel.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 #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