106e46062Sjbeloro/*
206e46062Sjbeloro * CDDL HEADER START
306e46062Sjbeloro *
406e46062Sjbeloro * The contents of this file are subject to the terms of the
506e46062Sjbeloro * Common Development and Distribution License (the "License").
606e46062Sjbeloro * You may not use this file except in compliance with the License.
706e46062Sjbeloro *
806e46062Sjbeloro * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
906e46062Sjbeloro * or http://www.opensolaris.org/os/licensing.
1006e46062Sjbeloro * See the License for the specific language governing permissions
1106e46062Sjbeloro * and limitations under the License.
1206e46062Sjbeloro *
1306e46062Sjbeloro * When distributing Covered Code, include this CDDL HEADER in each
1406e46062Sjbeloro * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1506e46062Sjbeloro * If applicable, add the following below this CDDL HEADER, with the
1606e46062Sjbeloro * fields enclosed by brackets "[]" replaced with your own identifying
1706e46062Sjbeloro * information: Portions Copyright [yyyy] [name of copyright owner]
1806e46062Sjbeloro *
1906e46062Sjbeloro * CDDL HEADER END
2006e46062Sjbeloro */
2106e46062Sjbeloro
2206e46062Sjbeloro/*
230dda3b25Ssbhole * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2406e46062Sjbeloro * Use is subject to license terms.
2506e46062Sjbeloro *
2606e46062Sjbeloro * ident	"%Z%%M%	%I%	%E% SMI"
2706e46062Sjbeloro *
2806e46062Sjbeloro * This file creates the system board structure
2906e46062Sjbeloro */
3006e46062Sjbeloro
3106e46062Sjbeloro/*
3206e46062Sjbeloro * define a macro to force a #ident line into the output stream
3306e46062Sjbeloro * otherwise cpp removes it. Use #ifndef because of #included definitions.
3406e46062Sjbeloro */
3506e46062Sjbeloro#ifndef id
3606e46062Sjbeloro#define	id(s)	#ident s
3706e46062Sjbeloro#endif
3806e46062Sjbeloroid("%Z%%M% %I%     %E% SMI")
3906e46062Sjbeloro
4006e46062Sjbeloro/*
4106e46062Sjbeloro * Motherboard properties
4206e46062Sjbeloro */
4306e46062Sjbeloroname:/frutree/chassis/MB
4406e46062Sjbeloro    NODE system-board fru
4506e46062Sjbeloro	NODE SC location
4606e46062Sjbeloro    	    PROP Label string r 0 "SC"
4706e46062Sjbeloro	    NODE sc fru
4806e46062Sjbeloro	    ENDNODE
4906e46062Sjbeloro	ENDNODE
5006e46062Sjbeloro        NODE P0 location
5106e46062Sjbeloro            PROP SlotType string r 0 "cpu"
5206e46062Sjbeloro            PROP Label string r 0 "P0"
5306e46062Sjbeloro        ENDNODE
5406e46062Sjbeloro        NODE P1 location
5506e46062Sjbeloro            PROP SlotType string r 0 "cpu"
5606e46062Sjbeloro            PROP Label string r 0 "P1"
5706e46062Sjbeloro        ENDNODE
5806e46062Sjbeloro	NODE HDDBP location
5906e46062Sjbeloro    	    PROP Label string r 0 "HDDBP"
6006e46062Sjbeloro       	    REFNODE disk-backplane-1 fru WITH /platform?PlatformName=SUNW,Sun-Fire-V215
6106e46062Sjbeloro       	    REFNODE disk-backplane-3 fru WITH /platform?PlatformName=SUNW,Sun-Fire-V245
6206e46062Sjbeloro	ENDNODE
6306e46062Sjbeloro        NODE RMD0 location
6406e46062Sjbeloro            PROP SlotType string r 0 "dvd-slot"
6506e46062Sjbeloro            PROP Label string r 0 "RMD0"
6606e46062Sjbeloro        ENDNODE
6706e46062Sjbeloro	NODE SCC location
6806e46062Sjbeloro    	    PROP Label string r 0 "SCC"
6906e46062Sjbeloro	    NODE system-config-chip fru
7006e46062Sjbeloro	    ENDNODE
7106e46062Sjbeloro	ENDNODE
7206e46062Sjbeloro    	NODE RISER-RIGHT location
7306e46062Sjbeloro    	    PROP Label string r 0 "RISER-RIGHT"
7406e46062Sjbeloro    	ENDNODE
7506e46062Sjbeloro    	NODE RISER-LEFT location
7606e46062Sjbeloro    	    PROP Label string r 0 "RISER-LEFT"
7706e46062Sjbeloro    	ENDNODE
7806e46062Sjbeloro	NODE USB0 location
7906e46062Sjbeloro            PROP Label string r 0 "USB0"
8006e46062Sjbeloro        ENDNODE
8106e46062Sjbeloro        NODE USB1 location
8206e46062Sjbeloro            PROP Label string r 0 "USB1"
8306e46062Sjbeloro        ENDNODE
8406e46062Sjbeloro	NODE FIOB location
8506e46062Sjbeloro    	    PROP Label string r 0 "FIOB"
8606e46062Sjbeloro	    REFNODE front-io-board-1 fru WITH /platform?PlatformName=SUNW,Sun-Fire-V215
8706e46062Sjbeloro	    REFNODE front-io-board-2 fru WITH /platform?PlatformName=SUNW,Sun-Fire-V245
8806e46062Sjbeloro	ENDNODE
8906e46062Sjbeloro	NODE BATTERY location
9006e46062Sjbeloro    	    PROP Label string r 0 "BATTERY"
9106e46062Sjbeloro	    NODE battery fru
9206e46062Sjbeloro	    ENDNODE
9306e46062Sjbeloro	ENDNODE
9406e46062Sjbeloro    ENDNODE
9506e46062Sjbeloro
9606e46062Sjbeloro/*
9706e46062Sjbeloro * motherboard seeprom source
9806e46062Sjbeloro */
9906e46062Sjbeloroname:/frutree/chassis/MB/system-board
10006e46062Sjbeloro	PROP FRUDataAvailable void r
10106e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/motherboard-fru-prom@0,a2
10206e46062Sjbeloro
10306e46062Sjbeloroname:/platform/i2c@1f,530000/motherboard-fru-prom@0,a2
10406e46062Sjbeloro	REFPROP _fru_parent /frutree/chassis/MB/system-board
10506e46062Sjbeloro
10606e46062Sjbeloro/*
10706e46062Sjbeloro * Processor 0
10806e46062Sjbeloro */
10906e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0
11006e46062Sjbeloro	REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi+@0,0
1115c739e65Sfw157321	REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi@0,0
11206e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0/cpu
11306e46062Sjbeloro        NODE B0 location
11406e46062Sjbeloro            PROP Label string r 0 "B0"
11506e46062Sjbeloro            NODE bank fru
11606e46062Sjbeloro                NODE D0 location
11706e46062Sjbeloro                ENDNODE
11806e46062Sjbeloro                NODE D1 location
11906e46062Sjbeloro                ENDNODE
12006e46062Sjbeloro            ENDNODE
12106e46062Sjbeloro        ENDNODE
12206e46062Sjbeloro        NODE B1 location
12306e46062Sjbeloro            PROP Label string r 0 "B1"
12406e46062Sjbeloro            NODE bank fru
12506e46062Sjbeloro                NODE D0 location
12606e46062Sjbeloro                ENDNODE
12706e46062Sjbeloro                NODE D1 location
12806e46062Sjbeloro                ENDNODE
12906e46062Sjbeloro            ENDNODE
13006e46062Sjbeloro        ENDNODE
13106e46062Sjbeloro
13206e46062Sjbeloro/*
13306e46062Sjbeloro * Processor 1
13406e46062Sjbeloro */
13506e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1
13606e46062Sjbeloro	REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi+@1,0
1375c739e65Sfw157321	REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi@1,0
13806e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1/cpu
13906e46062Sjbeloro        NODE B0 location
14006e46062Sjbeloro            PROP Label string r 0 "B0"
14106e46062Sjbeloro            NODE bank fru
14206e46062Sjbeloro                NODE D0 location
14306e46062Sjbeloro                ENDNODE
14406e46062Sjbeloro                NODE D1 location
14506e46062Sjbeloro                ENDNODE
14606e46062Sjbeloro            ENDNODE
14706e46062Sjbeloro        ENDNODE
14806e46062Sjbeloro        NODE B1 location
14906e46062Sjbeloro            PROP Label string r 0 "B1"
15006e46062Sjbeloro            NODE bank fru
15106e46062Sjbeloro                NODE D0 location
15206e46062Sjbeloro                ENDNODE
15306e46062Sjbeloro                NODE D1 location
15406e46062Sjbeloro                ENDNODE
15506e46062Sjbeloro            ENDNODE
15606e46062Sjbeloro        ENDNODE
15706e46062Sjbeloro/*
15806e46062Sjbeloro * Processor 0 memory
15906e46062Sjbeloro */
16006e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0
16106e46062Sjbeloro	PROP SlotType string r 0 "memory-module"
16206e46062Sjbeloro	PROP Label string r 0 "D0"
16306e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1
16406e46062Sjbeloro	PROP SlotType string r 0 "memory-module"
16506e46062Sjbeloro	PROP Label string r 0 "D1"
16606e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0
16706e46062Sjbeloro	PROP SlotType string r 0 "memory-module"
16806e46062Sjbeloro	PROP Label string r 0 "D0"
16906e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1
17006e46062Sjbeloro	PROP SlotType string r 0 "memory-module"
17106e46062Sjbeloro	PROP Label string r 0 "D1"
17206e46062Sjbeloro
17306e46062Sjbeloro/*
17406e46062Sjbeloro * Processor 1 memory
17506e46062Sjbeloro */
17606e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0
17706e46062Sjbeloro	PROP SlotType string r 0 "memory-module"
17806e46062Sjbeloro	PROP Label string r 0 "D0"
17906e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1
18006e46062Sjbeloro	PROP SlotType string r 0 "memory-module"
18106e46062Sjbeloro	PROP Label string r 0 "D1"
18206e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0
18306e46062Sjbeloro	PROP SlotType string r 0 "memory-module"
18406e46062Sjbeloro	PROP Label string r 0 "D0"
18506e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1
18606e46062Sjbeloro	PROP SlotType string r 0 "memory-module"
18706e46062Sjbeloro	PROP Label string r 0 "D1"
18806e46062Sjbeloro
18906e46062Sjbeloro/*
19006e46062Sjbeloro * Dimm nodes
19106e46062Sjbeloro */
19206e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0
19306e46062Sjbeloro	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e0
19406e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1
19506e46062Sjbeloro	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e2
19606e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0
19706e46062Sjbeloro	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e4
19806e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1
19906e46062Sjbeloro	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e6
20006e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0
20106e46062Sjbeloro	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,e8
20206e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1
20306e46062Sjbeloro	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,ea
20406e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0
20506e46062Sjbeloro	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,ec
20606e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1
20706e46062Sjbeloro	REFNODE mem-module fru WITH name:/platform/i2c@1f,530000/dimm-spd@0,ee
20806e46062Sjbeloro
2094ad1e6e8Sfw157321/* Populate all possible nodes in the devtree with a status of "okay".
2104ad1e6e8Sfw157321 * This will get overridden by ASR.  If the dimm slots are not fully
2114ad1e6e8Sfw157321 * populated then no extra nodes or properties are created.
2124ad1e6e8Sfw157321 */
2134ad1e6e8Sfw157321name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0
2144ad1e6e8Sfw157321	PROP status string r 0 "okay"
2154ad1e6e8Sfw157321name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1
2164ad1e6e8Sfw157321	PROP status string r 0 "okay"
2174ad1e6e8Sfw157321name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0
2184ad1e6e8Sfw157321	PROP status string r 0 "okay"
2194ad1e6e8Sfw157321name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1
2204ad1e6e8Sfw157321	PROP status string r 0 "okay"
2214ad1e6e8Sfw157321name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0
2224ad1e6e8Sfw157321	PROP status string r 0 "okay"
2234ad1e6e8Sfw157321name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1
2244ad1e6e8Sfw157321	PROP status string r 0 "okay"
2254ad1e6e8Sfw157321name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0
2264ad1e6e8Sfw157321	PROP status string r 0 "okay"
2274ad1e6e8Sfw157321name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1
2284ad1e6e8Sfw157321	PROP status string r 0 "okay"
2294ad1e6e8Sfw157321
23006e46062Sjbeloro/*
23106e46062Sjbeloro * DIMM seeprom sources
23206e46062Sjbeloro */
23306e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module
23406e46062Sjbeloro	PROP FRUDataAvailable void r
23506e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e0
23606e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module
23706e46062Sjbeloro	PROP FRUDataAvailable void r
23806e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e2
23906e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module
24006e46062Sjbeloro	PROP FRUDataAvailable void r
24106e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e4
24206e46062Sjbeloroname:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module
24306e46062Sjbeloro	PROP FRUDataAvailable void r
24406e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e6
24506e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module
24606e46062Sjbeloro	PROP FRUDataAvailable void r
24706e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,e8
24806e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module
24906e46062Sjbeloro	PROP FRUDataAvailable void r
25006e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,ea
25106e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module
25206e46062Sjbeloro	PROP FRUDataAvailable void r
25306e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,ec
25406e46062Sjbeloroname:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module
25506e46062Sjbeloro	PROP FRUDataAvailable void r
25606e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/dimm-spd@0,ee
25706e46062Sjbeloro
25806e46062Sjbeloro/*
25906e46062Sjbeloro * DIMM FRU parents
26006e46062Sjbeloro */
26106e46062Sjbeloroname:/platform/i2c@1f,530000/dimm-spd@0,e0
26206e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module
26306e46062Sjbeloroname:/platform/i2c@1f,530000/dimm-spd@0,e2
26406e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module
26506e46062Sjbeloroname:/platform/i2c@1f,530000/dimm-spd@0,e4
26606e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module
26706e46062Sjbeloroname:/platform/i2c@1f,530000/dimm-spd@0,e6
26806e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module
26906e46062Sjbeloroname:/platform/i2c@1f,530000/dimm-spd@0,e8
27006e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module
27106e46062Sjbeloroname:/platform/i2c@1f,530000/dimm-spd@0,ea
27206e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module
27306e46062Sjbeloroname:/platform/i2c@1f,530000/dimm-spd@0,ec
27406e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module
27506e46062Sjbeloroname:/platform/i2c@1f,530000/dimm-spd@0,ee
27606e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module
27706e46062Sjbeloro
27806e46062Sjbeloroname:/platform/SUNW,UltraSPARC-IIIi+@0,0
27906e46062Sjbeloro	REFPROP _fru_parent /frutree/chassis/MB/system-board/P0/cpu
28006e46062Sjbeloro
28106e46062Sjbeloroname:/platform/SUNW,UltraSPARC-IIIi+@1,0
28206e46062Sjbeloro	REFPROP _fru_parent /frutree/chassis/MB/system-board/P1/cpu
28306e46062Sjbeloro
2845c739e65Sfw157321name:/platform/SUNW,UltraSPARC-IIIi@0,0
2855c739e65Sfw157321	REFPROP _fru_parent /frutree/chassis/MB/system-board/P0/cpu
2865c739e65Sfw157321
2875c739e65Sfw157321name:/platform/SUNW,UltraSPARC-IIIi@1,0
2885c739e65Sfw157321	REFPROP _fru_parent /frutree/chassis/MB/system-board/P1/cpu
28906e46062Sjbeloro/*
29006e46062Sjbeloro * DIMM parents
29106e46062Sjbeloro */
29206e46062Sjbeloroname:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0
29306e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module
29406e46062Sjbeloroname:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1
29506e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module
29606e46062Sjbeloroname:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0
29706e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module
29806e46062Sjbeloroname:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1
29906e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module
30006e46062Sjbeloroname:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0
30106e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module
30206e46062Sjbeloroname:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1
30306e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module
30406e46062Sjbeloroname:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0
30506e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module
30606e46062Sjbeloroname:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1
30706e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module
30806e46062Sjbeloro/*
30906e46062Sjbeloro * create reference properties for motherboard pci devices
31006e46062Sjbeloro */
31106e46062Sjbeloro_class:/jbus/pciex@1e,600000
31206e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
31306e46062Sjbeloro_class:/jbus/pciex@1f,700000
31406e46062Sjbeloro	REFPROP _fru_parent name:/frutree/chassis/MB/system-board
31506e46062Sjbeloro
31606e46062Sjbeloro/*
31706e46062Sjbeloro * Front IO Board 1U
31806e46062Sjbeloro */
31906e46062Sjbeloroname:/frutree/chassis/MB/system-board/FIOB/front-io-board-1
32006e46062Sjbeloro	NODE USB2 location
32106e46062Sjbeloro	    PROP Label string r 0 "USB2"
32206e46062Sjbeloro	ENDNODE
32306e46062Sjbeloro	NODE FLEDB location
32406e46062Sjbeloro	    PROP Label string r 0 "FLEDB"
32506e46062Sjbeloro	    NODE front-led-board fru
32606e46062Sjbeloro	    ENDNODE
32706e46062Sjbeloro	ENDNODE
32806e46062Sjbeloro	NODE FCB0 location
32906e46062Sjbeloro	    PROP Label string r 0 "FCB0"
33006e46062Sjbeloro	    NODE fan-connector-board fru
33106e46062Sjbeloro	    ENDNODE
33206e46062Sjbeloro	ENDNODE
33306e46062Sjbeloro	NODE FCB1 location
33406e46062Sjbeloro	    PROP Label string r 0 "FCB1"
33506e46062Sjbeloro	    NODE fan-connector-board fru
33606e46062Sjbeloro	    ENDNODE
33706e46062Sjbeloro	ENDNODE
33806e46062Sjbeloro
33906e46062Sjbeloro/*
34006e46062Sjbeloro * Front IO Board 2U
34106e46062Sjbeloro */
34206e46062Sjbeloro
34306e46062Sjbeloroname:/frutree/chassis/MB/system-board/FIOB/front-io-board-2
34406e46062Sjbeloro	NODE USB2 location
34506e46062Sjbeloro	    PROP Label string r 0 "USB2"
34606e46062Sjbeloro	ENDNODE
34706e46062Sjbeloro	NODE USB3 location
34806e46062Sjbeloro	    PROP Label string r 0 "USB3"
34906e46062Sjbeloro	ENDNODE
35006e46062Sjbeloro	NODE FLEDB location
35106e46062Sjbeloro	    PROP Label string r 0 "FLEDB"
35206e46062Sjbeloro	    NODE front-led-board fru
35306e46062Sjbeloro	    ENDNODE
35406e46062Sjbeloro	ENDNODE
35506e46062Sjbeloro	NODE FCB0 location
35606e46062Sjbeloro	    PROP Label string r 0 "FCB0"
35706e46062Sjbeloro	    NODE fan-connector-board fru
35806e46062Sjbeloro	    ENDNODE
35906e46062Sjbeloro	ENDNODE
36006e46062Sjbeloro	NODE FCB1 location
36106e46062Sjbeloro	    PROP Label string r 0 "FCB1"
36206e46062Sjbeloro	    NODE fan-connector-board fru
36306e46062Sjbeloro	    ENDNODE
36406e46062Sjbeloro	ENDNODE
36506e46062Sjbeloro
36606e46062Sjbeloro/*
367930176a0Svenki * PDB nodes for 1U and 2U. Note that we should have only one of these
368930176a0Svenki * two nodes for each platform (1U/2U).
369930176a0Svenki */
370930176a0Svenkiname:/frutree/chassis/PDB/power-distribution-board
371930176a0Svenki	REFNODE FT6 location WITH /platform?PlatformName=SUNW,Sun-Fire-V215
372930176a0Svenki	REFNODE HDDFB location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
373930176a0Svenki
374930176a0Svenkiname:/frutree/chassis/PDB/power-distribution-board/HDDFB
375930176a0Svenki	PROP Label string r 0 "HDDFB"
376930176a0Svenki	NODE fan-connector-board fru
377930176a0Svenki	ENDNODE
378930176a0Svenki
379930176a0Svenki/*
38006e46062Sjbeloro * Add dvdrom fru nodes for disks which are present
38106e46062Sjbeloro */
38206e46062Sjbeloroname:/frutree/chassis/MB/system-board/RMD0
38306e46062Sjbeloro	REFNODE removable-media fru WITH name:/platform/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0
38406e46062Sjbeloro
38506e46062Sjbeloro/*
38606e46062Sjbeloro * HDDBP
38706e46062Sjbeloro */
38806e46062Sjbeloroname:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
38906e46062Sjbeloro	NODE HDD0 location
39006e46062Sjbeloro	    PROP SlotType string r 0 "disk-slot"
39106e46062Sjbeloro	    PROP Label string r 0 "HDD0"
39206e46062Sjbeloro	ENDNODE
39306e46062Sjbeloro	NODE HDD1 location
39406e46062Sjbeloro	    PROP SlotType string r 0 "disk-slot"
39506e46062Sjbeloro	    PROP Label string r 0 "HDD1"
39606e46062Sjbeloro	ENDNODE
39706e46062Sjbeloro
39806e46062Sjbeloroname:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
3990dda3b25Ssbhole	PROP FRUDataAvailable void r
40006e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
40106e46062Sjbeloro
40206e46062Sjbeloroname:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
40306e46062Sjbeloro	REFPROP _fru_parent /frutree/chassis/MB/system-board/HDDBP/disk-backplane-1
40406e46062Sjbeloro
40506e46062Sjbeloroname:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
40606e46062Sjbeloro	NODE HDD0 location
40706e46062Sjbeloro	    PROP SlotType string r 0 "disk-slot"
40806e46062Sjbeloro	    PROP Label string r 0 "HDD0"
40906e46062Sjbeloro	ENDNODE
41006e46062Sjbeloro	NODE HDD1 location
41106e46062Sjbeloro	    PROP SlotType string r 0 "disk-slot"
41206e46062Sjbeloro	    PROP Label string r 0 "HDD1"
41306e46062Sjbeloro	ENDNODE
41406e46062Sjbeloro	NODE HDD2 location
41506e46062Sjbeloro	    PROP SlotType string r 0 "disk-slot"
41606e46062Sjbeloro	    PROP Label string r 0 "HDD2"
41706e46062Sjbeloro	ENDNODE
41806e46062Sjbeloro	NODE HDD3 location
41906e46062Sjbeloro	    PROP SlotType string r 0 "disk-slot"
42006e46062Sjbeloro	    PROP Label string r 0 "HDD3"
42106e46062Sjbeloro	ENDNODE
42206e46062Sjbeloro
42306e46062Sjbeloroname:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
4240dda3b25Ssbhole	PROP FRUDataAvailable void r
42506e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
42606e46062Sjbeloro
42706e46062Sjbeloroname:/platform/i2c@1f,530000/sasbp-fru-prom@0,64
42806e46062Sjbeloro	REFPROP _fru_parent /frutree/chassis/MB/system-board/HDDBP/disk-backplane-3
42906e46062Sjbeloro
43006e46062Sjbeloro/* add disk fru nodes for disks which are present */
43106e46062Sjbeloroname:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1/HDD0
43206e46062Sjbeloro	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
43306e46062Sjbeloroname:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-1/HDD1
43406e46062Sjbeloro	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
43506e46062Sjbeloroname:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD0
43606e46062Sjbeloro	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
43706e46062Sjbeloroname:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD1
43806e46062Sjbeloro	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
43906e46062Sjbeloroname:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD2
44006e46062Sjbeloro	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@2,0
44106e46062Sjbeloroname:/frutree/chassis/MB/system-board/HDDBP/disk-backplane-3/HDD3
44206e46062Sjbeloro	REFNODE disk fru WITH name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@3,0
44306e46062Sjbeloro
44406e46062Sjbeloro
445930176a0Svenki/*
446930176a0Svenki * System Fans for Seattle 1U
447930176a0Svenki */
44806e46062Sjbeloro#ifndef FCB0_1U
44906e46062Sjbeloro#define FCB0_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB0/fan-connector-board
45006e46062Sjbeloro#endif
45106e46062Sjbeloro
45206e46062Sjbeloro#ifndef FCB1_1U
45306e46062Sjbeloro#define FCB1_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB1/fan-connector-board
45406e46062Sjbeloro#endif
45506e46062Sjbeloro
456930176a0Svenki#ifndef PDB_1U
457930176a0Svenki#define PDB_1U /frutree/chassis/PDB/power-distribution-board
458930176a0Svenki#endif
459930176a0Svenki
460930176a0Svenki/*
461930176a0Svenki * As per FSD rev 0.19, in Seattle 1U, two fans are integrated into
462930176a0Svenki * a single assembly and share a connector. We assume therefore that
463930176a0Svenki * every fan tray in Seattle 1U contains both fans, so the presence
464930176a0Svenki * of either fan node (under RMCLOMV) is indicative of the presence
465930176a0Svenki * of the containing fan tray. In other words, either we have the
466930176a0Svenki * fan tray with both fans present, or we have no fan tray at all.
467930176a0Svenki */
46806e46062Sjbeloroname:FCB0_1U
46906e46062Sjbeloro    NODE FT0 location
47006e46062Sjbeloro	PROP Label string r 0 "FT0"
471930176a0Svenki	PROP SlotType string r 0 "fan-tray"
472930176a0Svenki	REFNODE fan-tray fru WITH name:RMCLOMV/ft0_f0
47306e46062Sjbeloro    ENDNODE
47406e46062Sjbeloro    NODE FT1 location
47506e46062Sjbeloro	PROP Label string r 0 "FT1"
476930176a0Svenki	PROP SlotType string r 0 "fan-tray"
477930176a0Svenki	REFNODE fan-tray fru WITH name:RMCLOMV/ft1_f0
47806e46062Sjbeloro    ENDNODE
47906e46062Sjbeloro    NODE FT2 location
48006e46062Sjbeloro	PROP Label string r 0 "FT2"
481930176a0Svenki	PROP SlotType string r 0 "fan-tray"
482930176a0Svenki	REFNODE fan-tray fru WITH name:RMCLOMV/ft2_f0
48306e46062Sjbeloro    ENDNODE
48406e46062Sjbeloro
48506e46062Sjbeloroname:FCB1_1U
48606e46062Sjbeloro    NODE FT3 location
48706e46062Sjbeloro	PROP Label string r 0 "FT3"
488930176a0Svenki	PROP SlotType string r 0 "fan-tray"
489930176a0Svenki	REFNODE fan-tray fru WITH name:RMCLOMV/ft3_f0
49006e46062Sjbeloro    ENDNODE
49106e46062Sjbeloro    NODE FT4 location
49206e46062Sjbeloro	PROP Label string r 0 "FT4"
493930176a0Svenki	PROP SlotType string r 0 "fan-tray"
494930176a0Svenki	REFNODE fan-tray fru WITH name:RMCLOMV/ft4_f0
49506e46062Sjbeloro    ENDNODE
49606e46062Sjbeloro    NODE FT5 location
49706e46062Sjbeloro	PROP Label string r 0 "FT5"
498930176a0Svenki	PROP SlotType string r 0 "fan-tray"
499930176a0Svenki	REFNODE fan-tray fru WITH name:RMCLOMV/ft5_f0
500930176a0Svenki    ENDNODE
501930176a0Svenki
502930176a0Svenkiname:PDB_1U/FT6
503930176a0Svenki    PROP Label string r 0 "FT6"
504930176a0Svenki    PROP SlotType string r 0 "fan-tray"
505930176a0Svenki    REFNODE fan-tray fru WITH name:RMCLOMV/pdb_ft6_f0
506930176a0Svenki
507930176a0Svenki/*
508930176a0Svenki * Create fan nodes for Seattle 1U
509930176a0Svenki *
510930176a0Svenki * Note that although we could create the F0 and F1 nodes on each
511930176a0Svenki * tray conditionally, based on the ftN_f0 and ftN_f1 rmclomv nodes,
512930176a0Svenki * it won't add any value; we've already based the creation of the
513930176a0Svenki * fan-tray node to the existence of ftN_f0.
514930176a0Svenki */
515930176a0Svenkiname:FCB0_1U/FT0/fan-tray
51606e46062Sjbeloro    NODE F0 location
51706e46062Sjbeloro	PROP SlotType string r 0 "fan-unit"
51806e46062Sjbeloro	PROP Label string r 0 "F0"
51906e46062Sjbeloro    ENDNODE
52006e46062Sjbeloro    NODE F1 location
52106e46062Sjbeloro	PROP SlotType string r 0 "fan-unit"
52206e46062Sjbeloro	PROP Label string r 0 "F1"
52306e46062Sjbeloro    ENDNODE
524930176a0Svenki
525930176a0Svenkiname:FCB0_1U/FT1/fan-tray
526930176a0Svenki    NODE F0 location
527930176a0Svenki	PROP SlotType string r 0 "fan-unit"
528930176a0Svenki	PROP Label string r 0 "F0"
52906e46062Sjbeloro    ENDNODE
530930176a0Svenki    NODE F1 location
531930176a0Svenki	PROP SlotType string r 0 "fan-unit"
532930176a0Svenki	PROP Label string r 0 "F1"
53306e46062Sjbeloro    ENDNODE
53406e46062Sjbeloro
535930176a0Svenkiname:FCB0_1U/FT2/fan-tray
536930176a0Svenki    NODE F0 location
537930176a0Svenki	PROP SlotType string r 0 "fan-unit"
538930176a0Svenki	PROP Label string r 0 "F0"
539930176a0Svenki    ENDNODE
540930176a0Svenki    NODE F1 location
541930176a0Svenki	PROP SlotType string r 0 "fan-unit"
542930176a0Svenki	PROP Label string r 0 "F1"
543930176a0Svenki    ENDNODE
544930176a0Svenki
545930176a0Svenkiname:FCB1_1U/FT3/fan-tray
546930176a0Svenki    NODE F0 location
547930176a0Svenki	PROP SlotType string r 0 "fan-unit"
548930176a0Svenki	PROP Label string r 0 "F0"
549930176a0Svenki    ENDNODE
550930176a0Svenki    NODE F1 location
551930176a0Svenki	PROP SlotType string r 0 "fan-unit"
552930176a0Svenki	PROP Label string r 0 "F1"
553930176a0Svenki    ENDNODE
554930176a0Svenki
555930176a0Svenkiname:FCB1_1U/FT4/fan-tray
556930176a0Svenki    NODE F0 location
557930176a0Svenki	PROP SlotType string r 0 "fan-unit"
558930176a0Svenki	PROP Label string r 0 "F0"
559930176a0Svenki    ENDNODE
560930176a0Svenki    NODE F1 location
561930176a0Svenki	PROP SlotType string r 0 "fan-unit"
562930176a0Svenki	PROP Label string r 0 "F1"
563930176a0Svenki    ENDNODE
564930176a0Svenki
565930176a0Svenkiname:FCB1_1U/FT5/fan-tray
566930176a0Svenki    NODE F0 location
567930176a0Svenki	PROP SlotType string r 0 "fan-unit"
568930176a0Svenki	PROP Label string r 0 "F0"
569930176a0Svenki    ENDNODE
570930176a0Svenki    NODE F1 location
571930176a0Svenki	PROP SlotType string r 0 "fan-unit"
572930176a0Svenki	PROP Label string r 0 "F1"
573930176a0Svenki    ENDNODE
574930176a0Svenki
575930176a0Svenkiname:PDB_1U/FT6/fan-tray
576930176a0Svenki    NODE F0 location
577930176a0Svenki	PROP SlotType string r 0 "fan-unit"
578930176a0Svenki	PROP Label string r 0 "F0"
579930176a0Svenki    ENDNODE
580930176a0Svenki    NODE F1 location
581930176a0Svenki	PROP SlotType string r 0 "fan-unit"
582930176a0Svenki	PROP Label string r 0 "F1"
583930176a0Svenki    ENDNODE
58406e46062Sjbeloro
58506e46062Sjbeloro/*
586930176a0Svenki * System Fans for Seattle 2U
58706e46062Sjbeloro */
58806e46062Sjbeloro#ifndef FCB0_2U
58906e46062Sjbeloro#define FCB0_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB0/fan-connector-board
59006e46062Sjbeloro#endif
59106e46062Sjbeloro
59206e46062Sjbeloro#ifndef FCB1_2U
59306e46062Sjbeloro#define FCB1_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB1/fan-connector-board
59406e46062Sjbeloro#endif
59506e46062Sjbeloro
596930176a0Svenki#ifndef PDB_2U
597930176a0Svenki#define PDB_2U /frutree/chassis/PDB/power-distribution-board/HDDFB/fan-connector-board
598930176a0Svenki#endif
599930176a0Svenki
600930176a0Svenki/*
601930176a0Svenki * In Seattle 2U, each fan assembly has only one fan (except for the pdb),
602930176a0Svenki * so the presence of f0 is indicative of the presence of the fan tray.
603930176a0Svenki */
60406e46062Sjbeloroname:FCB0_2U
60506e46062Sjbeloro    NODE FT0 location
60606e46062Sjbeloro	PROP Label string r 0 "FT0"
607930176a0Svenki	PROP SlotType string r 0 "fan-tray"
608930176a0Svenki	REFNODE fan-tray fru WITH name:RMCLOMV/ft0_f0
60906e46062Sjbeloro    ENDNODE
61006e46062Sjbeloro    NODE FT1 location
61106e46062Sjbeloro	PROP Label string r 0 "FT1"
612930176a0Svenki	PROP SlotType string r 0 "fan-tray"
613930176a0Svenki	REFNODE fan-tray fru WITH name:RMCLOMV/ft1_f0
61406e46062Sjbeloro    ENDNODE
61506e46062Sjbeloro    NODE FT2 location
61606e46062Sjbeloro	PROP Label string r 0 "FT2"
617930176a0Svenki	PROP SlotType string r 0 "fan-tray"
618930176a0Svenki	REFNODE fan-tray fru WITH name:RMCLOMV/ft2_f0
61906e46062Sjbeloro    ENDNODE
62006e46062Sjbeloro
62106e46062Sjbeloroname:FCB1_2U
62206e46062Sjbeloro    NODE FT3 location
62306e46062Sjbeloro	PROP Label string r 0 "FT3"
624930176a0Svenki	PROP SlotType string r 0 "fan-tray"
625930176a0Svenki	REFNODE fan-tray fru WITH name:RMCLOMV/ft3_f0
62606e46062Sjbeloro    ENDNODE
62706e46062Sjbeloro    NODE FT4 location
62806e46062Sjbeloro	PROP Label string r 0 "FT4"
629930176a0Svenki	PROP SlotType string r 0 "fan-tray"
630930176a0Svenki	REFNODE fan-tray fru WITH name:RMCLOMV/ft4_f0
63106e46062Sjbeloro    ENDNODE
63206e46062Sjbeloro    NODE FT5 location
63306e46062Sjbeloro	PROP Label string r 0 "FT5"
634930176a0Svenki	PROP SlotType string r 0 "fan-tray"
635930176a0Svenki	REFNODE fan-tray fru WITH name:RMCLOMV/ft5_f0
636930176a0Svenki    ENDNODE
637930176a0Svenki
638930176a0Svenkiname:PDB_2U
639930176a0Svenki    NODE FT6 location
640930176a0Svenki	PROP Label string r 0 "FT6"
641930176a0Svenki	PROP SlotType string r 0 "fan-tray"
642930176a0Svenki	REFNODE fan-tray fru WITH name:RMCLOMV/pdb_hddfb_ft6_f0
643930176a0Svenki    ENDNODE
644930176a0Svenki
645930176a0Svenki/*
646930176a0Svenki * Create fan nodes for Seattle 2U
647930176a0Svenki */
648930176a0Svenkiname:FCB0_2U/FT0/fan-tray
64906e46062Sjbeloro    NODE F0 location
65006e46062Sjbeloro	PROP SlotType string r 0 "fan-unit"
65106e46062Sjbeloro	PROP Label string r 0 "F0"
65206e46062Sjbeloro    ENDNODE
653930176a0Svenki
654930176a0Svenkiname:FCB0_2U/FT1/fan-tray
655930176a0Svenki    NODE F0 location
656930176a0Svenki	PROP SlotType string r 0 "fan-unit"
657930176a0Svenki	PROP Label string r 0 "F0"
65806e46062Sjbeloro    ENDNODE
65906e46062Sjbeloro
660930176a0Svenkiname:FCB0_2U/FT2/fan-tray
661930176a0Svenki    NODE F0 location
662930176a0Svenki	PROP SlotType string r 0 "fan-unit"
663930176a0Svenki	PROP Label string r 0 "F0"
664930176a0Svenki    ENDNODE
665930176a0Svenki
666930176a0Svenkiname:FCB1_2U/FT3/fan-tray
667930176a0Svenki    NODE F0 location
668930176a0Svenki	PROP SlotType string r 0 "fan-unit"
669930176a0Svenki	PROP Label string r 0 "F0"
670930176a0Svenki    ENDNODE
671930176a0Svenki
672930176a0Svenkiname:FCB1_2U/FT4/fan-tray
673930176a0Svenki    NODE F0 location
674930176a0Svenki	PROP SlotType string r 0 "fan-unit"
675930176a0Svenki	PROP Label string r 0 "F0"
676930176a0Svenki    ENDNODE
677930176a0Svenki
678930176a0Svenkiname:FCB1_2U/FT5/fan-tray
679930176a0Svenki    NODE F0 location
680930176a0Svenki	PROP SlotType string r 0 "fan-unit"
681930176a0Svenki	PROP Label string r 0 "F0"
682930176a0Svenki    ENDNODE
683930176a0Svenki
684930176a0Svenkiname:PDB_2U/FT6/fan-tray
685930176a0Svenki    NODE F0 location
686930176a0Svenki	PROP SlotType string r 0 "fan-unit"
687930176a0Svenki	PROP Label string r 0 "F0"
688930176a0Svenki    ENDNODE
689930176a0Svenki    NODE F1 location
690930176a0Svenki	PROP SlotType string r 0 "fan-unit"
691930176a0Svenki	PROP Label string r 0 "F1"
692930176a0Svenki    ENDNODE
69306e46062Sjbeloro
69406e46062Sjbeloro/*
69506e46062Sjbeloro * PCI Riser Card Right
69606e46062Sjbeloro */
69706e46062Sjbeloro
69806e46062Sjbeloro#ifndef PCI_R
69906e46062Sjbeloro#define PCI_R /frutree/chassis/MB/system-board/RISER-RIGHT
70006e46062Sjbeloro#endif
70106e46062Sjbeloro
70206e46062Sjbeloroname:PCI_R
70306e46062Sjbeloro	REFNODE pci-riser-board fru WITH name:/platform/i2c@1f,530000/riser-fru-prom@0,aa
70406e46062Sjbeloro
70506e46062Sjbeloroname:PCI_R/pci-riser-board
70606e46062Sjbeloro	PROP FRUDataAvailable void r
70706e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/riser-fru-prom@0,aa
70806e46062Sjbeloro	NODE PCI0 location
70906e46062Sjbeloro	    PROP Label string r 0 "PCI0"
71006e46062Sjbeloro	    PROP SlotType string r 0 "pci-e"
71106e46062Sjbeloro	ENDNODE
71206e46062Sjbeloro	REFNODE PCI2 location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
71306e46062Sjbeloro
71406e46062Sjbeloroname:/platform/i2c@1f,530000/riser-fru-prom@0,aa
71506e46062Sjbeloro	REFPROP _fru_parent PCI_R/pci-riser-board
71606e46062Sjbeloro
71706e46062Sjbeloroname:PCI_R/pci-riser-board/PCI2
71806e46062Sjbeloro	PROP Label string r 0 "PCI2"
71906e46062Sjbeloro	PROP SlotType string r 0 "pci-e"
72006e46062Sjbeloro
72106e46062Sjbeloro/*
72206e46062Sjbeloro * PCI Riser Card Left
72306e46062Sjbeloro */
72406e46062Sjbeloro
72506e46062Sjbeloro#ifndef PCI_L
72606e46062Sjbeloro#define PCI_L /frutree/chassis/MB/system-board/RISER-LEFT
72706e46062Sjbeloro#endif
72806e46062Sjbeloro
72906e46062Sjbeloroname:PCI_L
73006e46062Sjbeloro	REFNODE pci-riser-board fru WITH name:/platform/i2c@1f,530000/riser-fru-prom@0,a8
73106e46062Sjbeloro
73206e46062Sjbeloroname:PCI_L/pci-riser-board
73306e46062Sjbeloro	PROP FRUDataAvailable void r
73406e46062Sjbeloro	REFPROP _seeprom_source name:/platform/i2c@1f,530000/riser-fru-prom@0,a8
73506e46062Sjbeloro
73606e46062Sjbeloroname:/platform/i2c@1f,530000/riser-fru-prom@0,a8
73706e46062Sjbeloro	REFPROP _fru_parent PCI_L/pci-riser-board
73806e46062Sjbeloro
7390dda3b25Ssbholename:PCI_L/pci-riser-board
7400dda3b25Ssbhole	REFNODE PCI1 location WITH /platform?PlatformName=SUNW,Sun-Fire-V215
7410dda3b25Ssbhole
7420dda3b25Ssbholename:PCI_L/pci-riser-board/PCI1
7430dda3b25Ssbhole	PROP Label string r 0 "PCI1"
7440dda3b25Ssbhole	PROP SlotType string r 0 "pci-x-e"
7450dda3b25Ssbhole	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/picl?DeviceID=0
746815136c3Svenki	REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl?DeviceID=1
7470dda3b25Ssbhole
7480dda3b25Ssbholename:PCI_L/pci-riser-board
7490dda3b25Ssbhole	REFNODE PCI1 location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
7500dda3b25Ssbhole	REFNODE PCI3 location WITH /platform?PlatformName=SUNW,Sun-Fire-V245
7510dda3b25Ssbhole
75206e46062Sjbeloroname:PCI_L/pci-riser-board/PCI3
75306e46062Sjbeloro	PROP Label string r 0 "PCI3"
75406e46062Sjbeloro	PROP SlotType string r 0 "pci-x-e"
7550dda3b25Ssbhole	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl?DeviceID=0
756815136c3Svenki	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pci@0/picl?DeviceID=2
7570dda3b25Ssbhole
7580dda3b25Ssbholename:PCI_L/pci-riser-board/PCI1
7590dda3b25Ssbhole	PROP Label string r 0 "PCI1"
7600dda3b25Ssbhole	PROP SlotType string r 0 "pci-x-e"
7610dda3b25Ssbhole	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl?DeviceID=0
762815136c3Svenki	REFNODE pci-card fru WITH _class:/jbus/pciex@1f,700000/pci@0,2/picl?DeviceID=1
76306e46062Sjbeloro
76406e46062Sjbeloro/*
7650dda3b25Ssbhole * Populate PCI_R slots
76606e46062Sjbeloro */
76706e46062Sjbeloroname:PCI_R/pci-riser-board/PCI0
76806e46062Sjbeloro	REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl?DeviceID=0
76906e46062Sjbeloroname:PCI_R/pci-riser-board/PCI2
77006e46062Sjbeloro	REFNODE pci-card fru WITH _class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl?DeviceID=0
77106e46062Sjbeloro
77206e46062Sjbeloro/*
77306e46062Sjbeloro * _fru_parent PCIEX devices
77406e46062Sjbeloro */
775815136c3Svenki
776815136c3Svenki/* 1UEER, 2UEER: PCI0 */
777*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0
778*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
779*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,0
780*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
781*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,1
782*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
783*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,2
784*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
785*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,3
786*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
787*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,4
788*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
789*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,5
790*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
791*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,6
792*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
793*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@8/picl@0,7
79406e46062SjbeloroREFPROP _fru_parent PCI_R/pci-riser-board/PCI0/pci-card
79506e46062Sjbeloro
796815136c3Svenki/* 2UEER: PCI2 */
797*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0
798*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
799*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,0
800*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
801*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,1
802*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
803*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,2
804*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
805*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,3
806*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
807*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,4
808*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
809*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,5
810*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
811*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,6
812*abf8481bSvenkiREFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
813*abf8481bSvenki_class:/jbus/pciex@1e,600000/pciex@0/pciex@2/picl@0,7
81406e46062SjbeloroREFPROP _fru_parent PCI_R/pci-riser-board/PCI2/pci-card
81506e46062Sjbeloro
816815136c3Svenki/* 1UEEL: PCI1 */
817*abf8481bSvenki_class:/jbus/pciex@1f,700000/picl@0
818*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
819*abf8481bSvenki_class:/jbus/pciex@1f,700000/picl@0,0
820*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
821*abf8481bSvenki_class:/jbus/pciex@1f,700000/picl@0,1
822*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
823*abf8481bSvenki_class:/jbus/pciex@1f,700000/picl@0,2
824*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
825*abf8481bSvenki_class:/jbus/pciex@1f,700000/picl@0,3
826*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
827*abf8481bSvenki_class:/jbus/pciex@1f,700000/picl@0,4
828*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
829*abf8481bSvenki_class:/jbus/pciex@1f,700000/picl@0,5
830*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
831*abf8481bSvenki_class:/jbus/pciex@1f,700000/picl@0,6
832*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
833*abf8481bSvenki_class:/jbus/pciex@1f,700000/picl@0,7
83406e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
835815136c3Svenki
836*abf8481bSvenki/* 2UEEL: PCI1 */
837*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0
83806e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
839*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,0
840*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
841*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,1
842*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
843*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,2
844*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
845*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,3
846*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
847*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,4
848*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
849*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,5
850*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
851*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,6
852*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
853*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@9/picl@0,7
854*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
855*abf8481bSvenki
856*abf8481bSvenki/* 2UEEL: PCI3 */
857*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0
858*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
859*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,0
860*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
861*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,1
862*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
863*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,2
864*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
865*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,3
866*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
867*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,4
868*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
869*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,5
870*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
871*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,6
872*abf8481bSvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
873*abf8481bSvenki_class:/jbus/pciex@1f,700000/pciex@0/pciex@8/picl@0,7
87406e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
87506e46062Sjbeloro
87606e46062Sjbeloro/*
87706e46062Sjbeloro * _fru_parent PCI-X devices
87806e46062Sjbeloro */
879815136c3Svenki
880815136c3Svenki/* 1UXXL: PCI1 */
881d8260c51Sfw157321_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1
88206e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
883d8260c51Sfw157321_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,0
88406e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
885d8260c51Sfw157321_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,1
88606e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
887d8260c51Sfw157321_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,2
88806e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
889d8260c51Sfw157321_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,3
89006e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
891d8260c51Sfw157321_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,4
89206e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
893d8260c51Sfw157321_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,5
89406e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
895d8260c51Sfw157321_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,6
89606e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
897d8260c51Sfw157321_class:/jbus/pciex@1e,600000/pciex@0/pciex@9/pci@0/pci@8/picl@1,7
89806e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
89906e46062Sjbeloro
900815136c3Svenki/* 2UEXL-I: PCI1 */
901815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0,2/picl@1
902815136c3SvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
903815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0,2/picl@1,0
904815136c3SvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
905815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0,2/picl@1,1
906815136c3SvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
907815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0,2/picl@1,2
908815136c3SvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
909815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0,2/picl@1,3
910815136c3SvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
911815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0,2/picl@1,4
912815136c3SvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
913815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0,2/picl@1,5
914815136c3SvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
915815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0,2/picl@1,6
916815136c3SvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
917815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0,2/picl@1,7
918815136c3SvenkiREFPROP _fru_parent PCI_L/pci-riser-board/PCI1/pci-card
919815136c3Svenki
920815136c3Svenki/* 2UEXL-I: PCI3 */
921815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0/picl@2
92206e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
923815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0/picl@2,0
92406e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
925815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0/picl@2,1
92606e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
927815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0/picl@2,2
92806e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
929815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0/picl@2,3
93006e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
931815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0/picl@2,4
93206e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
933815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0/picl@2,5
93406e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
935815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0/picl@2,6
93606e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
937815136c3Svenki_class:/jbus/pciex@1f,700000/pci@0/picl@2,7
93806e46062SjbeloroREFPROP _fru_parent PCI_L/pci-riser-board/PCI3/pci-card
939