xref: /illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/frutree/system-board.info (revision 581cede61ac9c14d8d4ea452562a567189eead78)
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 (c) 2001 by Sun Microsystems, Inc.
24 * All rights reserved.
25 *
26 * #ident	"%Z%%M%	%I%	%E% SMI"
27 *
28 * This file creates the system board structure
29 */
30
31NODE system-board fru
32    NODE pci-slot location
33	PROP SlotType string r 0 "pci"
34    	PROP Label string r 0 "J2301"
35	PROP Slot uint r 4 0
36    ENDNODE
37    NODE pci-slot location
38	PROP SlotType string r 0 "pci"
39    	PROP Label string r 0 "J2401"
40	PROP Slot uint r 4 1
41    ENDNODE
42    NODE pci-slot location
43	PROP SlotType string r 0 "pci"
44    	PROP Label string r 0 "J2501"
45	PROP Slot uint r 4 2
46    ENDNODE
47    NODE pci-slot location
48	PROP SlotType string r 0 "pci"
49    	PROP Label string r 0 "J2601"
50	PROP Slot uint r 4 3
51    ENDNODE
52    NODE cpu-slot location
53	PROP SlotType string r 0 "cpu"
54    	PROP Label string r 0 "0"
55    	PROP Slot uint r 4 0
56    ENDNODE
57    NODE cpu-slot location
58	PROP SlotType string r 0 "cpu"
59    	PROP Label string r 0 "1"
60    	PROP Slot uint r 4 1
61    ENDNODE
62    NODE lom-slot location
63	PROP SlotType string r 0 "lom"
64	PROP Label string r 0 "J3501"
65    ENDNODE
66    NODE mem-slot location
67	PROP SlotType string r 0 "memory-module"
68    	PROP Slot uint r 4 0
69    	PROP Label string r 0 "J0100"
70    ENDNODE
71    NODE mem-slot location
72	PROP SlotType string r 0 "memory-module"
73      	PROP Slot uint r 4 1
74    	PROP Label string r 0 "J0101"
75    ENDNODE
76    NODE mem-slot location
77	PROP SlotType string r 0 "memory-module"
78      	PROP Slot uint r 4 2
79    	PROP Label string r 0 "J0202"
80    ENDNODE
81    NODE mem-slot location
82	PROP SlotType string r 0 "memory-module"
83      	PROP Slot uint r 4 3
84    	PROP Label string r 0 "J0203"
85    ENDNODE
86    NODE mem-slot location
87	PROP SlotType string r 0 "memory-module"
88      	PROP Slot uint r 4 4
89    	PROP Label string r 0 "J0304"
90    ENDNODE
91    NODE mem-slot location
92	PROP SlotType string r 0 "memory-module"
93      	PROP Slot uint r 4 5
94    	PROP Label string r 0 "J0305"
95    ENDNODE
96    NODE mem-slot location
97	PROP SlotType string r 0 "memory-module"
98      	PROP Slot uint r 4 6
99    	PROP Label string r 0 "J0406"
100    ENDNODE
101    NODE mem-slot location
102	PROP SlotType string r 0 "memory-module"
103        PROP Slot uint r 4 7
104    	PROP Label string r 0 "J0407"
105    ENDNODE
106ENDNODE
107
108/*
109 * create the fru modules for CPUs in the fru tree
110 */
111name:/frutree/chassis/system-board/cpu-slot?Slot=0
112REFNODE cpu-module fru WITH name:/platform/pci@8,700000/ebus/i2c@1,30/cpu-fru@0,a0
113
114name:/frutree/chassis/system-board/cpu-slot?Slot=1
115REFNODE cpu-module fru WITH name:/platform/pci@8,700000/ebus/i2c@1,30/cpu-fru@0,a2
116
117/*
118 * create fru module for LOMLite2 in the fru tree
119 */
120name:/frutree/chassis/system-board/lom-slot
121REFNODE lom-module fru WITH name:/platform/pci@8,700000/ebus/SUNW,lombus
122
123/*
124 * seeprom source for motherboard
125 */
126name:/frutree/chassis/system-board
127PROP FRUDataAvailable void r
128REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,30/motherboard-fru
129
130/*
131 * seeprom source for scc-reader
132 */
133name:/frutree/chassis/scc-reader
134PROP FRUDataAvailable void r
135REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,30/scc-reader
136
137/*
138 * seeprom source for power-supply
139 */
140name:/frutree/chassis/psu-slot/power-supply
141PROP FRUDataAvailable void r
142REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,30/power-supply
143
144/*
145 * seeprom source for fcal-backplane
146 */
147name:/frutree/chassis/fcal-backplane
148PROP FRUDataAvailable void r
149REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,30/fcal-backplane
150
151/*
152 * seeprom source for cpus
153 */
154name:/frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
155PROP FRUDataAvailable void r
156REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,30/cpu-fru@0,a0
157
158name:/frutree/chassis/system-board/cpu-slot?Slot=1/cpu-module
159PROP FRUDataAvailable void r
160REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,30/cpu-fru@0,a2
161
162/*
163 * seeprom source for LOMLite2
164 */
165name:/frutree/chassis/system-board/lom-slot/lom-module
166PROP FRUDataAvailable void r
167REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,30/lomlite2
168
169/*
170 * Set up memory module fru
171 */
172name:/frutree/chassis/system-board/mem-slot?Label=J0407
173REFNODE mem-module fru WITH name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,ae
174
175name:/frutree/chassis/system-board/mem-slot?Label=J0406
176REFNODE mem-module fru WITH name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,ac
177
178name:/frutree/chassis/system-board/mem-slot?Label=J0305
179REFNODE mem-module fru WITH name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,aa
180
181name:/frutree/chassis/system-board/mem-slot?Label=J0304
182REFNODE mem-module fru WITH name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a8
183
184name:/frutree/chassis/system-board/mem-slot?Label=J0203
185REFNODE mem-module fru WITH name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a6
186
187name:/frutree/chassis/system-board/mem-slot?Label=J0202
188REFNODE mem-module fru WITH name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a4
189
190name:/frutree/chassis/system-board/mem-slot?Label=J0101
191REFNODE mem-module fru WITH name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a2
192
193name:/frutree/chassis/system-board/mem-slot?Label=J0100
194REFNODE mem-module fru WITH name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a0
195
196/*
197 * seeprom source for memory fru
198 */
199name:/frutree/chassis/system-board/mem-slot?Label=J0407/mem-module
200PROP FRUDataAvailable void r
201REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,ae
202
203name:/frutree/chassis/system-board/mem-slot?Label=J0406/mem-module
204PROP FRUDataAvailable void r
205REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,ac
206
207name:/frutree/chassis/system-board/mem-slot?Label=J0305/mem-module
208PROP FRUDataAvailable void r
209REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,aa
210
211name:/frutree/chassis/system-board/mem-slot?Label=J0304/mem-module
212PROP FRUDataAvailable void r
213REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a8
214
215name:/frutree/chassis/system-board/mem-slot?Label=J0203/mem-module
216PROP FRUDataAvailable void r
217REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a6
218
219name:/frutree/chassis/system-board/mem-slot?Label=J0202/mem-module
220PROP FRUDataAvailable void r
221REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a4
222
223name:/frutree/chassis/system-board/mem-slot?Label=J0101/mem-module
224PROP FRUDataAvailable void r
225REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a2
226
227name:/frutree/chassis/system-board/mem-slot?Label=J0100/mem-module
228PROP FRUDataAvailable void r
229REFPROP _seeprom_source name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a0
230
231/*
232 * _fru_parent memory seeprom devices
233 */
234name:/platform/pci/ebus/i2c@1,2e/dimm-fru@1,ae
235REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0407/mem-module
236
237name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,ac
238REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0406/mem-module
239
240name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,aa
241REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0305/mem-module
242
243name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a8
244REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0304/mem-module
245
246name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a6
247REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0203/mem-module
248
249name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a4
250REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0202/mem-module
251
252name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a2
253REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0101/mem-module
254
255name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,a0
256REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0100/mem-module
257
258/*
259 * _fru_parent CPU, memory-controller devices
260 */
261_class:cpu?ID=0
262REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
263
264name:/platform/memory-controller?portid=0
265REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
266
267_class:cpu?ID=1
268REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=1/cpu-module
269
270name:/platform/memory-controller?portid=0
271REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=1/cpu-module
272
273/*
274 * _fru_parent motherboard
275 */
276name:/platform/pci@8,700000/ebus/i2c@1,30/motherboard-fru
277REFPROP _fru_parent /frutree/chassis/system-board
278
279/*
280 * _fru_parent scc-reader
281 */
282name:/platform/pci@8,700000/ebus/i2c@1,30/scc-reader
283REFPROP _fru_parent /frutree/chassis/scc-reader
284
285/*
286 * _fru_parent fcal-backplane
287 */
288name:/platform/pci@8,700000/ebus/i2c@1,30/fcal-backplane
289REFPROP _fru_parent /frutree/chassis/fcal-backplane
290
291/*
292 * _fru_parent power-supply
293 */
294name:/platform/pci@8,700000/ebus/i2c@1,30/power-supply
295REFPROP _fru_parent /frutree/chassis/psu-slot/power-supply
296
297/*
298 * _fru_parent LOMLite2
299 */
300name:/platform/pci@8,700000/ebus/i2c@1,30/lomlite2
301REFPROP _fru_parent /frutree/chassis/system-board/lom-slot/lom-module
302
303/*
304 * _fru_parent temperature device
305 */
306name:/platform/pci@8,700000/ebus/i2c@1,30/temperature-device@0,30
307REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
308
309name:/platform/pci@8,700000/ebus/i2c@1,30/temperature-device@0,98
310REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=1/cpu-module
311
312/*
313 * add led device nodes to relevant pcf8574 card
314 */
315name:/platform/pci@8,700000/ebus/i2c@1,30/ioexp@0,74
316NODE disk-led led
317    PROP UnitAddress string r 0 "80"
318    PROP Label string r 0 "HDD 0 Power"
319    PROP Color string r 0 "green"
320ENDNODE
321NODE disk-led led
322    PROP UnitAddress string r 0 "40"
323    PROP Label string r 0 "HDD 0 Fault"
324    PROP Color string r 0 "amber"
325ENDNODE
326NODE disk-led led
327    PROP UnitAddress string r 0 "20"
328    PROP Label string r 0 "HDD 0 OK to remove"
329    PROP Color string r 0 "blue"
330ENDNODE
331NODE disk-led led
332    PROP UnitAddress string r 0 "10"
333    PROP Label string r 0 "HDD 1 Power"
334    PROP Color string r 0 "green"
335ENDNODE
336NODE disk-led led
337    PROP UnitAddress string r 0 "8"
338    PROP Label string r 0 "HDD 1 Fault"
339    PROP Color string r 0 "amber"
340ENDNODE
341NODE disk-led led
342    PROP UnitAddress string r 0 "4"
343    PROP Label string r 0 "HDD 1 OK to remove"
344    PROP Color string r 0 "blue"
345ENDNODE
346
347/*
348 * _fru_parent memory modules
349 */
350name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=0
351REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0100/mem-module
352
353name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=1
354REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0202/mem-module
355
356name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=2
357REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0304/mem-module
358
359name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=3
360REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0406/mem-module
361
362name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=0
363REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0101/mem-module
364
365name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=1
366REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0203/mem-module
367
368name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=2
369REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0305/mem-module
370
371name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=3
372REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=J0407/mem-module
373
374/*
375 * Populate PCI slots
376 */
377name:/frutree/chassis/system-board/pci-slot?Label=J2601
378REFNODE pci-card fru WITH name:/platform/pci@8,700000/picl?DeviceID=1
379
380name:/frutree/chassis/system-board/pci-slot?Label=J2501
381REFNODE pci-card fru WITH name:/platform/pci@8,700000/picl?DeviceID=2
382
383name:/frutree/chassis/system-board/pci-slot?Label=J2401
384REFNODE pci-card fru WITH name:/platform/pci@8,700000/picl?DeviceID=3
385
386name:/frutree/chassis/system-board/pci-slot?Label=J2301
387REFNODE pci-card fru WITH name:/platform/pci@8,600000/picl?DeviceID=1
388
389/*
390 * _fru_parent PCI devices
391 */
392name:/platform/pci@8,700000/picl?DeviceID=1
393REFPROP _fru_parent name:/frutree/chassis/system-board/pci-slot?Label=J2601/pci-card
394
395name:/platform/pci@8,700000/picl?DeviceID=2
396REFPROP _fru_parent name:/frutree/chassis/system-board/pci-slot?Label=J2501/pci-card
397
398name:/platform/pci@8,700000/picl?DeviceID=3
399REFPROP _fru_parent name:/frutree/chassis/system-board/pci-slot?Label=J2401/pci-card
400
401name:/platform/pci@8,600000/picl?DeviceID=1
402REFPROP _fru_parent name:/frutree/chassis/system-board/pci-slot?Label=J2301/pci-card
403
404