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]
22 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
25 * # ident "%Z%%M% %I% %E% SMI"
27 * supported prop types: void, int, uint, float, string
28 * supported prop access_modes: r, w, rw
30 * VERSION <version_number> -- supported version number is 1.0
32 * name:<namepath> -- gives the anchor node
33 * where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
35 * _class:<classpath> -- gives the anchor node
36 * where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
39 * {describes a subtree}
42 * PROP <name> <type> <access_mode> [<size> <value>] -- per property
44 * REFPROP <name> <dstnode>
46 * REFNODE <name> <class> with <destnode> -- Associates a new node
47 * with <destnode> if exists
49 * <name> is the nodename
50 * <class> is the picl class.
51 * <destnode> is name:<namepath> or _class:<classpath>
53 * If "name:" or "_class:" is not specified in the <path>,
54 * the default is "name:"
58 #define PLATFORM_CLASS jbus
64 * SunMC physical view view_points for this platform
65 * This will get moved to a separate SunMC physical view plugin later.
67 PROP ViewPoints string r 0 "front rear side"
69 PROP SlotType string r 0 "system-board"
70 PROP Label string r 0 "MB"
73 PROP SlotType string r 0 "fan-unit"
74 PROP Label string r 0 "F0"
79 PROP SlotType string r 0 "fan-unit"
80 PROP Label string r 0 "F1"
83 PROP SlotType string r 0 "fan-unit"
84 PROP Label string r 0 "F2"
87 PROP SlotType string r 0 "fan-unit"
88 PROP Label string r 0 "F3"
93 PROP SlotType string r 0 "power-supply"
94 PROP Label string r 0 "PS0"
99 PROP FRUDataAvailable void r
100 REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/scsi-backplane-fru-prom
102 PROP SlotType string r 0 "disk-slot"
103 PROP Label string r 0 "HDD0"
106 PROP SlotType string r 0 "disk-slot"
107 PROP Label string r 0 "HDD1"
111 PROP SlotType string r 0 "cdrom-slot"
112 PROP Label string r 0 "RM0"
117 /* add cpu fan fru nodes for cpus which are present */
118 name:/frutree/chassis/F1
119 REFNODE cpu0-fan fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/cpu0-fan
121 name:/frutree/chassis/F2
122 REFNODE cpu1-fan fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/cpu1-fan
124 /* add disk fru nodes for disks which are present */
125 name:/frutree/chassis/SCSI-BP/HDD0
126 REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@0,0
127 name:/frutree/chassis/SCSI-BP/HDD1
128 REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@1,0
129 name:/frutree/chassis/RM0
130 REFNODE cdrom fru WITH name:/platform/pci@1e,600000/ide@d/sd@2,0
132 name:/frutree/chassis/MB
133 #include "system-board.info"