xref: /illumos-gate/usr/src/cmd/picl/plugins/sun4u/seattle/frutree/system-board.info (revision fb1354ed4c9fee45e038d38a155ea6fb11ee17bb)
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 (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22/*
23 * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24 * Use is subject to license terms.
25 *
26 * ident	"%Z%%M%	%I%	%E% SMI"
27 *
28 * This file creates the system board structure
29 */
30
31/*
32 * define a macro to force a #ident line into the output stream
33 * otherwise cpp removes it. Use #ifndef because of #included definitions.
34 */
35#ifndef id
36#define	id(s)	#ident s
37#endif
38id("%Z%%M% %I%     %E% SMI")
39
40/*
41 * Motherboard properties
42 */
43name:/frutree/chassis/MB
44    NODE system-board fru
45	NODE SC location
46    	    PROP Label string r 0 "SC"
47	    NODE sc fru
48	    ENDNODE
49	ENDNODE
50        NODE P0 location
51            PROP SlotType string r 0 "cpu"
52            PROP Label string r 0 "P0"
53        ENDNODE
54        NODE P1 location
55            PROP SlotType string r 0 "cpu"
56            PROP Label string r 0 "P1"
57        ENDNODE
58	NODE HDDBP location
59    	    PROP Label string r 0 "HDDBP"
60       	    REFNODE disk-backplane-1 fru WITH /platform?PlatformName=SUNW,Sun-Fire-V215
61       	    REFNODE disk-backplane-3 fru WITH /platform?PlatformName=SUNW,Sun-Fire-V245
62	ENDNODE
63        NODE RMD0 location
64            PROP SlotType string r 0 "dvd-slot"
65            PROP Label string r 0 "RMD0"
66        ENDNODE
67	NODE SCC location
68    	    PROP Label string r 0 "SCC"
69	    NODE system-config-chip fru
70	    ENDNODE
71	ENDNODE
72    	NODE RISER-RIGHT location
73    	    PROP Label string r 0 "RISER-RIGHT"
74    	ENDNODE
75    	NODE RISER-LEFT location
76    	    PROP Label string r 0 "RISER-LEFT"
77    	ENDNODE
78	NODE USB0 location
79            PROP Label string r 0 "USB0"
80        ENDNODE
81        NODE USB1 location
82            PROP Label string r 0 "USB1"
83        ENDNODE
84	NODE FIOB location
85    	    PROP Label string r 0 "FIOB"
86	    REFNODE front-io-board-1 fru WITH /platform?PlatformName=SUNW,Sun-Fire-V215
87	    REFNODE front-io-board-2 fru WITH /platform?PlatformName=SUNW,Sun-Fire-V245
88	ENDNODE
89	NODE BATTERY location
90    	    PROP Label string r 0 "BATTERY"
91	    NODE battery fru
92	    ENDNODE
93	ENDNODE
94    ENDNODE
95
96/*
97 * motherboard seeprom source
98 */
99name:/frutree/chassis/MB/system-board
100	PROP FRUDataAvailable void r
101	REFPROP _seeprom_source name:/platform/i2c@1f,530000/motherboard-fru-prom@0,a2
102
103name:/platform/i2c@1f,530000/motherboard-fru-prom@0,a2
104	REFPROP _fru_parent /frutree/chassis/MB/system-board
105
106/*
107 * Processor 0
108 */
109name:/frutree/chassis/MB/system-board/P0
110	REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi+@0,0
111name:/frutree/chassis/MB/system-board/P0/cpu
112        NODE B0 location
113            PROP Label string r 0 "B0"
114            NODE bank fru
115                NODE D0 location
116                ENDNODE
117                NODE D1 location
118                ENDNODE
119            ENDNODE
120        ENDNODE
121        NODE B1 location
122            PROP Label string r 0 "B1"
123            NODE bank fru
124                NODE D0 location
125                ENDNODE
126                NODE D1 location
127                ENDNODE
128            ENDNODE
129        ENDNODE
130
131/*
132 * Processor 1
133 */
134name:/frutree/chassis/MB/system-board/P1
135	REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi+@1,0
136name:/frutree/chassis/MB/system-board/P1/cpu
137        NODE B0 location
138            PROP Label string r 0 "B0"
139            NODE bank fru
140                NODE D0 location
141                ENDNODE
142                NODE D1 location
143                ENDNODE
144            ENDNODE
145        ENDNODE
146        NODE B1 location
147            PROP Label string r 0 "B1"
148            NODE bank fru
149                NODE D0 location
150                ENDNODE
151                NODE D1 location
152                ENDNODE
153            ENDNODE
154        ENDNODE
155/*
156 * Processor 0 memory
157 */
158name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0
159	PROP SlotType string r 0 "memory-module"
160	PROP Label string r 0 "D0"
161name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1
162	PROP SlotType string r 0 "memory-module"
163	PROP Label string r 0 "D1"
164name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0
165	PROP SlotType string r 0 "memory-module"
166	PROP Label string r 0 "D0"
167name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1
168	PROP SlotType string r 0 "memory-module"
169	PROP Label string r 0 "D1"
170
171/*
172 * Processor 1 memory
173 */
174name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0
175	PROP SlotType string r 0 "memory-module"
176	PROP Label string r 0 "D0"
177name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1
178	PROP SlotType string r 0 "memory-module"
179	PROP Label string r 0 "D1"
180name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0
181	PROP SlotType string r 0 "memory-module"
182	PROP Label string r 0 "D0"
183name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1
184	PROP SlotType string r 0 "memory-module"
185	PROP Label string r 0 "D1"
186
187/*
188 * Dimm nodes
189 */
190name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0
191	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e0
192name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1
193	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e2
194name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0
195	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e4
196name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1
197	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e6
198name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0
199	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e8
200name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1
201	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,ea
202name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0
203	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,ec
204name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1
205	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,ee
206
207/*
208 * DIMM seeprom sources
209 */
210name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module
211	PROP FRUDataAvailable void r
212	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e0
213name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module
214	PROP FRUDataAvailable void r
215	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e2
216name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module
217	PROP FRUDataAvailable void r
218	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e4
219name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module
220	PROP FRUDataAvailable void r
221	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e6
222name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module
223	PROP FRUDataAvailable void r
224	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e8
225name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module
226	PROP FRUDataAvailable void r
227	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,ea
228name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module
229	PROP FRUDataAvailable void r
230	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,ec
231name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module
232	PROP FRUDataAvailable void r
233	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,ee
234
235/*
236 * DIMM FRU parents
237 */
238name:/platform/i2c@1f,530000/dimm-spd@0,e0
239	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module
240name:/platform/i2c@1f,530000/dimm-spd@0,e2
241	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module
242name:/platform/i2c@1f,530000/dimm-spd@0,e4
243	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module
244name:/platform/i2c@1f,530000/dimm-spd@0,e6
245	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module
246name:/platform/i2c@1f,530000/dimm-spd@0,e8
247	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module
248name:/platform/i2c@1f,530000/dimm-spd@0,ea
249	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module
250name:/platform/i2c@1f,530000/dimm-spd@0,ec
251	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module
252name:/platform/i2c@1f,530000/dimm-spd@0,ee
253	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module
254
255name:/platform/SUNW,UltraSPARC-IIIi+@0,0
256	REFPROP _fru_parent /frutree/chassis/MB/system-board/P0/cpu
257
258name:/platform/SUNW,UltraSPARC-IIIi+@1,0
259	REFPROP _fru_parent /frutree/chassis/MB/system-board/P1/cpu
260
261/*
262 * DIMM parents
263 */
264name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0
265	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module
266name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1
267	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module
268name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0
269	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module
270name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1
271	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module
272name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0
273	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module
274name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1
275	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module
276name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0
277	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module
278name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1
279	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module
280/*
281 * create reference properties for motherboard pci devices
282 */
283_class:/jbus/pciex@1e,600000
284	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
285_class:/jbus/pciex@1f,700000
286	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
287
288/*
289 * Front IO Board 1U
290 */
291name:/frutree/chassis/MB/system-board/FIOB/front-io-board-1
292	NODE USB2 location
293	    PROP Label string r 0 "USB2"
294	ENDNODE
295	NODE FLEDB location
296	    PROP Label string r 0 "FLEDB"
297	    NODE front-led-board fru
298	    ENDNODE
299	ENDNODE
300	NODE FCB0 location
301	    PROP Label string r 0 "FCB0"
302	    NODE fan-connector-board fru
303	    ENDNODE
304	ENDNODE
305	NODE FCB1 location
306	    PROP Label string r 0 "FCB1"
307	    NODE fan-connector-board fru
308	    ENDNODE
309	ENDNODE
310
311/*
312 * Front IO Board 2U
313 */
314
315name:/frutree/chassis/MB/system-board/FIOB/front-io-board-2
316	NODE USB2 location
317	    PROP Label string r 0 "USB2"
318	ENDNODE
319	NODE USB3 location
320	    PROP Label string r 0 "USB3"
321	ENDNODE
322	NODE FLEDB location
323	    PROP Label string r 0 "FLEDB"
324	    NODE front-led-board fru
325	    ENDNODE
326	ENDNODE
327	NODE FCB0 location
328	    PROP Label string r 0 "FCB0"
329	    NODE fan-connector-board fru
330	    ENDNODE
331	ENDNODE
332	NODE FCB1 location
333	    PROP Label string r 0 "FCB1"
334	    NODE fan-connector-board fru
335	    ENDNODE
336	ENDNODE
337
338/*
339 * Add dvdrom fru nodes for disks which are present
340 */
341name:/frutree/chassis/MB/system-board/RMD0
342	REFNODE removable-media fru WITH name:/platform/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0
343
344/*
345 * HDDBP
346 */
347name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
348	NODE HDD0 location
349	    PROP SlotType string r 0 "disk-slot"
350	    PROP Label string r 0 "HDD0"
351	ENDNODE
352	NODE HDD1 location
353	    PROP SlotType string r 0 "disk-slot"
354	    PROP Label string r 0 "HDD1"
355	ENDNODE
356
357name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
358	REFPROP _seeprom_source name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
359
360name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
361	REFPROP _fru_parent /frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
362
363name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
364	NODE HDD0 location
365	    PROP SlotType string r 0 "disk-slot"
366	    PROP Label string r 0 "HDD0"
367	ENDNODE
368	NODE HDD1 location
369	    PROP SlotType string r 0 "disk-slot"
370	    PROP Label string r 0 "HDD1"
371	ENDNODE
372	NODE HDD2 location
373	    PROP SlotType string r 0 "disk-slot"
374	    PROP Label string r 0 "HDD2"
375	ENDNODE
376	NODE HDD3 location
377	    PROP SlotType string r 0 "disk-slot"
378	    PROP Label string r 0 "HDD3"
379	ENDNODE
380
381name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
382	REFPROP _seeprom_source name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
383
384name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
385	REFPROP _fru_parent /frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
386
387/* add disk fru nodes for disks which are present */
388name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1/HDD0
389	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
390name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1/HDD1
391	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
392name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD0
393	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
394name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD1
395	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
396name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD2
397	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@2,0
398name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD3
399	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@3,0
400
401/*
402 * System Fans 1U
403 */
404
405#ifndef FCB0_1U
406#define FCB0_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB0/fan-connector-board
407#endif
408
409#ifndef FCB1_1U
410#define FCB1_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB1/fan-connector-board
411#endif
412
413name:FCB0_1U
414NODE FT0 location
415    PROP Label string r 0 "FT0"
416    NODE fan-tray fru
417	NODE F0 location
418	    PROP SlotType string r 0 "fan-unit"
419    	    PROP Label string r 0 "F0"
420	ENDNODE
421	NODE F1 location
422	    PROP SlotType string r 0 "fan-unit"
423    	    PROP Label string r 0 "F1"
424	ENDNODE
425    ENDNODE
426ENDNODE
427
428name:FCB0_1U
429NODE FT1 location
430    PROP Label string r 0 "FT1"
431    NODE fan-tray fru
432	NODE F0 location
433	    PROP SlotType string r 0 "fan-unit"
434    	    PROP Label string r 0 "F0"
435	ENDNODE
436	NODE F1 location
437	    PROP SlotType string r 0 "fan-unit"
438    	    PROP Label string r 0 "F1"
439	ENDNODE
440    ENDNODE
441ENDNODE
442
443name:FCB0_1U
444NODE FT2 location
445    PROP Label string r 0 "FT2"
446    NODE fan-tray fru
447	NODE F0 location
448	    PROP SlotType string r 0 "fan-unit"
449    	    PROP Label string r 0 "F0"
450	ENDNODE
451	NODE F1 location
452	    PROP SlotType string r 0 "fan-unit"
453    	    PROP Label string r 0 "F1"
454	ENDNODE
455    ENDNODE
456ENDNODE
457
458name:FCB1_1U
459NODE FT3 location
460    PROP Label string r 0 "FT3"
461    NODE fan-tray fru
462	NODE F0 location
463	    PROP SlotType string r 0 "fan-unit"
464    	    PROP Label string r 0 "F0"
465	ENDNODE
466	NODE F1 location
467	    PROP SlotType string r 0 "fan-unit"
468    	    PROP Label string r 0 "F1"
469	ENDNODE
470    ENDNODE
471ENDNODE
472
473name:FCB1_1U
474NODE FT4 location
475    PROP Label string r 0 "FT4"
476    NODE fan-tray fru
477	NODE F0 location
478	    PROP SlotType string r 0 "fan-unit"
479    	    PROP Label string r 0 "F0"
480	ENDNODE
481	NODE F1 location
482	    PROP SlotType string r 0 "fan-unit"
483    	    PROP Label string r 0 "F1"
484	ENDNODE
485    ENDNODE
486ENDNODE
487
488name:FCB1_1U
489NODE FT5 location
490    PROP Label string r 0 "FT5"
491    NODE fan-tray fru
492	NODE F0 location
493	    PROP SlotType string r 0 "fan-unit"
494    	    PROP Label string r 0 "F0"
495	ENDNODE
496	NODE F1 location
497	    PROP SlotType string r 0 "fan-unit"
498    	    PROP Label string r 0 "F1"
499	ENDNODE
500    ENDNODE
501ENDNODE
502
503/* populate fan locations with fans which are present */
504name:FCB0_1U/FT0/fan-tray/F0
505	REFNODE fan-unit fru WITH name:RMCLOMV/ft0_f0
506name:FCB0_1U/FT0/fan-tray/F1
507	REFNODE fan-unit fru WITH name:RMCLOMV/ft0_f1
508name:FCB0_1U/FT1/fan-tray/F0
509	REFNODE fan-unit fru WITH name:RMCLOMV/ft1_f0
510name:FCB0_1U/FT1/fan-tray/F1
511	REFNODE fan-unit fru WITH name:RMCLOMV/ft1_f1
512name:FCB0_1U/FT2/fan-tray/F0
513	REFNODE fan-unit fru WITH name:RMCLOMV/ft2_f0
514name:FCB0_1U/FT2/fan-tray/F1
515	REFNODE fan-unit fru WITH name:RMCLOMV/ft2_f1
516name:FCB1_1U/FT3/fan-tray/F0
517	REFNODE fan-unit fru WITH name:RMCLOMV/ft3_f0
518name:FCB1_1U/FT3/fan-tray/F1
519	REFNODE fan-unit fru WITH name:RMCLOMV/ft3_f1
520name:FCB1_1U/FT4/fan-tray/F0
521	REFNODE fan-unit fru WITH name:RMCLOMV/ft4_f0
522name:FCB1_1U/FT4/fan-tray/F1
523	REFNODE fan-unit fru WITH name:RMCLOMV/ft4_f1
524name:FCB1_1U/FT5/fan-tray/F0
525	REFNODE fan-unit fru WITH name:RMCLOMV/ft5_f0
526name:FCB1_1U/FT5/fan-tray/F1
527	REFNODE fan-unit fru WITH name:RMCLOMV/ft5_f1
528
529/*
530 * System Fans 2U
531 */
532
533#ifndef FCB0_2U
534#define FCB0_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB0/fan-connector-board
535#endif
536
537#ifndef FCB1_2U
538#define FCB1_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB1/fan-connector-board
539#endif
540
541name:FCB0_2U
542NODE FT0 location
543    PROP Label string r 0 "FT0"
544    NODE fan-tray fru
545	NODE F0 location
546	    PROP SlotType string r 0 "fan-unit"
547    	    PROP Label string r 0 "F0"
548	ENDNODE
549    ENDNODE
550ENDNODE
551
552name:FCB0_2U
553NODE FT1 location
554    PROP Label string r 0 "FT1"
555    NODE fan-tray fru
556	NODE F0 location
557	    PROP SlotType string r 0 "fan-unit"
558    	    PROP Label string r 0 "F0"
559	ENDNODE
560    ENDNODE
561ENDNODE
562
563name:FCB0_2U
564NODE FT2 location
565    PROP Label string r 0 "FT2"
566    NODE fan-tray fru
567	NODE F0 location
568	    PROP SlotType string r 0 "fan-unit"
569    	    PROP Label string r 0 "F0"
570	ENDNODE
571    ENDNODE
572ENDNODE
573
574name:FCB1_2U
575NODE FT3 location
576    PROP Label string r 0 "FT3"
577    NODE fan-tray fru
578	NODE F0 location
579	    PROP SlotType string r 0 "fan-unit"
580    	    PROP Label string r 0 "F0"
581	ENDNODE
582    ENDNODE
583ENDNODE
584
585name:FCB1_2U
586NODE FT4 location
587    PROP Label string r 0 "FT4"
588    NODE fan-tray fru
589	NODE F0 location
590	    PROP SlotType string r 0 "fan-unit"
591    	    PROP Label string r 0 "F0"
592	ENDNODE
593    ENDNODE
594ENDNODE
595
596name:FCB1_2U
597NODE FT5 location
598    PROP Label string r 0 "FT5"
599    NODE fan-tray fru
600	NODE F0 location
601	    PROP SlotType string r 0 "fan-unit"
602    	    PROP Label string r 0 "F0"
603	ENDNODE
604    ENDNODE
605ENDNODE
606
607/* populate fan locations with fans which are present */
608name:FCB0_2U/FT0/fan-tray/F0
609	REFNODE fan-unit fru WITH name:RMCLOMV/ft0_f0
610name:FCB0_2U/FT1/fan-tray/F0
611	REFNODE fan-unit fru WITH name:RMCLOMV/ft1_f0
612name:FCB0_2U/FT2/fan-tray/F0
613	REFNODE fan-unit fru WITH name:RMCLOMV/ft2_f0
614name:FCB1_2U/FT3/fan-tray/F0
615	REFNODE fan-unit fru WITH name:RMCLOMV/ft3_f0
616name:FCB1_2U/FT4/fan-tray/F0
617	REFNODE fan-unit fru WITH name:RMCLOMV/ft4_f0
618name:FCB1_2U/FT5/fan-tray/F0
619	REFNODE fan-unit fru WITH name:RMCLOMV/ft5_f0
620
621/*
622 * PCI Riser Card Right
623 */
624
625#ifndef PCI_R
626#define PCI_R /frutree/chassis/MB/system-board/RISER-RIGHT
627#endif
628
629name:PCI_R
630	REFNODE pci-riser-board fru WITH name:/platform/i2c@1f,530000/riser-fru-prom@0,aa
631
632name:PCI_R/pci-riser-board
633	PROP FRUDataAvailable void r
634	REFPROP _seeprom_source name:/platform/i2c@1f,530000/riser-fru-prom@0,aa
635	NODE PCI0 location
636	    PROP Label string r 0 "PCI0"
637	    PROP SlotType string r 0 "pci-e"
638	ENDNODE
639	REFNODE PCI2 location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
640
641name:/platform/i2c@1f,530000/riser-fru-prom@0,aa
642	REFPROP _fru_parent PCI_R/pci-riser-board
643
644name:PCI_R/pci-riser-board/PCI2
645	PROP Label string r 0 "PCI2"
646	PROP SlotType string r 0 "pci-e"
647
648/*
649 * PCI Riser Card Left
650 */
651
652#ifndef PCI_L
653#define PCI_L /frutree/chassis/MB/system-board/RISER-LEFT
654#endif
655
656name:PCI_L
657	REFNODE pci-riser-board fru WITH name:/platform/i2c@1f,530000/riser-fru-prom@0,a8
658
659name:PCI_L/pci-riser-board
660	PROP FRUDataAvailable void r
661	REFPROP _seeprom_source name:/platform/i2c@1f,530000/riser-fru-prom@0,a8
662	NODE PCI1 location
663	    PROP Label string r 0 "PCI1"
664	    PROP SlotType string r 0 "pci-x-e"
665	ENDNODE
666	REFNODE PCI3 location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
667
668name:/platform/i2c@1f,530000/riser-fru-prom@0,a8
669	REFPROP _fru_parent PCI_L/pci-riser-board
670
671name:PCI_L/pci-riser-board/PCI3
672	PROP Label string r 0 "PCI3"
673	PROP SlotType string r 0 "pci-x-e"
674
675/*
676 * Populate PCI slots
677 */
678name:PCI_R/pci-riser-board/PCI0
679	REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl?DeviceID=0
680name:PCI_R/pci-riser-board/PCI2
681	REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl?DeviceID=0
682name:PCI_L/pci-riser-board/PCI1
683	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/obp-device@0
684	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl?DeviceID=0
685	REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl?DeviceID=1
686name:PCI_L/pci-riser-board/PCI3
687	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl?DeviceID=0
688	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/picl?DeviceID=2
689
690/*
691 * _fru_parent PCIEX devices
692 */
693_class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl?DeviceID=0
694REFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
695
696_class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl?DeviceID=0
697REFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
698
699_class:/jbus/pciex@1f,700000/obp-device@0
700REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
701_class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl?DeviceID=0
702REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
703
704_class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl?DeviceID=0
705REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
706
707/*
708 * _fru_parent PCI-X devices
709 */
710_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1
711REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
712_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,0
713REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
714_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,1
715REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
716_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,2
717REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
718_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,3
719REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
720_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,4
721REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
722_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,5
723REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
724_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,6
725REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
726_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,7
727REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
728
729_class:/jbus/pciex@1f,700000/pciex@0/picl@2
730REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
731_class:/jbus/pciex@1f,700000/pciex@0/picl@2,0
732REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
733_class:/jbus/pciex@1f,700000/pciex@0/picl@2,1
734REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
735_class:/jbus/pciex@1f,700000/pciex@0/picl@2,2
736REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
737_class:/jbus/pciex@1f,700000/pciex@0/picl@2,3
738REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
739_class:/jbus/pciex@1f,700000/pciex@0/picl@2,4
740REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
741_class:/jbus/pciex@1f,700000/pciex@0/picl@2,5
742REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
743_class:/jbus/pciex@1f,700000/pciex@0/picl@2,6
744REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
745_class:/jbus/pciex@1f,700000/pciex@0/picl@2,7
746REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
747