8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / picl / plugins / sun4u / seattle / frutree / system-board.info
blobaefe347bf3de38c597e9643c10962009912effcf
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  */
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  */
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
38 id("%Z%%M% %I%     %E% SMI")
41  * Motherboard properties
42  */
43 name:/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
97  * motherboard seeprom source
98  */
99 name:/frutree/chassis/MB/system-board
100         PROP FRUDataAvailable void r
101         REFPROP _seeprom_source name:/platform/i2c@1f,530000/motherboard-fru-prom@0,a2
103 name:/platform/i2c@1f,530000/motherboard-fru-prom@0,a2
104         REFPROP _fru_parent /frutree/chassis/MB/system-board
107  * Processor 0
108  */
109 name:/frutree/chassis/MB/system-board/P0
110         REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi+@0,0
111         REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi@0,0
112 name:/frutree/chassis/MB/system-board/P0/cpu
113         NODE B0 location
114             PROP Label string r 0 "B0"
115             NODE bank fru
116                 NODE D0 location
117                 ENDNODE
118                 NODE D1 location
119                 ENDNODE
120             ENDNODE
121         ENDNODE
122         NODE B1 location
123             PROP Label string r 0 "B1"
124             NODE bank fru
125                 NODE D0 location
126                 ENDNODE
127                 NODE D1 location
128                 ENDNODE
129             ENDNODE
130         ENDNODE
133  * Processor 1
134  */
135 name:/frutree/chassis/MB/system-board/P1
136         REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi+@1,0
137         REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi@1,0
138 name:/frutree/chassis/MB/system-board/P1/cpu
139         NODE B0 location
140             PROP Label string r 0 "B0"
141             NODE bank fru
142                 NODE D0 location
143                 ENDNODE
144                 NODE D1 location
145                 ENDNODE
146             ENDNODE
147         ENDNODE
148         NODE B1 location
149             PROP Label string r 0 "B1"
150             NODE bank fru
151                 NODE D0 location
152                 ENDNODE
153                 NODE D1 location
154                 ENDNODE
155             ENDNODE
156         ENDNODE
158  * Processor 0 memory
159  */
160 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0
161         PROP SlotType string r 0 "memory-module"
162         PROP Label string r 0 "D0"
163 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1
164         PROP SlotType string r 0 "memory-module"
165         PROP Label string r 0 "D1"
166 name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0
167         PROP SlotType string r 0 "memory-module"
168         PROP Label string r 0 "D0"
169 name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1
170         PROP SlotType string r 0 "memory-module"
171         PROP Label string r 0 "D1"
174  * Processor 1 memory
175  */
176 name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0
177         PROP SlotType string r 0 "memory-module"
178         PROP Label string r 0 "D0"
179 name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1
180         PROP SlotType string r 0 "memory-module"
181         PROP Label string r 0 "D1"
182 name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0
183         PROP SlotType string r 0 "memory-module"
184         PROP Label string r 0 "D0"
185 name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1
186         PROP SlotType string r 0 "memory-module"
187         PROP Label string r 0 "D1"
190  * Dimm nodes
191  */
192 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0
193         REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e0
194 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1
195         REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e2
196 name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0
197         REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e4
198 name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1
199         REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e6
200 name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0
201         REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e8
202 name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1
203         REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,ea
204 name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0
205         REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,ec
206 name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1
207         REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,ee
209 /* Populate all possible nodes in the devtree with a status of "okay".
210  * This will get overridden by ASR.  If the dimm slots are not fully
211  * populated then no extra nodes or properties are created.
212  */
213 name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0
214         PROP status string r 0 "okay"
215 name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1
216         PROP status string r 0 "okay"
217 name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0
218         PROP status string r 0 "okay"
219 name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1
220         PROP status string r 0 "okay"
221 name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0
222         PROP status string r 0 "okay"
223 name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1
224         PROP status string r 0 "okay"
225 name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0
226         PROP status string r 0 "okay"
227 name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1
228         PROP status string r 0 "okay"
231  * DIMM seeprom sources
232  */
233 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module
234         PROP FRUDataAvailable void r
235         REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e0
236 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module
237         PROP FRUDataAvailable void r
238         REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e2
239 name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module
240         PROP FRUDataAvailable void r
241         REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e4
242 name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module
243         PROP FRUDataAvailable void r
244         REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e6
245 name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module
246         PROP FRUDataAvailable void r
247         REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e8
248 name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module
249         PROP FRUDataAvailable void r
250         REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,ea
251 name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module
252         PROP FRUDataAvailable void r
253         REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,ec
254 name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module
255         PROP FRUDataAvailable void r
256         REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,ee
259  * DIMM FRU parents
260  */
261 name:/platform/i2c@1f,530000/dimm-spd@0,e0
262         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module
263 name:/platform/i2c@1f,530000/dimm-spd@0,e2
264         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module
265 name:/platform/i2c@1f,530000/dimm-spd@0,e4
266         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module
267 name:/platform/i2c@1f,530000/dimm-spd@0,e6
268         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module
269 name:/platform/i2c@1f,530000/dimm-spd@0,e8
270         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module
271 name:/platform/i2c@1f,530000/dimm-spd@0,ea
272         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module
273 name:/platform/i2c@1f,530000/dimm-spd@0,ec
274         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module
275 name:/platform/i2c@1f,530000/dimm-spd@0,ee
276         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module
278 name:/platform/SUNW,UltraSPARC-IIIi+@0,0
279         REFPROP _fru_parent /frutree/chassis/MB/system-board/P0/cpu
281 name:/platform/SUNW,UltraSPARC-IIIi+@1,0
282         REFPROP _fru_parent /frutree/chassis/MB/system-board/P1/cpu
284 name:/platform/SUNW,UltraSPARC-IIIi@0,0
285         REFPROP _fru_parent /frutree/chassis/MB/system-board/P0/cpu
287 name:/platform/SUNW,UltraSPARC-IIIi@1,0
288         REFPROP _fru_parent /frutree/chassis/MB/system-board/P1/cpu
290  * DIMM parents
291  */
292 name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0
293         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module
294 name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1
295         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module
296 name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0
297         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module
298 name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1
299         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module
300 name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0
301         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module
302 name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1
303         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module
304 name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0
305         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module
306 name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1
307         REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module
309  * create reference properties for motherboard pci devices
310  */
311 _class:/jbus/pciex@1e,600000
312         REFPROP _fru_parent name:/frutree/chassis/MB/system-board
313 _class:/jbus/pciex@1f,700000
314         REFPROP _fru_parent name:/frutree/chassis/MB/system-board
317  * Front IO Board 1U
318  */
319 name:/frutree/chassis/MB/system-board/FIOB/front-io-board-1
320         NODE USB2 location
321             PROP Label string r 0 "USB2"
322         ENDNODE
323         NODE FLEDB location
324             PROP Label string r 0 "FLEDB"
325             NODE front-led-board fru
326             ENDNODE
327         ENDNODE
328         NODE FCB0 location
329             PROP Label string r 0 "FCB0"
330             NODE fan-connector-board fru
331             ENDNODE
332         ENDNODE
333         NODE FCB1 location
334             PROP Label string r 0 "FCB1"
335             NODE fan-connector-board fru
336             ENDNODE
337         ENDNODE
340  * Front IO Board 2U
341  */
343 name:/frutree/chassis/MB/system-board/FIOB/front-io-board-2
344         NODE USB2 location
345             PROP Label string r 0 "USB2"
346         ENDNODE
347         NODE USB3 location
348             PROP Label string r 0 "USB3"
349         ENDNODE
350         NODE FLEDB location
351             PROP Label string r 0 "FLEDB"
352             NODE front-led-board fru
353             ENDNODE
354         ENDNODE
355         NODE FCB0 location
356             PROP Label string r 0 "FCB0"
357             NODE fan-connector-board fru
358             ENDNODE
359         ENDNODE
360         NODE FCB1 location
361             PROP Label string r 0 "FCB1"
362             NODE fan-connector-board fru
363             ENDNODE
364         ENDNODE
367  * PDB nodes for 1U and 2U. Note that we should have only one of these
368  * two nodes for each platform (1U/2U).
369  */
370 name:/frutree/chassis/PDB/power-distribution-board
371         REFNODE FT6 location WITH /platform?PlatformName=SUNW,Sun-Fire-V215
372         REFNODE HDDFB location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
374 name:/frutree/chassis/PDB/power-distribution-board/HDDFB
375         PROP Label string r 0 "HDDFB"
376         NODE fan-connector-board fru
377         ENDNODE
379 /* 
380  * Add dvdrom fru nodes for disks which are present
381  */
382 name:/frutree/chassis/MB/system-board/RMD0
383         REFNODE removable-media fru WITH name:/platform/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0
386  * HDDBP
387  */
388 name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
389         NODE HDD0 location
390             PROP SlotType string r 0 "disk-slot"
391             PROP Label string r 0 "HDD0"
392         ENDNODE
393         NODE HDD1 location
394             PROP SlotType string r 0 "disk-slot"
395             PROP Label string r 0 "HDD1"
396         ENDNODE
398 name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
399         PROP FRUDataAvailable void r
400         REFPROP _seeprom_source name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
402 name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
403         REFPROP _fru_parent /frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
405 name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
406         NODE HDD0 location
407             PROP SlotType string r 0 "disk-slot"
408             PROP Label string r 0 "HDD0"
409         ENDNODE
410         NODE HDD1 location
411             PROP SlotType string r 0 "disk-slot"
412             PROP Label string r 0 "HDD1"
413         ENDNODE
414         NODE HDD2 location
415             PROP SlotType string r 0 "disk-slot"
416             PROP Label string r 0 "HDD2"
417         ENDNODE
418         NODE HDD3 location
419             PROP SlotType string r 0 "disk-slot"
420             PROP Label string r 0 "HDD3"
421         ENDNODE
423 name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
424         PROP FRUDataAvailable void r
425         REFPROP _seeprom_source name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
427 name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
428         REFPROP _fru_parent /frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
430 /* add disk fru nodes for disks which are present */
431 name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1/HDD0
432         REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
433 name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1/HDD1
434         REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
435 name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD0
436         REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
437 name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD1
438         REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
439 name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD2
440         REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@2,0
441 name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD3
442         REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@3,0
446  * System Fans for Seattle 1U
447  */
448 #ifndef FCB0_1U
449 #define FCB0_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB0/fan-connector-board
450 #endif
452 #ifndef FCB1_1U
453 #define FCB1_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB1/fan-connector-board
454 #endif
456 #ifndef PDB_1U
457 #define PDB_1U /frutree/chassis/PDB/power-distribution-board
458 #endif
461  * As per FSD rev 0.19, in Seattle 1U, two fans are integrated into
462  * a single assembly and share a connector. We assume therefore that
463  * every fan tray in Seattle 1U contains both fans, so the presence
464  * of either fan node (under RMCLOMV) is indicative of the presence
465  * of the containing fan tray. In other words, either we have the
466  * fan tray with both fans present, or we have no fan tray at all.
467  */
468 name:FCB0_1U
469     NODE FT0 location
470         PROP Label string r 0 "FT0"
471         PROP SlotType string r 0 "fan-tray"
472         REFNODE fan-tray fru WITH name:RMCLOMV/ft0_f0
473     ENDNODE
474     NODE FT1 location
475         PROP Label string r 0 "FT1"
476         PROP SlotType string r 0 "fan-tray"
477         REFNODE fan-tray fru WITH name:RMCLOMV/ft1_f0
478     ENDNODE
479     NODE FT2 location
480         PROP Label string r 0 "FT2"
481         PROP SlotType string r 0 "fan-tray"
482         REFNODE fan-tray fru WITH name:RMCLOMV/ft2_f0
483     ENDNODE
485 name:FCB1_1U
486     NODE FT3 location
487         PROP Label string r 0 "FT3"
488         PROP SlotType string r 0 "fan-tray"
489         REFNODE fan-tray fru WITH name:RMCLOMV/ft3_f0
490     ENDNODE
491     NODE FT4 location
492         PROP Label string r 0 "FT4"
493         PROP SlotType string r 0 "fan-tray"
494         REFNODE fan-tray fru WITH name:RMCLOMV/ft4_f0
495     ENDNODE
496     NODE FT5 location
497         PROP Label string r 0 "FT5"
498         PROP SlotType string r 0 "fan-tray"
499         REFNODE fan-tray fru WITH name:RMCLOMV/ft5_f0
500     ENDNODE
502 name:PDB_1U/FT6
503     PROP Label string r 0 "FT6"
504     PROP SlotType string r 0 "fan-tray"
505     REFNODE fan-tray fru WITH name:RMCLOMV/pdb_ft6_f0
508  * Create fan nodes for Seattle 1U
510  * Note that although we could create the F0 and F1 nodes on each
511  * tray conditionally, based on the ftN_f0 and ftN_f1 rmclomv nodes,
512  * it won't add any value; we've already based the creation of the
513  * fan-tray node to the existence of ftN_f0.
514  */
515 name:FCB0_1U/FT0/fan-tray
516     NODE F0 location
517         PROP SlotType string r 0 "fan-unit"
518         PROP Label string r 0 "F0"
519     ENDNODE
520     NODE F1 location
521         PROP SlotType string r 0 "fan-unit"
522         PROP Label string r 0 "F1"
523     ENDNODE
525 name:FCB0_1U/FT1/fan-tray
526     NODE F0 location
527         PROP SlotType string r 0 "fan-unit"
528         PROP Label string r 0 "F0"
529     ENDNODE
530     NODE F1 location
531         PROP SlotType string r 0 "fan-unit"
532         PROP Label string r 0 "F1"
533     ENDNODE
535 name:FCB0_1U/FT2/fan-tray
536     NODE F0 location
537         PROP SlotType string r 0 "fan-unit"
538         PROP Label string r 0 "F0"
539     ENDNODE
540     NODE F1 location
541         PROP SlotType string r 0 "fan-unit"
542         PROP Label string r 0 "F1"
543     ENDNODE
545 name:FCB1_1U/FT3/fan-tray
546     NODE F0 location
547         PROP SlotType string r 0 "fan-unit"
548         PROP Label string r 0 "F0"
549     ENDNODE
550     NODE F1 location
551         PROP SlotType string r 0 "fan-unit"
552         PROP Label string r 0 "F1"
553     ENDNODE
555 name:FCB1_1U/FT4/fan-tray
556     NODE F0 location
557         PROP SlotType string r 0 "fan-unit"
558         PROP Label string r 0 "F0"
559     ENDNODE
560     NODE F1 location
561         PROP SlotType string r 0 "fan-unit"
562         PROP Label string r 0 "F1"
563     ENDNODE
565 name:FCB1_1U/FT5/fan-tray
566     NODE F0 location
567         PROP SlotType string r 0 "fan-unit"
568         PROP Label string r 0 "F0"
569     ENDNODE
570     NODE F1 location
571         PROP SlotType string r 0 "fan-unit"
572         PROP Label string r 0 "F1"
573     ENDNODE
575 name:PDB_1U/FT6/fan-tray
576     NODE F0 location
577         PROP SlotType string r 0 "fan-unit"
578         PROP Label string r 0 "F0"
579     ENDNODE
580     NODE F1 location
581         PROP SlotType string r 0 "fan-unit"
582         PROP Label string r 0 "F1"
583     ENDNODE
586  * System Fans for Seattle 2U
587  */
588 #ifndef FCB0_2U
589 #define FCB0_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB0/fan-connector-board
590 #endif
592 #ifndef FCB1_2U
593 #define FCB1_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB1/fan-connector-board
594 #endif
596 #ifndef PDB_2U
597 #define PDB_2U /frutree/chassis/PDB/power-distribution-board/HDDFB/fan-connector-board
598 #endif
601  * In Seattle 2U, each fan assembly has only one fan (except for the pdb),
602  * so the presence of f0 is indicative of the presence of the fan tray.
603  */
604 name:FCB0_2U
605     NODE FT0 location
606         PROP Label string r 0 "FT0"
607         PROP SlotType string r 0 "fan-tray"
608         REFNODE fan-tray fru WITH name:RMCLOMV/ft0_f0
609     ENDNODE
610     NODE FT1 location
611         PROP Label string r 0 "FT1"
612         PROP SlotType string r 0 "fan-tray"
613         REFNODE fan-tray fru WITH name:RMCLOMV/ft1_f0
614     ENDNODE
615     NODE FT2 location
616         PROP Label string r 0 "FT2"
617         PROP SlotType string r 0 "fan-tray"
618         REFNODE fan-tray fru WITH name:RMCLOMV/ft2_f0
619     ENDNODE
621 name:FCB1_2U
622     NODE FT3 location
623         PROP Label string r 0 "FT3"
624         PROP SlotType string r 0 "fan-tray"
625         REFNODE fan-tray fru WITH name:RMCLOMV/ft3_f0
626     ENDNODE
627     NODE FT4 location
628         PROP Label string r 0 "FT4"
629         PROP SlotType string r 0 "fan-tray"
630         REFNODE fan-tray fru WITH name:RMCLOMV/ft4_f0
631     ENDNODE
632     NODE FT5 location
633         PROP Label string r 0 "FT5"
634         PROP SlotType string r 0 "fan-tray"
635         REFNODE fan-tray fru WITH name:RMCLOMV/ft5_f0
636     ENDNODE
638 name:PDB_2U
639     NODE FT6 location
640         PROP Label string r 0 "FT6"
641         PROP SlotType string r 0 "fan-tray"
642         REFNODE fan-tray fru WITH name:RMCLOMV/pdb_hddfb_ft6_f0
643     ENDNODE
646  * Create fan nodes for Seattle 2U
647  */
648 name:FCB0_2U/FT0/fan-tray
649     NODE F0 location
650         PROP SlotType string r 0 "fan-unit"
651         PROP Label string r 0 "F0"
652     ENDNODE
654 name:FCB0_2U/FT1/fan-tray
655     NODE F0 location
656         PROP SlotType string r 0 "fan-unit"
657         PROP Label string r 0 "F0"
658     ENDNODE
660 name:FCB0_2U/FT2/fan-tray
661     NODE F0 location
662         PROP SlotType string r 0 "fan-unit"
663         PROP Label string r 0 "F0"
664     ENDNODE
666 name:FCB1_2U/FT3/fan-tray
667     NODE F0 location
668         PROP SlotType string r 0 "fan-unit"
669         PROP Label string r 0 "F0"
670     ENDNODE
672 name:FCB1_2U/FT4/fan-tray
673     NODE F0 location
674         PROP SlotType string r 0 "fan-unit"
675         PROP Label string r 0 "F0"
676     ENDNODE
678 name:FCB1_2U/FT5/fan-tray
679     NODE F0 location
680         PROP SlotType string r 0 "fan-unit"
681         PROP Label string r 0 "F0"
682     ENDNODE
684 name:PDB_2U/FT6/fan-tray
685     NODE F0 location
686         PROP SlotType string r 0 "fan-unit"
687         PROP Label string r 0 "F0"
688     ENDNODE
689     NODE F1 location
690         PROP SlotType string r 0 "fan-unit"
691         PROP Label string r 0 "F1"
692     ENDNODE
695  * PCI Riser Card Right
696  */
698 #ifndef PCI_R
699 #define PCI_R /frutree/chassis/MB/system-board/RISER-RIGHT
700 #endif
702 name:PCI_R
703         REFNODE pci-riser-board fru WITH name:/platform/i2c@1f,530000/riser-fru-prom@0,aa
705 name:PCI_R/pci-riser-board
706         PROP FRUDataAvailable void r
707         REFPROP _seeprom_source name:/platform/i2c@1f,530000/riser-fru-prom@0,aa
708         NODE PCI0 location
709             PROP Label string r 0 "PCI0"
710             PROP SlotType string r 0 "pci-e"
711         ENDNODE
712         REFNODE PCI2 location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
714 name:/platform/i2c@1f,530000/riser-fru-prom@0,aa
715         REFPROP _fru_parent PCI_R/pci-riser-board
717 name:PCI_R/pci-riser-board/PCI2
718         PROP Label string r 0 "PCI2"
719         PROP SlotType string r 0 "pci-e"
722  * PCI Riser Card Left
723  */
725 #ifndef PCI_L
726 #define PCI_L /frutree/chassis/MB/system-board/RISER-LEFT
727 #endif
729 name:PCI_L
730         REFNODE pci-riser-board fru WITH name:/platform/i2c@1f,530000/riser-fru-prom@0,a8
732 name:PCI_L/pci-riser-board
733         PROP FRUDataAvailable void r
734         REFPROP _seeprom_source name:/platform/i2c@1f,530000/riser-fru-prom@0,a8
736 name:/platform/i2c@1f,530000/riser-fru-prom@0,a8
737         REFPROP _fru_parent PCI_L/pci-riser-board
739 name:PCI_L/pci-riser-board
740         REFNODE PCI1 location WITH /platform?PlatformName=SUNW,Sun-Fire-V215
742 name:PCI_L/pci-riser-board/PCI1
743         PROP Label string r 0 "PCI1"
744         PROP SlotType string r 0 "pci-x-e"
745         REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/picl?DeviceID=0
746         REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl?DeviceID=1
748 name:PCI_L/pci-riser-board
749         REFNODE PCI1 location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
750         REFNODE PCI3 location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
752 name:PCI_L/pci-riser-board/PCI3
753         PROP Label string r 0 "PCI3"
754         PROP SlotType string r 0 "pci-x-e"
755         REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl?DeviceID=0
756         REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pci@0/picl?DeviceID=2
758 name:PCI_L/pci-riser-board/PCI1
759         PROP Label string r 0 "PCI1"
760         PROP SlotType string r 0 "pci-x-e"
761         REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl?DeviceID=0
762         REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pci@0,2/picl?DeviceID=1
765  * Populate PCI_R slots
766  */
767 name:PCI_R/pci-riser-board/PCI0
768         REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl?DeviceID=0
769 name:PCI_R/pci-riser-board/PCI2
770         REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl?DeviceID=0
773  * _fru_parent PCIEX devices
774  */
776 /* 1UEER, 2UEER: PCI0 */
777 _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0
778 REFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
779 _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,0
780 REFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
781 _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,1
782 REFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
783 _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,2
784 REFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
785 _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,3
786 REFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
787 _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,4
788 REFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
789 _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,5
790 REFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
791 _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,6
792 REFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
793 _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,7
794 REFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
796 /* 2UEER: PCI2 */
797 _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0
798 REFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
799 _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,0
800 REFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
801 _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,1
802 REFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
803 _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,2
804 REFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
805 _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,3
806 REFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
807 _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,4
808 REFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
809 _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,5
810 REFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
811 _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,6
812 REFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
813 _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,7
814 REFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
816 /* 1UEEL: PCI1 */
817 _class:/jbus/pciex@1f,700000/picl@0
818 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
819 _class:/jbus/pciex@1f,700000/picl@0,0
820 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
821 _class:/jbus/pciex@1f,700000/picl@0,1
822 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
823 _class:/jbus/pciex@1f,700000/picl@0,2
824 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
825 _class:/jbus/pciex@1f,700000/picl@0,3
826 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
827 _class:/jbus/pciex@1f,700000/picl@0,4
828 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
829 _class:/jbus/pciex@1f,700000/picl@0,5
830 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
831 _class:/jbus/pciex@1f,700000/picl@0,6
832 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
833 _class:/jbus/pciex@1f,700000/picl@0,7
834 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
836 /* 2UEEL: PCI1 */
837 _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0
838 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
839 _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,0
840 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
841 _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,1
842 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
843 _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,2
844 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
845 _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,3
846 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
847 _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,4
848 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
849 _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,5
850 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
851 _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,6
852 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
853 _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,7
854 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
856 /* 2UEEL: PCI3 */
857 _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0
858 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
859 _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,0
860 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
861 _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,1
862 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
863 _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,2
864 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
865 _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,3
866 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
867 _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,4
868 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
869 _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,5
870 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
871 _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,6
872 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
873 _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,7
874 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
877  * _fru_parent PCI-X devices
878  */
880 /* 1UXXL: PCI1 */
881 _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1
882 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
883 _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,0
884 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
885 _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,1
886 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
887 _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,2
888 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
889 _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,3
890 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
891 _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,4
892 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
893 _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,5
894 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
895 _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,6
896 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
897 _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,7
898 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
900 /* 2UEXL-I: PCI1 */
901 _class:/jbus/pciex@1f,700000/pci@0,2/picl@1
902 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
903 _class:/jbus/pciex@1f,700000/pci@0,2/picl@1,0
904 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
905 _class:/jbus/pciex@1f,700000/pci@0,2/picl@1,1
906 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
907 _class:/jbus/pciex@1f,700000/pci@0,2/picl@1,2
908 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
909 _class:/jbus/pciex@1f,700000/pci@0,2/picl@1,3
910 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
911 _class:/jbus/pciex@1f,700000/pci@0,2/picl@1,4
912 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
913 _class:/jbus/pciex@1f,700000/pci@0,2/picl@1,5
914 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
915 _class:/jbus/pciex@1f,700000/pci@0,2/picl@1,6
916 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
917 _class:/jbus/pciex@1f,700000/pci@0,2/picl@1,7
918 REFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
920 /* 2UEXL-I: PCI3 */
921 _class:/jbus/pciex@1f,700000/pci@0/picl@2
922 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
923 _class:/jbus/pciex@1f,700000/pci@0/picl@2,0
924 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
925 _class:/jbus/pciex@1f,700000/pci@0/picl@2,1
926 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
927 _class:/jbus/pciex@1f,700000/pci@0/picl@2,2
928 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
929 _class:/jbus/pciex@1f,700000/pci@0/picl@2,3
930 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
931 _class:/jbus/pciex@1f,700000/pci@0/picl@2,4
932 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
933 _class:/jbus/pciex@1f,700000/pci@0/picl@2,5
934 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
935 _class:/jbus/pciex@1f,700000/pci@0/picl@2,6
936 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
937 _class:/jbus/pciex@1f,700000/pci@0/picl@2,7
938 REFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card