xref: /illumos-gate/usr/src/cmd/picl/plugins/sun4u/seattle/frutree/system-board.info (revision 930176a00b697a09f5256ff3d4b1550f8e73c3a6)
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 2006 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 * PDB nodes for 1U and 2U. Note that we should have only one of these
340 * two nodes for each platform (1U/2U).
341 */
342name:/frutree/chassis/PDB/power-distribution-board
343	REFNODE FT6 location WITH /platform?PlatformName=SUNW,Sun-Fire-V215
344	REFNODE HDDFB location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
345
346name:/frutree/chassis/PDB/power-distribution-board/HDDFB
347	PROP Label string r 0 "HDDFB"
348	NODE fan-connector-board fru
349	ENDNODE
350
351/*
352 * Add dvdrom fru nodes for disks which are present
353 */
354name:/frutree/chassis/MB/system-board/RMD0
355	REFNODE removable-media fru WITH name:/platform/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0
356
357/*
358 * HDDBP
359 */
360name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
361	NODE HDD0 location
362	    PROP SlotType string r 0 "disk-slot"
363	    PROP Label string r 0 "HDD0"
364	ENDNODE
365	NODE HDD1 location
366	    PROP SlotType string r 0 "disk-slot"
367	    PROP Label string r 0 "HDD1"
368	ENDNODE
369
370name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
371	PROP FRUDataAvailable void r
372	REFPROP _seeprom_source name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
373
374name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
375	REFPROP _fru_parent /frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
376
377name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
378	NODE HDD0 location
379	    PROP SlotType string r 0 "disk-slot"
380	    PROP Label string r 0 "HDD0"
381	ENDNODE
382	NODE HDD1 location
383	    PROP SlotType string r 0 "disk-slot"
384	    PROP Label string r 0 "HDD1"
385	ENDNODE
386	NODE HDD2 location
387	    PROP SlotType string r 0 "disk-slot"
388	    PROP Label string r 0 "HDD2"
389	ENDNODE
390	NODE HDD3 location
391	    PROP SlotType string r 0 "disk-slot"
392	    PROP Label string r 0 "HDD3"
393	ENDNODE
394
395name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
396	PROP FRUDataAvailable void r
397	REFPROP _seeprom_source name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
398
399name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
400	REFPROP _fru_parent /frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
401
402/* add disk fru nodes for disks which are present */
403name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1/HDD0
404	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
405name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1/HDD1
406	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
407name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD0
408	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
409name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD1
410	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
411name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD2
412	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@2,0
413name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD3
414	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@3,0
415
416
417/*
418 * System Fans for Seattle 1U
419 */
420#ifndef FCB0_1U
421#define FCB0_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB0/fan-connector-board
422#endif
423
424#ifndef FCB1_1U
425#define FCB1_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB1/fan-connector-board
426#endif
427
428#ifndef PDB_1U
429#define PDB_1U /frutree/chassis/PDB/power-distribution-board
430#endif
431
432/*
433 * As per FSD rev 0.19, in Seattle 1U, two fans are integrated into
434 * a single assembly and share a connector. We assume therefore that
435 * every fan tray in Seattle 1U contains both fans, so the presence
436 * of either fan node (under RMCLOMV) is indicative of the presence
437 * of the containing fan tray. In other words, either we have the
438 * fan tray with both fans present, or we have no fan tray at all.
439 */
440name:FCB0_1U
441    NODE FT0 location
442	PROP Label string r 0 "FT0"
443	PROP SlotType string r 0 "fan-tray"
444	REFNODE fan-tray fru WITH name:RMCLOMV/ft0_f0
445    ENDNODE
446    NODE FT1 location
447	PROP Label string r 0 "FT1"
448	PROP SlotType string r 0 "fan-tray"
449	REFNODE fan-tray fru WITH name:RMCLOMV/ft1_f0
450    ENDNODE
451    NODE FT2 location
452	PROP Label string r 0 "FT2"
453	PROP SlotType string r 0 "fan-tray"
454	REFNODE fan-tray fru WITH name:RMCLOMV/ft2_f0
455    ENDNODE
456
457name:FCB1_1U
458    NODE FT3 location
459	PROP Label string r 0 "FT3"
460	PROP SlotType string r 0 "fan-tray"
461	REFNODE fan-tray fru WITH name:RMCLOMV/ft3_f0
462    ENDNODE
463    NODE FT4 location
464	PROP Label string r 0 "FT4"
465	PROP SlotType string r 0 "fan-tray"
466	REFNODE fan-tray fru WITH name:RMCLOMV/ft4_f0
467    ENDNODE
468    NODE FT5 location
469	PROP Label string r 0 "FT5"
470	PROP SlotType string r 0 "fan-tray"
471	REFNODE fan-tray fru WITH name:RMCLOMV/ft5_f0
472    ENDNODE
473
474name:PDB_1U/FT6
475    PROP Label string r 0 "FT6"
476    PROP SlotType string r 0 "fan-tray"
477    REFNODE fan-tray fru WITH name:RMCLOMV/pdb_ft6_f0
478
479/*
480 * Create fan nodes for Seattle 1U
481 *
482 * Note that although we could create the F0 and F1 nodes on each
483 * tray conditionally, based on the ftN_f0 and ftN_f1 rmclomv nodes,
484 * it won't add any value; we've already based the creation of the
485 * fan-tray node to the existence of ftN_f0.
486 */
487name:FCB0_1U/FT0/fan-tray
488    NODE F0 location
489	PROP SlotType string r 0 "fan-unit"
490	PROP Label string r 0 "F0"
491    ENDNODE
492    NODE F1 location
493	PROP SlotType string r 0 "fan-unit"
494	PROP Label string r 0 "F1"
495    ENDNODE
496
497name:FCB0_1U/FT1/fan-tray
498    NODE F0 location
499	PROP SlotType string r 0 "fan-unit"
500	PROP Label string r 0 "F0"
501    ENDNODE
502    NODE F1 location
503	PROP SlotType string r 0 "fan-unit"
504	PROP Label string r 0 "F1"
505    ENDNODE
506
507name:FCB0_1U/FT2/fan-tray
508    NODE F0 location
509	PROP SlotType string r 0 "fan-unit"
510	PROP Label string r 0 "F0"
511    ENDNODE
512    NODE F1 location
513	PROP SlotType string r 0 "fan-unit"
514	PROP Label string r 0 "F1"
515    ENDNODE
516
517name:FCB1_1U/FT3/fan-tray
518    NODE F0 location
519	PROP SlotType string r 0 "fan-unit"
520	PROP Label string r 0 "F0"
521    ENDNODE
522    NODE F1 location
523	PROP SlotType string r 0 "fan-unit"
524	PROP Label string r 0 "F1"
525    ENDNODE
526
527name:FCB1_1U/FT4/fan-tray
528    NODE F0 location
529	PROP SlotType string r 0 "fan-unit"
530	PROP Label string r 0 "F0"
531    ENDNODE
532    NODE F1 location
533	PROP SlotType string r 0 "fan-unit"
534	PROP Label string r 0 "F1"
535    ENDNODE
536
537name:FCB1_1U/FT5/fan-tray
538    NODE F0 location
539	PROP SlotType string r 0 "fan-unit"
540	PROP Label string r 0 "F0"
541    ENDNODE
542    NODE F1 location
543	PROP SlotType string r 0 "fan-unit"
544	PROP Label string r 0 "F1"
545    ENDNODE
546
547name:PDB_1U/FT6/fan-tray
548    NODE F0 location
549	PROP SlotType string r 0 "fan-unit"
550	PROP Label string r 0 "F0"
551    ENDNODE
552    NODE F1 location
553	PROP SlotType string r 0 "fan-unit"
554	PROP Label string r 0 "F1"
555    ENDNODE
556
557/*
558 * System Fans for Seattle 2U
559 */
560#ifndef FCB0_2U
561#define FCB0_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB0/fan-connector-board
562#endif
563
564#ifndef FCB1_2U
565#define FCB1_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB1/fan-connector-board
566#endif
567
568#ifndef PDB_2U
569#define PDB_2U /frutree/chassis/PDB/power-distribution-board/HDDFB/fan-connector-board
570#endif
571
572/*
573 * In Seattle 2U, each fan assembly has only one fan (except for the pdb),
574 * so the presence of f0 is indicative of the presence of the fan tray.
575 */
576name:FCB0_2U
577    NODE FT0 location
578	PROP Label string r 0 "FT0"
579	PROP SlotType string r 0 "fan-tray"
580	REFNODE fan-tray fru WITH name:RMCLOMV/ft0_f0
581    ENDNODE
582    NODE FT1 location
583	PROP Label string r 0 "FT1"
584	PROP SlotType string r 0 "fan-tray"
585	REFNODE fan-tray fru WITH name:RMCLOMV/ft1_f0
586    ENDNODE
587    NODE FT2 location
588	PROP Label string r 0 "FT2"
589	PROP SlotType string r 0 "fan-tray"
590	REFNODE fan-tray fru WITH name:RMCLOMV/ft2_f0
591    ENDNODE
592
593name:FCB1_2U
594    NODE FT3 location
595	PROP Label string r 0 "FT3"
596	PROP SlotType string r 0 "fan-tray"
597	REFNODE fan-tray fru WITH name:RMCLOMV/ft3_f0
598    ENDNODE
599    NODE FT4 location
600	PROP Label string r 0 "FT4"
601	PROP SlotType string r 0 "fan-tray"
602	REFNODE fan-tray fru WITH name:RMCLOMV/ft4_f0
603    ENDNODE
604    NODE FT5 location
605	PROP Label string r 0 "FT5"
606	PROP SlotType string r 0 "fan-tray"
607	REFNODE fan-tray fru WITH name:RMCLOMV/ft5_f0
608    ENDNODE
609
610name:PDB_2U
611    NODE FT6 location
612	PROP Label string r 0 "FT6"
613	PROP SlotType string r 0 "fan-tray"
614	REFNODE fan-tray fru WITH name:RMCLOMV/pdb_hddfb_ft6_f0
615    ENDNODE
616
617/*
618 * Create fan nodes for Seattle 2U
619 */
620name:FCB0_2U/FT0/fan-tray
621    NODE F0 location
622	PROP SlotType string r 0 "fan-unit"
623	PROP Label string r 0 "F0"
624    ENDNODE
625
626name:FCB0_2U/FT1/fan-tray
627    NODE F0 location
628	PROP SlotType string r 0 "fan-unit"
629	PROP Label string r 0 "F0"
630    ENDNODE
631
632name:FCB0_2U/FT2/fan-tray
633    NODE F0 location
634	PROP SlotType string r 0 "fan-unit"
635	PROP Label string r 0 "F0"
636    ENDNODE
637
638name:FCB1_2U/FT3/fan-tray
639    NODE F0 location
640	PROP SlotType string r 0 "fan-unit"
641	PROP Label string r 0 "F0"
642    ENDNODE
643
644name:FCB1_2U/FT4/fan-tray
645    NODE F0 location
646	PROP SlotType string r 0 "fan-unit"
647	PROP Label string r 0 "F0"
648    ENDNODE
649
650name:FCB1_2U/FT5/fan-tray
651    NODE F0 location
652	PROP SlotType string r 0 "fan-unit"
653	PROP Label string r 0 "F0"
654    ENDNODE
655
656name:PDB_2U/FT6/fan-tray
657    NODE F0 location
658	PROP SlotType string r 0 "fan-unit"
659	PROP Label string r 0 "F0"
660    ENDNODE
661    NODE F1 location
662	PROP SlotType string r 0 "fan-unit"
663	PROP Label string r 0 "F1"
664    ENDNODE
665
666/*
667 * PCI Riser Card Right
668 */
669
670#ifndef PCI_R
671#define PCI_R /frutree/chassis/MB/system-board/RISER-RIGHT
672#endif
673
674name:PCI_R
675	REFNODE pci-riser-board fru WITH name:/platform/i2c@1f,530000/riser-fru-prom@0,aa
676
677name:PCI_R/pci-riser-board
678	PROP FRUDataAvailable void r
679	REFPROP _seeprom_source name:/platform/i2c@1f,530000/riser-fru-prom@0,aa
680	NODE PCI0 location
681	    PROP Label string r 0 "PCI0"
682	    PROP SlotType string r 0 "pci-e"
683	ENDNODE
684	REFNODE PCI2 location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
685
686name:/platform/i2c@1f,530000/riser-fru-prom@0,aa
687	REFPROP _fru_parent PCI_R/pci-riser-board
688
689name:PCI_R/pci-riser-board/PCI2
690	PROP Label string r 0 "PCI2"
691	PROP SlotType string r 0 "pci-e"
692
693/*
694 * PCI Riser Card Left
695 */
696
697#ifndef PCI_L
698#define PCI_L /frutree/chassis/MB/system-board/RISER-LEFT
699#endif
700
701name:PCI_L
702	REFNODE pci-riser-board fru WITH name:/platform/i2c@1f,530000/riser-fru-prom@0,a8
703
704name:PCI_L/pci-riser-board
705	PROP FRUDataAvailable void r
706	REFPROP _seeprom_source name:/platform/i2c@1f,530000/riser-fru-prom@0,a8
707
708name:/platform/i2c@1f,530000/riser-fru-prom@0,a8
709	REFPROP _fru_parent PCI_L/pci-riser-board
710
711name:PCI_L/pci-riser-board
712	REFNODE PCI1 location WITH /platform?PlatformName=SUNW,Sun-Fire-V215
713
714name:PCI_L/pci-riser-board/PCI1
715	PROP Label string r 0 "PCI1"
716	PROP SlotType string r 0 "pci-x-e"
717	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/picl?DeviceID=0
718	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl?DeviceID=0
719
720name:PCI_L/pci-riser-board
721	REFNODE PCI1 location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
722	REFNODE PCI3 location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
723
724name:PCI_L/pci-riser-board/PCI3
725	PROP Label string r 0 "PCI3"
726	PROP SlotType string r 0 "pci-x-e"
727	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl?DeviceID=0
728	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/picl?DeviceID=2
729
730name:PCI_L/pci-riser-board/PCI1
731	PROP Label string r 0 "PCI1"
732	PROP SlotType string r 0 "pci-x-e"
733	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl?DeviceID=0
734	REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl?DeviceID=1
735
736/*
737 * Populate PCI_R slots
738 */
739name:PCI_R/pci-riser-board/PCI0
740	REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl?DeviceID=0
741name:PCI_R/pci-riser-board/PCI2
742	REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl?DeviceID=0
743
744/*
745 * _fru_parent PCIEX devices
746 */
747_class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl?DeviceID=0
748REFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
749
750_class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl?DeviceID=0
751REFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
752
753_class:/jbus/pciex@1f,700000/picl?DeviceID=0
754REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
755_class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl?DeviceID=0
756REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
757
758_class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl?DeviceID=0
759REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
760
761/*
762 * _fru_parent PCI-X devices
763 */
764_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1
765REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
766_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,0
767REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
768_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,1
769REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
770_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,2
771REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
772_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,3
773REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
774_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,4
775REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
776_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,5
777REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
778_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,6
779REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
780_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pciex@0/pci@8/picl@1,7
781REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
782
783_class:/jbus/pciex@1f,700000/pciex@0/picl@2
784REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
785_class:/jbus/pciex@1f,700000/pciex@0/picl@2,0
786REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
787_class:/jbus/pciex@1f,700000/pciex@0/picl@2,1
788REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
789_class:/jbus/pciex@1f,700000/pciex@0/picl@2,2
790REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
791_class:/jbus/pciex@1f,700000/pciex@0/picl@2,3
792REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
793_class:/jbus/pciex@1f,700000/pciex@0/picl@2,4
794REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
795_class:/jbus/pciex@1f,700000/pciex@0/picl@2,5
796REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
797_class:/jbus/pciex@1f,700000/pciex@0/picl@2,6
798REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
799_class:/jbus/pciex@1f,700000/pciex@0/picl@2,7
800REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
801