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, Version 1.0 only
6 * (the "License").  You may not use this file except in compliance
7 * with the License.
8 *
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
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
31name:/frutree/chassis/MB
32NODE system-board fru
33    NODE pci-slot location
34    	PROP Label string r 0 "PCIE2"
35	PROP SlotType string r 0 "pci-e"
36    ENDNODE
37    NODE pci-slot location
38    	PROP Label string r 0 "PCIE1"
39	PROP SlotType string r 0 "pci-e"
40    ENDNODE
41    NODE pci-slot location
42    	PROP Label string r 0 "PCIE0"
43	PROP SlotType string r 0 "pci-e"
44    ENDNODE
45    NODE pci-slot location
46    	PROP Label string r 0 "PCIX1"
47	PROP SlotType string r 0 "pci-x"
48    ENDNODE
49    NODE pci-slot location
50    	PROP Label string r 0 "PCIX0"
51	PROP SlotType string r 0 "pci-x"
52    ENDNODE
53    NODE cpu-slot location
54    	PROP Label string r 0 "0"
55    	PROP Slot uint r 4 0
56	PROP SlotType string r 0 "cpu"
57    ENDNODE
58    NODE cpu-slot location
59    	PROP Label string r 0 "1"
60    	PROP Slot uint r 4 1
61	PROP SlotType string r 0 "cpu"
62    ENDNODE
63    NODE mem-slot location
64    	PROP Slot uint r 4 1
65    	PROP Label string r 0 "DIMM0"
66	PROP SlotType string r 0 "memory-module"
67    ENDNODE
68    NODE mem-slot location
69      	PROP Slot uint r 4 2
70    	PROP Label string r 0 "DIMM1"
71	PROP SlotType string r 0 "memory-module"
72    ENDNODE
73    NODE mem-slot location
74      	PROP Slot uint r 4 3
75    	PROP Label string r 0 "DIMM2"
76	PROP SlotType string r 0 "memory-module"
77    ENDNODE
78    NODE mem-slot location
79      	PROP Slot uint r 4 4
80    	PROP Label string r 0 "DIMM3"
81	PROP SlotType string r 0 "memory-module"
82    ENDNODE
83    NODE mem-slot location
84      	PROP Slot uint r 4 5
85    	PROP Label string r 0 "DIMM4"
86	PROP SlotType string r 0 "memory-module"
87    ENDNODE
88    NODE mem-slot location
89      	PROP Slot uint r 4 6
90    	PROP Label string r 0 "DIMM5"
91	PROP SlotType string r 0 "memory-module"
92    ENDNODE
93    NODE mem-slot location
94      	PROP Slot uint r 4 7
95    	PROP Label string r 0 "DIMM6"
96	PROP SlotType string r 0 "memory-module"
97    ENDNODE
98    NODE mem-slot location
99      	PROP Slot uint r 4 8
100    	PROP Label string r 0 "DIMM7"
101	PROP SlotType string r 0 "memory-module"
102    ENDNODE
103ENDNODE
104
105/*
106 * Create CPU fru modules
107 */
108name:/frutree/chassis/MB/system-board/cpu-slot?Slot=0
109REFNODE cpu-module fru WITH _class:/PLATFORM_CLASS/cpu?ID=0
110
111name:/frutree/chassis/MB/system-board/cpu-slot?Slot=1
112REFNODE cpu-module fru WITH _class:/PLATFORM_CLASS/cpu?ID=1
113
114/*
115 * Create DIMM fru modules
116 */
117name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM0
118REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,a6
119
120name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM1
121REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,a2
122
123name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM2
124REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,a4
125
126name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM3
127REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,a0
128
129name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM4
130REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,a8
131
132name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM5
133REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,ac
134
135name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM6
136REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,aa
137
138name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM7
139REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,ae
140
141/*
142 * Populate PCI slots
143 */
144name:/frutree/chassis/MB/system-board/pci-slot?Label=PCIE2
145REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pciex@1f,700000/picl?DeviceID=0
146
147name:/frutree/chassis/MB/system-board/pci-slot?Label=PCIE1
148REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pciex@1e,600000/pciex@0/pciex@8/picl?DeviceID=0
149
150name:/frutree/chassis/MB/system-board/pci-slot?Label=PCIE0
151REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pciex@1e,600000/pciex@0/pciex@3/picl?DeviceID=0
152
153name:/frutree/chassis/MB/system-board/pci-slot?Label=PCIX1
154REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pciex@1e,600000/pciex@0/pciex@9/pciex@0,2/picl?DeviceID=1
155
156name:/frutree/chassis/MB/system-board/pci-slot?Label=PCIX0
157REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pciex@1e,600000/pciex@0/pciex@9/pciex@0,2/picl?DeviceID=2
158
159/*
160 * SEEPROM source for the motherboard
161 */
162name:/frutree/chassis/MB/system-board
163PROP FRUDataAvailable void r
164REFPROP _seeprom_source /platform/i2c@1f,530000/motherboard-fru-prom@0,a2
165
166/*
167 * SEEPROM source for the DIMMs
168 */
169name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM0/mem-module
170PROP FRUDataAvailable void r
171REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,a6
172
173name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM1/mem-module
174PROP FRUDataAvailable void r
175REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,a2
176
177name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM2/mem-module
178PROP FRUDataAvailable void r
179REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,a4
180
181name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM3/mem-module
182PROP FRUDataAvailable void r
183REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,a0
184
185name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM4/mem-module
186PROP FRUDataAvailable void r
187REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,a8
188
189name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM5/mem-module
190PROP FRUDataAvailable void r
191REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,ac
192
193name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM6/mem-module
194PROP FRUDataAvailable void r
195REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,aa
196
197name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM7/mem-module
198PROP FRUDataAvailable void r
199REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,ae
200
201/*
202 * _fru_parent memory modules
203 */
204name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=1
205REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM0/mem-module
206
207name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=1
208REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM1/mem-module
209
210name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=0
211REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM2/mem-module
212
213name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=0
214REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM3/mem-module
215
216name:/platform/memory-controller?portid=1/memory-module-group?ID=0/memory-module?ID=0
217REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM4/mem-module
218
219name:/platform/memory-controller?portid=1/memory-module-group?ID=1/memory-module?ID=0
220REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM5/mem-module
221
222name:/platform/memory-controller?portid=1/memory-module-group?ID=0/memory-module?ID=1
223REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM6/mem-module
224
225name:/platform/memory-controller?portid=1/memory-module-group?ID=1/memory-module?ID=1
226REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM7/mem-module
227
228
229/*
230 * _fru_parent CPU, memory-controller devices
231 */
232_class:/PLATFORM_CLASS/cpu?ID=0
233REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=0/cpu-module
234
235name:/platform/memory-controller?portid=0
236REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=0/cpu-module
237
238_class:/PLATFORM_CLASS/cpu?ID=1
239REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=1/cpu-module
240
241name:/platform/memory-controller?portid=1
242REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=1/cpu-module
243
244/*
245 * _fru_parent motherboard
246 */
247_class:/PLATFORM_CLASS
248REFPROP _fru_parent /frutree/chassis/MB/system-board
249
250/*
251 * _fru_parent PCI devices
252 */
253_class:/PLATFORM_CLASS/pciex@1f,700000/picl?DeviceID=0
254REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCIE2/pci-card
255
256_class:/PLATFORM_CLASS/pciex@1e,600000/pciex@0/pciex@8/picl?DeviceID=0
257REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCIE1/pci-card
258
259_class:/PLATFORM_CLASS/pciex@1e,600000/pciex@0/pciex@3/picl?DeviceID=0
260REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCIE0/pci-card
261
262_class:/PLATFORM_CLASS/pciex@1e,600000/pciex@0/pciex@9/pciex@0,2/picl?DeviceID=1
263REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCIX1/pci-card
264
265_class:/PLATFORM_CLASS/pciex@1e,600000/pciex@0/pciex@9/pciex@0,2/picl?DeviceID=2
266REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCIX0/pci-card
267
268/*
269 * _fru_parent for fans
270 */
271name:/platform/ebus@1f,464000/env-monitor@3,0/system-fan0
272REFPROP _fru_parent /frutree/chassis/F0/system-fan0
273
274name:/platform/ebus@1f,464000/env-monitor@3,0/system-fan1
275REFPROP _fru_parent /frutree/chassis/F1/system-fan1
276
277name:/platform/ebus@1f,464000/env-monitor@3,0/system-fan2
278REFPROP _fru_parent /frutree/chassis/F2/system-fan2
279
280name:/platform/ebus@1f,464000/env-monitor@3,0/system-fan3
281REFPROP _fru_parent /frutree/chassis/F3/system-fan3
282
283name:/platform/ebus@1f,464000/env-monitor@3,0/system-fan4
284REFPROP _fru_parent /frutree/chassis/F4/system-fan4
285
286/*
287 * _fru_parent for sensors
288 */
289name:/platform/ebus@1f,464000/env-monitor@3,0/cpu0
290REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=0/cpu-module
291
292name:/platform/ebus@1f,464000/env-monitor@3,0/cpu1
293REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=1/cpu-module
294
295name:/platform/ebus@1f,464000/env-monitor@3,0/MotherBoard
296REFPROP _fru_parent /frutree/chassis/MB/system-board
297
298name:/platform/ebus@1f,464000/env-monitor@3,0/ADT7462
299REFPROP _fru_parent /frutree/chassis/MB/system-board
300
301name:/platform/ebus@1f,464000/env-monitor@3,0/LM95221
302REFPROP _fru_parent /frutree/chassis/MB/system-board
303
304name:/platform/ebus@1f,464000/env-monitor@3,0/FireASIC
305REFPROP _fru_parent /frutree/chassis/MB/system-board
306
307name:/platform/ebus@1f,464000/env-monitor@3,0/LSI1064
308REFPROP _fru_parent /frutree/chassis/MB/system-board
309
310name:/platform/ebus@1f,464000/env-monitor@3,0/Front_panel
311REFPROP _fru_parent /frutree/chassis/FIOB/system-board
312
313name:/platform/ebus@1f,464000/env-monitor@3,0/PSU
314REFPROP _fru_parent /frutree/chassis/MB/system-board
315
316/*
317 * Environmental device associated with motherboard
318 */
319name:/frutree/chassis/MB/system-board
320TABLE Devices
321ROW
322PROP Class string r 0 "temperature-sensor"
323REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/MotherBoard
324ENDROW
325ROW
326PROP Class string r 0 "temperature-sensor"
327REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/ADT7462
328ENDROW
329ROW
330PROP Class string r 0 "temperature-sensor"
331REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/LM95221
332ENDROW
333ROW
334PROP Class string r 0 "temperature-sensor"
335REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/FireASIC
336ENDROW
337ROW
338PROP Class string r 0 "temperature-sensor"
339REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/LSI1064
340ENDROW
341ROW
342PROP Class string r 0 "temperature-sensor"
343REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/PSU
344ENDROW
345ENDTABLE
346
347/*
348 * Environmental device associated with front panel io board
349 */
350name:/frutree/chassis/FIOB/system-board
351TABLE Devices
352ROW
353PROP Class string r 0 "temperature-sensor"
354REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/Front_panel
355ENDROW
356ENDTABLE
357
358/*
359 * Environmental devices associated with cpus
360 */
361
362name:/frutree/chassis/MB/system-board/cpu-slot?Slot=0/cpu-module
363TABLE Devices
364ROW
365PROP Class string r 0 "temperature-sensor"
366REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/cpu0
367ENDROW
368ROW
369PROP Class string r 0 "cpu"
370REFPROP _cpu_ _class:/PLATFORM_CLASS/cpu?ID=0
371ENDROW
372ENDTABLE
373
374name:/frutree/chassis/MB/system-board/cpu-slot?Slot=1/cpu-module
375TABLE Devices
376ROW
377PROP Class string r 0 "temperature-sensor"
378REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/cpu1
379ENDROW
380ROW
381PROP Class string r 0 "cpu"
382REFPROP _cpu_ _class:/PLATFORM_CLASS/cpu?ID=1
383ENDROW
384ENDTABLE
385
386/*
387 * Hard disk link between fru and device tree
388 */
389name:/frutree/chassis/SAS-BP/HDD0/disk
390	TABLE Devices
391	ROW
392	PROP Class string r 0 "block"
393	REFPROP _block_ name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@0,0
394	ENDROW
395	ENDTABLE
396name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@0,0
397	REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD0/disk
398
399name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@0,0/hard-disk0
400	REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD0/disk
401
402name:/frutree/chassis/SAS-BP/HDD1/disk
403	TABLE Devices
404	ROW
405	PROP Class string r 0 "block"
406	REFPROP _block_ name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@1,0
407	ENDROW
408	ENDTABLE
409name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@1,0
410	REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD1/disk
411
412name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@1,0/hard-disk1
413	REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD1/disk
414
415name:/frutree/chassis/SAS-BP/HDD2/disk
416	TABLE Devices
417	ROW
418	PROP Class string r 0 "block"
419	REFPROP _block_ name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@2,0
420	ENDROW
421	ENDTABLE
422name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@2,0
423	REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD2/disk
424
425name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@2,0/hard-disk2
426	REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD2/disk
427
428name:/frutree/chassis/SAS-BP/HDD3/disk
429	TABLE Devices
430	ROW
431	PROP Class string r 0 "block"
432	REFPROP _block_ name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@3,0
433	ENDROW
434	ENDTABLE
435name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@3,0
436	REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD3/disk
437
438name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@3,0/hard-disk3
439	REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD3/disk
440
441name:/frutree/chassis/FIOB/system-board/RM0/cdrom
442	TABLE Device
443	ROW
444	PROP Class string r 0 "cdrom"
445	REFPROP _cdrom_ name:/platform/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0
446	ENDROW
447	ENDTABLE
448name:/platform/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0
449	REFPROP _fru_parent name:/frutree/chassis/FIOB/system-board/RM0/cdrom
450