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 * supported prop types: void, int, uint, float, string
29 * supported prop access_modes: r, w, rw
31 * VERSION <version_number> -- supported version number is 1.0
33 * name:<namepath> -- gives the anchor node
34 * where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
36 * _class:<classpath> -- gives the anchor node
37 * where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
40 * {describes a subtree}
43 * PROP <name> <type> <access_mode> [<size> <value>] -- per property
45 * REFPROP <name> <dstnode>
47 * REFNODE <name> <class> with <destnode> -- Associates a new node
48 * with <destnode> if exists
50 * <name> is the nodename
51 * <class> is the picl class.
52 * <destnode> is name:<namepath> or _class:<classpath>
54 * If "name:" or "_class:" is not specified in the <path>,
55 * the default is "name:"
60 * define a macro to force a #ident line into the output stream
61 * otherwise cpp removes it. Use #ifndef because of #included definitions.
64 #define id(s) #ident s
66 id("%Z%%M% %I% %E% SMI")
69 * There are a lot of nodes below the rmclomv node, define a shortname
71 #define RMCLOMV /platform/pci@1e,600000/isa@7/rmc-comm@0,3e8/SUNW,rmclomv
78 PROP SlotType string r 0 "system-board"
79 PROP Label string r 0 "MB"
82 PROP SlotType string r 0 "fan-tray"
83 PROP Label string r 0 "FT0"
86 PROP SlotType string r 0 "fan-unit"
87 PROP Label string r 0 "F0"
90 PROP SlotType string r 0 "fan-unit"
91 PROP Label string r 0 "F1"
96 PROP SlotType string r 0 "fan-tray"
97 PROP Label string r 0 "FT1"
100 PROP SlotType string r 0 "fan-unit"
101 PROP Label string r 0 "F0"
106 PROP SlotType string r 0 "fan-tray"
107 PROP Label string r 0 "FT2"
110 PROP SlotType string r 0 "fan-unit"
111 PROP Label string r 0 "F0"
116 PROP SlotType string r 0 "power-supply"
117 PROP Label string r 0 "PS0"
120 PROP SlotType string r 0 "power-supply"
121 PROP Label string r 0 "PS1"
124 PROP SlotType string r 0 "disk-slot"
125 PROP Label string r 0 "HDD0"
128 PROP SlotType string r 0 "disk-slot"
129 PROP Label string r 0 "HDD1"
132 PROP SlotType string r 0 "disk-slot"
133 PROP Label string r 0 "HDD2"
136 PROP SlotType string r 0 "disk-slot"
137 PROP Label string r 0 "HDD3"
140 PROP SlotType string r 0 "disk-slot"
141 PROP Label string r 0 "HDD4"
144 PROP SlotType string r 0 "disk-slot"
145 PROP Label string r 0 "HDD5"
148 PROP SlotType string r 0 "disk-slot"
149 PROP Label string r 0 "HDD6"
152 PROP SlotType string r 0 "disk-slot"
153 PROP Label string r 0 "HDD7"
156 PROP Label string r 0 "RMD0"
159 PROP SlotType string r 0 "cdrom-slot"
160 PROP Label string r 0 "RMD1"
163 PROP SlotType string r 0 "pci"
164 PROP Label string r 0 "PCI0"
167 PROP SlotType string r 0 "pci"
168 PROP Label string r 0 "PCI1"
171 PROP SlotType string r 0 "pci"
172 PROP Label string r 0 "PCI2"
175 PROP SlotType string r 0 "pci"
176 PROP Label string r 0 "PCI3"
179 PROP SlotType string r 0 "pci"
180 PROP Label string r 0 "PCI4"
183 PROP SlotType string r 0 "pci"
184 PROP Label string r 0 "PCI5"
187 PROP Label string r 0 "SCCR"
192 PROP Label string r 0 "SCC"
197 PROP Label string r 0 "SCSIBP"
202 PROP Label string r 0 "USB0"
205 PROP Label string r 0 "USB1"
208 PROP Label string r 0 "USB2"
211 PROP Label string r 0 "USB3"
217 * add power-supply nodes if their fru-proms are visible
219 name:/frutree/chassis/PS0
220 REFNODE power-supply fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/power-supply-fru-prom@0,b0
221 name:/frutree/chassis/PS1
222 REFNODE power-supply fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/power-supply-fru-prom@0,a4
224 /* add disk fru nodes for disks which are present */
225 name:/frutree/chassis/HDD0
226 REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@0,0
227 name:/frutree/chassis/HDD1
228 REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@1,0
229 name:/frutree/chassis/HDD2
230 REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@2,0
231 name:/frutree/chassis/HDD3
232 REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@3,0
233 name:/frutree/chassis/HDD4
234 REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@8,0
235 name:/frutree/chassis/HDD5
236 REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@9,0
237 name:/frutree/chassis/HDD6
238 REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@a,0
239 name:/frutree/chassis/HDD7
240 REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@b,0
242 /* add dvd/cdrom fru nodes for disks which are present */
243 name:/frutree/chassis/RMD0
244 REFNODE cdrom fru WITH name:/platform/pci@1e,600000/ide@d/sd@0,0
245 name:/frutree/chassis/RMD0
246 REFNODE tape fru WITH name:/platform/pci@1d,700000/scsi@4/st@4,0
247 name:/frutree/chassis/RMD1
248 REFNODE cdrom fru WITH name:/platform/pci@1e,600000/ide@d/sd@2,0
250 /* populate fan locations with fans which are present */
251 name:/frutree/chassis/FT0/fan-tray/F0
252 REFNODE fan-unit fru WITH name:RMCLOMV/ft0_f0_rs
253 name:/frutree/chassis/FT0/fan-tray/F1
254 REFNODE fan-unit fru WITH name:RMCLOMV/ft0_f1_rs
255 name:/frutree/chassis/FT1/fan-tray/F0
256 REFNODE fan-unit fru WITH name:RMCLOMV/ft1_f0_rs
257 name:/frutree/chassis/FT2/fan-tray/F0
258 REFNODE fan-unit fru WITH name:RMCLOMV/ft2_f0_rs
260 /* Power distribution board */
261 name:/frutree/chassis/PDB
262 PROP Label string r 0 "PDB"
267 name:/frutree/chassis/SCSIBP/scsibp
268 PROP FRUDataAvailable void r
269 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/scsi-backplane-fru-prom@0,a8
270 name:/platform/pci@1e,600000/isa@7/i2c@0,320/scsi-backplane-fru-prom@0,a8
271 REFPROP _fru_parent /frutree/chassis/SCSIBP/scsibp
273 name:/frutree/chassis/PCI0
274 REFNODE pci-card fru WITH _class:/jbus/pci@1e,600000/picl?DeviceID=4
275 name:/frutree/chassis/PCI1
276 REFNODE pci-card fru WITH _class:/jbus/pci@1e,600000/picl?DeviceID=3
277 name:/frutree/chassis/PCI2
278 REFNODE pci-card fru WITH _class:/jbus/pci@1d,700000/picl?DeviceID=2
279 name:/frutree/chassis/PCI3
280 REFNODE pci-card fru WITH _class:/jbus/pci@1c,600000/picl?DeviceID=2
281 name:/frutree/chassis/PCI4
282 REFNODE pci-card fru WITH _class:/jbus/pci@1e,600000/picl?DeviceID=2
283 name:/frutree/chassis/PCI5
284 REFNODE pci-card fru WITH _class:/jbus/pci@1f,700000/picl?DeviceID=2
286 #include <fru_SC_data.info>
287 #include "system-board.info"
288 #include <SB-tables.info>
290 _class:/jbus/pci@1e,600000/picl@4
291 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card
292 _class:/jbus/pci@1e,600000/picl@4,0
293 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card
294 _class:/jbus/pci@1e,600000/picl@4,1
295 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card
296 _class:/jbus/pci@1e,600000/picl@4,2
297 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card
298 _class:/jbus/pci@1e,600000/picl@4,3
299 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card
300 _class:/jbus/pci@1e,600000/picl@4,4
301 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card
302 _class:/jbus/pci@1e,600000/picl@4,5
303 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card
304 _class:/jbus/pci@1e,600000/picl@4,6
305 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card
306 _class:/jbus/pci@1e,600000/picl@4,7
307 REFPROP _fru_parent name:/frutree/chassis/PCI0/pci-card
308 _class:/jbus/pci@1e,600000/picl@3
309 REFPROP _fru_parent name:/frutree/chassis/PCI1/pci-card
310 _class:/jbus/pci@1e,600000/picl@3,0
311 REFPROP _fru_parent name:/frutree/chassis/PCI1/pci-card
312 _class:/jbus/pci@1e,600000/picl@3,1
313 REFPROP _fru_parent name:/frutree/chassis/PCI1/pci-card
314 _class:/jbus/pci@1e,600000/picl@3,2
315 REFPROP _fru_parent name:/frutree/chassis/PCI1/pci-card
316 _class:/jbus/pci@1e,600000/picl@3,3
317 REFPROP _fru_parent name:/frutree/chassis/PCI1/pci-card
318 _class:/jbus/pci@1e,600000/picl@3,4
319 REFPROP _fru_parent name:/frutree/chassis/PCI1/pci-card
320 _class:/jbus/pci@1e,600000/picl@3,5
321 REFPROP _fru_parent name:/frutree/chassis/PCI1/pci-card
322 _class:/jbus/pci@1e,600000/picl@3,6
323 REFPROP _fru_parent name:/frutree/chassis/PCI1/pci-card
324 _class:/jbus/pci@1e,600000/picl@3,7
325 REFPROP _fru_parent name:/frutree/chassis/PCI1/pci-card
326 _class:/jbus/pci@1d,700000/picl@2
327 REFPROP _fru_parent name:/frutree/chassis/PCI2/pci-card
328 _class:/jbus/pci@1d,700000/picl@2,0
329 REFPROP _fru_parent name:/frutree/chassis/PCI2/pci-card
330 _class:/jbus/pci@1d,700000/picl@2,1
331 REFPROP _fru_parent name:/frutree/chassis/PCI2/pci-card
332 _class:/jbus/pci@1d,700000/picl@2,2
333 REFPROP _fru_parent name:/frutree/chassis/PCI2/pci-card
334 _class:/jbus/pci@1d,700000/picl@2,3
335 REFPROP _fru_parent name:/frutree/chassis/PCI2/pci-card
336 _class:/jbus/pci@1d,700000/picl@2,4
337 REFPROP _fru_parent name:/frutree/chassis/PCI2/pci-card
338 _class:/jbus/pci@1d,700000/picl@2,5
339 REFPROP _fru_parent name:/frutree/chassis/PCI2/pci-card
340 _class:/jbus/pci@1d,700000/picl@2,6
341 REFPROP _fru_parent name:/frutree/chassis/PCI2/pci-card
342 _class:/jbus/pci@1d,700000/picl@2,7
343 REFPROP _fru_parent name:/frutree/chassis/PCI2/pci-card
344 _class:/jbus/pci@1c,600000/picl@2
345 REFPROP _fru_parent name:/frutree/chassis/PCI3/pci-card
346 _class:/jbus/pci@1c,600000/picl@2,0
347 REFPROP _fru_parent name:/frutree/chassis/PCI3/pci-card
348 _class:/jbus/pci@1c,600000/picl@2,1
349 REFPROP _fru_parent name:/frutree/chassis/PCI3/pci-card
350 _class:/jbus/pci@1c,600000/picl@2,2
351 REFPROP _fru_parent name:/frutree/chassis/PCI3/pci-card
352 _class:/jbus/pci@1c,600000/picl@2,3
353 REFPROP _fru_parent name:/frutree/chassis/PCI3/pci-card
354 _class:/jbus/pci@1c,600000/picl@2,4
355 REFPROP _fru_parent name:/frutree/chassis/PCI3/pci-card
356 _class:/jbus/pci@1c,600000/picl@2,5
357 REFPROP _fru_parent name:/frutree/chassis/PCI3/pci-card
358 _class:/jbus/pci@1c,600000/picl@2,6
359 REFPROP _fru_parent name:/frutree/chassis/PCI3/pci-card
360 _class:/jbus/pci@1c,600000/picl@2,7
361 REFPROP _fru_parent name:/frutree/chassis/PCI3/pci-card
362 _class:/jbus/pci@1e,600000/picl@2
363 REFPROP _fru_parent name:/frutree/chassis/PCI4/pci-card
364 _class:/jbus/pci@1e,600000/picl@2,0
365 REFPROP _fru_parent name:/frutree/chassis/PCI4/pci-card
366 _class:/jbus/pci@1e,600000/picl@2,1
367 REFPROP _fru_parent name:/frutree/chassis/PCI4/pci-card
368 _class:/jbus/pci@1e,600000/picl@2,2
369 REFPROP _fru_parent name:/frutree/chassis/PCI4/pci-card
370 _class:/jbus/pci@1e,600000/picl@2,3
371 REFPROP _fru_parent name:/frutree/chassis/PCI4/pci-card
372 _class:/jbus/pci@1e,600000/picl@2,4
373 REFPROP _fru_parent name:/frutree/chassis/PCI4/pci-card
374 _class:/jbus/pci@1e,600000/picl@2,5
375 REFPROP _fru_parent name:/frutree/chassis/PCI4/pci-card
376 _class:/jbus/pci@1e,600000/picl@2,6
377 REFPROP _fru_parent name:/frutree/chassis/PCI4/pci-card
378 _class:/jbus/pci@1e,600000/picl@2,7
379 REFPROP _fru_parent name:/frutree/chassis/PCI4/pci-card
380 _class:/jbus/pci@1f,700000/picl@2
381 REFPROP _fru_parent name:/frutree/chassis/PCI5/pci-card
382 _class:/jbus/pci@1f,700000/picl@2,0
383 REFPROP _fru_parent name:/frutree/chassis/PCI5/pci-card
384 _class:/jbus/pci@1f,700000/picl@2,1
385 REFPROP _fru_parent name:/frutree/chassis/PCI5/pci-card
386 _class:/jbus/pci@1f,700000/picl@2,2
387 REFPROP _fru_parent name:/frutree/chassis/PCI5/pci-card
388 _class:/jbus/pci@1f,700000/picl@2,3
389 REFPROP _fru_parent name:/frutree/chassis/PCI5/pci-card
390 _class:/jbus/pci@1f,700000/picl@2,4
391 REFPROP _fru_parent name:/frutree/chassis/PCI5/pci-card
392 _class:/jbus/pci@1f,700000/picl@2,5
393 REFPROP _fru_parent name:/frutree/chassis/PCI5/pci-card
394 _class:/jbus/pci@1f,700000/picl@2,6
395 REFPROP _fru_parent name:/frutree/chassis/PCI5/pci-card
396 _class:/jbus/pci@1f,700000/picl@2,7
397 REFPROP _fru_parent name:/frutree/chassis/PCI5/pci-card