1*0Sstevel@tonic-gate/*
2*0Sstevel@tonic-gate * CDDL HEADER START
3*0Sstevel@tonic-gate *
4*0Sstevel@tonic-gate * The contents of this file are subject to the terms of the
5*0Sstevel@tonic-gate * Common Development and Distribution License, Version 1.0 only
6*0Sstevel@tonic-gate * (the "License").  You may not use this file except in compliance
7*0Sstevel@tonic-gate * with the License.
8*0Sstevel@tonic-gate *
9*0Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*0Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing.
11*0Sstevel@tonic-gate * See the License for the specific language governing permissions
12*0Sstevel@tonic-gate * and limitations under the License.
13*0Sstevel@tonic-gate *
14*0Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each
15*0Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*0Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the
17*0Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying
18*0Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner]
19*0Sstevel@tonic-gate *
20*0Sstevel@tonic-gate * CDDL HEADER END
21*0Sstevel@tonic-gate */
22*0Sstevel@tonic-gate/*
23*0Sstevel@tonic-gate * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
24*0Sstevel@tonic-gate * Use is subject to license terms.
25*0Sstevel@tonic-gate *
26*0Sstevel@tonic-gate * # ident	"%Z%%M%	%I%	%E% SMI"
27*0Sstevel@tonic-gate *
28*0Sstevel@tonic-gate * This file creates the system board structure
29*0Sstevel@tonic-gate */
30*0Sstevel@tonic-gate
31*0Sstevel@tonic-gateNODE system-board fru
32*0Sstevel@tonic-gate    NODE pci-slot location
33*0Sstevel@tonic-gate    	PROP Label string r 0 "PCI0"
34*0Sstevel@tonic-gate	PROP SlotType string r 0 "pci"
35*0Sstevel@tonic-gate    ENDNODE
36*0Sstevel@tonic-gate    NODE pci-slot location
37*0Sstevel@tonic-gate    	PROP Label string r 0 "PCI1"
38*0Sstevel@tonic-gate	PROP SlotType string r 0 "pci"
39*0Sstevel@tonic-gate    ENDNODE
40*0Sstevel@tonic-gate    NODE pci-slot location
41*0Sstevel@tonic-gate    	PROP Label string r 0 "PCI2"
42*0Sstevel@tonic-gate	PROP SlotType string r 0 "pci"
43*0Sstevel@tonic-gate    ENDNODE
44*0Sstevel@tonic-gate    NODE pci-slot location
45*0Sstevel@tonic-gate    	PROP Label string r 0 "PCI3"
46*0Sstevel@tonic-gate	PROP SlotType string r 0 "pci"
47*0Sstevel@tonic-gate    ENDNODE
48*0Sstevel@tonic-gate    NODE pci-slot location
49*0Sstevel@tonic-gate    	PROP Label string r 0 "PCI4"
50*0Sstevel@tonic-gate	PROP SlotType string r 0 "pci"
51*0Sstevel@tonic-gate    ENDNODE
52*0Sstevel@tonic-gate    NODE cpu-slot location
53*0Sstevel@tonic-gate    	PROP Label string r 0 "0"
54*0Sstevel@tonic-gate    	PROP Slot uint r 4 0
55*0Sstevel@tonic-gate	PROP SlotType string r 0 "cpu"
56*0Sstevel@tonic-gate    ENDNODE
57*0Sstevel@tonic-gate    NODE mem-slot location
58*0Sstevel@tonic-gate    	PROP Slot uint r 4 0
59*0Sstevel@tonic-gate    	PROP Label string r 0 "DIMM0"
60*0Sstevel@tonic-gate	PROP SlotType string r 0 "memory-module"
61*0Sstevel@tonic-gate    ENDNODE
62*0Sstevel@tonic-gate    NODE mem-slot location
63*0Sstevel@tonic-gate      	PROP Slot uint r 4 1
64*0Sstevel@tonic-gate    	PROP Label string r 0 "DIMM1"
65*0Sstevel@tonic-gate	PROP SlotType string r 0 "memory-module"
66*0Sstevel@tonic-gate    ENDNODE
67*0Sstevel@tonic-gate    NODE mem-slot location
68*0Sstevel@tonic-gate      	PROP Slot uint r 4 2
69*0Sstevel@tonic-gate    	PROP Label string r 0 "DIMM2"
70*0Sstevel@tonic-gate	PROP SlotType string r 0 "memory-module"
71*0Sstevel@tonic-gate    ENDNODE
72*0Sstevel@tonic-gate    NODE mem-slot location
73*0Sstevel@tonic-gate      	PROP Slot uint r 4 3
74*0Sstevel@tonic-gate    	PROP Label string r 0 "DIMM3"
75*0Sstevel@tonic-gate	PROP SlotType string r 0 "memory-module"
76*0Sstevel@tonic-gate    ENDNODE
77*0Sstevel@tonic-gateENDNODE
78*0Sstevel@tonic-gate
79*0Sstevel@tonic-gate/*
80*0Sstevel@tonic-gate * create the fru modules for CPU
81*0Sstevel@tonic-gate */
82*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/cpu-slot?Slot=0
83*0Sstevel@tonic-gateREFNODE cpu-module fru WITH _class:/PLATFORM_CLASS/cpu?ID=0
84*0Sstevel@tonic-gate
85*0Sstevel@tonic-gate/*
86*0Sstevel@tonic-gate * seeprom source for motherboard
87*0Sstevel@tonic-gate */
88*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board
89*0Sstevel@tonic-gatePROP FRUDataAvailable void r
90*0Sstevel@tonic-gateREFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/motherboard-fru-prom@0,a8
91*0Sstevel@tonic-gate
92*0Sstevel@tonic-gate/*
93*0Sstevel@tonic-gate * Set up memory module fru
94*0Sstevel@tonic-gate */
95*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM0
96*0Sstevel@tonic-gateREFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a0
97*0Sstevel@tonic-gate
98*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM1
99*0Sstevel@tonic-gateREFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a2
100*0Sstevel@tonic-gate
101*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM2
102*0Sstevel@tonic-gateREFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a4
103*0Sstevel@tonic-gate
104*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM3
105*0Sstevel@tonic-gateREFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a6
106*0Sstevel@tonic-gate
107*0Sstevel@tonic-gate/*
108*0Sstevel@tonic-gate * Seeprom source for dimms
109*0Sstevel@tonic-gate */
110*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM0/mem-module
111*0Sstevel@tonic-gatePROP FRUDataAvailable void r
112*0Sstevel@tonic-gateREFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a0
113*0Sstevel@tonic-gate
114*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM1/mem-module
115*0Sstevel@tonic-gatePROP FRUDataAvailable void r
116*0Sstevel@tonic-gateREFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a2
117*0Sstevel@tonic-gate
118*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM2/mem-module
119*0Sstevel@tonic-gatePROP FRUDataAvailable void r
120*0Sstevel@tonic-gateREFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a4
121*0Sstevel@tonic-gate
122*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM3/mem-module
123*0Sstevel@tonic-gatePROP FRUDataAvailable void r
124*0Sstevel@tonic-gateREFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a6
125*0Sstevel@tonic-gate
126*0Sstevel@tonic-gate/*
127*0Sstevel@tonic-gate * _fru_parent memory modules
128*0Sstevel@tonic-gate */
129*0Sstevel@tonic-gatename:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=0
130*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM0/mem-module
131*0Sstevel@tonic-gate
132*0Sstevel@tonic-gatename:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=1
133*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM1/mem-module
134*0Sstevel@tonic-gate
135*0Sstevel@tonic-gatename:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=0
136*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM2/mem-module
137*0Sstevel@tonic-gate
138*0Sstevel@tonic-gatename:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=1
139*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM3/mem-module
140*0Sstevel@tonic-gate
141*0Sstevel@tonic-gate
142*0Sstevel@tonic-gate/*
143*0Sstevel@tonic-gate * _fru_parent CPU, memory-controller devices
144*0Sstevel@tonic-gate */
145*0Sstevel@tonic-gate_class:/PLATFORM_CLASS/cpu?ID=0
146*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=0/cpu-module
147*0Sstevel@tonic-gate
148*0Sstevel@tonic-gatename:/platform/memory-controller?portid=0
149*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=0/cpu-module
150*0Sstevel@tonic-gate
151*0Sstevel@tonic-gate/*
152*0Sstevel@tonic-gate * _fru_parent motherboard
153*0Sstevel@tonic-gate */
154*0Sstevel@tonic-gate_class:/PLATFORM_CLASS
155*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board
156*0Sstevel@tonic-gate
157*0Sstevel@tonic-gate/*
158*0Sstevel@tonic-gate * Populate PCI slots
159*0Sstevel@tonic-gate */
160*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/pci-slot?Label=PCI0
161*0Sstevel@tonic-gateREFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=2
162*0Sstevel@tonic-gate
163*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/pci-slot?Label=PCI1
164*0Sstevel@tonic-gateREFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=3
165*0Sstevel@tonic-gate
166*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/pci-slot?Label=PCI2
167*0Sstevel@tonic-gateREFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=4
168*0Sstevel@tonic-gate
169*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/pci-slot?Label=PCI3
170*0Sstevel@tonic-gateREFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/picl?DeviceID=5
171*0Sstevel@tonic-gate
172*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/pci-slot?Label=PCI4
173*0Sstevel@tonic-gateREFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1f,700000/picl?DeviceID=3
174*0Sstevel@tonic-gate
175*0Sstevel@tonic-gate/*
176*0Sstevel@tonic-gate * _fru_parent PCI devices
177*0Sstevel@tonic-gate */
178*0Sstevel@tonic-gate_class:/PLATFORM_CLASS/pci?UnitAddress=1e,600000/picl?DeviceID=2
179*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI0/pci-card
180*0Sstevel@tonic-gate
181*0Sstevel@tonic-gate_class:/PLATFORM_CLASS/pci?UnitAddress=1e,600000/picl?DeviceID=3
182*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI1/pci-card
183*0Sstevel@tonic-gate
184*0Sstevel@tonic-gate_class:/PLATFORM_CLASS/pci?UnitAddress=1e,600000/picl?DeviceID=4
185*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI2/pci-card
186*0Sstevel@tonic-gate
187*0Sstevel@tonic-gate_class:/PLATFORM_CLASS/pci?UnitAddress=1e,600000/picl?DeviceID=5
188*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI3/pci-card
189*0Sstevel@tonic-gate
190*0Sstevel@tonic-gate_class:/PLATFORM_CLASS/pci?UnitAddress=1f,700000/picl?DeviceID=3
191*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI4/pci-card
192*0Sstevel@tonic-gate
193*0Sstevel@tonic-gate/*
194*0Sstevel@tonic-gate * _fru_parent for sensors and fans
195*0Sstevel@tonic-gate */
196*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/cpu-fan
197*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/F2/cpu-fan
198*0Sstevel@tonic-gate
199*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/intake-fan
200*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/F1/front-fan
201*0Sstevel@tonic-gate
202*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/outtake-fan
203*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/F0/rear-fan
204*0Sstevel@tonic-gate
205*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/cpu
206*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot/cpu-module
207*0Sstevel@tonic-gate
208*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/int-amb
209*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board
210*0Sstevel@tonic-gate
211*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/sys-in
212*0Sstevel@tonic-gateREFPROP _fru_parent /frutree/chassis/MB/system-board
213*0Sstevel@tonic-gate
214*0Sstevel@tonic-gate/*
215*0Sstevel@tonic-gate * Environmental devices associated with motherboard
216*0Sstevel@tonic-gate */
217*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board
218*0Sstevel@tonic-gate	TABLE Devices
219*0Sstevel@tonic-gate	ROW
220*0Sstevel@tonic-gate	PROP Class string r 0 "temperature-sensor"
221*0Sstevel@tonic-gate	REFPROP _temperature-sensor_ name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/int-amb
222*0Sstevel@tonic-gate	ENDROW
223*0Sstevel@tonic-gate	ROW
224*0Sstevel@tonic-gate	PROP Class string r 0 "temperature-sensor"
225*0Sstevel@tonic-gate	REFPROP _temperature-sensor_ name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/sys-in
226*0Sstevel@tonic-gate	ENDROW
227*0Sstevel@tonic-gate	ENDTABLE
228*0Sstevel@tonic-gate
229*0Sstevel@tonic-gate/*
230*0Sstevel@tonic-gate * Environmental devices of CPU
231*0Sstevel@tonic-gate */
232*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/cpu-slot/cpu-module
233*0Sstevel@tonic-gate	TABLE Devices
234*0Sstevel@tonic-gate	ROW
235*0Sstevel@tonic-gate	PROP Class string r 0 "temperature-sensor"
236*0Sstevel@tonic-gate	REFPROP _temperature-sensor_ name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,5c/cpu
237*0Sstevel@tonic-gate	ENDROW
238*0Sstevel@tonic-gate	ROW
239*0Sstevel@tonic-gate	PROP Class string r 0 "cpu"
240*0Sstevel@tonic-gate	REFPROP _cpu_ _class:/PLATFORM_CLASS/cpu
241*0Sstevel@tonic-gate	ENDROW
242*0Sstevel@tonic-gate	ENDTABLE
243*0Sstevel@tonic-gate
244*0Sstevel@tonic-gate/*
245*0Sstevel@tonic-gate * Hard disk link between fru and device tree
246*0Sstevel@tonic-gate */
247*0Sstevel@tonic-gatename:/frutree/chassis/HDD0/disk
248*0Sstevel@tonic-gate	TABLE Device
249*0Sstevel@tonic-gate	ROW
250*0Sstevel@tonic-gate	PROP Class string r 0 "block"
251*0Sstevel@tonic-gate	REFPROP _block_ name:/platform/pci@1e,600000/ide@d/dad@0,0
252*0Sstevel@tonic-gate	ENDROW
253*0Sstevel@tonic-gate	ENDTABLE
254*0Sstevel@tonic-gatename:/platform/pci@1e,600000/ide@d/dad@0,0
255*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/HDD0/disk
256*0Sstevel@tonic-gate
257*0Sstevel@tonic-gatename:/frutree/chassis/HDD1/disk
258*0Sstevel@tonic-gate	TABLE Device
259*0Sstevel@tonic-gate	ROW
260*0Sstevel@tonic-gate	PROP Class string r 0 "block"
261*0Sstevel@tonic-gate	REFPROP _block_ name:/platform/pci@1e,600000/ide@d/dad@1,0
262*0Sstevel@tonic-gate	ENDROW
263*0Sstevel@tonic-gate	ENDTABLE
264*0Sstevel@tonic-gatename:/platform/pci@1e,600000/ide@d/dad@1,0
265*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/HDD1/disk
266*0Sstevel@tonic-gate
267*0Sstevel@tonic-gatename:/frutree/chassis/RM0/cdrom
268*0Sstevel@tonic-gate	TABLE Device
269*0Sstevel@tonic-gate	ROW
270*0Sstevel@tonic-gate	PROP Class string r 0 "cdrom"
271*0Sstevel@tonic-gate	REFPROP _cdrom_ name:/platform/pci@1e,600000/ide@d/sd@2,0
272*0Sstevel@tonic-gate	ENDROW
273*0Sstevel@tonic-gate	ENDTABLE
274*0Sstevel@tonic-gatename:/platform/pci@1e,600000/ide@d/sd@2,0
275*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/RM0/cdrom
276