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 2003 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
51 name:/frutree/chassis/RMD0/tape
54 PROP Class string r 0 "tape"
55 REFPROP _tape_ name:/platform/pci@1d,700000/scsi@4/st@4,0
60 * add a Devices table to RMD1
62 name:/frutree/chassis/RMD1/cdrom
65 PROP Class string r 0 "cdrom"
66 REFPROP _cdrom_ name:/platform/pci@1e,600000/ide@d/sd@2,0
70 name:/platform/pci@1e,600000/ide@d/sd@0,0
71 REFPROP _fru_parent name:/frutree/chassis/RMD0/cdrom
72 name:/platform/pci@1d,700000/scsi@4/st@4,0
73 REFPROP _fru_parent name:/frutree/chassis/RMD0/tape
74 name:/platform/pci@1e,600000/ide@d/sd@2,0
75 REFPROP _fru_parent name:/frutree/chassis/RMD1/cdrom
78 * add a Devices table to the SCCR
80 name:/frutree/chassis/SCCR/sccr
83 PROP Class string r 0 "temperature-sensor"
84 REFPROP _temperature-sensor_ name:RMCLOMV/sccr_t_amb
87 PROP Class string r 0 "led"
88 REFPROP _led_ name:RMCLOMV/sccr_act
91 PROP Class string r 0 "led"
92 REFPROP _led_ name:RMCLOMV/sccr_service
95 PROP Class string r 0 "led"
96 REFPROP _led_ name:RMCLOMV/sccr_locate
99 PROP Class string r 0 "keyswitch"
100 REFPROP _keyswitch_ name:RMCLOMV/keyswitch
105 * add a Devices table to the SCSI backplane
107 name:/frutree/chassis/SCSIBP/scsibp
110 PROP Class string r 0 "temperature-sensor"
111 REFPROP _temperature-sensor_ name:RMCLOMV/scsibp_t_enc0
114 PROP Class string r 0 "temperature-sensor"
115 REFPROP _temperature-sensor_ name:RMCLOMV/scsibp_t_enc1
118 PROP Class string r 0 "temperature-sensor"
119 REFPROP _temperature-sensor_ name:RMCLOMV/scsibp_t_enc2
124 * add a Devices table to the system-board
126 name:/frutree/chassis/MB/system-board
129 PROP Class string r 0 "temperature-sensor"
130 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_enc0
133 PROP Class string r 0 "temperature-sensor"
134 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_enc1
137 PROP Class string r 0 "temperature-sensor"
138 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_enc2
141 PROP Class string r 0 "temperature-sensor"
142 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_enc3
147 * add a Devices table to the service-processor
149 name:/frutree/chassis/MB/system-board/SC/sc
152 PROP Class string r 0 "service-processor"
153 REFPROP _service-processor_ name:RMCLOMV
158 * fru parents for mother-board sensors
160 name:RMCLOMV/sccr_t_amb
161 REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
162 name:RMCLOMV/mb_t_enc0
163 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
164 name:RMCLOMV/mb_t_enc1
165 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
166 name:RMCLOMV/mb_t_enc2
167 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
168 name:RMCLOMV/mb_t_enc3
169 REFPROP _fru_parent name:/frutree/chassis/MB/system-board
170 name:RMCLOMV/scsibp_t_enc0
171 REFPROP _fru_parent name:/frutree/chassis/SCSIBP/scsibp
172 name:RMCLOMV/scsibp_t_enc1
173 REFPROP _fru_parent name:/frutree/chassis/SCSIBP/scsibp
174 name:RMCLOMV/scsibp_t_enc2
175 REFPROP _fru_parent name:/frutree/chassis/SCSIBP/scsibp
176 name:RMCLOMV/sccr_act
177 REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
178 name:RMCLOMV/sccr_service
179 REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
180 name:RMCLOMV/sccr_locate
181 REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
182 PROP IsLocator string r 0 "true"
183 PROP LocatorName string r 0 "system"
184 name:RMCLOMV/keyswitch
185 REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
186 PROP Label string r 0 "SYSCTRL"
189 * add Devices tables for cpu-related sensors
191 name:/frutree/chassis/MB/system-board/CPU0/cpu
194 PROP Class string r 0 "cpu"
195 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@0,0
198 PROP Class string r 0 "temperature-sensor"
199 REFPROP _temperature-sensor_ name:RMCLOMV/mb_cpu0_t_core
203 name:RMCLOMV/mb_cpu0_t_core
204 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/CPU0/cpu
206 name:/frutree/chassis/MB/system-board/CPU1/cpu
209 PROP Class string r 0 "cpu"
210 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@1,0
213 PROP Class string r 0 "temperature-sensor"
214 REFPROP _temperature-sensor_ name:RMCLOMV/mb_cpu1_t_core
218 name:RMCLOMV/mb_cpu1_t_core
219 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/CPU1/cpu
221 name:/frutree/chassis/MB/system-board/DIMM0/mem-module
224 PROP Class string r 0 "memory-module"
225 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0
228 name:/frutree/chassis/MB/system-board/DIMM1/mem-module
231 PROP Class string r 0 "memory-module"
232 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1
235 name:/frutree/chassis/MB/system-board/DIMM2/mem-module
238 PROP Class string r 0 "memory-module"
239 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0
242 name:/frutree/chassis/MB/system-board/DIMM3/mem-module
245 PROP Class string r 0 "memory-module"
246 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1
249 name:/frutree/chassis/MB/system-board/DIMM4/mem-module
252 PROP Class string r 0 "memory-module"
253 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0
256 name:/frutree/chassis/MB/system-board/DIMM5/mem-module
259 PROP Class string r 0 "memory-module"
260 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1
263 name:/frutree/chassis/MB/system-board/DIMM6/mem-module
266 PROP Class string r 0 "memory-module"
267 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0
270 name:/frutree/chassis/MB/system-board/DIMM7/mem-module
273 PROP Class string r 0 "memory-module"
274 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1
279 * add tables and fru parents for cpu fans
281 name:/frutree/chassis/MB/system-board/CPU0/cpu/F0/fan-unit
284 PROP Class string r 0 "fan"
285 REFPROP _fan_ name:RMCLOMV/mb_cpu0_f0_rs
288 name:/frutree/chassis/MB/system-board/CPU1/cpu/F0/fan-unit
291 PROP Class string r 0 "fan"
292 REFPROP _fan_ name:RMCLOMV/mb_cpu1_f0_rs
296 name:RMCLOMV/mb_cpu0_f0_rs
297 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/CPU0/cpu/F0/fan-unit
298 name:RMCLOMV/mb_cpu1_f0_rs
299 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/CPU1/cpu/F0/fan-unit