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 2003 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
26 * # ident "%Z%%M% %I% %E% SMI"
28 * This file creates the system board structure
32 NODE pci-slot location
33 PROP Label string r 0 "PCI0"
34 PROP SlotType string r 0 "pci"
36 NODE pci-slot location
37 PROP Label string r 0 "PCI1"
38 PROP SlotType string r 0 "pci"
40 NODE pci-slot location
41 PROP Label string r 0 "PCI2"
42 PROP SlotType string r 0 "pci"
44 NODE pci-slot location
45 PROP Label string r 0 "PCI3"
46 PROP SlotType string r 0 "pci"
48 NODE pci-slot location
49 PROP Label string r 0 "PCI4"
50 PROP SlotType string r 0 "pci"
52 NODE cpu-slot location
53 PROP Label string r 0 "0"
55 PROP SlotType string r 0 "cpu"
57 NODE mem-slot location
59 PROP Label string r 0 "DIMM0"
60 PROP SlotType string r 0 "memory-module"
62 NODE mem-slot location
64 PROP Label string r 0 "DIMM1"
65 PROP SlotType string r 0 "memory-module"
67 NODE mem-slot location
69 PROP Label string r 0 "DIMM2"
70 PROP SlotType string r 0 "memory-module"
72 NODE mem-slot location
74 PROP Label string r 0 "DIMM3"
75 PROP SlotType string r 0 "memory-module"
80 * create the fru modules for CPU
82 name:/frutree/chassis/MB/system-board/cpu-slot?Slot=0
83 REFNODE cpu-module fru WITH _class:/PLATFORM_CLASS/cpu?ID=0
86 * seeprom source for motherboard
88 name:/frutree/chassis/MB/system-board
89 PROP FRUDataAvailable void r
90 REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/motherboard-fru-prom@0,a8
93 * Set up memory module fru
95 name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM0
96 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a0
98 name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM1
99 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a2
101 name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM2
102 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a4
104 name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM3
105 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a6
108 * Seeprom source for dimms
110 name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM0/mem-module
111 PROP FRUDataAvailable void r
112 REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a0
114 name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM1/mem-module
115 PROP FRUDataAvailable void r
116 REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a2
118 name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM2/mem-module
119 PROP FRUDataAvailable void r
120 REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a4
122 name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM3/mem-module
123 PROP FRUDataAvailable void r
124 REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a6
127 * _fru_parent memory modules
129 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=0
130 REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM0/mem-module
132 name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=1
133 REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM1/mem-module
135 name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=0
136 REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM2/mem-module
138 name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=1
139 REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM3/mem-module
143 * _fru_parent CPU, memory-controller devices
145 _class:/PLATFORM_CLASS/cpu?ID=0
146 REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=0/cpu-module
148 name:/platform/memory-controller?portid=0
149 REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=0/cpu-module
152 * _fru_parent motherboard
154 _class:/PLATFORM_CLASS
155 REFPROP _fru_parent /frutree/chassis/MB/system-board
160 name:/frutree/chassis/MB/system-board/pci-slot?Label=PCI0
161 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=2
163 name:/frutree/chassis/MB/system-board/pci-slot?Label=PCI1
164 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=3
166 name:/frutree/chassis/MB/system-board/pci-slot?Label=PCI2
167 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=4
169 name:/frutree/chassis/MB/system-board/pci-slot?Label=PCI3
170 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=5
172 name:/frutree/chassis/MB/system-board/pci-slot?Label=PCI4
173 REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1f,700000/picl?DeviceID=3
176 * _fru_parent PCI devices
178 _class:/PLATFORM_CLASS/pci?UnitAddress=1e,600000/picl?DeviceID=2
179 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI0/pci-card
181 _class:/PLATFORM_CLASS/pci?UnitAddress=1e,600000/picl?DeviceID=3
182 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI1/pci-card
184 _class:/PLATFORM_CLASS/pci?UnitAddress=1e,600000/picl?DeviceID=4
185 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI2/pci-card
187 _class:/PLATFORM_CLASS/pci?UnitAddress=1e,600000/picl?DeviceID=5
188 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI3/pci-card
190 _class:/PLATFORM_CLASS/pci?UnitAddress=1f,700000/picl?DeviceID=3
191 REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI4/pci-card
194 * _fru_parent for sensors and fans
196 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/cpu-fan
197 REFPROP _fru_parent /frutree/chassis/F2/cpu-fan
199 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/intake-fan
200 REFPROP _fru_parent /frutree/chassis/F1/front-fan
202 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/outtake-fan
203 REFPROP _fru_parent /frutree/chassis/F0/rear-fan
205 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/cpu
206 REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot/cpu-module
208 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/int-amb
209 REFPROP _fru_parent /frutree/chassis/MB/system-board
211 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/sys-in
212 REFPROP _fru_parent /frutree/chassis/MB/system-board
215 * Environmental devices associated with motherboard
217 name:/frutree/chassis/MB/system-board
220 PROP Class string r 0 "temperature-sensor"
221 REFPROP _temperature-sensor_ name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/int-amb
224 PROP Class string r 0 "temperature-sensor"
225 REFPROP _temperature-sensor_ name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/sys-in
230 * Environmental devices of CPU
232 name:/frutree/chassis/MB/system-board/cpu-slot/cpu-module
235 PROP Class string r 0 "temperature-sensor"
236 REFPROP _temperature-sensor_ name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/cpu
239 PROP Class string r 0 "cpu"
240 REFPROP _cpu_ _class:/PLATFORM_CLASS/cpu
245 * Hard disk link between fru and device tree
247 name:/frutree/chassis/HDD0/disk
250 PROP Class string r 0 "block"
251 REFPROP _block_ name:/platform/pci@1e,600000/ide@d/dad@0,0
254 name:/platform/pci@1e,600000/ide@d/dad@0,0
255 REFPROP _fru_parent name:/frutree/chassis/HDD0/disk
257 name:/frutree/chassis/HDD1/disk
260 PROP Class string r 0 "block"
261 REFPROP _block_ name:/platform/pci@1e,600000/ide@d/dad@1,0
264 name:/platform/pci@1e,600000/ide@d/dad@1,0
265 REFPROP _fru_parent name:/frutree/chassis/HDD1/disk
267 name:/frutree/chassis/RM0/cdrom
270 PROP Class string r 0 "cdrom"
271 REFPROP _cdrom_ name:/platform/pci@1e,600000/ide@d/sd@2,0
274 name:/platform/pci@1e,600000/ide@d/sd@2,0
275 REFPROP _fru_parent name:/frutree/chassis/RM0/cdrom