xref: /illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/frutree/piclfrutree.info (revision e5803b76927480e8f9b67b22201c484ccf4c2bcf)
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 */
21/*
22 * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23 * Use is subject to license terms.
24 *
25 * # ident	"%Z%%M%	%I%	%E% SMI"
26 *
27 * supported prop types: void, int, uint, float, string
28 * supported prop access_modes: r, w, rw
29 *
30 * VERSION <version_number>  -- supported version number is 1.0
31 *
32 * name:<namepath> --     gives the anchor node
33 *      where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
34 *
35 * _class:<classpath> --   gives the anchor node
36 *      where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
37 *
38 * NODE <name> <class>
39 *       {describes a subtree}
40 * ENDNODE
41 *
42 * PROP <name> <type> <access_mode> [<size> <value>] -- per property
43 *
44 * REFPROP <name> <dstnode>
45 *
46 * REFNODE <name> <class> with <destnode> -- Associates a new node
47 *       with <destnode> if exists
48 *       where
49 *             <name> is the nodename
50 *             <class> is the picl class.
51 *             <destnode> is name:<namepath> or _class:<classpath>
52 *
53 * If "name:" or "_class:" is not specified in the <path>,
54 * the default is "name:"
55 *
56 */
57
58#define PLATFORM_CLASS	jbus
59
60VERSION 1.1
61NODE frutree picl
62    NODE chassis fru
63	/*
64 	 * SunMC physical view view_points for this platform
65 	 * This will get moved to a separate SunMC physical view plugin later.
66 	 */
67    	PROP ViewPoints string r 0 "front rear side"
68	    NODE MB location
69		PROP SlotType string r 0 "system-board"
70		PROP Label string r 0 "MB"
71	    ENDNODE
72	    NODE F0 location
73	        PROP SlotType string r 0 "fan-unit"
74	        PROP Label string r 0 "F0"
75        	    NODE intake-fan fru
76        	    ENDNODE
77	    ENDNODE
78            NODE F1 location
79                PROP SlotType string r 0 "fan-unit"
80                PROP Label string r 0 "F1"
81            ENDNODE
82            NODE F2 location
83                PROP SlotType string r 0 "fan-unit"
84                PROP Label string r 0 "F2"
85            ENDNODE
86	    NODE F3 location
87	        PROP SlotType string r 0 "fan-unit"
88	        PROP Label string r 0 "F3"
89        	    NODE outtake-fan fru
90        	    ENDNODE
91	    ENDNODE
92	    NODE PS0 location
93	        PROP SlotType string r 0 "power-supply"
94	        PROP Label string r 0 "PS0"
95        	    NODE power-supply fru
96        	    ENDNODE
97	    ENDNODE
98	    NODE SCSI-BP fru
99	    	PROP FRUDataAvailable void r
100	    	REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/scsi-backplane-fru-prom
101	    	NODE HDD0 location
102		    PROP SlotType string r 0 "disk-slot"
103		    PROP Label string r 0 "HDD0"
104	    	ENDNODE
105	    	NODE HDD1 location
106		    PROP SlotType string r 0 "disk-slot"
107		    PROP Label string r 0 "HDD1"
108	    	ENDNODE
109	    ENDNODE
110            NODE RM0 location
111                PROP SlotType string r 0 "cdrom-slot"
112                PROP Label string r 0 "RM0"
113            ENDNODE
114    ENDNODE
115ENDNODE
116
117/* add cpu fan fru nodes for cpus which are present */
118name:/frutree/chassis/F1
119REFNODE cpu0-fan fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/cpu0-fan
120
121name:/frutree/chassis/F2
122REFNODE cpu1-fan fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/cpu1-fan
123
124/* add disk fru nodes for disks which are present */
125name:/frutree/chassis/SCSI-BP/HDD0
126        REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@0,0
127name:/frutree/chassis/SCSI-BP/HDD1
128        REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@1,0
129name:/frutree/chassis/RM0
130        REFNODE cdrom fru WITH name:/platform/pci@1e,600000/ide@d/sd@2,0
131
132name:/frutree/chassis/MB
133#include "system-board.info"
134
135