xref: /illumos-gate/usr/src/cmd/picl/plugins/sun4u/seattle/frudr/fru_SC_data.info (revision 2caf0dcd2abc26b477e317999994020212790d38)
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 * ident	"%Z%%M%	%I%	%E% SMI"
27 *
28 * supported prop types: void, int, uint, float, string
29 * supported prop access_modes: r, w, rw
30 *
31 * VERSION <version_number>  -- supported version number is 1.0
32 *
33 * name:<namepath> --     gives the anchor node
34 *      where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
35 *
36 * _class:<classpath> --   gives the anchor node
37 *      where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
38 *
39 * NODE <name> <class>
40 *       {describes a subtree}
41 * ENDNODE
42 *
43 * PROP <name> <type> <access_mode> [<size> <value>] -- per property
44 *
45 * REFPROP <name> <dstnode>
46 *
47 * REFNODE <name> <class> with <destnode> -- Associates a new node
48 *       with <destnode> if exists
49 *       where
50 *             <name> is the nodename
51 *             <class> is the picl class.
52 *             <destnode> is name:<namepath> or _class:<classpath>
53 *
54 * If "name:" or "_class:" is not specified in the <path>,
55 * the default is "name:"
56 *
57 */
58
59/*
60 * define a macro to force a #ident line into the output stream
61 * otherwise cpp removes it. Use #ifndef because of #included definitions.
62 */
63#ifndef id
64#define	id(s)	#ident s
65#endif
66id("%Z%%M% %I%     %E% SMI")
67
68/*
69 * There are a lot of nodes below the rmclomv node, define a shortname
70 * Likewise for disks
71 */
72#ifndef RMCLOMV
73#define	RMCLOMV	/platform/ebus@1f,464000/rmc-comm@2,0/SUNW,rmclomv
74#endif
75
76#ifndef DISKBP1
77#define DISKBP1 /frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
78#endif
79
80#ifndef DISKBP3
81#define DISKBP3 /frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
82#endif
83
84/*
85 * add disk leds
86 */
87name:DISKBP1/HDD0
88	TABLE Devices
89	ROW
90	PROP Class string r 0 "led"
91	REFPROP _led_ name:RMCLOMV/hdd0_act
92	ENDROW
93	ROW
94	PROP Class string r 0 "led"
95	REFPROP _led_ name:RMCLOMV/hdd0_service
96	ENDROW
97	ROW
98	PROP Class string r 0 "led"
99	REFPROP _led_ name:RMCLOMV/hdd0_ok2rm
100	ENDROW
101	ENDTABLE
102
103name:RMCLOMV/hdd0_act
104	REFPROP _location_parent name:DISKBP1/HDD0
105name:RMCLOMV/hdd0_service
106	REFPROP _location_parent name:DISKBP1/HDD0
107name:RMCLOMV/hdd0_ok2rm
108	REFPROP _location_parent name:DISKBP1/HDD0
109
110name:DISKBP1/HDD1
111	TABLE Devices
112	ROW
113	PROP Class string r 0 "led"
114	REFPROP _led_ name:RMCLOMV/hdd1_act
115	ENDROW
116	ROW
117	PROP Class string r 0 "led"
118	REFPROP _led_ name:RMCLOMV/hdd1_service
119	ENDROW
120	ROW
121	PROP Class string r 0 "led"
122	REFPROP _led_ name:RMCLOMV/hdd1_ok2rm
123	ENDROW
124	ENDTABLE
125
126name:RMCLOMV/hdd1_act
127	REFPROP _location_parent name:DISKBP1/HDD1
128name:RMCLOMV/hdd1_service
129	REFPROP _location_parent name:DISKBP1/HDD1
130name:RMCLOMV/hdd1_ok2rm
131	REFPROP _location_parent name:DISKBP1/HDD1
132
133name:DISKBP3/HDD0
134	TABLE Devices
135	ROW
136	PROP Class string r 0 "led"
137	REFPROP _led_ name:RMCLOMV/hdd0_act
138	ENDROW
139	ROW
140	PROP Class string r 0 "led"
141	REFPROP _led_ name:RMCLOMV/hdd0_service
142	ENDROW
143	ROW
144	PROP Class string r 0 "led"
145	REFPROP _led_ name:RMCLOMV/hdd0_ok2rm
146	ENDROW
147	ENDTABLE
148
149name:RMCLOMV/hdd0_act
150	REFPROP _location_parent name:DISKBP3/HDD0
151name:RMCLOMV/hdd0_service
152	REFPROP _location_parent name:DISKBP3/HDD0
153name:RMCLOMV/hdd0_ok2rm
154	REFPROP _location_parent name:DISKBP3/HDD0
155
156name:DISKBP3/HDD1
157	TABLE Devices
158	ROW
159	PROP Class string r 0 "led"
160	REFPROP _led_ name:RMCLOMV/hdd1_act
161	ENDROW
162	ROW
163	PROP Class string r 0 "led"
164	REFPROP _led_ name:RMCLOMV/hdd1_service
165	ENDROW
166	ROW
167	PROP Class string r 0 "led"
168	REFPROP _led_ name:RMCLOMV/hdd1_ok2rm
169	ENDROW
170	ENDTABLE
171
172name:RMCLOMV/hdd1_act
173	REFPROP _location_parent name:DISKBP3/HDD1
174name:RMCLOMV/hdd1_service
175	REFPROP _location_parent name:DISKBP3/HDD1
176name:RMCLOMV/hdd1_ok2rm
177	REFPROP _location_parent name:DISKBP3/HDD1
178
179name:DISKBP3/HDD2
180	TABLE Devices
181	ROW
182	PROP Class string r 0 "led"
183	REFPROP _led_ name:RMCLOMV/hdd2_act
184	ENDROW
185	ROW
186	PROP Class string r 0 "led"
187	REFPROP _led_ name:RMCLOMV/hdd2_service
188	ENDROW
189	ROW
190	PROP Class string r 0 "led"
191	REFPROP _led_ name:RMCLOMV/hdd2_ok2rm
192	ENDROW
193	ENDTABLE
194
195name:RMCLOMV/hdd2_act
196	REFPROP _location_parent name:DISKBP3/HDD2
197name:RMCLOMV/hdd2_service
198	REFPROP _location_parent name:DISKBP3/HDD2
199name:RMCLOMV/hdd2_ok2rm
200	REFPROP _location_parent name:DISKBP3/HDD2
201
202name:DISKBP3/HDD3
203	TABLE Devices
204	ROW
205	PROP Class string r 0 "led"
206	REFPROP _led_ name:RMCLOMV/hdd3_act
207	ENDROW
208	ROW
209	PROP Class string r 0 "led"
210	REFPROP _led_ name:RMCLOMV/hdd3_service
211	ENDROW
212	ROW
213	PROP Class string r 0 "led"
214	REFPROP _led_ name:RMCLOMV/hdd3_ok2rm
215	ENDROW
216	ENDTABLE
217
218name:RMCLOMV/hdd3_act
219	REFPROP _location_parent name:DISKBP3/HDD3
220name:RMCLOMV/hdd3_service
221	REFPROP _location_parent name:DISKBP3/HDD3
222name:RMCLOMV/hdd3_ok2rm
223	REFPROP _location_parent name:DISKBP3/HDD3
224
225/* add disk Device tables and _fru_parent refprops */
226#include "fru_HDD0_data.info"
227#include "fru_HDD1_data.info"
228#include "fru_HDD2_data.info"
229#include "fru_HDD3_data.info"
230
231/*
232 * power supplies
233 */
234#include "fru_PS0_data.info"
235#include "fru_PS1_data.info"
236
237/*
238 * USB ports
239 */
240#include "fru_usb-a-1_data.info"
241#include "fru_usb-a-2_data.info"
242#include "fru_usb-a-3_data.info"
243#include "fru_usb-a-4_data.info"
244
245/*
246 * add tables and fru parents for system fans for 1U
247 */
248
249#ifndef FCB0_1U
250#define FCB0_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB0/fan-connector-board
251#endif
252
253#ifndef FCB1_1U
254#define FCB1_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB1/fan-connector-board
255#endif
256
257name:FCB0_1U/FT0/fan-tray/F0/fan-unit
258	TABLE Devices
259	ROW
260	PROP Class string r 0 "fan"
261	REFPROP _fan_ name:RMCLOMV/ft0_f0
262	ENDROW
263	ENDTABLE
264name:FCB0_1U/FT0/fan-tray/F1/fan-unit
265	TABLE Devices
266	ROW
267	PROP Class string r 0 "fan"
268	REFPROP _fan_ name:RMCLOMV/ft0_f1
269	ENDROW
270	ENDTABLE
271name:FCB0_1U/FT1/fan-tray/F0/fan-unit
272	TABLE Devices
273	ROW
274	PROP Class string r 0 "fan"
275	REFPROP _fan_ name:RMCLOMV/ft1_f0
276	ENDROW
277	ENDTABLE
278name:FCB0_1U/FT1/fan-tray/F1/fan-unit
279	TABLE Devices
280	ROW
281	PROP Class string r 0 "fan"
282	REFPROP _fan_ name:RMCLOMV/ft1_f1
283	ENDROW
284	ENDTABLE
285name:FCB0_1U/FT2/fan-tray/F0/fan-unit
286	TABLE Devices
287	ROW
288	PROP Class string r 0 "fan"
289	REFPROP _fan_ name:RMCLOMV/ft2_f0
290	ENDROW
291	ENDTABLE
292name:FCB0_1U/FT2/fan-tray/F1/fan-unit
293	TABLE Devices
294	ROW
295	PROP Class string r 0 "fan"
296	REFPROP _fan_ name:RMCLOMV/ft2_f1
297	ENDROW
298	ENDTABLE
299name:FCB1_1U/FT3/fan-tray/F0/fan-unit
300	TABLE Devices
301	ROW
302	PROP Class string r 0 "fan"
303	REFPROP _fan_ name:RMCLOMV/ft3_f0
304	ENDROW
305	ENDTABLE
306name:FCB1_1U/FT3/fan-tray/F1/fan-unit
307	TABLE Devices
308	ROW
309	PROP Class string r 0 "fan"
310	REFPROP _fan_ name:RMCLOMV/ft3_f1
311	ENDROW
312	ENDTABLE
313name:FCB1_1U/FT4/fan-tray/F0/fan-unit
314	TABLE Devices
315	ROW
316	PROP Class string r 0 "fan"
317	REFPROP _fan_ name:RMCLOMV/ft4_f0
318	ENDROW
319	ENDTABLE
320name:FCB1_1U/FT4/fan-tray/F1/fan-unit
321	TABLE Devices
322	ROW
323	PROP Class string r 0 "fan"
324	REFPROP _fan_ name:RMCLOMV/ft4_f1
325	ENDROW
326	ENDTABLE
327name:FCB1_1U/FT5/fan-tray/F0/fan-unit
328	TABLE Devices
329	ROW
330	PROP Class string r 0 "fan"
331	REFPROP _fan_ name:RMCLOMV/ft5_f0
332	ENDROW
333	ENDTABLE
334name:FCB1_1U/FT5/fan-tray/F1/fan-unit
335	TABLE Devices
336	ROW
337	PROP Class string r 0 "fan"
338	REFPROP _fan_ name:RMCLOMV/ft5_f1
339	ENDROW
340	ENDTABLE
341
342name:RMCLOMV/ft0_f0
343	REFPROP _fru_parent name:FCB0_1U/FT0/fan-tray/F0/fan-unit
344name:RMCLOMV/ft0_f1
345	REFPROP _fru_parent name:FCB0_1U/FT0/fan-tray/F1/fan-unit
346name:RMCLOMV/ft1_f0
347	REFPROP _fru_parent name:FCB0_1U/FT1/fan-tray/F0/fan-unit
348name:RMCLOMV/ft1_f1
349	REFPROP _fru_parent name:FCB0_1U/FT1/fan-tray/F1/fan-unit
350name:RMCLOMV/ft2_f0
351	REFPROP _fru_parent name:FCB0_1U/FT2/fan-tray/F0/fan-unit
352name:RMCLOMV/ft2_f1
353	REFPROP _fru_parent name:FCB0_1U/FT2/fan-tray/F1/fan-unit
354name:RMCLOMV/ft3_f0
355	REFPROP _fru_parent name:FCB1_1U/FT3/fan-tray/F0/fan-unit
356name:RMCLOMV/ft3_f1
357	REFPROP _fru_parent name:FCB1_1U/FT3/fan-tray/F1/fan-unit
358name:RMCLOMV/ft4_f0
359	REFPROP _fru_parent name:FCB1_1U/FT4/fan-tray/F0/fan-unit
360name:RMCLOMV/ft4_f1
361	REFPROP _fru_parent name:FCB1_1U/FT4/fan-tray/F1/fan-unit
362name:RMCLOMV/ft5_f0
363	REFPROP _fru_parent name:FCB1_1U/FT5/fan-tray/F0/fan-unit
364name:RMCLOMV/ft5_f1
365	REFPROP _fru_parent name:FCB1_1U/FT5/fan-tray/F1/fan-unit
366
367/*
368 * add tables and fru parents for system fans for 2U
369 */
370
371#ifndef FCB0_2U
372#define FCB0_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB0/fan-connector-board
373#endif
374
375#ifndef FCB1_2U
376#define FCB1_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB1/fan-connector-board
377#endif
378
379name:FCB0_2U/FT0/fan-tray/F0/fan-unit
380	TABLE Devices
381	ROW
382	PROP Class string r 0 "fan"
383	REFPROP _fan_ name:RMCLOMV/ft0_f0
384	ENDROW
385	ENDTABLE
386name:FCB0_2U/FT1/fan-tray/F0/fan-unit
387	TABLE Devices
388	ROW
389	PROP Class string r 0 "fan"
390	REFPROP _fan_ name:RMCLOMV/ft1_f0
391	ENDROW
392	ENDTABLE
393name:FCB0_2U/FT2/fan-tray/F0/fan-unit
394	TABLE Devices
395	ROW
396	PROP Class string r 0 "fan"
397	REFPROP _fan_ name:RMCLOMV/ft2_f0
398	ENDROW
399	ENDTABLE
400name:FCB1_2U/FT3/fan-tray/F0/fan-unit
401	TABLE Devices
402	ROW
403	PROP Class string r 0 "fan"
404	REFPROP _fan_ name:RMCLOMV/ft3_f0
405	ENDROW
406	ENDTABLE
407name:FCB1_2U/FT4/fan-tray/F0/fan-unit
408	TABLE Devices
409	ROW
410	PROP Class string r 0 "fan"
411	REFPROP _fan_ name:RMCLOMV/ft4_f0
412	ENDROW
413	ENDTABLE
414name:FCB1_2U/FT5/fan-tray/F0/fan-unit
415	TABLE Devices
416	ROW
417	PROP Class string r 0 "fan"
418	REFPROP _fan_ name:RMCLOMV/ft5_f0
419	ENDROW
420	ENDTABLE
421
422name:RMCLOMV/ft0_f0
423	REFPROP _fru_parent name:FCB0_2U/FT0/fan-tray/F0/fan-unit
424name:RMCLOMV/ft1_f0
425	REFPROP _fru_parent name:FCB0_2U/FT1/fan-tray/F0/fan-unit
426name:RMCLOMV/ft2_f0
427	REFPROP _fru_parent name:FCB0_2U/FT2/fan-tray/F0/fan-unit
428name:RMCLOMV/ft3_f0
429	REFPROP _fru_parent name:FCB1_2U/FT3/fan-tray/F0/fan-unit
430name:RMCLOMV/ft4_f0
431	REFPROP _fru_parent name:FCB1_2U/FT4/fan-tray/F0/fan-unit
432name:RMCLOMV/ft5_f0
433	REFPROP _fru_parent name:FCB1_2U/FT5/fan-tray/F0/fan-unit
434