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 2006 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
26 * ident "%Z%%M% %I% %E% SMI"
28 * supported prop types: void, int, uint, float, string
29 * supported prop access_modes: r, w, rw
31 * VERSION <version_number> -- supported version number is 1.0
33 * name:<namepath> -- gives the anchor node
34 * where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
36 * _class:<classpath> -- gives the anchor node
37 * where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
40 * {describes a subtree}
43 * PROP <name> <type> <access_mode> [<size> <value>] -- per property
45 * REFPROP <name> <dstnode>
47 * REFNODE <name> <class> with <destnode> -- Associates a new node
48 * with <destnode> if exists
50 * <name> is the nodename
51 * <class> is the picl class.
52 * <destnode> is name:<namepath> or _class:<classpath>
54 * If "name:" or "_class:" is not specified in the <path>,
55 * the default is "name:"
60 * define a macro to force a #ident line into the output stream
61 * otherwise cpp removes it. Use #ifndef because of #included definitions.
64 #define id(s) #ident s
66 id("%Z%%M% %I% %E% SMI")
69 * There are a lot of nodes below the rmclomv node, define a shortname
71 #define RMCLOMV /platform/ebus@1f,464000/rmc-comm@2,0/SUNW,rmclomv
79 * SunMC physical view view_points for this platform
80 * This will get moved to a separate SunMC physical view plugin later.
82 PROP ViewPoints string r 0 "front rear side"
84 PROP SlotType string r 0 "system-board"
85 PROP Label string r 0 "MB"
88 PROP SlotType string r 0 "power-supply"
89 PROP Label string r 0 "PS0"
92 PROP SlotType string r 0 "power-supply"
93 PROP Label string r 0 "PS1"
96 PROP SlotType string r 0 "PDB"
97 PROP Label string r 0 "PDB"
100 PROP Label string r 0 "SYSCTRL"
106 * add power-supply nodes if their fru-proms are visible
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>