1*7c478bd9Sstevel@tonic-gate/*
2*7c478bd9Sstevel@tonic-gate * CDDL HEADER START
3*7c478bd9Sstevel@tonic-gate *
4*7c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the
5*7c478bd9Sstevel@tonic-gate * Common Development and Distribution License, Version 1.0 only
6*7c478bd9Sstevel@tonic-gate * (the "License").  You may not use this file except in compliance
7*7c478bd9Sstevel@tonic-gate * with the License.
8*7c478bd9Sstevel@tonic-gate *
9*7c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*7c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing.
11*7c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions
12*7c478bd9Sstevel@tonic-gate * and limitations under the License.
13*7c478bd9Sstevel@tonic-gate *
14*7c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each
15*7c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*7c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the
17*7c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying
18*7c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner]
19*7c478bd9Sstevel@tonic-gate *
20*7c478bd9Sstevel@tonic-gate * CDDL HEADER END
21*7c478bd9Sstevel@tonic-gate */
22*7c478bd9Sstevel@tonic-gate/*
23*7c478bd9Sstevel@tonic-gate * Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
24*7c478bd9Sstevel@tonic-gate * Use is subject to license terms.
25*7c478bd9Sstevel@tonic-gate *
26*7c478bd9Sstevel@tonic-gate * # ident	"%Z%%M%	%I%	%E% SMI"
27*7c478bd9Sstevel@tonic-gate *
28*7c478bd9Sstevel@tonic-gate * supported prop types: void, int, uint, float, string
29*7c478bd9Sstevel@tonic-gate * supported prop access_modes: r, w, rw
30*7c478bd9Sstevel@tonic-gate *
31*7c478bd9Sstevel@tonic-gate * VERSION <version_number>  -- supported version number is 1.1
32*7c478bd9Sstevel@tonic-gate *
33*7c478bd9Sstevel@tonic-gate * name:<namepath> --     gives the anchor node
34*7c478bd9Sstevel@tonic-gate *      where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
35*7c478bd9Sstevel@tonic-gate *
36*7c478bd9Sstevel@tonic-gate * _class:<classpath> --   gives the anchor node
37*7c478bd9Sstevel@tonic-gate *      where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
38*7c478bd9Sstevel@tonic-gate *
39*7c478bd9Sstevel@tonic-gate * NODE <name> <class>
40*7c478bd9Sstevel@tonic-gate *       {describes a subtree}
41*7c478bd9Sstevel@tonic-gate * ENDNODE
42*7c478bd9Sstevel@tonic-gate *
43*7c478bd9Sstevel@tonic-gate * PROP <name> <type> <access_mode> [<size> <value>] -- per property
44*7c478bd9Sstevel@tonic-gate *
45*7c478bd9Sstevel@tonic-gate * REFPROP <name> <dstnode>
46*7c478bd9Sstevel@tonic-gate *
47*7c478bd9Sstevel@tonic-gate * REFNODE <name> <class> with <destnode> -- Associates a new node
48*7c478bd9Sstevel@tonic-gate *       with <destnode> if exists
49*7c478bd9Sstevel@tonic-gate *       where
50*7c478bd9Sstevel@tonic-gate *             <name> is the nodename
51*7c478bd9Sstevel@tonic-gate *             <class> is the picl class.
52*7c478bd9Sstevel@tonic-gate *             <destnode> is name:<namepath> or _class:<classpath>
53*7c478bd9Sstevel@tonic-gate *
54*7c478bd9Sstevel@tonic-gate * If "name:" or "_class:" is not specified in the <path>,
55*7c478bd9Sstevel@tonic-gate * the default is "name:"
56*7c478bd9Sstevel@tonic-gate *
57*7c478bd9Sstevel@tonic-gate */
58*7c478bd9Sstevel@tonic-gate
59*7c478bd9Sstevel@tonic-gate#define PLATFORM_CLASS	jbus
60*7c478bd9Sstevel@tonic-gate
61*7c478bd9Sstevel@tonic-gateVERSION 1.1
62*7c478bd9Sstevel@tonic-gateNODE frutree picl
63*7c478bd9Sstevel@tonic-gate    NODE chassis fru
64*7c478bd9Sstevel@tonic-gate	/*
65*7c478bd9Sstevel@tonic-gate 	 * SunMC physical view view_points for this platform
66*7c478bd9Sstevel@tonic-gate 	 * This will get moved to a separate SunMC physical view plugin later.
67*7c478bd9Sstevel@tonic-gate 	 */
68*7c478bd9Sstevel@tonic-gate    	PROP ViewPoints string r 0 "front rear side"
69*7c478bd9Sstevel@tonic-gate            NODE MB location
70*7c478bd9Sstevel@tonic-gate                PROP SlotType string r 0 "system-board"
71*7c478bd9Sstevel@tonic-gate                PROP Label string r 0 "MB"
72*7c478bd9Sstevel@tonic-gate            ENDNODE
73*7c478bd9Sstevel@tonic-gate            NODE F0 location
74*7c478bd9Sstevel@tonic-gate                PROP SlotType string r 0 "fan-unit"
75*7c478bd9Sstevel@tonic-gate                PROP Label string r 0 "F0"
76*7c478bd9Sstevel@tonic-gate                    NODE rear-fan fru
77*7c478bd9Sstevel@tonic-gate                    ENDNODE
78*7c478bd9Sstevel@tonic-gate            ENDNODE
79*7c478bd9Sstevel@tonic-gate            NODE F1 location
80*7c478bd9Sstevel@tonic-gate                PROP SlotType string r 0 "fan-unit"
81*7c478bd9Sstevel@tonic-gate                PROP Label string r 0 "F1"
82*7c478bd9Sstevel@tonic-gate                    NODE front-fan fru
83*7c478bd9Sstevel@tonic-gate                    ENDNODE
84*7c478bd9Sstevel@tonic-gate            ENDNODE
85*7c478bd9Sstevel@tonic-gate            NODE F2 location
86*7c478bd9Sstevel@tonic-gate                PROP SlotType string r 0 "fan-unit"
87*7c478bd9Sstevel@tonic-gate                PROP Label string r 0 "F2"
88*7c478bd9Sstevel@tonic-gate                    NODE cpu-fan fru
89*7c478bd9Sstevel@tonic-gate                    ENDNODE
90*7c478bd9Sstevel@tonic-gate            ENDNODE
91*7c478bd9Sstevel@tonic-gate           NODE PS0 location
92*7c478bd9Sstevel@tonic-gate                PROP SlotType string r 0 "power-supply"
93*7c478bd9Sstevel@tonic-gate                PROP Label string r 0 "PS0"
94*7c478bd9Sstevel@tonic-gate                    NODE power-supply fru
95*7c478bd9Sstevel@tonic-gate                    ENDNODE
96*7c478bd9Sstevel@tonic-gate            ENDNODE
97*7c478bd9Sstevel@tonic-gate            NODE HDD0 location
98*7c478bd9Sstevel@tonic-gate                PROP SlotType string r 0 "disk-slot"
99*7c478bd9Sstevel@tonic-gate                PROP Label string r 0 "HDD0"
100*7c478bd9Sstevel@tonic-gate            ENDNODE
101*7c478bd9Sstevel@tonic-gate            NODE HDD1 location
102*7c478bd9Sstevel@tonic-gate                PROP SlotType string r 0 "disk-slot"
103*7c478bd9Sstevel@tonic-gate                PROP Label string r 0 "HDD1"
104*7c478bd9Sstevel@tonic-gate            ENDNODE
105*7c478bd9Sstevel@tonic-gate            NODE RM0 location
106*7c478bd9Sstevel@tonic-gate                PROP SlotType string r 0 "cdrom-slot"
107*7c478bd9Sstevel@tonic-gate                PROP Label string r 0 "RM0"
108*7c478bd9Sstevel@tonic-gate            ENDNODE
109*7c478bd9Sstevel@tonic-gate    ENDNODE
110*7c478bd9Sstevel@tonic-gateENDNODE
111*7c478bd9Sstevel@tonic-gate
112*7c478bd9Sstevel@tonic-gate/* add disk fru nodes for disks which are present */
113*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/HDD0
114*7c478bd9Sstevel@tonic-gate        REFNODE disk fru WITH name:/platform/pci@1e,600000/ide@d/dad@0,0
115*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/HDD1
116*7c478bd9Sstevel@tonic-gate        REFNODE disk fru WITH name:/platform/pci@1e,600000/ide@d/dad@1,0
117*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/RM0
118*7c478bd9Sstevel@tonic-gate        REFNODE cdrom fru WITH name:/platform/pci@1e,600000/ide@d/sd@2,0
119*7c478bd9Sstevel@tonic-gate
120*7c478bd9Sstevel@tonic-gatename:/frutree/chassis/MB
121*7c478bd9Sstevel@tonic-gate#include "system-board.info"
122*7c478bd9Sstevel@tonic-gate
123