xref: /illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/frutree/piclfrutree.info (revision 5ebc22727c394636ca1111875be60eb4705d818f)
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@0,a4
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		 PROP FRUDataAvailable void r
128		 REFPROP _seeprom_source /platform/ebus@1f,464000/i2c@3,80/psu-fru-prom@0,ae
129	    ENDNODE
130	ENDNODE
131
132	/*
133	 * SAS/SATA Backplane
134	 */
135	NODE SAS-BP fru
136	    PROP FRUDataAvailable void r
137	    REFPROP _seeprom_source /platform/ebus@1f,464000/i2c@3,80/sas-backplane-fru-prom@0,a6
138	    NODE HDD0 location
139		PROP SlotType string r 0 "disk-slot"
140		PROP Label string r 0 "HDD0"
141	    ENDNODE
142	    NODE HDD1 location
143		PROP SlotType string r 0 "disk-slot"
144		PROP Label string r 0 "HDD1"
145	    ENDNODE
146	    NODE HDD2 location
147		PROP SlotType string r 0 "disk-slot"
148		PROP Label string r 0 "HDD2"
149	    ENDNODE
150	    NODE HDD3 location
151		PROP SlotType string r 0 "disk-slot"
152		PROP Label string r 0 "HDD3"
153	    ENDNODE
154	ENDNODE
155    ENDNODE
156ENDNODE
157
158/*
159 * Add disk fru nodes for disks which are present.
160 *
161 * FIXIT: Rev R0B2 of the MB has LSI1064 onboard with the path
162 * 		/platform/pci@1e,600000/pci@0/pci@9/pci@0/LSILogic,sas@1
163 * Change the paths below appropriately when this is confirmed
164 */
165name:/frutree/chassis/SAS-BP/HDD0
166REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@0,0
167
168name:/frutree/chassis/SAS-BP/HDD1
169REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@1,0
170
171name:/frutree/chassis/SAS-BP/HDD2
172REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@2,0
173
174name:/frutree/chassis/SAS-BP/HDD3
175REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@3,0
176
177/*
178 * FIXIT: Latest DVDROM path via 1575 on R0B2 is
179 *
180 *   name:/frutree/chassis/FIOB
181 *   REFNODE cdrom fru WITH name:/platform/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0
182 *
183 * Enable it when this is confirmed (also assumes that dvdrom drive is removable separately
184 * from the front panel interface board).
185 *
186 */
187
188#include "system-board.info"
189
190