cmd: remove sparc-only virtinfo
[unleashed.git] / usr / src / cmd / picl / plugins / sun4u / seattle / frutree / piclfrutree.info
blob78d3413c1561298e21dacee74c4dd25f68c1b087
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  */
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  * 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  */
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
66 id("%Z%%M% %I%     %E% SMI")
69  * There are a lot of nodes below the rmclomv node, define a shortname
70  */
71 #define RMCLOMV /platform/ebus@1f,464000/rmc-comm@2,0/SUNW,rmclomv
74 VERSION 1.1
75 VERBOSE 1
76 NODE frutree picl
77     NODE chassis fru
78     /*
79      * SunMC physical view view_points for this platform
80      * This will get moved to a separate SunMC physical view plugin later.
81      */
82     PROP ViewPoints string r 0 "front rear side"
83         NODE MB location
84             PROP SlotType string r 0 "system-board"
85             PROP Label string r 0 "MB"
86         ENDNODE
87         NODE PS0 location
88             PROP SlotType string r 0 "power-supply"
89             PROP Label string r 0 "PS0"
90         ENDNODE
91         NODE PS1 location
92             PROP SlotType string r 0 "power-supply"
93             PROP Label string r 0 "PS1"
94         ENDNODE
95         NODE PDB location 
96             PROP SlotType string r 0 "PDB"
97             PROP Label string r 0 "PDB"
98         ENDNODE
99         NODE SYSCTRL location   
100             PROP Label string r 0 "SYSCTRL"
101         ENDNODE
102     ENDNODE
103 ENDNODE
106  * add power-supply nodes if their fru-proms are visible
107  */
108 name:/frutree/chassis/PS0
109         REFNODE power-supply fru WITH name:/platform/i2c@1f,530000/power-supply-fru-prom@0,6c
110 name:/frutree/chassis/PS1
111         REFNODE power-supply fru WITH name:/platform/i2c@1f,530000/power-supply-fru-prom@0,6e
113 /* chassis fruid prom */
114 name:/frutree/chassis/PDB
115         REFNODE power-distribution-board fru WITH name:/platform/i2c@1f,530000/pdb-fru-prom@0,32
117 name:/frutree/chassis/PDB/power-distribution-board
118         PROP FRUDataAvailable void r
119         REFPROP _seeprom_source name:/platform/i2c@1f,530000/pdb-fru-prom@0,32
121 name:/platform/i2c@1f,530000/pdb-fru-prom@0,32
122         REFPROP _fru_parent /frutree/chassis/PDB/power-distribution-board
124 #include "system-board.info"
125 #include <fru_SC_data.info>
126 #include <SB-tables.info>