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 (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 * or http://www.opensolaris.org/os/licensing. 10 * See the License for the specific language governing permissions 11 * and limitations under the License. 12 * 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 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 59/* 60 * define a macro to force a #ident line into the output stream 61 * otherwise cpp removes it. Use #ifndef because of #included definitions. 62 */ 63#ifndef id 64#define id(s) #ident s 65#endif 66id("%Z%%M% %I% %E% SMI") 67 68/* 69 * There are a lot of nodes below the rmclomv node, define a shortname 70 */ 71#define RMCLOMV /platform/ebus@1f,464000/rmc-comm@2,0/SUNW,rmclomv 72 73 74VERSION 1.1 75VERBOSE 1 76NODE frutree picl 77 NODE chassis fru 78 /* 79 * SunMC physical view view_points for this platform 80 * This will get moved to a separate SunMC physical view plugin later. 81 */ 82 PROP ViewPoints string r 0 "front rear side" 83 NODE MB location 84 PROP SlotType string r 0 "system-board" 85 PROP Label string r 0 "MB" 86 ENDNODE 87 NODE PS0 location 88 PROP SlotType string r 0 "power-supply" 89 PROP Label string r 0 "PS0" 90 ENDNODE 91 REFNODE PS1 location WITH /platform?PlatformName=SUNW,Sun-Fire-V245 92 NODE PDB location 93 PROP SlotType string r 0 "PDB" 94 PROP Label string r 0 "PDB" 95 ENDNODE 96 NODE SYSCTRL location 97 PROP Label string r 0 "SYSCTRL" 98 ENDNODE 99 ENDNODE 100ENDNODE 101 102/* 103 * add power-supply nodes if their fru-proms are visible 104 */ 105name:/frutree/chassis/PS0 106 REFNODE power-supply fru WITH name:/platform/i2c@1f,530000/power-supply-fru-prom@0,6c 107name:/frutree/chassis/PS1 108 REFNODE power-supply fru WITH name:/platform/i2c@1f,530000/power-supply-fru-prom@0,6e 109 110/* 111 * add properties to 2u locations 112 */ 113 114/* extra power supply */ 115name:/frutree/chassis/PS1 116 PROP SlotType string r 0 "power-supply" 117 PROP Label string r 0 "PS1" 118 119/* chassis fruid prom */ 120name:/frutree/chassis/PDB 121 REFNODE power-distribution-board fru WITH name:/platform/i2c@1f,530000/pdb-fru-prom@0,62 122 123name:/frutree/chassis/PDB/power-distribution-board 124 PROP FRUDataAvailable void r 125 REFPROP _seeprom_source name:/platform/i2c@1f,530000/pdb-fru-prom@0,62 126 127name:/platform/i2c@1f,530000/pdb-fru-prom@0,62 128 REFPROP _fru_parent /frutree/chassis/PDB/power-distribution-board 129 130#include "system-board.info" 131#include <fru_SC_data.info> 132#include <SB-tables.info> 133