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.
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.
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]
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
28 * ident "%Z%%M% %I% %E% SMI"
30 * This configuration file is parsed by PICL plugin envmon in response
31 * to a PICL_FRU_ADDED event for PS1
33 * supported prop types: void, int, uint, float, string
34 * supported prop access_modes: r, w, rw
36 * VERSION <version_number> -- supported version number is 1.0
38 * name:<namepath> -- gives the anchor node
39 * where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
41 * _class:<classpath> -- gives the anchor node
42 * where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
45 * {describes a subtree}
48 * PROP <name> <type> <access_mode> [<size> <value>] -- per property
50 * REFPROP <name> <dstnode>
52 * REFNODE <name> <class> with <destnode> -- Associates a new node
53 * with <destnode> if exists
55 * <name> is the nodename
56 * <class> is the picl class.
57 * <destnode> is name:<namepath> or _class:<classpath>
59 * If "name:" or "_class:" is not specified in the <path>,
60 * the default is "name:"
65 * define a macro to force a #ident line into the output stream
66 * otherwise cpp removes it. Use #ifndef because of #included definitions.
69 #define id(s) #ident s
71 id("%Z%%M% %I% %E% SMI")
74 #define RMCLOMV /platform/ebus@1f,464000/rmc-comm@2,0/SUNW,rmclomv
77 name:/frutree/chassis/PS1/power-supply
78 PROP FRUDataAvailable void r
79 REFPROP _seeprom_source name:/platform/i2c@1f,530000/power-supply-fru-prom@0,6e
82 PROP Class string r 0 "voltage-indicator"
83 REFPROP _voltage-indicator_ name:RMCLOMV/ps1_p_pwr
86 PROP Class string r 0 "voltage-indicator"
87 REFPROP _voltage-indicator_ name:RMCLOMV/ps1_p_pwr2
90 PROP Class string r 0 "voltage-indicator"
91 REFPROP _voltage-indicator_ name:RMCLOMV/ps1_ff_pok
94 PROP Class string r 0 "voltage-indicator"
95 REFPROP _voltage-indicator_ name:RMCLOMV/ps1_ff_uv
98 PROP Class string r 0 "voltage-indicator"
99 REFPROP _voltage-indicator_ name:RMCLOMV/ps1_ff_ov
102 PROP Class string r 0 "current-indicator"
103 REFPROP _current-indicator_ name:RMCLOMV/ps1_ff_oc
106 PROP Class string r 0 "temperature-indicator"
107 REFPROP _temperature-indicator_ name:RMCLOMV/ps1_ff_ot
110 PROP Class string r 0 "fan"
111 REFPROP _fan_ name:RMCLOMV/ps1_ff_fan
114 PROP Class string r 0 "led"
115 REFPROP _led_ name:RMCLOMV/ps1_dc_ok
118 PROP Class string r 0 "led"
119 REFPROP _led_ name:RMCLOMV/ps1_ac_ok
122 PROP Class string r 0 "led"
123 REFPROP _led_ name:RMCLOMV/ps1_service
127 name:/platform/i2c@1f,530000/power-supply-fru-prom@0,6e
128 REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
129 PROP FRUDevicePath string r 0 "/devices/i2c@1f,530000/power-supply-fru-prom@0,6e:power-supply-fru-prom"
131 name:RMCLOMV/ps1_p_pwr
132 REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
133 name:RMCLOMV/ps1_p_pwr2
134 REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
135 name:RMCLOMV/ps1_ff_pok
136 REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
137 name:RMCLOMV/ps1_ff_uv
138 REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
139 name:RMCLOMV/ps1_ff_ov
140 REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
141 name:RMCLOMV/ps1_ff_oc
142 REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
143 name:RMCLOMV/ps1_ff_ot
144 REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
145 name:RMCLOMV/ps1_ff_fan
146 REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
147 name:RMCLOMV/ps1_dc_ok
148 REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
149 name:RMCLOMV/ps1_ac_ok
150 REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply
151 name:RMCLOMV/ps1_service
152 REFPROP _fru_parent name:/frutree/chassis/PS1/power-supply