1*06e46062Sjbeloro/*
2*06e46062Sjbeloro * CDDL HEADER START
3*06e46062Sjbeloro *
4*06e46062Sjbeloro * The contents of this file are subject to the terms of the
5*06e46062Sjbeloro * Common Development and Distribution License (the "License").
6*06e46062Sjbeloro * You may not use this file except in compliance with the License.
7*06e46062Sjbeloro *
8*06e46062Sjbeloro * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*06e46062Sjbeloro * or http://www.opensolaris.org/os/licensing.
10*06e46062Sjbeloro * See the License for the specific language governing permissions
11*06e46062Sjbeloro * and limitations under the License.
12*06e46062Sjbeloro *
13*06e46062Sjbeloro * When distributing Covered Code, include this CDDL HEADER in each
14*06e46062Sjbeloro * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*06e46062Sjbeloro * If applicable, add the following below this CDDL HEADER, with the
16*06e46062Sjbeloro * fields enclosed by brackets "[]" replaced with your own identifying
17*06e46062Sjbeloro * information: Portions Copyright [yyyy] [name of copyright owner]
18*06e46062Sjbeloro *
19*06e46062Sjbeloro * CDDL HEADER END
20*06e46062Sjbeloro */
21*06e46062Sjbeloro
22*06e46062Sjbeloro/*
23*06e46062Sjbeloro * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24*06e46062Sjbeloro * Use is subject to license terms.
25*06e46062Sjbeloro */
26*06e46062Sjbeloro
27*06e46062Sjbeloro/*
28*06e46062Sjbeloro * ident	"%Z%%M%	%I%	%E% SMI"
29*06e46062Sjbeloro *
30*06e46062Sjbeloro * This configuration file is parsed by PICL plugin envmon in response
31*06e46062Sjbeloro * to a PICL_FRU_ADDED event for PS1
32*06e46062Sjbeloro *
33*06e46062Sjbeloro * supported prop types: void, int, uint, float, string
34*06e46062Sjbeloro * supported prop access_modes: r, w, rw
35*06e46062Sjbeloro *
36*06e46062Sjbeloro * VERSION <version_number>  -- supported version number is 1.0
37*06e46062Sjbeloro *
38*06e46062Sjbeloro * name:<namepath> --     gives the anchor node
39*06e46062Sjbeloro *      where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
40*06e46062Sjbeloro *
41*06e46062Sjbeloro * _class:<classpath> --   gives the anchor node
42*06e46062Sjbeloro *      where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
43*06e46062Sjbeloro *
44*06e46062Sjbeloro * NODE <name> <class>
45*06e46062Sjbeloro *       {describes a subtree}
46*06e46062Sjbeloro * ENDNODE
47*06e46062Sjbeloro *
48*06e46062Sjbeloro * PROP <name> <type> <access_mode> [<size> <value>] -- per property
49*06e46062Sjbeloro *
50*06e46062Sjbeloro * REFPROP <name> <dstnode>
51*06e46062Sjbeloro *
52*06e46062Sjbeloro * REFNODE <name> <class> with <destnode> -- Associates a new node
53*06e46062Sjbeloro *       with <destnode> if exists
54*06e46062Sjbeloro *       where
55*06e46062Sjbeloro *             <name> is the nodename
56*06e46062Sjbeloro *             <class> is the picl class.
57*06e46062Sjbeloro *             <destnode> is name:<namepath> or _class:<classpath>
58*06e46062Sjbeloro *
59*06e46062Sjbeloro * If "name:" or "_class:" is not specified in the <path>,
60*06e46062Sjbeloro * the default is "name:"
61*06e46062Sjbeloro *
62*06e46062Sjbeloro */
63*06e46062Sjbeloro
64*06e46062Sjbeloro/*
65*06e46062Sjbeloro * define a macro to force a #ident line into the output stream
66*06e46062Sjbeloro * otherwise cpp removes it. Use #ifndef because of #included definitions.
67*06e46062Sjbeloro */
68*06e46062Sjbeloro#ifndef id
69*06e46062Sjbeloro#define	id(s)	#ident s
70*06e46062Sjbeloro#endif
71*06e46062Sjbeloroid("%Z%%M% %I%     %E% SMI")
72*06e46062Sjbeloro
73*06e46062Sjbeloro#ifndef RMCLOMV
74*06e46062Sjbeloro#define	RMCLOMV	/platform/ebus@1f,464000/rmc-comm@2,0/SUNW,rmclomv
75*06e46062Sjbeloro#endif	/* RMCLOMV */
76*06e46062Sjbeloro
77*06e46062Sjbeloroname:/frutree/chassis/PS1/power-supply
78*06e46062Sjbeloro	PROP FRUDataAvailable void r
79*06e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/power-supply-fru-prom@0,6e
80*06e46062SjbeloroTABLE Devices
81*06e46062SjbeloroROW
82*06e46062SjbeloroPROP Class string r 0 "voltage-indicator"
83*06e46062SjbeloroREFPROP _voltage-indicator_ name:RMCLOMV/ps1_p_pwr
84*06e46062SjbeloroENDROW
85*06e46062SjbeloroROW
86*06e46062SjbeloroPROP Class string r 0 "voltage-indicator"
87*06e46062SjbeloroREFPROP _voltage-indicator_ name:RMCLOMV/ps1_p_pwr2
88*06e46062SjbeloroENDROW
89*06e46062SjbeloroROW
90*06e46062SjbeloroPROP Class string r 0 "voltage-indicator"
91*06e46062SjbeloroREFPROP _voltage-indicator_ name:RMCLOMV/ps1_ff_pok
92*06e46062SjbeloroENDROW
93*06e46062SjbeloroROW
94*06e46062SjbeloroPROP Class string r 0 "voltage-indicator"
95*06e46062SjbeloroREFPROP _voltage-indicator_ name:RMCLOMV/ps1_ff_uv
96*06e46062SjbeloroENDROW
97*06e46062SjbeloroROW
98*06e46062SjbeloroPROP Class string r 0 "voltage-indicator"
99*06e46062SjbeloroREFPROP _voltage-indicator_ name:RMCLOMV/ps1_ff_ov
100*06e46062SjbeloroENDROW
101*06e46062SjbeloroROW
102*06e46062SjbeloroPROP Class string r 0 "current-indicator"
103*06e46062SjbeloroREFPROP _current-indicator_ name:RMCLOMV/ps1_ff_oc
104*06e46062SjbeloroENDROW
105*06e46062SjbeloroROW
106*06e46062SjbeloroPROP Class string r 0 "temperature-indicator"
107*06e46062SjbeloroREFPROP _temperature-indicator_ name:RMCLOMV/ps1_ff_ot
108*06e46062SjbeloroENDROW
109*06e46062SjbeloroROW
110*06e46062SjbeloroPROP Class string r 0 "fan"
111*06e46062SjbeloroREFPROP _fan_ name:RMCLOMV/ps1_ff_fan
112*06e46062SjbeloroENDROW
113*06e46062SjbeloroROW
114*06e46062SjbeloroPROP Class string r 0 "led"
115*06e46062SjbeloroREFPROP _led_ name:RMCLOMV/ps1_dc_ok
116*06e46062SjbeloroENDROW
117*06e46062SjbeloroROW
118*06e46062SjbeloroPROP Class string r 0 "led"
119*06e46062SjbeloroREFPROP _led_ name:RMCLOMV/ps1_ac_ok
120*06e46062SjbeloroENDROW
121*06e46062SjbeloroROW
122*06e46062SjbeloroPROP Class string r 0 "led"
123*06e46062SjbeloroREFPROP _led_ name:RMCLOMV/ps1_service
124*06e46062SjbeloroENDROW
125*06e46062SjbeloroENDTABLE
126*06e46062Sjbeloro
127*06e46062Sjbeloroname:/platform/i2c@1f,530000/power-supply-fru-prom@0,6e
128*06e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
129*06e46062Sjbeloro	PROP FRUDevicePath string r 0 "/devices/i2c@1f,530000/power-supply-fru-prom@0,6e:power-supply-fru-prom"
130*06e46062Sjbeloro
131*06e46062Sjbeloroname:RMCLOMV/ps1_p_pwr
132*06e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
133*06e46062Sjbeloroname:RMCLOMV/ps1_p_pwr2
134*06e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
135*06e46062Sjbeloroname:RMCLOMV/ps1_ff_pok
136*06e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
137*06e46062Sjbeloroname:RMCLOMV/ps1_ff_uv
138*06e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
139*06e46062Sjbeloroname:RMCLOMV/ps1_ff_ov
140*06e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
141*06e46062Sjbeloroname:RMCLOMV/ps1_ff_oc
142*06e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
143*06e46062Sjbeloroname:RMCLOMV/ps1_ff_ot
144*06e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
145*06e46062Sjbeloroname:RMCLOMV/ps1_ff_fan
146*06e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
147*06e46062Sjbeloroname:RMCLOMV/ps1_dc_ok
148*06e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
149*06e46062Sjbeloroname:RMCLOMV/ps1_ac_ok
150*06e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
151*06e46062Sjbeloroname:RMCLOMV/ps1_service
152*06e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
153