xref: /illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/frutree/piclfrutree.info (revision 2a0eb52b53ee0ec5aa0e2d204728f731c00d571f)
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		NODE RM0 location
87		    PROP SlotType string r 0 "cdrom-slot"
88		    PROP Label string r 0 "RM0"
89		ENDNODE
90	    ENDNODE
91	ENDNODE
92
93	NODE F0 location
94	    PROP SlotType string r 0 "fan-unit"
95	    PROP Label string r 0 "F0"
96	    NODE system-fan0 fru
97	    ENDNODE
98	ENDNODE
99	NODE F1 location
100	    PROP SlotType string r 0 "fan-unit"
101	    PROP Label string r 0 "F1"
102	    NODE system-fan1 fru
103	    ENDNODE
104	ENDNODE
105	NODE F2 location
106	    PROP SlotType string r 0 "fan-unit"
107	    PROP Label string r 0 "F2"
108	    NODE system-fan2 fru
109	    ENDNODE
110	ENDNODE
111	NODE F3 location
112	    PROP SlotType string r 0 "fan-unit"
113	    PROP Label string r 0 "F3"
114	    NODE system-fan3 fru
115	    ENDNODE
116	ENDNODE
117	NODE F4 location
118	    PROP SlotType string r 0 "fan-unit"
119	    PROP Label string r 0 "F4"
120	    NODE system-fan4 fru
121	    ENDNODE
122	ENDNODE
123
124	/*
125	 * Power Supply
126 	 */
127	NODE PS0 location
128	    PROP SlotType string r 0 "power-supply"
129	    PROP Label string r 0 "PS0"
130	    NODE power-supply fru
131		 PROP FRUDataAvailable void r
132		 REFPROP _seeprom_source /platform/ebus@1f,464000/i2c@3,80/psu-fru-prom@0,ae
133	    ENDNODE
134	ENDNODE
135
136	/*
137	 * SAS/SATA Backplane
138	 */
139	NODE SAS-BP fru
140	    PROP FRUDataAvailable void r
141	    REFPROP _seeprom_source /platform/ebus@1f,464000/i2c@3,80/sas-backplane-fru-prom@0,a6
142	    NODE HDD0 location
143		PROP SlotType string r 0 "disk-slot"
144		PROP Label string r 0 "HDD0"
145	    ENDNODE
146	    NODE HDD1 location
147		PROP SlotType string r 0 "disk-slot"
148		PROP Label string r 0 "HDD1"
149	    ENDNODE
150	    NODE HDD2 location
151		PROP SlotType string r 0 "disk-slot"
152		PROP Label string r 0 "HDD2"
153	    ENDNODE
154	    NODE HDD3 location
155		PROP SlotType string r 0 "disk-slot"
156		PROP Label string r 0 "HDD3"
157	    ENDNODE
158	ENDNODE
159    ENDNODE
160ENDNODE
161
162/*
163 * Add disk fru nodes for disks which are present.
164 */
165name:/frutree/chassis/SAS-BP/HDD0
166REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@0,0
167
168name:/frutree/chassis/SAS-BP/HDD1
169REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@1,0
170
171name:/frutree/chassis/SAS-BP/HDD2
172REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@2,0
173
174name:/frutree/chassis/SAS-BP/HDD3
175REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@3,0
176
177/*
178 * Removable Media on front-io board
179 */
180name:/frutree/chassis/FIOB/system-board/RM0
181REFNODE cdrom fru WITH name:/platform/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0
182
183#include "system-board.info"
184
185