xref: /illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/frutree/piclfrutree.info (revision e7cbe64f7a72dae5cb44f100db60ca88f3313c65)
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.1
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 */
58
59#define PLATFORM_CLASS	jbus
60
61VERSION 1.1
62NODE frutree picl
63    NODE chassis fru
64	/*
65 	 * SunMC physical view view_points for this platform
66 	 * This will get moved to a separate SunMC physical view plugin later.
67 	 */
68    	PROP ViewPoints string r 0 "front rear side"
69            NODE MB location
70                PROP SlotType string r 0 "system-board"
71                PROP Label string r 0 "MB"
72            ENDNODE
73            NODE F0 location
74                PROP SlotType string r 0 "fan-unit"
75                PROP Label string r 0 "F0"
76                    NODE rear-fan fru
77                    ENDNODE
78            ENDNODE
79            NODE F1 location
80                PROP SlotType string r 0 "fan-unit"
81                PROP Label string r 0 "F1"
82                    NODE front-fan fru
83                    ENDNODE
84            ENDNODE
85            NODE F2 location
86                PROP SlotType string r 0 "fan-unit"
87                PROP Label string r 0 "F2"
88                    NODE cpu-fan fru
89                    ENDNODE
90            ENDNODE
91           NODE PS0 location
92                PROP SlotType string r 0 "power-supply"
93                PROP Label string r 0 "PS0"
94                    NODE power-supply fru
95                    ENDNODE
96            ENDNODE
97            NODE HDD0 location
98                PROP SlotType string r 0 "disk-slot"
99                PROP Label string r 0 "HDD0"
100            ENDNODE
101            NODE HDD1 location
102                PROP SlotType string r 0 "disk-slot"
103                PROP Label string r 0 "HDD1"
104            ENDNODE
105            NODE RM0 location
106                PROP SlotType string r 0 "cdrom-slot"
107                PROP Label string r 0 "RM0"
108            ENDNODE
109    ENDNODE
110ENDNODE
111
112/* add disk fru nodes for disks which are present */
113name:/frutree/chassis/HDD0
114        REFNODE disk fru WITH name:/platform/pci@1e,600000/ide@d/dad@0,0
115name:/frutree/chassis/HDD1
116        REFNODE disk fru WITH name:/platform/pci@1e,600000/ide@d/dad@1,0
117name:/frutree/chassis/RM0
118        REFNODE cdrom fru WITH name:/platform/pci@1e,600000/ide@d/sd@2,0
119
120name:/frutree/chassis/MB
121#include "system-board.info"
122
123