xref: /illumos-gate/usr/src/cmd/picl/plugins/sun4u/seattle/frudr/SB-tables.info (revision 7f7322febbcfe774b7270abc3b191c094bfcc517)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22/*
23 * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24 * Use is subject to license terms.
25 */
26
27/*
28 * ident	"%Z%%M%	%I%	%E% SMI"
29 *
30 * This file creates device tables for all of the fru's in the system
31 * (except for hard disk drives and power supplies.)  Each table contains
32 * one or more rows of devices, each with a reference to a particular
33 * device/sensor.
34 *
35 * This file will be #included by piclfrutree.info.  It should be included
36 * after the frutree and system hierarchies are defined.
37 */
38
39/*
40 * define a macro to force a #ident line into the output stream
41 * otherwise cpp removes it. Use #ifndef because of #included definitions.
42 */
43#ifndef id
44#define	id(s)	#ident s
45#endif
46id("%Z%%M% %I%     %E% SMI")
47
48/*
49 * add a Devices table to DVD
50 */
51name:/frutree/chassis/MB/system-board/RMD0/removable-media
52	TABLE Devices
53	ROW
54	PROP Class string r 0 "cdrom"
55	REFPROP _cdrom_ name:/platform/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0
56	ENDROW
57	ENDTABLE
58
59/*
60 * add Devices table for the keyswitch
61 */
62name:/frutree/chassis/SYSCTRL
63	TABLE Devices
64	ROW
65	PROP Class string r 0 "keyswitch"
66	REFPROP _keyswitch_ name:RMCLOMV/keyswitch
67	ENDROW
68	ENDTABLE
69
70/*
71 * add Devices table for the chassis
72 */
73name:/frutree/chassis
74	TABLE Devices
75	ROW
76	PROP Class string r 0 "chassis_serial_number"
77	REFPROP _chassis-serial-number_ name:RMCLOMV/chassis_serial_number
78	ENDROW
79	ENDTABLE
80
81/*
82 * add a Devices table to the system-board
83 */
84name:/frutree/chassis/MB/system-board
85	TABLE Devices
86	ROW
87	PROP Class string r 0 "voltage-sensor"
88	REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+3v3
89	ENDROW
90	ROW
91	PROP Class string r 0 "voltage-sensor"
92	REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+12v
93	ENDROW
94	ROW
95	PROP Class string r 0 "temperature-sensor"
96	REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_remote
97	ENDROW
98	ROW
99	PROP Class string r 0 "temperature-sensor"
100	REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_1064
101	ENDROW
102	ROW
103	PROP Class string r 0 "temperature-sensor"
104	REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_fire
105	ENDROW
106	ROW
107	PROP Class string r 0 "temperature-sensor"
108	REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_amb
109	ENDROW
110	ROW
111	PROP Class string r 0 "led"
112	REFPROP _led_ name:RMCLOMV/sys_act
113	ENDROW
114	ROW
115	PROP Class string r 0 "led"
116	REFPROP _led_ name:RMCLOMV/sys_service
117	ENDROW
118	ROW
119	PROP Class string r 0 "led"
120	REFPROP _led_ name:RMCLOMV/sys_locate
121	ENDROW
122	ROW
123	PROP Class string r 0 "led"
124	REFPROP _led_ name:RMCLOMV/sys_overtemp
125	ENDROW
126	ROW
127	PROP Class string r 0 "led"
128	REFPROP _led_ name:RMCLOMV/sys_psfail
129	ENDROW
130	ROW
131	PROP Class string r 0 "led"
132	REFPROP _led_ name:RMCLOMV/sys_fanfail
133	ENDROW
134	ROW
135	PROP Class string r 0 "keyswitch"
136	REFPROP _keyswitch_ name:RMCLOMV/keyswitch
137	ENDROW
138	ENDTABLE
139
140/*
141 * add a Devices table to the battery
142 */
143name:/frutree/chassis/MB/system-board/BATTERY/battery
144	TABLE Devices
145	ROW
146	PROP Class string r 0 "voltage-sensor"
147	REFPROP _voltage-sensor_ name:RMCLOMV/mb_bat_v_bat
148	ENDROW
149	ENDTABLE
150
151/*
152 * add a Devices table to the service-processor
153 */
154name:/frutree/chassis/MB/system-board/SC/sc
155	TABLE Devices
156	ROW
157	PROP Class string r 0 "service-processor"
158	REFPROP _service-processor_ name:RMCLOMV
159	ENDROW
160	ENDTABLE
161
162/*
163 * add a Devices table to the front io board
164 */
165name:/frutree/chassis/MB/system-board/FIOB/front-io-board-1
166	TABLE Devices
167	ROW
168	PROP Class string r 0 "temperature-sensor"
169	REFPROP _temperature-sensor_ name:RMCLOMV/fiob_t_amb
170	ENDROW
171	ENDTABLE
172
173name:/frutree/chassis/MB/system-board/FIOB/front-io-board-2
174	TABLE Devices
175	ROW
176	PROP Class string r 0 "temperature-sensor"
177	REFPROP _temperature-sensor_ name:RMCLOMV/fiob_t_amb
178	ENDROW
179	ENDTABLE
180
181/*
182 * add a Devices table to the disk back plane
183 */
184name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
185	TABLE Devices
186	ROW
187	PROP Class string r 0 "fan"
188	REFPROP _fan_ name:RMCLOMV/sasbp_f0
189	ENDROW
190	ROW
191	PROP Class string r 0 "fan"
192	REFPROP _fan_ name:RMCLOMV/sasbp_f1
193	ENDROW
194	ENDTABLE
195
196name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
197	TABLE Devices
198	ROW
199	PROP Class string r 0 "fan"
200	REFPROP _fan_ name:RMCLOMV/sasbp_f0
201	ENDROW
202	ROW
203	PROP Class string r 0 "fan"
204	REFPROP _fan_ name:RMCLOMV/sasbp_f1
205	ENDROW
206	ENDTABLE
207
208/*
209 * add a Devices table to the power distribution board
210 */
211name:/frutree/chassis/PDB
212	TABLE Devices
213	ROW
214	PROP Class string r 0 "temperature-sensor"
215	REFPROP _temperature-sensor_ name:RMCLOMV/pdb_t_disk
216	ENDROW
217	ENDTABLE
218
219/*
220 * fru parent for DVD
221 */
222name:/platform/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0
223	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/RMD0/removable-media
224
225/*
226 * fru parents for mother-board and other sensors
227 */
228name:RMCLOMV/mb_v_+3v3
229	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
230name:RMCLOMV/mb_v_+12v
231	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
232name:RMCLOMV/mb_t_remote
233	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
234name:RMCLOMV/mb_t_1064
235	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
236name:RMCLOMV/mb_t_fire
237	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
238name:RMCLOMV/mb_t_amb
239	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
240name:RMCLOMV/sys_act
241	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
242name:RMCLOMV/sys_service
243	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
244name:RMCLOMV/sys_locate
245	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
246	PROP IsLocator string r 0 "true"
247	PROP LocatorName string r 0 "system"
248	PROP LocatorOn string r 0 "blinking"
249name:RMCLOMV/sys_overtemp
250	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
251name:RMCLOMV/sys_psfail
252	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
253name:RMCLOMV/sys_fanfail
254	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
255name:RMCLOMV/keyswitch
256	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
257	PROP Label string r 0 "SYSCTRL"
258name:RMCLOMV/chassis_serial_number
259	REFPROP _fru_parent name:/frutree/chassis
260	PROP Label string r 0 "CHASSISSERIAL"
261name:RMCLOMV/pdb_t_disk
262	REFPROP _fru_parent name:/frutree/chassis/PDB/power-distribution-board
263name:RMCLOMV/fiob_t_amb
264	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-io-board-1
265	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-io-board-2
266name:RMCLOMV/mb_bat_v_bat
267	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/BATTERY/battery
268name:RMCLOMV/sasbp_f0
269	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
270	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
271
272name:RMCLOMV/sasbp_f1
273	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
274	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
275
276/*
277 * add Devices tables for cpu-related sensors
278 */
279name:/frutree/chassis/MB/system-board/P0/cpu
280	TABLE Devices
281	ROW
282	PROP Class string r 0 "cpu"
283	REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi+@0,0
284	ENDROW
285	ROW
286	PROP Class string r 0 "temperature-sensor"
287	REFPROP _temperature-sensor_ name:RMCLOMV/mb_p0_t_core
288	ENDROW
289	ROW
290	PROP Class string r 0 "voltage-sensor"
291	REFPROP _voltage-sensor_ name:RMCLOMV/mb_p0_v_core
292	ENDROW
293	ENDTABLE
294
295name:RMCLOMV/mb_p0_t_core
296	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu
297name:RMCLOMV/mb_p0_v_core
298	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu
299
300name:/frutree/chassis/MB/system-board/P1/cpu
301	TABLE Devices
302	ROW
303	PROP Class string r 0 "cpu"
304	REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi+@1,0
305	ENDROW
306	ROW
307	PROP Class string r 0 "temperature-sensor"
308	REFPROP _temperature-sensor_ name:RMCLOMV/mb_p1_t_core
309	ENDROW
310	ROW
311	PROP Class string r 0 "voltage-sensor"
312	REFPROP _voltage-sensor_ name:RMCLOMV/mb_p1_v_core
313	ENDROW
314	ENDTABLE
315name:RMCLOMV/mb_p1_t_core
316	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu
317name:RMCLOMV/mb_p1_v_core
318	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu
319
320name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module
321	TABLE Devices
322	ROW
323	PROP Class string r 0 "memory-module"
324	REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0
325	ENDROW
326	ENDTABLE
327name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module
328	TABLE Devices
329	ROW
330	PROP Class string r 0 "memory-module"
331	REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1
332	ENDROW
333	ENDTABLE
334name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module
335	TABLE Devices
336	ROW
337	PROP Class string r 0 "memory-module"
338	REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0
339	ENDROW
340	ENDTABLE
341name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module
342	TABLE Devices
343	ROW
344	PROP Class string r 0 "memory-module"
345	REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1
346	ENDROW
347	ENDTABLE
348name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module
349	TABLE Devices
350	ROW
351	PROP Class string r 0 "memory-module"
352	REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0
353	ENDROW
354	ENDTABLE
355name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module
356	TABLE Devices
357	ROW
358	PROP Class string r 0 "memory-module"
359	REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1
360	ENDROW
361	ENDTABLE
362name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module
363	TABLE Devices
364	ROW
365	PROP Class string r 0 "memory-module"
366	REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0
367	ENDROW
368	ENDTABLE
369name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module
370	TABLE Devices
371	ROW
372	PROP Class string r 0 "memory-module"
373	REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1
374	ENDROW
375	ENDTABLE
376