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 * add a Devices table to RMD0
42*0Sstevel@tonic-gate */
43*0Sstevel@tonic-gatename:/frutree/chassis/RMD0/cdrom
44*0Sstevel@tonic-gate	TABLE Devices
45*0Sstevel@tonic-gate	ROW
46*0Sstevel@tonic-gate	PROP Class string r 0 "cdrom"
47*0Sstevel@tonic-gate	REFPROP _cdrom_ name:/platform/pci@1e,600000/ide@d/sd@0,0
48*0Sstevel@tonic-gate	ENDROW
49*0Sstevel@tonic-gate	ENDTABLE
50*0Sstevel@tonic-gate
51*0Sstevel@tonic-gatename:/frutree/chassis/RMD0/tape
52*0Sstevel@tonic-gate	TABLE Devices
53*0Sstevel@tonic-gate	ROW
54*0Sstevel@tonic-gate	PROP Class string r 0 "tape"
55*0Sstevel@tonic-gate	REFPROP _tape_ name:/platform/pci@1d,700000/scsi@4/st@4,0
56*0Sstevel@tonic-gate	ENDROW
57*0Sstevel@tonic-gate	ENDTABLE
58*0Sstevel@tonic-gate
59*0Sstevel@tonic-gate/*
60*0Sstevel@tonic-gate * add a Devices table to RMD1
61*0Sstevel@tonic-gate */
62*0Sstevel@tonic-gatename:/frutree/chassis/RMD1/cdrom
63*0Sstevel@tonic-gate	TABLE Devices
64*0Sstevel@tonic-gate	ROW
65*0Sstevel@tonic-gate	PROP Class string r 0 "cdrom"
66*0Sstevel@tonic-gate	REFPROP _cdrom_ name:/platform/pci@1e,600000/ide@d/sd@2,0
67*0Sstevel@tonic-gate	ENDROW
68*0Sstevel@tonic-gate	ENDTABLE
69*0Sstevel@tonic-gate
70*0Sstevel@tonic-gatename:/platform/pci@1e,600000/ide@d/sd@0,0
71*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/RMD0/cdrom
72*0Sstevel@tonic-gatename:/platform/pci@1d,700000/scsi@4/st@4,0
73*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/RMD0/tape
74*0Sstevel@tonic-gatename:/platform/pci@1e,600000/ide@d/sd@2,0
75*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/RMD1/cdrom
76*0Sstevel@tonic-gate
77*0Sstevel@tonic-gate/*
78*0Sstevel@tonic-gate * add a Devices table to the SCCR
79*0Sstevel@tonic-gate */
80*0Sstevel@tonic-gatename:/frutree/chassis/SCCR/sccr
81*0Sstevel@tonic-gate	TABLE Devices
82*0Sstevel@tonic-gate	ROW
83*0Sstevel@tonic-gate	PROP Class string r 0 "temperature-sensor"
84*0Sstevel@tonic-gate	REFPROP _temperature-sensor_ name:RMCLOMV/sccr_t_amb
85*0Sstevel@tonic-gate	ENDROW
86*0Sstevel@tonic-gate	ROW
87*0Sstevel@tonic-gate	PROP Class string r 0 "led"
88*0Sstevel@tonic-gate	REFPROP _led_ name:RMCLOMV/sccr_act
89*0Sstevel@tonic-gate	ENDROW
90*0Sstevel@tonic-gate	ROW
91*0Sstevel@tonic-gate	PROP Class string r 0 "led"
92*0Sstevel@tonic-gate	REFPROP _led_ name:RMCLOMV/sccr_service
93*0Sstevel@tonic-gate	ENDROW
94*0Sstevel@tonic-gate	ROW
95*0Sstevel@tonic-gate	PROP Class string r 0 "led"
96*0Sstevel@tonic-gate	REFPROP _led_ name:RMCLOMV/sccr_locate
97*0Sstevel@tonic-gate	ENDROW
98*0Sstevel@tonic-gate	ROW
99*0Sstevel@tonic-gate	PROP Class string r 0 "keyswitch"
100*0Sstevel@tonic-gate	REFPROP _keyswitch_ name:RMCLOMV/keyswitch
101*0Sstevel@tonic-gate	ENDROW
102*0Sstevel@tonic-gate	ENDTABLE
103*0Sstevel@tonic-gate
104*0Sstevel@tonic-gate/*
105*0Sstevel@tonic-gate * add a Devices table to the SCSI backplane
106*0Sstevel@tonic-gate */
107*0Sstevel@tonic-gatename:/frutree/chassis/SCSIBP/scsibp
108*0Sstevel@tonic-gate	TABLE Devices
109*0Sstevel@tonic-gate	ROW
110*0Sstevel@tonic-gate	PROP Class string r 0 "temperature-sensor"
111*0Sstevel@tonic-gate	REFPROP _temperature-sensor_ name:RMCLOMV/scsibp_t_enc0
112*0Sstevel@tonic-gate	ENDROW
113*0Sstevel@tonic-gate	ROW
114*0Sstevel@tonic-gate	PROP Class string r 0 "temperature-sensor"
115*0Sstevel@tonic-gate	REFPROP _temperature-sensor_ name:RMCLOMV/scsibp_t_enc1
116*0Sstevel@tonic-gate	ENDROW
117*0Sstevel@tonic-gate	ROW
118*0Sstevel@tonic-gate	PROP Class string r 0 "temperature-sensor"
119*0Sstevel@tonic-gate	REFPROP _temperature-sensor_ name:RMCLOMV/scsibp_t_enc2
120*0Sstevel@tonic-gate	ENDROW
121*0Sstevel@tonic-gate	ENDTABLE
122*0Sstevel@tonic-gate
123*0Sstevel@tonic-gate/*
124*0Sstevel@tonic-gate * add a Devices table to the system-board
125*0Sstevel@tonic-gate */
126*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board
127*0Sstevel@tonic-gate	TABLE Devices
128*0Sstevel@tonic-gate	ROW
129*0Sstevel@tonic-gate	PROP Class string r 0 "temperature-sensor"
130*0Sstevel@tonic-gate	REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_enc0
131*0Sstevel@tonic-gate	ENDROW
132*0Sstevel@tonic-gate	ROW
133*0Sstevel@tonic-gate	PROP Class string r 0 "temperature-sensor"
134*0Sstevel@tonic-gate	REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_enc1
135*0Sstevel@tonic-gate	ENDROW
136*0Sstevel@tonic-gate	ROW
137*0Sstevel@tonic-gate	PROP Class string r 0 "temperature-sensor"
138*0Sstevel@tonic-gate	REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_enc2
139*0Sstevel@tonic-gate	ENDROW
140*0Sstevel@tonic-gate	ROW
141*0Sstevel@tonic-gate	PROP Class string r 0 "temperature-sensor"
142*0Sstevel@tonic-gate	REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_enc3
143*0Sstevel@tonic-gate	ENDROW
144*0Sstevel@tonic-gate	ENDTABLE
145*0Sstevel@tonic-gate
146*0Sstevel@tonic-gate/*
147*0Sstevel@tonic-gate * add a Devices table to the service-processor
148*0Sstevel@tonic-gate */
149*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/SC/sc
150*0Sstevel@tonic-gate	TABLE Devices
151*0Sstevel@tonic-gate	ROW
152*0Sstevel@tonic-gate	PROP Class string r 0 "service-processor"
153*0Sstevel@tonic-gate	REFPROP _service-processor_ name:RMCLOMV
154*0Sstevel@tonic-gate	ENDROW
155*0Sstevel@tonic-gate	ENDTABLE
156*0Sstevel@tonic-gate
157*0Sstevel@tonic-gate/*
158*0Sstevel@tonic-gate * fru parents for mother-board sensors
159*0Sstevel@tonic-gate */
160*0Sstevel@tonic-gatename:RMCLOMV/sccr_t_amb
161*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
162*0Sstevel@tonic-gatename:RMCLOMV/mb_t_enc0
163*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
164*0Sstevel@tonic-gatename:RMCLOMV/mb_t_enc1
165*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
166*0Sstevel@tonic-gatename:RMCLOMV/mb_t_enc2
167*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
168*0Sstevel@tonic-gatename:RMCLOMV/mb_t_enc3
169*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
170*0Sstevel@tonic-gatename:RMCLOMV/scsibp_t_enc0
171*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/SCSIBP/scsibp
172*0Sstevel@tonic-gatename:RMCLOMV/scsibp_t_enc1
173*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/SCSIBP/scsibp
174*0Sstevel@tonic-gatename:RMCLOMV/scsibp_t_enc2
175*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/SCSIBP/scsibp
176*0Sstevel@tonic-gatename:RMCLOMV/sccr_act
177*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
178*0Sstevel@tonic-gatename:RMCLOMV/sccr_service
179*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
180*0Sstevel@tonic-gatename:RMCLOMV/sccr_locate
181*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
182*0Sstevel@tonic-gate	PROP IsLocator string r 0 "true"
183*0Sstevel@tonic-gate	PROP LocatorName string r 0 "system"
184*0Sstevel@tonic-gatename:RMCLOMV/keyswitch
185*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/SCCR/sccr
186*0Sstevel@tonic-gate	PROP Label string r 0 "SYSCTRL"
187*0Sstevel@tonic-gate
188*0Sstevel@tonic-gate/*
189*0Sstevel@tonic-gate * add Devices tables for cpu-related sensors
190*0Sstevel@tonic-gate */
191*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/CPU0/cpu
192*0Sstevel@tonic-gate	TABLE Devices
193*0Sstevel@tonic-gate	ROW
194*0Sstevel@tonic-gate	PROP Class string r 0 "cpu"
195*0Sstevel@tonic-gate	REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@0,0
196*0Sstevel@tonic-gate	ENDROW
197*0Sstevel@tonic-gate	ROW
198*0Sstevel@tonic-gate	PROP Class string r 0 "temperature-sensor"
199*0Sstevel@tonic-gate	REFPROP _temperature-sensor_ name:RMCLOMV/mb_cpu0_t_core
200*0Sstevel@tonic-gate	ENDROW
201*0Sstevel@tonic-gate	ENDTABLE
202*0Sstevel@tonic-gate
203*0Sstevel@tonic-gatename:RMCLOMV/mb_cpu0_t_core
204*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/CPU0/cpu
205*0Sstevel@tonic-gate
206*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/CPU1/cpu
207*0Sstevel@tonic-gate	TABLE Devices
208*0Sstevel@tonic-gate	ROW
209*0Sstevel@tonic-gate	PROP Class string r 0 "cpu"
210*0Sstevel@tonic-gate	REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@1,0
211*0Sstevel@tonic-gate	ENDROW
212*0Sstevel@tonic-gate	ROW
213*0Sstevel@tonic-gate	PROP Class string r 0 "temperature-sensor"
214*0Sstevel@tonic-gate	REFPROP _temperature-sensor_ name:RMCLOMV/mb_cpu1_t_core
215*0Sstevel@tonic-gate	ENDROW
216*0Sstevel@tonic-gate	ENDTABLE
217*0Sstevel@tonic-gate
218*0Sstevel@tonic-gatename:RMCLOMV/mb_cpu1_t_core
219*0Sstevel@tonic-gate	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/CPU1/cpu
220*0Sstevel@tonic-gate
221*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM0/mem-module
222*0Sstevel@tonic-gate	TABLE Devices
223*0Sstevel@tonic-gate	ROW
224*0Sstevel@tonic-gate	PROP Class string r 0 "memory-module"
225*0Sstevel@tonic-gate	REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0
226*0Sstevel@tonic-gate	ENDROW
227*0Sstevel@tonic-gate	ENDTABLE
228*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM1/mem-module
229*0Sstevel@tonic-gate	TABLE Devices
230*0Sstevel@tonic-gate	ROW
231*0Sstevel@tonic-gate	PROP Class string r 0 "memory-module"
232*0Sstevel@tonic-gate	REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1
233*0Sstevel@tonic-gate	ENDROW
234*0Sstevel@tonic-gate	ENDTABLE
235*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM2/mem-module
236*0Sstevel@tonic-gate	TABLE Devices
237*0Sstevel@tonic-gate	ROW
238*0Sstevel@tonic-gate	PROP Class string r 0 "memory-module"
239*0Sstevel@tonic-gate	REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0
240*0Sstevel@tonic-gate	ENDROW
241*0Sstevel@tonic-gate	ENDTABLE
242*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM3/mem-module
243*0Sstevel@tonic-gate	TABLE Devices
244*0Sstevel@tonic-gate	ROW
245*0Sstevel@tonic-gate	PROP Class string r 0 "memory-module"
246*0Sstevel@tonic-gate	REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1
247*0Sstevel@tonic-gate	ENDROW
248*0Sstevel@tonic-gate	ENDTABLE
249*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM4/mem-module
250*0Sstevel@tonic-gate	TABLE Devices
251*0Sstevel@tonic-gate	ROW
252*0Sstevel@tonic-gate	PROP Class string r 0 "memory-module"
253*0Sstevel@tonic-gate	REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0
254*0Sstevel@tonic-gate	ENDROW
255*0Sstevel@tonic-gate	ENDTABLE
256*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM5/mem-module
257*0Sstevel@tonic-gate	TABLE Devices
258*0Sstevel@tonic-gate	ROW
259*0Sstevel@tonic-gate	PROP Class string r 0 "memory-module"
260*0Sstevel@tonic-gate	REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1
261*0Sstevel@tonic-gate	ENDROW
262*0Sstevel@tonic-gate	ENDTABLE
263*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM6/mem-module
264*0Sstevel@tonic-gate	TABLE Devices
265*0Sstevel@tonic-gate	ROW
266*0Sstevel@tonic-gate	PROP Class string r 0 "memory-module"
267*0Sstevel@tonic-gate	REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0
268*0Sstevel@tonic-gate	ENDROW
269*0Sstevel@tonic-gate	ENDTABLE
270*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/DIMM7/mem-module
271*0Sstevel@tonic-gate	TABLE Devices
272*0Sstevel@tonic-gate	ROW
273*0Sstevel@tonic-gate	PROP Class string r 0 "memory-module"
274*0Sstevel@tonic-gate	REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1
275*0Sstevel@tonic-gate	ENDROW
276*0Sstevel@tonic-gate	ENDTABLE
277*0Sstevel@tonic-gate
278*0Sstevel@tonic-gate/*
279*0Sstevel@tonic-gate * add tables and fru parents for cpu fans
280*0Sstevel@tonic-gate */
281*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/CPU0/cpu/F0/fan-unit
282*0Sstevel@tonic-gate	TABLE Devices
283*0Sstevel@tonic-gate	ROW
284*0Sstevel@tonic-gate	PROP Class string r 0 "fan"
285*0Sstevel@tonic-gate	REFPROP _fan_ name:RMCLOMV/mb_cpu0_f0_rs
286*0Sstevel@tonic-gate	ENDROW
287*0Sstevel@tonic-gate	ENDTABLE
288*0Sstevel@tonic-gatename:/frutree/chassis/MB/system-board/CPU1/cpu/F0/fan-unit
289*0Sstevel@tonic-gate	TABLE Devices
290*0Sstevel@tonic-gate	ROW
291*0Sstevel@tonic-gate	PROP Class string r 0 "fan"
292*0Sstevel@tonic-gate	REFPROP _fan_ name:RMCLOMV/mb_cpu1_f0_rs
293*0Sstevel@tonic-gate	ENDROW
294*0Sstevel@tonic-gate	ENDTABLE
295*0Sstevel@tonic-gate
296*0Sstevel@tonic-gatename:RMCLOMV/mb_cpu0_f0_rs
297*0Sstevel@tonic-gate    REFPROP _fru_parent name:/frutree/chassis/MB/system-board/CPU0/cpu/F0/fan-unit
298*0Sstevel@tonic-gatename:RMCLOMV/mb_cpu1_f0_rs
299*0Sstevel@tonic-gate    REFPROP _fru_parent name:/frutree/chassis/MB/system-board/CPU1/cpu/F0/fan-unit
300