xref: /titanic_51/usr/src/cmd/picl/plugins/sun4u/boston/frudr/fru_PS2_data.info (revision 035c74aaf2aa9c8e7803b85ed58a292b0ccba299)
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 2006 Sun Microsystems, Inc.  All rights reserved.
24 * Use is subject to license terms.
25 *
26 * ident	"%Z%%M%	%I%	%E% SMI"
27 *
28 * This configuration file is parsed by PICL frudr plugin in response
29 * to a PICL_FRU_ADDED event for PS2
30 *
31 * supported prop types: void, int, uint, float, string
32 * supported prop access_modes: r, w, rw
33 *
34 * VERSION <version_number>  -- supported version number is 1.0
35 *
36 * name:<namepath> --     gives the anchor node
37 *      where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
38 *
39 * _class:<classpath> --   gives the anchor node
40 *      where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
41 *
42 * NODE <name> <class>
43 *       {describes a subtree}
44 * ENDNODE
45 *
46 * PROP <name> <type> <access_mode> [<size> <value>] -- per property
47 *
48 * REFPROP <name> <dstnode>
49 *
50 * REFNODE <name> <class> with <destnode> -- Associates a new node
51 *       with <destnode> if exists
52 *       where
53 *             <name> is the nodename
54 *             <class> is the picl class.
55 *             <destnode> is name:<namepath> or _class:<classpath>
56 *
57 * If "name:" or "_class:" is not specified in the <path>,
58 * the default is "name:"
59 *
60 */
61
62/*
63 * define a macro to force a #ident line into the output stream
64 * otherwise cpp removes it. Use #ifndef because of #included definitions.
65 */
66#ifndef id
67#define	id(s)	#ident s
68#endif
69id("%Z%%M%	%I%	%E% SMI")
70
71#ifndef RMCLOMV
72#define	RMCLOMV	/platform/ebus@1f,464000/rmc-comm@0,c28000/SUNW,rmclomv
73#endif	/* RMCLOMV */
74
75name:/frutree/chassis/PS2/power-supply
76	PROP FRUDataAvailable void r
77	REFPROP _seeprom_source name:/platform/i2c@1f,520000/power-supply-fru-prom@0,52
78TABLE Devices
79ROW
80PROP Class string r 0 "led"
81REFPROP _led_ name:RMCLOMV/ps2_pok
82ENDROW
83ROW
84PROP Class string r 0 "led"
85REFPROP _led_ name:RMCLOMV/ps2_stby
86ENDROW
87ROW
88PROP Class string r 0 "led"
89REFPROP _led_ name:RMCLOMV/ps2_service
90ENDROW
91ROW
92PROP Class string r 0 "voltage-indicator"
93REFPROP _voltage-indicator_ name:RMCLOMV/ps2_ff_pok
94ENDROW
95ROW
96PROP Class string r 0 "voltage-indicator"
97REFPROP _voltage-indicator_ name:RMCLOMV/ps2_p_pwr
98ENDROW
99ROW
100PROP Class string r 0 "voltage-indicator"
101REFPROP _voltage-indicator_ name:RMCLOMV/ps2_ff_uv
102ENDROW
103ROW
104PROP Class string r 0 "voltage-indicator"
105REFPROP _voltage-indicator_ name:RMCLOMV/ps2_ff_ov
106ENDROW
107ROW
108PROP Class string r 0 "current-indicator"
109REFPROP _current-indicator_ name:RMCLOMV/ps2_ff_oc
110ENDROW
111ROW
112PROP Class string r 0 "temperature-indicator"
113REFPROP _temperature-indicator_ name:RMCLOMV/ps2_ff_ot
114ENDROW
115ROW
116PROP Class string r 0 "fan"
117REFPROP _fan_ name:RMCLOMV/ps2_ff_fan
118ENDROW
119ENDTABLE
120
121name:/platform/i2c@1f,520000/power-supply-fru-prom@0,52
122	REFPROP _fru_parent name:/frutree/chassis/PS2/power-supply
123        PROP FRUDevicePath string r 0 "/devices/i2c@1f,520000/power-supply-fru-prom@0,52:power-supply-fru-prom"
124
125name:RMCLOMV/ps2_pok
126	REFPROP _fru_parent name:/frutree/chassis/PS2/power-supply
127name:RMCLOMV/ps2_stby
128	REFPROP _fru_parent name:/frutree/chassis/PS2/power-supply
129name:RMCLOMV/ps2_service
130	REFPROP _fru_parent name:/frutree/chassis/PS2/power-supply
131name:RMCLOMV/ps2_ff_pok
132	REFPROP _fru_parent name:/frutree/chassis/PS2/power-supply
133name:RMCLOMV/ps2_p_pwr
134	REFPROP _fru_parent name:/frutree/chassis/PS2/power-supply
135name:RMCLOMV/ps2_ff_uv
136	REFPROP _fru_parent name:/frutree/chassis/PS2/power-supply
137name:RMCLOMV/ps2_ff_ov
138	REFPROP _fru_parent name:/frutree/chassis/PS2/power-supply
139name:RMCLOMV/ps2_ff_oc
140	REFPROP _fru_parent name:/frutree/chassis/PS2/power-supply
141name:RMCLOMV/ps2_ff_ot
142	REFPROP _fru_parent name:/frutree/chassis/PS2/power-supply
143name:RMCLOMV/ps2_ff_fan
144	REFPROP _fru_parent name:/frutree/chassis/PS2/power-supply
145