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
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.
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]
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
26 * #ident "%Z%%M% %I% %E% SMI"
28 * This file creates the system board structure
32 * define a macro to force a #ident line into the output stream
33 * otherwise cpp removes it. Use #ifndef because of #included definitions.
36 #define id(s) #ident s
38 id("%Z%%M% %I% %E% SMI")
41 * add a Devices table to RMD0
43 name:/frutree/chassis/RMD0/cdrom
46 PROP Class string r 0 "cdrom"
47 REFPROP _cdrom_ name:/platform/pci@1e,600000/ide@d/sd@0,0
52 * add Devices table for the keyswitch
54 name:/frutree/chassis/SYSCTRL
57 PROP Class string r 0 "keyswitch"
58 REFPROP _keyswitch_ name:RMCLOMV/keyswitch
63 * add a Devices table to the system-board
65 name:/frutree/chassis/MB/system-board
68 PROP Class string r 0 "voltage-sensor"
69 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+3v3
72 PROP Class string r 0 "voltage-sensor"
73 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+5v
76 PROP Class string r 0 "voltage-sensor"
77 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+12v
80 PROP Class string r 0 "voltage-sensor"
81 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_-12v
84 PROP Class string r 0 "voltage-sensor"
85 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_vtt
88 PROP Class string r 0 "voltage-sensor"
89 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_gbe_+2v5
92 PROP Class string r 0 "voltage-sensor"
93 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_gbe_core
96 PROP Class string r 0 "voltage-sensor"
97 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_vcctm
100 PROP Class string r 0 "voltage-sensor"
101 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+2v5
104 PROP Class string r 0 "voltage-sensor"
105 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+1v5
108 PROP Class string r 0 "temperature-sensor"
109 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_enc
112 PROP Class string r 0 "current-indicator"
113 REFPROP _current-indicator_ name:RMCLOMV/mb_ff_scsi
116 PROP Class string r 0 "current-indicator"
117 REFPROP _current-indicator_ name:RMCLOMV/mb_ff_usb0
120 PROP Class string r 0 "current-indicator"
121 REFPROP _current-indicator_ name:RMCLOMV/mb_ff_usb1
124 PROP Class string r 0 "led"
125 REFPROP _led_ name:RMCLOMV/mb_act
128 PROP Class string r 0 "led"
129 REFPROP _led_ name:RMCLOMV/mb_service
132 PROP Class string r 0 "led"
133 REFPROP _led_ name:RMCLOMV/mb_locate
136 PROP Class string r 0 "keyswitch"
137 REFPROP _keyswitch_ name:RMCLOMV/keyswitch
140 PROP Class string r 0 "alarm_critical"
141 REFPROP _led_ name:RMCLOMV/alarm_critical
144 PROP Class string r 0 "alarm_major"
145 REFPROP _led_ name:RMCLOMV/alarm_major
148 PROP Class string r 0 "alarm_minor"
149 REFPROP _led_ name:RMCLOMV/alarm_minor
152 PROP Class string r 0 "alarm_user"
153 REFPROP _led_ name:RMCLOMV/alarm_user
158 * add a Devices table to the battery
160 name:/frutree/chassis/MB/system-board/BAT/battery
163 PROP Class string r 0 "voltage-sensor"
164 REFPROP _voltage-sensor_ name:RMCLOMV/mb_bat_v_bat
169 * add a Devices table to the service-processor
171 name:/frutree/chassis/MB/system-board/SC/sc
174 PROP Class string r 0 "service-processor"
175 REFPROP _service-processor_ name:RMCLOMV
180 * fru parent for RMD0
182 name:/platform/pci@1e,600000/ide@d/sd@0,0
183 REFPROP _fru_parent name:/frutree/chassis/RMD0/cdrom
186 * fru parents for mother-board sensors
188 name:RMCLOMV/mb_v_+3v3
189 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
190 name:RMCLOMV/mb_v_+5v
191 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
192 name:RMCLOMV/mb_v_+12v
193 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
194 name:RMCLOMV/mb_v_-12v
195 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
196 name:RMCLOMV/mb_v_vtt
197 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
198 name:RMCLOMV/mb_v_gbe_+2v5
199 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
200 name:RMCLOMV/mb_v_gbe_core
201 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
202 name:RMCLOMV/mb_v_vcctm
203 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
204 name:RMCLOMV/mb_v_+2v5
205 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
206 name:RMCLOMV/mb_v_+1v5
207 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
208 name:RMCLOMV/mb_t_enc
209 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
210 name:RMCLOMV/mb_ff_scsi
211 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
212 name:RMCLOMV/mb_ff_usb0
213 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
214 name:RMCLOMV/mb_ff_usb1
215 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
217 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
218 name:RMCLOMV/mb_service
219 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
220 name:RMCLOMV/mb_locate
221 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
222 PROP IsLocator string r 0 "true"
223 PROP LocatorName string r 0 "system"
224 name:RMCLOMV/keyswitch
225 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
226 PROP Label string r 0 "SYSCTRL"
227 name:RMCLOMV/mb_bat_v_bat
228 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/BAT/battery
229 name:RMCLOMV/alarm_critical
230 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
231 name:RMCLOMV/alarm_major
232 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
233 name:RMCLOMV/alarm_minor
234 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
235 name:RMCLOMV/alarm_user
236 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
239 * add Devices tables for cpu-related sensors
241 name:/frutree/chassis/MB/system-board/P0/cpu
244 PROP Class string r 0 "cpu"
245 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@0,0
248 PROP Class string r 0 "temperature-sensor"
249 REFPROP _temperature-sensor_ name:RMCLOMV/mb_p0_t_core
252 PROP Class string r 0 "voltage-sensor"
253 REFPROP _voltage-sensor_ name:RMCLOMV/mb_p0_v_core
257 name:RMCLOMV/mb_p0_t_core
258 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu
259 name:RMCLOMV/mb_p0_v_core
260 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu
262 name:/frutree/chassis/MB/system-board/P1/cpu
265 PROP Class string r 0 "cpu"
266 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@1,0
269 PROP Class string r 0 "temperature-sensor"
270 REFPROP _temperature-sensor_ name:RMCLOMV/mb_p1_t_core
273 PROP Class string r 0 "voltage-sensor"
274 REFPROP _voltage-sensor_ name:RMCLOMV/mb_p1_v_core
278 name:RMCLOMV/mb_p1_t_core
279 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu
280 name:RMCLOMV/mb_p1_v_core
281 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu
283 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module
286 PROP Class string r 0 "memory-module"
287 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0
290 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module
293 PROP Class string r 0 "memory-module"
294 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1
297 name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module
300 PROP Class string r 0 "memory-module"
301 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0
304 name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module
307 PROP Class string r 0 "memory-module"
308 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1
311 name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module
314 PROP Class string r 0 "memory-module"
315 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0
318 name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module
321 PROP Class string r 0 "memory-module"
322 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1
325 name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module
328 PROP Class string r 0 "memory-module"
329 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0
332 name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module
335 PROP Class string r 0 "memory-module"
336 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1
341 * add tables and fru parents for cpu fans
343 name:/frutree/chassis/MB/system-board/P0/cpu/F0/fan-unit
346 PROP Class string r 0 "fan"
347 REFPROP _fan_ name:RMCLOMV/mb_p0_f0_rs
350 name:/frutree/chassis/MB/system-board/P0/cpu/F1/fan-unit
353 PROP Class string r 0 "fan"
354 REFPROP _fan_ name:RMCLOMV/mb_p0_f1_rs
357 name:/frutree/chassis/MB/system-board/P1/cpu/F0/fan-unit
360 PROP Class string r 0 "fan"
361 REFPROP _fan_ name:RMCLOMV/mb_p1_f0_rs
364 name:/frutree/chassis/MB/system-board/P1/cpu/F1/fan-unit
367 PROP Class string r 0 "fan"
368 REFPROP _fan_ name:RMCLOMV/mb_p1_f1_rs
372 name:RMCLOMV/mb_p0_f0_rs
373 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/F0/fan-unit
374 name:RMCLOMV/mb_p0_f1_rs
375 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/F1/fan-unit
376 name:RMCLOMV/mb_p1_f0_rs
377 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/F0/fan-unit
378 name:RMCLOMV/mb_p1_f1_rs
379 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/F1/fan-unit