8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / picl / plugins / sun4u / blade / bsc / picllom.info
blob06f97f507602130623a6167986f2c5db341192e6
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
23  * Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  *
26  * #ident       "%Z%%M% %I%     %E% SMI"
27  *
28  * supported prop types: void, int, uint, float, string
29  * supported prop access_modes: r, w, rw
30  *
31  * VERSION <version_number>  -- supported version number is 1.0
32  *
33  * name:<namepath> --     gives the anchor node
34  *      where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
35  *
36  * _class:<classpath> --   gives the anchor node
37  *      where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
38  *
39  * NODE <name> <class>
40  *       {describes a subtree}
41  * ENDNODE
42  *
43  * PROP <name> <type> <access_mode> [<size> <value>] -- per property
44  *
45  * REFPROP <name> <dstnode>
46  *
47  * REFNODE <name> <class> with <destnode> -- Associates a new node
48  *       with <destnode> if exists
49  *       where 
50  *             <name> is the nodename
51  *             <class> is the picl class.
52  *             <destnode> is name:<namepath> or _class:<classpath>
53  *
54  * If "name:" or "_class:" is not specified in the <path>,
55  * the default is "name:"
56  *
57  */
58 VERSION 1.1
59 VERBOSE 1
61 /* Add a fan fru if the cpu fan node is present to the fan slot */
62 name:/frutree/chassis/system-board/fan-slot?Slot=0
63 REFNODE cpu-fan fru WITH name:/platform/pci/isa/bscbus/bscv/cpu_fan?_class=fan
65 /* Add _fru_parent and Environment tables from cpu nodes */
66 name:/platform/SUNW,UltraSPARC-IIe@0,0
67 REFPROP _fru_parent name:/frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
68 TABLE Environment
69 ROW
70 PROP Class string r 0 "temperature-sensor"
71 REFPROP _temperature-sensor_ name:/platform/pci/isa/bscbus/bscv/cpu-die?_class=temperature-sensor
72 ENDROW
73 ROW
74 PROP Class string r 0 "temperature-sensor"
75 REFPROP _temperature-sensor_ name:/platform/pci/isa/bscbus/bscv/enclosure?_class=temperature-sensor
76 ENDROW
77 ROW
78 PROP Class string r 0 "fan"
79 REFPROP _fan_ name:/platform/pci/isa/bscbus/bscv/cpu_fan?_class=fan
80 ENDROW
81 ENDTABLE
84 /* Set the colour property of the leds */
85 name:/platform/pci/isa/bscbus/bscv/active?_class=led
86 PROP Color string r 0 "green"
87 name:/platform/pci/isa/bscbus/bscv/svc_reqd?_class=led
88 PROP Color string r 0 "amber"
89 name:/platform/pci/isa/bscbus/bscv/rdy_to_rmv?_class=led
90 PROP Color string r 0 "blue"
92 /* Add Devices tables from fru nodes to platform tree counterparts */
94 name:/frutree/chassis
95 TABLE Devices
96 ROW
97 PROP Class string r 0 "led"
98 REFPROP _led_ name:/platform/pci/isa/bscbus/bscv/active?_class=led
99 ENDROW
101 PROP Class string r 0 "led"
102 REFPROP _led_ name:/platform/pci/isa/bscbus/bscv/svc_reqd?_class=led
103 ENDROW
105 PROP Class string r 0 "led"
106 REFPROP _led_ name:/platform/pci/isa/bscbus/bscv/rdy_to_rmv?_class=led
107 ENDROW
108 ENDTABLE
111 name:/frutree/chassis/system-board
112 TABLE Devices
114 PROP Class string r 0 "voltage-indicator"
115 REFPROP _voltage-indicator_ name:/platform/pci/isa/bscbus/bscv/5v?_class=voltage-indicator
116 ENDROW
118 PROP Class string r 0 "voltage-indicator"
119 REFPROP _voltage-indicator_ name:/platform/pci/isa/bscbus/bscv/3.3v?_class=voltage-indicator
120 ENDROW
122 PROP Class string r 0 "voltage-indicator"
123 REFPROP _voltage-indicator_ name:/platform/pci/isa/bscbus/bscv/2.5v?_class=voltage-indicator
124 ENDROW
126 PROP Class string r 0 "voltage-indicator"
127 REFPROP _voltage-indicator_ name:/platform/pci/isa/bscbus/bscv/vcore?_class=voltage-indicator
128 ENDROW
129 ENDTABLE
132 name:/frutree/chassis/system-board/fan-slot?Slot=0/cpu-fan
133 TABLE Devices
135 PROP Class string r 0 "fan"
136 REFPROP _fan_ name:/platform/pci/isa/bscbus/bscv/cpu_fan?_class=fan
137 ENDROW
138 ENDTABLE
141 name:/frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
142 Table Devices
144 PROP Class string r 0 "temperature-sensor"
145 REFPROP _temperature-sensor_ name:/platform/pci/isa/bscbus/bscv/cpu-die?_class=temperature-sensor
146 ENDROW
148 PROP Class string r 0 "temperature-sensor"
149 REFPROP _temperature-sensor_ name:/platform/pci/isa/bscbus/bscv/enclosure?_class=temperature-sensor
150 ENDROW
151 ENDTABLE
154 /* now link back with _fru_parents */
156 name:/platform/pci/isa/bscbus/bscv/cpu_fan?_class=fan
157 REFPROP _fru_parent name:/frutree/chassis/system-board/fan-slot?Slot=0/cpu-fan
159 name:/platform/pci/isa/bscbus/bscv/cpu-die?_class=temperature-sensor
160 REFPROP _fru_parent name:/frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
161 name:/platform/pci/isa/bscbus/bscv/enclosure?_class=temperature-sensor
162 REFPROP _fru_parent name:/frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
164 name:/platform/pci/isa/bscbus/bscv/5v?_class=voltage-indicator
165 REFPROP _fru_parent name:/frutree/chassis/system-board
166 name:/platform/pci/isa/bscbus/bscv/3.3v?_class=voltage-indicator
167 REFPROP _fru_parent name:/frutree/chassis/system-board
168 name:/platform/pci/isa/bscbus/bscv/2.5v?_class=voltage-indicator
169 REFPROP _fru_parent name:/frutree/chassis/system-board
170 name:/platform/pci/isa/bscbus/bscv/vcore?_class=voltage-indicator
171 REFPROP _fru_parent name:/frutree/chassis/system-board
173 name:/platform/pci/isa/bscbus/bscv/active?_class=led
174 REFPROP _fru_parent name:/frutree/chassis
175 name:/platform/pci/isa/bscbus/bscv/svc_reqd?_class=led
176 REFPROP _fru_parent name:/frutree/chassis
177 name:/platform/pci/isa/bscbus/bscv/rdy_to_rmv?_class=led
178 REFPROP _fru_parent name:/frutree/chassis