xref: /illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/frutree/piclfrutree.info (revision 66e1f4391ea0d382201658130a560296881a014b)
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 2005 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.0
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#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
69	/*
70	 * Motherboard
71	 */
72	NODE MB location
73	    PROP SlotType string r 0 "system-board"
74	    PROP Label string r 0 "MB"
75	ENDNODE
76
77	/*
78	 * Front panel interface board
79	 */
80	NODE FIOB location
81	    PROP SlotType string r 0 "system-board"
82	    PROP Label string r 0 "FIOB"
83	    NODE system-board fru
84		 PROP FRUDataAvailable void r
85		 REFPROP _seeprom_source /platform/ebus@1f,464000/i2c@3,80/front-io-fru-prom
86	    ENDNODE
87	ENDNODE
88
89	NODE F0 location
90	    PROP SlotType string r 0 "fan-unit"
91	    PROP Label string r 0 "F0"
92	    NODE system-fan0 fru
93	    ENDNODE
94	ENDNODE
95	NODE F1 location
96	    PROP SlotType string r 0 "fan-unit"
97	    PROP Label string r 0 "F1"
98	    NODE system-fan1 fru
99	    ENDNODE
100	ENDNODE
101	NODE F2 location
102	    PROP SlotType string r 0 "fan-unit"
103	    PROP Label string r 0 "F2"
104	    NODE system-fan2 fru
105	    ENDNODE
106	ENDNODE
107	NODE F3 location
108	    PROP SlotType string r 0 "fan-unit"
109	    PROP Label string r 0 "F3"
110	    NODE system-fan3 fru
111	    ENDNODE
112	ENDNODE
113	NODE F4 location
114	    PROP SlotType string r 0 "fan-unit"
115	    PROP Label string r 0 "F4"
116	    NODE system-fan4 fru
117	    ENDNODE
118	ENDNODE
119
120	/*
121	 * Power Supply
122 	 */
123	NODE PS0 location
124	    PROP SlotType string r 0 "power-supply"
125	    PROP Label string r 0 "PS0"
126	    NODE power-supply fru
127	    ENDNODE
128	ENDNODE
129
130	/*
131	 * SAS/SATA Backplane
132	 */
133	NODE SAS-BP fru
134	    PROP FRUDataAvailable void r
135	    REFPROP _seeprom_source /platform/ebus@1f,464000/i2c@3,80/sas-backplane-fru-prom
136	    NODE HDD0 location
137		PROP SlotType string r 0 "disk-slot"
138		PROP Label string r 0 "HDD0"
139	    ENDNODE
140	    NODE HDD1 location
141		PROP SlotType string r 0 "disk-slot"
142		PROP Label string r 0 "HDD1"
143	    ENDNODE
144	    NODE HDD2 location
145		PROP SlotType string r 0 "disk-slot"
146		PROP Label string r 0 "HDD2"
147	    ENDNODE
148	    NODE HDD3 location
149		PROP SlotType string r 0 "disk-slot"
150		PROP Label string r 0 "HDD3"
151	    ENDNODE
152	ENDNODE
153    ENDNODE
154ENDNODE
155
156/*
157 * Add disk fru nodes for disks which are present.
158 *
159 * FIXIT: Rev R0B2 of the MB has LSI1064 onboard with the path
160 * 		/platform/pci@1e,600000/pci@0/pci@9/pci@0/LSILogic,sas@1
161 * Change the paths below appropriately when this is confirmed
162 */
163name:/frutree/chassis/SAS-BP/HDD0
164REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@0,0
165
166name:/frutree/chassis/SAS-BP/HDD1
167REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@1,0
168
169name:/frutree/chassis/SAS-BP/HDD2
170REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@2,0
171
172name:/frutree/chassis/SAS-BP/HDD3
173REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@3,0
174
175/*
176 * FIXIT: Latest DVDROM path via 1575 on R0B2 is
177 *
178 *   name:/frutree/chassis/FIOB
179 *   REFNODE cdrom fru WITH name:/platform/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0
180 *
181 * Enable it when this is confirmed (also assumes that dvdrom drive is removable separately
182 * from the front panel interface board).
183 *
184 */
185
186#include "system-board.info"
187
188