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 * supported prop types: void, int, uint, float, string 2906e46062Sjbeloro * supported prop access_modes: r, w, rw 3006e46062Sjbeloro * 3106e46062Sjbeloro * VERSION <version_number> -- supported version number is 1.0 3206e46062Sjbeloro * 3306e46062Sjbeloro * name:<namepath> -- gives the anchor node 3406e46062Sjbeloro * where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>] 3506e46062Sjbeloro * 3606e46062Sjbeloro * _class:<classpath> -- gives the anchor node 3706e46062Sjbeloro * where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>] 3806e46062Sjbeloro * 3906e46062Sjbeloro * NODE <name> <class> 4006e46062Sjbeloro * {describes a subtree} 4106e46062Sjbeloro * ENDNODE 4206e46062Sjbeloro * 4306e46062Sjbeloro * PROP <name> <type> <access_mode> [<size> <value>] -- per property 4406e46062Sjbeloro * 4506e46062Sjbeloro * REFPROP <name> <dstnode> 4606e46062Sjbeloro * 4706e46062Sjbeloro * REFNODE <name> <class> with <destnode> -- Associates a new node 4806e46062Sjbeloro * with <destnode> if exists 4906e46062Sjbeloro * where 5006e46062Sjbeloro * <name> is the nodename 5106e46062Sjbeloro * <class> is the picl class. 5206e46062Sjbeloro * <destnode> is name:<namepath> or _class:<classpath> 5306e46062Sjbeloro * 5406e46062Sjbeloro * If "name:" or "_class:" is not specified in the <path>, 5506e46062Sjbeloro * the default is "name:" 5606e46062Sjbeloro * 5706e46062Sjbeloro */ 5806e46062Sjbeloro 5906e46062Sjbeloro/* 6006e46062Sjbeloro * define a macro to force a #ident line into the output stream 6106e46062Sjbeloro * otherwise cpp removes it. Use #ifndef because of #included definitions. 6206e46062Sjbeloro */ 6306e46062Sjbeloro#ifndef id 6406e46062Sjbeloro#define id(s) #ident s 6506e46062Sjbeloro#endif 6606e46062Sjbeloroid("%Z%%M% %I% %E% SMI") 6706e46062Sjbeloro 6806e46062Sjbeloro/* 6906e46062Sjbeloro * There are a lot of nodes below the rmclomv node, define a shortname 7006e46062Sjbeloro */ 7106e46062Sjbeloro#define RMCLOMV /platform/ebus@1f,464000/rmc-comm@2,0/SUNW,rmclomv 7206e46062Sjbeloro 7306e46062Sjbeloro 7406e46062SjbeloroVERSION 1.1 7506e46062SjbeloroVERBOSE 1 7606e46062SjbeloroNODE frutree picl 7706e46062Sjbeloro NODE chassis fru 7806e46062Sjbeloro /* 7906e46062Sjbeloro * SunMC physical view view_points for this platform 8006e46062Sjbeloro * This will get moved to a separate SunMC physical view plugin later. 8106e46062Sjbeloro */ 8206e46062Sjbeloro PROP ViewPoints string r 0 "front rear side" 8306e46062Sjbeloro NODE MB location 8406e46062Sjbeloro PROP SlotType string r 0 "system-board" 8506e46062Sjbeloro PROP Label string r 0 "MB" 8606e46062Sjbeloro ENDNODE 8706e46062Sjbeloro NODE PS0 location 8806e46062Sjbeloro PROP SlotType string r 0 "power-supply" 8906e46062Sjbeloro PROP Label string r 0 "PS0" 9006e46062Sjbeloro ENDNODE 910dda3b25Ssbhole NODE PS1 location 920dda3b25Ssbhole PROP SlotType string r 0 "power-supply" 930dda3b25Ssbhole PROP Label string r 0 "PS1" 940dda3b25Ssbhole ENDNODE 9506e46062Sjbeloro NODE PDB location 9606e46062Sjbeloro PROP SlotType string r 0 "PDB" 9706e46062Sjbeloro PROP Label string r 0 "PDB" 9806e46062Sjbeloro ENDNODE 9906e46062Sjbeloro NODE SYSCTRL location 10006e46062Sjbeloro PROP Label string r 0 "SYSCTRL" 10106e46062Sjbeloro ENDNODE 10206e46062Sjbeloro ENDNODE 10306e46062SjbeloroENDNODE 10406e46062Sjbeloro 10506e46062Sjbeloro/* 10606e46062Sjbeloro * add power-supply nodes if their fru-proms are visible 10706e46062Sjbeloro */ 10806e46062Sjbeloroname:/frutree/chassis/PS0 10906e46062Sjbeloro REFNODE power-supply fru WITH name:/platform/i2c@1f,530000/power-supply-fru-prom@0,6c 11006e46062Sjbeloroname:/frutree/chassis/PS1 11106e46062Sjbeloro REFNODE power-supply fru WITH name:/platform/i2c@1f,530000/power-supply-fru-prom@0,6e 11206e46062Sjbeloro 11306e46062Sjbeloro/* chassis fruid prom */ 11406e46062Sjbeloroname:/frutree/chassis/PDB 115*930176a0Svenki REFNODE power-distribution-board fru WITH name:/platform/i2c@1f,530000/pdb-fru-prom@0,32 11606e46062Sjbeloro 11706e46062Sjbeloroname:/frutree/chassis/PDB/power-distribution-board 11806e46062Sjbeloro PROP FRUDataAvailable void r 119*930176a0Svenki REFPROP _seeprom_source name:/platform/i2c@1f,530000/pdb-fru-prom@0,32 12006e46062Sjbeloro 121*930176a0Svenkiname:/platform/i2c@1f,530000/pdb-fru-prom@0,32 12206e46062Sjbeloro REFPROP _fru_parent /frutree/chassis/PDB/power-distribution-board 12306e46062Sjbeloro 12406e46062Sjbeloro#include "system-board.info" 12506e46062Sjbeloro#include <fru_SC_data.info> 12606e46062Sjbeloro#include <SB-tables.info> 127