xref: /titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/bsc/picllom.info (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
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, Version 1.0 only
6 * (the "License").  You may not use this file except in compliance
7 * with the License.
8 *
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22/*
23 * Copyright 2002 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 */
58VERSION 1.1
59VERBOSE 1
60
61/* Add a fan fru if the cpu fan node is present to the fan slot */
62name:/frutree/chassis/system-board/fan-slot?Slot=0
63REFNODE cpu-fan fru WITH name:/platform/pci/isa/bscbus/bscv/cpu_fan?_class=fan
64
65/* Add _fru_parent and Environment tables from cpu nodes */
66name:/platform/SUNW,UltraSPARC-IIe@0,0
67REFPROP _fru_parent name:/frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
68TABLE Environment
69ROW
70PROP Class string r 0 "temperature-sensor"
71REFPROP _temperature-sensor_ name:/platform/pci/isa/bscbus/bscv/cpu-die?_class=temperature-sensor
72ENDROW
73ROW
74PROP Class string r 0 "temperature-sensor"
75REFPROP _temperature-sensor_ name:/platform/pci/isa/bscbus/bscv/enclosure?_class=temperature-sensor
76ENDROW
77ROW
78PROP Class string r 0 "fan"
79REFPROP _fan_ name:/platform/pci/isa/bscbus/bscv/cpu_fan?_class=fan
80ENDROW
81ENDTABLE
82
83
84/* Set the colour property of the leds */
85name:/platform/pci/isa/bscbus/bscv/active?_class=led
86PROP Color string r 0 "green"
87name:/platform/pci/isa/bscbus/bscv/svc_reqd?_class=led
88PROP Color string r 0 "amber"
89name:/platform/pci/isa/bscbus/bscv/rdy_to_rmv?_class=led
90PROP Color string r 0 "blue"
91
92/* Add Devices tables from fru nodes to platform tree counterparts */
93
94name:/frutree/chassis
95TABLE Devices
96ROW
97PROP Class string r 0 "led"
98REFPROP _led_ name:/platform/pci/isa/bscbus/bscv/active?_class=led
99ENDROW
100ROW
101PROP Class string r 0 "led"
102REFPROP _led_ name:/platform/pci/isa/bscbus/bscv/svc_reqd?_class=led
103ENDROW
104ROW
105PROP Class string r 0 "led"
106REFPROP _led_ name:/platform/pci/isa/bscbus/bscv/rdy_to_rmv?_class=led
107ENDROW
108ENDTABLE
109
110
111name:/frutree/chassis/system-board
112TABLE Devices
113ROW
114PROP Class string r 0 "voltage-indicator"
115REFPROP _voltage-indicator_ name:/platform/pci/isa/bscbus/bscv/5v?_class=voltage-indicator
116ENDROW
117ROW
118PROP Class string r 0 "voltage-indicator"
119REFPROP _voltage-indicator_ name:/platform/pci/isa/bscbus/bscv/3.3v?_class=voltage-indicator
120ENDROW
121ROW
122PROP Class string r 0 "voltage-indicator"
123REFPROP _voltage-indicator_ name:/platform/pci/isa/bscbus/bscv/2.5v?_class=voltage-indicator
124ENDROW
125ROW
126PROP Class string r 0 "voltage-indicator"
127REFPROP _voltage-indicator_ name:/platform/pci/isa/bscbus/bscv/vcore?_class=voltage-indicator
128ENDROW
129ENDTABLE
130
131
132name:/frutree/chassis/system-board/fan-slot?Slot=0/cpu-fan
133TABLE Devices
134ROW
135PROP Class string r 0 "fan"
136REFPROP _fan_ name:/platform/pci/isa/bscbus/bscv/cpu_fan?_class=fan
137ENDROW
138ENDTABLE
139
140
141name:/frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
142Table Devices
143ROW
144PROP Class string r 0 "temperature-sensor"
145REFPROP _temperature-sensor_ name:/platform/pci/isa/bscbus/bscv/cpu-die?_class=temperature-sensor
146ENDROW
147ROW
148PROP Class string r 0 "temperature-sensor"
149REFPROP _temperature-sensor_ name:/platform/pci/isa/bscbus/bscv/enclosure?_class=temperature-sensor
150ENDROW
151ENDTABLE
152
153
154/* now link back with _fru_parents */
155
156name:/platform/pci/isa/bscbus/bscv/cpu_fan?_class=fan
157REFPROP _fru_parent name:/frutree/chassis/system-board/fan-slot?Slot=0/cpu-fan
158
159name:/platform/pci/isa/bscbus/bscv/cpu-die?_class=temperature-sensor
160REFPROP _fru_parent name:/frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
161name:/platform/pci/isa/bscbus/bscv/enclosure?_class=temperature-sensor
162REFPROP _fru_parent name:/frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
163
164name:/platform/pci/isa/bscbus/bscv/5v?_class=voltage-indicator
165REFPROP _fru_parent name:/frutree/chassis/system-board
166name:/platform/pci/isa/bscbus/bscv/3.3v?_class=voltage-indicator
167REFPROP _fru_parent name:/frutree/chassis/system-board
168name:/platform/pci/isa/bscbus/bscv/2.5v?_class=voltage-indicator
169REFPROP _fru_parent name:/frutree/chassis/system-board
170name:/platform/pci/isa/bscbus/bscv/vcore?_class=voltage-indicator
171REFPROP _fru_parent name:/frutree/chassis/system-board
172
173name:/platform/pci/isa/bscbus/bscv/active?_class=led
174REFPROP _fru_parent name:/frutree/chassis
175name:/platform/pci/isa/bscbus/bscv/svc_reqd?_class=led
176REFPROP _fru_parent name:/frutree/chassis
177name:/platform/pci/isa/bscbus/bscv/rdy_to_rmv?_class=led
178REFPROP _fru_parent name:/frutree/chassis
179
180