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 2004 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 DVD
43 name:/frutree/chassis/DVD/cdrom
46 PROP Class string r 0 "cdrom"
47 REFPROP _cdrom_ name:/platform/pci@1e,600000/ide@d/sd@0,0
51 * add a Devices table to the system-board
53 name:/frutree/chassis/MB/system-board
56 PROP Class string r 0 "voltage-sensor"
57 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+1v5
60 PROP Class string r 0 "voltage-sensor"
61 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_scsi_core
64 PROP Class string r 0 "voltage-sensor"
65 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_vcctm
68 PROP Class string r 0 "voltage-sensor"
69 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_net0_1v2d
72 PROP Class string r 0 "voltage-sensor"
73 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_net1_1v2d
76 PROP Class string r 0 "voltage-sensor"
77 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_net0_1v2a
80 PROP Class string r 0 "voltage-sensor"
81 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_net1_1v2a
84 PROP Class string r 0 "voltage-sensor"
85 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+3v3
88 PROP Class string r 0 "voltage-sensor"
89 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+3v3stby
92 PROP Class string r 0 "voltage-sensor"
93 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+5v
96 PROP Class string r 0 "voltage-sensor"
97 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+12v
100 PROP Class string r 0 "voltage-sensor"
101 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_-12v
104 PROP Class string r 0 "temperature-sensor"
105 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_amb
108 PROP Class string r 0 "current-indicator"
109 REFPROP _current-indicator_ name:RMCLOMV/mb_ff_scsib
112 PROP Class string r 0 "current-indicator"
113 REFPROP _current-indicator_ name:RMCLOMV/mb_ff_scsia
116 PROP Class string r 0 "current-indicator"
117 REFPROP _current-indicator_ name:RMCLOMV/mb_ff_pok
120 PROP Class string r 0 "led"
121 REFPROP _led_ name:RMCLOMV/alarm_critical
124 PROP Class string r 0 "led"
125 REFPROP _led_ name:RMCLOMV/alarm_major
128 PROP Class string r 0 "led"
129 REFPROP _led_ name:RMCLOMV/alarm_minor
132 PROP Class string r 0 "led"
133 REFPROP _led_ name:RMCLOMV/alarm_user
138 * add a Devices table to the battery
140 name:/frutree/chassis/MB/system-board/BAT/battery
143 PROP Class string r 0 "voltage-sensor"
144 REFPROP _voltage-sensor_ name:RMCLOMV/mb_bat_v_bat
149 * add a Devices table to the service-processor
151 name:/frutree/chassis/MB/system-board/SC/sc
154 PROP Class string r 0 "service-processor"
155 REFPROP _service-processor_ name:RMCLOMV
162 name:/platform/pci@1e,600000/ide@d/sd@0,0
163 REFPROP _fru_parent name:/frutree/chassis/DVD/cdrom
167 * fru parents for mother-board sensors
169 name:RMCLOMV/mb_v_+1v5
170 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
171 name:RMCLOMV/mb_v_scsi_core
172 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
173 name:RMCLOMV/mb_v_vcctm
174 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
175 name:RMCLOMV/mb_v_net0_1v2d
176 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
177 name:RMCLOMV/mb_v_net1_1v2d
178 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
179 name:RMCLOMV/mb_v_net0_1v2a
180 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
181 name:RMCLOMV/mb_v_net0_1v2a
182 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
183 name:RMCLOMV/mb_v_+3v3
184 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
185 name:RMCLOMV/mb_v_+3v3stby
186 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
187 name:RMCLOMV/mb_v_+5v
188 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
189 name:RMCLOMV/mb_v_+12v
190 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
191 name:RMCLOMV/mb_v_-12v
192 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
193 name:RMCLOMV/mb_v_vtt
194 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
195 name:RMCLOMV/mb_t_amb
196 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
197 name:RMCLOMV/mb_ff_scsib
198 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
199 name:RMCLOMV/mb_ff_scsia
200 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
201 name:RMCLOMV/mb_ff_pok
202 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
203 name:RMCLOMV/mb_bat_v_bat
204 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/BAT/battery
205 name:RMCLOMV/alarm_critical
206 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
207 name:RMCLOMV/alarm_major
208 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
209 name:RMCLOMV/alarm_minor
210 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
211 name:RMCLOMV/alarm_user
212 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
215 * Add Devices for cpu-board related sensors
217 name:/frutree/chassis/C0/system-board
220 PROP Class string r 0 "temperature-sensor"
221 REFPROP _temperature-sensor_ name:RMCLOMV/c0_t_amb
225 name:RMCLOMV/c0_t_amb
226 REFPROP _fru_parent name:/frutree/chassis/C0/system-board
228 name:/frutree/chassis/C1/system-board
231 PROP Class string r 0 "temperature-sensor"
232 REFPROP _temperature-sensor_ name:RMCLOMV/c1_t_amb
236 name:RMCLOMV/c1_t_amb
237 REFPROP _fru_parent name:/frutree/chassis/C1/system-board
239 name:/frutree/chassis/C2/system-board
242 PROP Class string r 0 "temperature-sensor"
243 REFPROP _temperature-sensor_ name:RMCLOMV/c2_t_amb
247 name:RMCLOMV/c2_t_amb
248 REFPROP _fru_parent name:/frutree/chassis/C2/system-board
250 name:/frutree/chassis/C3/system-board
253 PROP Class string r 0 "temperature-sensor"
254 REFPROP _temperature-sensor_ name:RMCLOMV/c3_t_amb
258 name:RMCLOMV/c3_t_amb
259 REFPROP _fru_parent name:/frutree/chassis/C3/system-board
262 * add Devices tables for cpu-related sensors
264 name:/frutree/chassis/C0/system-board/P0/cpu
267 PROP Class string r 0 "cpu"
268 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@0,0
271 PROP Class string r 0 "temperature-sensor"
272 REFPROP _temperature-sensor_ name:RMCLOMV/c0_p0_t_core
275 PROP Class string r 0 "current-indicator"
276 REFPROP _current-indicator_ name:RMCLOMV/c0_p0_ff_pok
280 name:RMCLOMV/c0_p0_t_core
281 REFPROP _fru_parent name:/frutree/chassis/C0/system-board/P0/cpu
282 name:RMCLOMV/c0_p0_ff_pok
283 REFPROP _fru_parent name:/frutree/chassis/C0/system-board/P0/cpu
285 name:/frutree/chassis/C1/system-board/P0/cpu
288 PROP Class string r 0 "cpu"
289 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@1,0
292 PROP Class string r 0 "temperature-sensor"
293 REFPROP _temperature-sensor_ name:RMCLOMV/c1_p0_t_core
296 PROP Class string r 0 "current-indicator"
297 REFPROP _current-indicator_ name:RMCLOMV/c1_p0_ff_pok
301 name:RMCLOMV/c1_p0_t_core
302 REFPROP _fru_parent name:/frutree/chassis/C1/system-board/P0/cpu
303 name:RMCLOMV/c1_p0_ff_pok
304 REFPROP _fru_parent name:/frutree/chassis/C1/system-board/P0/cpu
306 name:/frutree/chassis/C2/system-board/P0/cpu
309 PROP Class string r 0 "cpu"
310 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@2,0
313 PROP Class string r 0 "temperature-sensor"
314 REFPROP _temperature-sensor_ name:RMCLOMV/c2_p0_t_core
317 PROP Class string r 0 "current-indicator"
318 REFPROP _current-indicator_ name:RMCLOMV/c2_p0_ff_pok
322 name:RMCLOMV/c2_p0_t_core
323 REFPROP _fru_parent name:/frutree/chassis/C2/system-board/P0/cpu
324 name:RMCLOMV/c2_p0_ff_pok
325 REFPROP _fru_parent name:/frutree/chassis/C2/system-board/P0/cpu
327 name:/frutree/chassis/C3/system-board/P0/cpu
330 PROP Class string r 0 "cpu"
331 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@3,0
334 PROP Class string r 0 "temperature-sensor"
335 REFPROP _temperature-sensor_ name:RMCLOMV/c3_p0_t_core
338 PROP Class string r 0 "current-indicator"
339 REFPROP _current-indicator_ name:RMCLOMV/c3_p0_ff_pok
343 name:RMCLOMV/c3_p0_t_core
344 REFPROP _fru_parent name:/frutree/chassis/C3/system-board/P0/cpu
345 name:RMCLOMV/c3_p0_ff_pok
346 REFPROP _fru_parent name:/frutree/chassis/C3/system-board/P0/cpu
348 name:/frutree/chassis/C0/system-board/P0/cpu/B0/bank/D0/mem-module
351 PROP Class string r 0 "memory-module"
352 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0
355 name:/frutree/chassis/C0/system-board/P0/cpu/B0/bank/D1/mem-module
358 PROP Class string r 0 "memory-module"
359 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1
362 name:/frutree/chassis/C0/system-board/P0/cpu/B1/bank/D0/mem-module
365 PROP Class string r 0 "memory-module"
366 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0
369 name:/frutree/chassis/C0/system-board/P0/cpu/B1/bank/D1/mem-module
372 PROP Class string r 0 "memory-module"
373 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1
376 name:/frutree/chassis/C1/system-board/P0/cpu/B0/bank/D0/mem-module
379 PROP Class string r 0 "memory-module"
380 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0
383 name:/frutree/chassis/C1/system-board/P0/cpu/B0/bank/D1/mem-module
386 PROP Class string r 0 "memory-module"
387 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1
390 name:/frutree/chassis/C1/system-board/P0/cpu/B1/bank/D0/mem-module
393 PROP Class string r 0 "memory-module"
394 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0
397 name:/frutree/chassis/C1/system-board/P0/cpu/B1/bank/D1/mem-module
400 PROP Class string r 0 "memory-module"
401 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1
404 name:/frutree/chassis/C2/system-board/P0/cpu/B0/bank/D0/mem-module
407 PROP Class string r 0 "memory-module"
408 REFPROP _memory-module_ name:/platform/memory-controller@2,0/memory-module-group?ID=0/memory-module?ID=0
411 name:/frutree/chassis/C2/system-board/P0/cpu/B0/bank/D1/mem-module
414 PROP Class string r 0 "memory-module"
415 REFPROP _memory-module_ name:/platform/memory-controller@2,0/memory-module-group?ID=0/memory-module?ID=1
418 name:/frutree/chassis/C2/system-board/P0/cpu/B1/bank/D0/mem-module
421 PROP Class string r 0 "memory-module"
422 REFPROP _memory-module_ name:/platform/memory-controller@2,0/memory-module-group?ID=1/memory-module?ID=0
425 name:/frutree/chassis/C2/system-board/P0/cpu/B1/bank/D1/mem-module
428 PROP Class string r 0 "memory-module"
429 REFPROP _memory-module_ name:/platform/memory-controller@2,0/memory-module-group?ID=1/memory-module?ID=1
432 name:/frutree/chassis/C3/system-board/P0/cpu/B0/bank/D0/mem-module
435 PROP Class string r 0 "memory-module"
436 REFPROP _memory-module_ name:/platform/memory-controller@3,0/memory-module-group?ID=0/memory-module?ID=0
439 name:/frutree/chassis/C3/system-board/P0/cpu/B0/bank/D1/mem-module
442 PROP Class string r 0 "memory-module"
443 REFPROP _memory-module_ name:/platform/memory-controller@3,0/memory-module-group?ID=0/memory-module?ID=1
446 name:/frutree/chassis/C3/system-board/P0/cpu/B1/bank/D0/mem-module
449 PROP Class string r 0 "memory-module"
450 REFPROP _memory-module_ name:/platform/memory-controller@3,0/memory-module-group?ID=1/memory-module?ID=0
453 name:/frutree/chassis/C3/system-board/P0/cpu/B1/bank/D1/mem-module
456 PROP Class string r 0 "memory-module"
457 REFPROP _memory-module_ name:/platform/memory-controller@3,0/memory-module-group?ID=1/memory-module?ID=1
464 name:/frutree/chassis/SCSIBP/system-board
467 PROP Class string r 0 "temperature-sensor"
468 REFPROP _temperature-sensor_ RMCLOMV/scsibp_t_amb
473 * System leds and keyswitch should be under "SYS"
475 name:/frutree/chassis/SYS/led-location
478 PROP Class string r 0 "led"
479 REFPROP _led_ name:RMCLOMV/sys_act
482 PROP Class string r 0 "led"
483 REFPROP _led_ name:RMCLOMV/sys_service
486 PROP Class string r 0 "led"
487 REFPROP _led_ name:RMCLOMV/sys_locate
491 name:/frutree/chassis/SYS/key-location
494 PROP Class string r 0 "keyswitch"
495 REFPROP _keyswitch_ name:RMCLOMV/keyswitch
500 * add tables and fru parents for system fans
502 name:/frutree/chassis/FT0/F0/fan
505 PROP Class string r 0 "fan"
506 REFPROP _fan_ name:RMCLOMV/ft0_f0_tach
509 PROP Class string r 0 "led"
510 REFPROP _led_ name:RMCLOMV/ft0_f0_act
513 PROP Class string r 0 "led"
514 REFPROP _led_ name:RMCLOMV/ft0_f0_fault
517 name:/frutree/chassis/FT1/F0/fan
520 PROP Class string r 0 "fan"
521 REFPROP _fan_ name:RMCLOMV/ft1_f0_tach
524 PROP Class string r 0 "led"
525 REFPROP _led_ name:RMCLOMV/ft1_f0_act
528 PROP Class string r 0 "led"
529 REFPROP _led_ name:RMCLOMV/ft1_f0_fault
532 name:/frutree/chassis/FT1/F1/fan
535 PROP Class string r 0 "fan"
536 REFPROP _fan_ name:RMCLOMV/ft1_f1_tach
539 name:/frutree/chassis/FT2/F0/fan
542 PROP Class string r 0 "fan"
543 REFPROP _fan_ name:RMCLOMV/ft2_f0_tach
546 PROP Class string r 0 "led"
547 REFPROP _led_ name:RMCLOMV/ft2_f0_act
550 PROP Class string r 0 "led"
551 REFPROP _led_ name:RMCLOMV/ft2_f0_fault
554 name:/frutree/chassis/FT3/F0/fan
557 PROP Class string r 0 "fan"
558 REFPROP _fan_ name:RMCLOMV/ft3_f0