Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 
0003 /*
0004  * Base device tree that overlays will be applied against.
0005  *
0006  * Do not add any properties in node "/".
0007  * Do not add any nodes other than "/testcase-data-2" in node "/".
0008  * Do not add anything that would result in dtc creating node "/__fixups__".
0009  * dtc will create nodes "/__symbols__" and "/__local_fixups__".
0010  */
0011 
0012 / {
0013         testcase-data-2 {
0014                 #address-cells = <1>;
0015                 #size-cells = <1>;
0016 
0017                 electric_1: substation@100 {
0018                         compatible = "ot,big-volts-control";
0019                         reg = < 0x00000100 0x100 >;
0020                         status = "disabled";
0021 
0022                         hvac_1: hvac-medium-1 {
0023                                 compatible = "ot,hvac-medium";
0024                                 heat-range = < 50 75 >;
0025                                 cool-range = < 60 80 >;
0026                         };
0027 
0028                         spin_ctrl_1: motor-1 {
0029                                 compatible = "ot,ferris-wheel-motor";
0030                                 spin = "clockwise";
0031                                 rpm_avail = < 50 >;
0032                         };
0033 
0034                         spin_ctrl_2: motor-8 {
0035                                 compatible = "ot,roller-coaster-motor";
0036                         };
0037                 };
0038 
0039                 rides_1: fairway-1 {
0040                         #address-cells = <1>;
0041                         #size-cells = <1>;
0042                         compatible = "ot,rides";
0043                         status = "disabled";
0044                         orientation = < 127 >;
0045 
0046                         ride@100 {
0047                                 #address-cells = <1>;
0048                                 #size-cells = <1>;
0049                                 compatible = "ot,roller-coaster";
0050                                 reg = < 0x00000100 0x100 >;
0051                                 hvac-provider = < &hvac_1 >;
0052                                 hvac-thermostat = < 29 > ;
0053                                 hvac-zones = < 14 >;
0054                                 hvac-zone-names = "operator";
0055                                 spin-controller = < &spin_ctrl_2 5 &spin_ctrl_2 7 >;
0056                                 spin-controller-names = "track_1", "track_2";
0057                                 queues = < 2 >;
0058 
0059                                 track@30 {
0060                                         reg = < 0x00000030 0x10 >;
0061                                 };
0062 
0063                                 track@40 {
0064                                         reg = < 0x00000040 0x10 >;
0065                                 };
0066 
0067                         };
0068                 };
0069 
0070                 lights_1: lights@30000 {
0071                         compatible = "ot,work-lights";
0072                         reg = < 0x00030000 0x1000 >;
0073                         status = "disabled";
0074                 };
0075 
0076                 lights_2: lights@40000 {
0077                         compatible = "ot,show-lights";
0078                         reg = < 0x00040000 0x1000 >;
0079                         status = "disabled";
0080                         rate = < 13 138 >;
0081                 };
0082 
0083                 retail_1: vending@50000 {
0084                         reg = < 0x00050000 0x1000 >;
0085                         compatible = "ot,tickets";
0086                         status = "disabled";
0087                 };
0088 
0089         };
0090 };
0091