17c478bd9Sstevel@tonic-gate/*
27c478bd9Sstevel@tonic-gate * CDDL HEADER START
37c478bd9Sstevel@tonic-gate *
47c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the
5*f1c64bc0Smb * Common Development and Distribution License (the "License").
6*f1c64bc0Smb * You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate *
87c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate * and limitations under the License.
127c478bd9Sstevel@tonic-gate *
137c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate *
197c478bd9Sstevel@tonic-gate * CDDL HEADER END
207c478bd9Sstevel@tonic-gate */
217c478bd9Sstevel@tonic-gate/*
22*f1c64bc0Smb * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
237c478bd9Sstevel@tonic-gate * Use is subject to license terms.
247c478bd9Sstevel@tonic-gate *
257c478bd9Sstevel@tonic-gate * # ident	"%Z%%M%	%I%	%E% SMI"
267c478bd9Sstevel@tonic-gate *
277c478bd9Sstevel@tonic-gate * supported prop types: void, int, uint, float, string
287c478bd9Sstevel@tonic-gate * supported prop access_modes: r, w, rw
297c478bd9Sstevel@tonic-gate *
307c478bd9Sstevel@tonic-gate * VERSION <version_number>  -- supported version number is 1.0
317c478bd9Sstevel@tonic-gate *
327c478bd9Sstevel@tonic-gate * name:<namepath> --     gives the anchor node
337c478bd9Sstevel@tonic-gate *      where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>]
347c478bd9Sstevel@tonic-gate *
357c478bd9Sstevel@tonic-gate * _class:<classpath> --   gives the anchor node
367c478bd9Sstevel@tonic-gate *      where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>]
377c478bd9Sstevel@tonic-gate *
387c478bd9Sstevel@tonic-gate * NODE <name> <class>
397c478bd9Sstevel@tonic-gate *       {describes a subtree}
407c478bd9Sstevel@tonic-gate * ENDNODE
417c478bd9Sstevel@tonic-gate *
427c478bd9Sstevel@tonic-gate * PROP <name> <type> <access_mode> [<size> <value>] -- per property
437c478bd9Sstevel@tonic-gate *
447c478bd9Sstevel@tonic-gate * REFPROP <name> <dstnode>
457c478bd9Sstevel@tonic-gate *
467c478bd9Sstevel@tonic-gate * REFNODE <name> <class> with <destnode> -- Associates a new node
477c478bd9Sstevel@tonic-gate *       with <destnode> if exists
487c478bd9Sstevel@tonic-gate *       where
497c478bd9Sstevel@tonic-gate *             <name> is the nodename
507c478bd9Sstevel@tonic-gate *             <class> is the picl class.
517c478bd9Sstevel@tonic-gate *             <destnode> is name:<namepath> or _class:<classpath>
527c478bd9Sstevel@tonic-gate *
537c478bd9Sstevel@tonic-gate * If "name:" or "_class:" is not specified in the <path>,
547c478bd9Sstevel@tonic-gate * the default is "name:"
557c478bd9Sstevel@tonic-gate *
567c478bd9Sstevel@tonic-gate */
577c478bd9Sstevel@tonic-gate
587c478bd9Sstevel@tonic-gate#define PLATFORM_CLASS	jbus
597c478bd9Sstevel@tonic-gate
607c478bd9Sstevel@tonic-gateVERSION 1.1
617c478bd9Sstevel@tonic-gateNODE frutree picl
627c478bd9Sstevel@tonic-gate    NODE chassis fru
637c478bd9Sstevel@tonic-gate	/*
647c478bd9Sstevel@tonic-gate 	 * SunMC physical view view_points for this platform
657c478bd9Sstevel@tonic-gate 	 * This will get moved to a separate SunMC physical view plugin later.
667c478bd9Sstevel@tonic-gate 	 */
677c478bd9Sstevel@tonic-gate    	PROP ViewPoints string r 0 "front rear side"
687c478bd9Sstevel@tonic-gate	    NODE MB location
697c478bd9Sstevel@tonic-gate		PROP SlotType string r 0 "system-board"
707c478bd9Sstevel@tonic-gate		PROP Label string r 0 "MB"
717c478bd9Sstevel@tonic-gate	    ENDNODE
727c478bd9Sstevel@tonic-gate	    NODE F0 location
737c478bd9Sstevel@tonic-gate	        PROP SlotType string r 0 "fan-unit"
747c478bd9Sstevel@tonic-gate	        PROP Label string r 0 "F0"
757c478bd9Sstevel@tonic-gate        	    NODE intake-fan fru
767c478bd9Sstevel@tonic-gate        	    ENDNODE
777c478bd9Sstevel@tonic-gate	    ENDNODE
787c478bd9Sstevel@tonic-gate            NODE F1 location
797c478bd9Sstevel@tonic-gate                PROP SlotType string r 0 "fan-unit"
807c478bd9Sstevel@tonic-gate                PROP Label string r 0 "F1"
817c478bd9Sstevel@tonic-gate            ENDNODE
827c478bd9Sstevel@tonic-gate            NODE F2 location
837c478bd9Sstevel@tonic-gate                PROP SlotType string r 0 "fan-unit"
847c478bd9Sstevel@tonic-gate                PROP Label string r 0 "F2"
857c478bd9Sstevel@tonic-gate            ENDNODE
867c478bd9Sstevel@tonic-gate	    NODE F3 location
877c478bd9Sstevel@tonic-gate	        PROP SlotType string r 0 "fan-unit"
887c478bd9Sstevel@tonic-gate	        PROP Label string r 0 "F3"
897c478bd9Sstevel@tonic-gate        	    NODE outtake-fan fru
907c478bd9Sstevel@tonic-gate        	    ENDNODE
917c478bd9Sstevel@tonic-gate	    ENDNODE
927c478bd9Sstevel@tonic-gate	    NODE PS0 location
937c478bd9Sstevel@tonic-gate	        PROP SlotType string r 0 "power-supply"
947c478bd9Sstevel@tonic-gate	        PROP Label string r 0 "PS0"
957c478bd9Sstevel@tonic-gate        	    NODE power-supply fru
967c478bd9Sstevel@tonic-gate        	    ENDNODE
977c478bd9Sstevel@tonic-gate	    ENDNODE
987c478bd9Sstevel@tonic-gate	    NODE SCSI-BP fru
997c478bd9Sstevel@tonic-gate	    	PROP FRUDataAvailable void r
1007c478bd9Sstevel@tonic-gate	    	REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/scsi-backplane-fru-prom
1017c478bd9Sstevel@tonic-gate	    	NODE HDD0 location
1027c478bd9Sstevel@tonic-gate		    PROP SlotType string r 0 "disk-slot"
1037c478bd9Sstevel@tonic-gate		    PROP Label string r 0 "HDD0"
1047c478bd9Sstevel@tonic-gate	    	ENDNODE
1057c478bd9Sstevel@tonic-gate	    	NODE HDD1 location
1067c478bd9Sstevel@tonic-gate		    PROP SlotType string r 0 "disk-slot"
1077c478bd9Sstevel@tonic-gate		    PROP Label string r 0 "HDD1"
1087c478bd9Sstevel@tonic-gate	    	ENDNODE
1097c478bd9Sstevel@tonic-gate	    ENDNODE
1107c478bd9Sstevel@tonic-gate            NODE RM0 location
1117c478bd9Sstevel@tonic-gate                PROP SlotType string r 0 "cdrom-slot"
1127c478bd9Sstevel@tonic-gate                PROP Label string r 0 "RM0"
1137c478bd9Sstevel@tonic-gate            ENDNODE
1147c478bd9Sstevel@tonic-gate    ENDNODE
1157c478bd9Sstevel@tonic-gateENDNODE
1167c478bd9Sstevel@tonic-gate
117*f1c64bc0Smb/* add cpu fan fru nodes for cpus which are present */
118*f1c64bc0Smbname:/frutree/chassis/F1
119*f1c64bc0SmbREFNODE cpu0-fan fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/cpu0-fan
120*f1c64bc0Smb
121*f1c64bc0Smbname:/frutree/chassis/F2
122*f1c64bc0SmbREFNODE cpu1-fan fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/hardware-monitor@0,58/cpu1-fan
123*f1c64bc0Smb
1247c478bd9Sstevel@tonic-gate/* add disk fru nodes for disks which are present */
1257c478bd9Sstevel@tonic-gatename:/frutree/chassis/SCSI-BP/HDD0
1267c478bd9Sstevel@tonic-gate        REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@0,0
1277c478bd9Sstevel@tonic-gatename:/frutree/chassis/SCSI-BP/HDD1
1287c478bd9Sstevel@tonic-gate        REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@1,0
1297c478bd9Sstevel@tonic-gatename:/frutree/chassis/RM0
1307c478bd9Sstevel@tonic-gate        REFNODE cdrom fru WITH name:/platform/pci@1e,600000/ide@d/sd@2,0
1317c478bd9Sstevel@tonic-gate
1327c478bd9Sstevel@tonic-gatename:/frutree/chassis/MB
1337c478bd9Sstevel@tonic-gate#include "system-board.info"
1347c478bd9Sstevel@tonic-gate
135