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-gate/*
32*0Sstevel@tonic-gate * define a macro to force a #ident line into the output stream
33*0Sstevel@tonic-gate * otherwise cpp removes it. Use #ifndef because of #included definitions.
34*0Sstevel@tonic-gate */
35*0Sstevel@tonic-gate#ifndef id
36*0Sstevel@tonic-gate#define	id(s)	#ident s
37*0Sstevel@tonic-gate#endif
38*0Sstevel@tonic-gateid("%Z%%M% %I%     %E% SMI")
39*0Sstevel@tonic-gate
40*0Sstevel@tonic-gate/*
41*0Sstevel@tonic-gate * Motherboard properties
42*0Sstevel@tonic-gate */
43*0Sstevel@tonic-gatename:/frutree/chassis/MB
44*0Sstevel@tonic-gate	NODE system-board fru
45*0Sstevel@tonic-gate	    NODE SC location
46*0Sstevel@tonic-gate		PROP Label string r 0 "SC"
47*0Sstevel@tonic-gate	    ENDNODE
48*0Sstevel@tonic-gate	ENDNODE
49*0Sstevel@tonic-gate
50*0Sstevel@tonic-gate/*
51*0Sstevel@tonic-gate * motherboard seeprom source
52*0Sstevel@tonic-gate */
53*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board
54*0Sstevel@tonic-gate	PROP FRUDataAvailable void r
55*0Sstevel@tonic-gate	REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/motherboard-fru-prom@0,a2
56*0Sstevel@tonic-gate
57*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/motherboard-fru-prom@0,a2
58*0Sstevel@tonic-gate	REFPROP _fru_parent /frutree/chassis/MB/system-board
59*0Sstevel@tonic-gate
60*0Sstevel@tonic-gate/*
61*0Sstevel@tonic-gate * ALOM (sc) node and fru-prom
62*0Sstevel@tonic-gate */
63*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/SC
64*0Sstevel@tonic-gate	REFNODE sc fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/alom-fru-prom@0,a6
65*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/SC/sc
66*0Sstevel@tonic-gate	PROP FRUDataAvailable void r
67*0Sstevel@tonic-gate	REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/alom-fru-prom@0,a6
68*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/alom-fru-prom@0,a6
69*0Sstevel@tonic-gate	REFPROP _fru_parent /frutree/chassis/MB/system-board/SC/sc
70*0Sstevel@tonic-gate
71*0Sstevel@tonic-gate/*
72*0Sstevel@tonic-gate * Processors
73*0Sstevel@tonic-gate */
74*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board
75*0Sstevel@tonic-gateNODE CPU0 location
76*0Sstevel@tonic-gate    PROP SlotType string r 0 "cpu"
77*0Sstevel@tonic-gate    PROP Label string r 0 "CPU0"
78*0Sstevel@tonic-gateENDNODE
79*0Sstevel@tonic-gateNODE CPU1 location
80*0Sstevel@tonic-gate    PROP SlotType string r 0 "cpu"
81*0Sstevel@tonic-gate    PROP Label string r 0 "CPU1"
82*0Sstevel@tonic-gateENDNODE
83*0Sstevel@tonic-gate
84*0Sstevel@tonic-gate/*
85*0Sstevel@tonic-gate * Processor 0
86*0Sstevel@tonic-gate */
87*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/CPU0
88*0Sstevel@tonic-gate	REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi@0,0
89*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/CPU0/cpu
90*0Sstevel@tonic-gate	REFNODE F0 location WITH name:/frutree/chassis/MB/system-board/CPU0/cpu
91*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/CPU0/cpu/F0
92*0Sstevel@tonic-gate	PROP SlotType string r 0 "fan-unit"
93*0Sstevel@tonic-gate	PROP Label string r 0 "F0"
94*0Sstevel@tonic-gate	REFNODE fan-unit fru WITH name:RMCLOMV/mb_cpu0_f0_rs
95*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board
96*0Sstevel@tonic-gate	REFNODE DIMM0 location WITH name:/frutree/chassis/MB/system-board/
97*0Sstevel@tonic-gate	REFNODE DIMM1 location WITH name:/frutree/chassis/MB/system-board/
98*0Sstevel@tonic-gate	REFNODE DIMM2 location WITH name:/frutree/chassis/MB/system-board/
99*0Sstevel@tonic-gate	REFNODE DIMM3 location WITH name:/frutree/chassis/MB/system-board/
100*0Sstevel@tonic-gate
101*0Sstevel@tonic-gate/*
102*0Sstevel@tonic-gate * Processor 1
103*0Sstevel@tonic-gate */
104*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/CPU1
105*0Sstevel@tonic-gate	REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi@1,0
106*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/CPU1/cpu
107*0Sstevel@tonic-gate	REFNODE F0 location WITH name:/frutree/chassis/MB/system-board/CPU1/cpu
108*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/CPU1/cpu/F0
109*0Sstevel@tonic-gate	PROP SlotType string r 0 "fan-unit"
110*0Sstevel@tonic-gate	PROP Label string r 0 "F0"
111*0Sstevel@tonic-gate	REFNODE fan-unit fru WITH name:RMCLOMV/mb_cpu1_f0_rs
112*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board
113*0Sstevel@tonic-gate	REFNODE DIMM4 location WITH name:/frutree/chassis/MB/system-board
114*0Sstevel@tonic-gate	REFNODE DIMM5 location WITH name:/frutree/chassis/MB/system-board
115*0Sstevel@tonic-gate	REFNODE DIMM6 location WITH name:/frutree/chassis/MB/system-board
116*0Sstevel@tonic-gate	REFNODE DIMM7 location WITH name:/frutree/chassis/MB/system-board
117*0Sstevel@tonic-gate
118*0Sstevel@tonic-gate/*
119*0Sstevel@tonic-gate * Processor 0 memory
120*0Sstevel@tonic-gate */
121*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM0
122*0Sstevel@tonic-gate	PROP SlotType string r 0 "memory-module"
123*0Sstevel@tonic-gate	PROP Label string r 0 "DIMM0"
124*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM1
125*0Sstevel@tonic-gate	PROP SlotType string r 0 "memory-module"
126*0Sstevel@tonic-gate	PROP Label string r 0 "DIMM1"
127*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM2
128*0Sstevel@tonic-gate	PROP SlotType string r 0 "memory-module"
129*0Sstevel@tonic-gate	PROP Label string r 0 "DIMM2"
130*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM3
131*0Sstevel@tonic-gate	PROP SlotType string r 0 "memory-module"
132*0Sstevel@tonic-gate	PROP Label string r 0 "DIMM3"
133*0Sstevel@tonic-gate
134*0Sstevel@tonic-gate/*
135*0Sstevel@tonic-gate * Processor 1 memory
136*0Sstevel@tonic-gate */
137*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM4
138*0Sstevel@tonic-gate	PROP SlotType string r 0 "memory-module"
139*0Sstevel@tonic-gate	PROP Label string r 0 "DIMM4"
140*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM5
141*0Sstevel@tonic-gate	PROP SlotType string r 0 "memory-module"
142*0Sstevel@tonic-gate	PROP Label string r 0 "DIMM5"
143*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM6
144*0Sstevel@tonic-gate	PROP SlotType string r 0 "memory-module"
145*0Sstevel@tonic-gate	PROP Label string r 0 "DIMM6"
146*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM7
147*0Sstevel@tonic-gate	PROP SlotType string r 0 "memory-module"
148*0Sstevel@tonic-gate	PROP Label string r 0 "DIMM7"
149*0Sstevel@tonic-gate
150*0Sstevel@tonic-gate/*
151*0Sstevel@tonic-gate * Dimm nodes
152*0Sstevel@tonic-gate */
153*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM0
154*0Sstevel@tonic-gate	REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b6
155*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM1
156*0Sstevel@tonic-gate	REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b8
157*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM2
158*0Sstevel@tonic-gate	REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ba
159*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM3
160*0Sstevel@tonic-gate	REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc
161*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM4
162*0Sstevel@tonic-gate	REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c6
163*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM5
164*0Sstevel@tonic-gate	REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c8
165*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM6
166*0Sstevel@tonic-gate	REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ca
167*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM7
168*0Sstevel@tonic-gate	REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,cc
169*0Sstevel@tonic-gate
170*0Sstevel@tonic-gate/*
171*0Sstevel@tonic-gate * DIMM seeprom sources
172*0Sstevel@tonic-gate */
173*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM0/mem-module
174*0Sstevel@tonic-gate	PROP FRUDataAvailable void r
175*0Sstevel@tonic-gate	REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b6
176*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM1/mem-module
177*0Sstevel@tonic-gate	PROP FRUDataAvailable void r
178*0Sstevel@tonic-gate	REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b8
179*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM2/mem-module
180*0Sstevel@tonic-gate	PROP FRUDataAvailable void r
181*0Sstevel@tonic-gate	REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ba
182*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM3/mem-module
183*0Sstevel@tonic-gate	PROP FRUDataAvailable void r
184*0Sstevel@tonic-gate	REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc
185*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM4/mem-module
186*0Sstevel@tonic-gate	PROP FRUDataAvailable void r
187*0Sstevel@tonic-gate	REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c6
188*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM5/mem-module
189*0Sstevel@tonic-gate	PROP FRUDataAvailable void r
190*0Sstevel@tonic-gate	REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c8
191*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM6/mem-module
192*0Sstevel@tonic-gate	PROP FRUDataAvailable void r
193*0Sstevel@tonic-gate	REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ca
194*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM7/mem-module
195*0Sstevel@tonic-gate	PROP FRUDataAvailable void r
196*0Sstevel@tonic-gate	REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,cc
197*0Sstevel@tonic-gate
198*0Sstevel@tonic-gate/*
199*0Sstevel@tonic-gate * DIMM FRU parents
200*0Sstevel@tonic-gate */
201*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b6
202*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM0/mem-module
203*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b8
204*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM1/mem-module
205*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ba
206*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM2/mem-module
207*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc
208*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM3/mem-module
209*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c6
210*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM4/mem-module
211*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c8
212*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM5/mem-module
213*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ca
214*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM6/mem-module
215*0Sstevel@tonic-gatename:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,cc
216*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM7/mem-module
217*0Sstevel@tonic-gate
218*0Sstevel@tonic-gatename:/platform/SUNW,UltraSPARC-IIIi@0,0
219*0Sstevel@tonic-gate	REFPROP _fru_parent /frutree/chassis/MB/system-board/CPU0/cpu
220*0Sstevel@tonic-gate
221*0Sstevel@tonic-gatename:/platform/SUNW,UltraSPARC-IIIi@1,0
222*0Sstevel@tonic-gate	REFPROP _fru_parent /frutree/chassis/MB/system-board/CPU1/cpu
223*0Sstevel@tonic-gate
224*0Sstevel@tonic-gate/*
225*0Sstevel@tonic-gate * DIMM parents
226*0Sstevel@tonic-gate */
227*0Sstevel@tonic-gatename:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0
228*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM0/mem-module
229*0Sstevel@tonic-gatename:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1
230*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM1/mem-module
231*0Sstevel@tonic-gatename:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0
232*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM2/mem-module
233*0Sstevel@tonic-gatename:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1
234*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM3/mem-module
235*0Sstevel@tonic-gatename:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0
236*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM4/mem-module
237*0Sstevel@tonic-gatename:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1
238*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM5/mem-module
239*0Sstevel@tonic-gatename:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0
240*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM6/mem-module
241*0Sstevel@tonic-gatename:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1
242*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM7/mem-module
243*0Sstevel@tonic-gate/*
244*0Sstevel@tonic-gate * create reference properties for motherboard pci devices
245*0Sstevel@tonic-gate */
246*0Sstevel@tonic-gate_class:/jbus/pci@1c,600000
247*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
248*0Sstevel@tonic-gate_class:/jbus/pci@1d,700000
249*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
250*0Sstevel@tonic-gate_class:/jbus/pci@1e,600000
251*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
252*0Sstevel@tonic-gate_class:/jbus/pci@1f,700000
253*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
254