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
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.
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]
23 * Copyright (c) 2001 by Sun Microsystems, Inc.
24 * All rights reserved.
26 * #ident "%Z%%M% %I% %E% SMI"
28 * This file creates the system board structure
32 PROP Label string r 0 "system-board"
33 NODE upa-slot location
35 PROP Label string r 0 "J4501"
37 NODE upa-slot location
39 PROP Label string r 0 "J3501"
41 NODE pci-slot location
42 PROP Label string r 0 "J2601"
44 NODE pci-slot location
45 PROP Label string r 0 "J2501"
47 NODE pci-slot location
48 PROP Label string r 0 "J2401"
50 NODE pci-slot location
51 PROP Label string r 0 "J2301"
53 NODE cpu-slot location
54 PROP Label string r 0 "cpu0"
57 NODE cpu-slot location
58 PROP Label string r 0 "cpu1"
61 NODE mem-slot location
63 PROP Label string r 0 "J0100"
65 NODE mem-slot location
67 PROP Label string r 0 "J0101"
69 NODE mem-slot location
71 PROP Label string r 0 "J0202"
73 NODE mem-slot location
75 PROP Label string r 0 "J0203"
77 NODE mem-slot location
79 PROP Label string r 0 "J0304"
81 NODE mem-slot location
83 PROP Label string r 0 "J0305"
85 NODE mem-slot location
87 PROP Label string r 0 "J0406"
89 NODE mem-slot location
91 PROP Label string r 0 "J0407"
96 * create the fru modules for CPU and upa in the fru tree
98 name:/frutree/chassis/system-board/cpu-slot?Slot=0
99 REFNODE cpu-module fru WITH _class:/PLATFORM_CLASS/cpu?ID=0
101 name:/frutree/chassis/system-board/cpu-slot?Slot=1
102 REFNODE cpu-module fru WITH _class:/PLATFORM_CLASS/cpu?ID=1
105 * set the SlotType for the cpu slots
107 name:/frutree/chassis/system-board/cpu-slot?Slot=0
108 PROP SlotType string r 0 "cpu"
110 name:/frutree/chassis/system-board/cpu-slot?Slot=0x1
111 PROP SlotType string r 0 "cpu"
114 * seeprom source for motherboard
116 name:/frutree/chassis/system-board
117 PROP FRUDataAvailable void r
118 REFPROP _seeprom_source /platform/pci/ebus/i2c?UnitAddress=1,30/motherboard-fru
121 * seeprom source for cpus
123 name:/frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
124 PROP FRUDataAvailable void r
125 REFPROP _seeprom_source /platform/pci/ebus/i2c?UnitAddress=1,30/cpu-fru?UnitAddress=0,a0
127 name:/frutree/chassis/system-board/cpu-slot?Slot=1/cpu-module
128 PROP FRUDataAvailable void r
129 REFPROP _seeprom_source /platform/pci/ebus/i2c?UnitAddress=1,30/cpu-fru?UnitAddress=0,a2
134 name:/frutree/chassis/system-board/upa-slot?Label=J4501
135 REFNODE upa-card fru WITH _class:/PLATFORM_CLASS/upa/display?upa-portid=0
137 name:/frutree/chassis/system-board/upa-slot?Label=J3501
138 REFNODE upa-card fru WITH _class:/PLATFORM_CLASS/upa/display?upa-portid=1
141 * Set up memory module fru
143 name:/frutree/chassis/system-board/mem-slot?Label=J0100
144 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a0
146 name:/frutree/chassis/system-board/mem-slot?Label=J0101
147 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a2
149 name:/frutree/chassis/system-board/mem-slot?Label=J0202
150 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a4
152 name:/frutree/chassis/system-board/mem-slot?Label=J0203
153 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a6
155 name:/frutree/chassis/system-board/mem-slot?Label=J0304
156 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a8
158 name:/frutree/chassis/system-board/mem-slot?Label=J0305
159 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,aa
161 name:/frutree/chassis/system-board/mem-slot?Label=J0406
162 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,ac
164 name:/frutree/chassis/system-board/mem-slot?Label=J0407
165 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,ae
168 * seeprom source for memory fru
170 name:/frutree/chassis/system-board/mem-slot?Label=J0100/mem-module
171 PROP FRUDataAvailable void r
172 REFPROP _seeprom_source /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a0
174 name:/frutree/chassis/system-board/mem-slot?Label=J0101/mem-module
175 PROP FRUDataAvailable void r
176 REFPROP _seeprom_source /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a2
178 name:/frutree/chassis/system-board/mem-slot?Label=J0202/mem-module
179 PROP FRUDataAvailable void r
180 REFPROP _seeprom_source /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a4
182 name:/frutree/chassis/system-board/mem-slot?Label=J0203/mem-module
183 PROP FRUDataAvailable void r
184 REFPROP _seeprom_source /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a6
186 name:/frutree/chassis/system-board/mem-slot?Label=J0304/mem-module
187 PROP FRUDataAvailable void r
188 REFPROP _seeprom_source /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a8
190 name:/frutree/chassis/system-board/mem-slot?Label=J0305/mem-module
191 PROP FRUDataAvailable void r
192 REFPROP _seeprom_source /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,aa
194 name:/frutree/chassis/system-board/mem-slot?Label=J0406/mem-module
195 PROP FRUDataAvailable void r
196 REFPROP _seeprom_source /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,ac
198 name:/frutree/chassis/system-board/mem-slot?Label=J0407/mem-module
199 PROP FRUDataAvailable void r
200 REFPROP _seeprom_source /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,ae
203 * _fru_parent memory seeprom devices
205 name:/platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a0
206 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0100/mem-module
208 name:/platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a2
209 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0101/mem-module
211 name:/platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a4
212 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0202/mem-module
214 name:/platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a6
215 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0203/mem-module
217 name:/platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a8
218 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0304/mem-module
220 name:/platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,aa
221 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0305/mem-module
223 name:/platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,ac
224 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0406/mem-module
226 name:/platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,ae
227 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0407/mem-module
230 * _fru_parent CPU, memory-controller devices
232 _class:/PLATFORM_CLASS/cpu?ID=0
233 REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
235 name:/platform/memory-controller?portid=0
236 REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
238 _class:/PLATFORM_CLASS/cpu?ID=1
239 REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=1/cpu-module
241 name:/platform/memory-controller?portid=0x1
242 REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=0x1/cpu-module
245 * _fru_parent UPA devices
247 _class:/PLATFORM_CLASS/upa/display?upa-portid=0
248 REFPROP _fru_parent /frutree/chassis/system-board/upa-slot?Slot=0/upa-card
250 _class:/PLATFORM_CLASS/upa/display?upa-portid=1
251 REFPROP _fru_parent /frutree/chassis/system-board/upa-slot?Slot=1/upa-card
254 * _fru_parent motherboard
256 _class:/PLATFORM_CLASS
257 REFPROP _fru_parent /frutree/chassis/system-board
260 * _fru_parent temperature device
262 _class:/PLATFORM_CLASS/pci/ebus/i2c?UnitAddress=1,30/temperature-device?UnitAddress=0,30
263 REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
265 _class:/PLATFORM_CLASS/pci/ebus/i2c?UnitAddress=1,30/temperature-device?UnitAddress=0,98
266 REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=1/cpu-module
269 * _fru_parent memory modules
271 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=0
272 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0100/mem-module
274 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=1
275 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0202/mem-module
277 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=2
278 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0304/mem-module
280 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=3
281 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0406/mem-module
283 name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=0
284 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0101/mem-module
286 name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=1
287 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0203/mem-module
289 name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=2
290 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0305/mem-module
292 name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=3
293 REFPROP _fru_parent /frutree/chassis/system-board/mem-slot?Label=J0407/mem-module
298 name:/frutree/chassis/system-board/pci-slot?Label=J2601
299 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci?UnitAddress=8,700000/picl?DeviceID=1
301 name:/frutree/chassis/system-board/pci-slot?Label=J2501
302 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci?UnitAddress=8,700000/picl?DeviceID=2
304 name:/frutree/chassis/system-board/pci-slot?Label=J2401
305 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci?UnitAddress=8,700000/picl?DeviceID=3
307 name:/frutree/chassis/system-board/pci-slot?Label=J2301
308 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci?UnitAddress=8,600000/picl?DeviceID=1
311 * _fru_parent PCI devices
313 _class:/PLATFORM_CLASS/pci?UnitAddress=8,700000/picl?DeviceID=1
314 REFPROP _fru_parent frutree/chassis/system-board/pci-slot?Label=J2601/pci-card
316 _class:/PLATFORM_CLASS/pci?UnitAddress=8,700000/picl?DeviceID=2
317 REFPROP _fru_parent frutree/chassis/system-board/pci-slot?Label=J2501/pci-card
319 _class:/PLATFORM_CLASS/pci?UnitAddress=8,700000/picl?DeviceID=3
320 REFPROP _fru_parent frutree/chassis/system-board/pci-slot?Label=J2401/pci-card
322 _class:/PLATFORM_CLASS/pci?UnitAddress=8,600000/picl?DeviceID=1
323 REFPROP _fru_parent frutree/chassis/system-board/pci-slot?Label=J2301/pci-card