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