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 2006 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 27/* 28 * ident "%Z%%M% %I% %E% SMI" 29 * 30 * supported prop types: void, int, uint, float, string 31 * supported prop access_modes: r, w, rw 32 * 33 * VERSION <version_number> -- supported version number is 1.0 34 * 35 * name:<namepath> -- gives the anchor node 36 * where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>] 37 * 38 * _class:<classpath> -- gives the anchor node 39 * where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>] 40 * 41 * NODE <name> <class> 42 * {describes a subtree} 43 * ENDNODE 44 * 45 * PROP <name> <type> <access_mode> [<size> <value>] -- per property 46 * 47 * REFPROP <name> <dstnode> 48 * 49 * REFNODE <name> <class> with <destnode> -- Associates a new node 50 * with <destnode> if exists 51 * where 52 * <name> is the nodename 53 * <class> is the picl class. 54 * <destnode> is name:<namepath> or _class:<classpath> 55 * 56 * If "name:" or "_class:" is not specified in the <path>, 57 * the default is "name:" 58 * 59 * This file captures all of the location and fru parents for the 60 * sensors and led's in the system, whose state is learned from 61 * ALOM via rmclomv. 62 */ 63 64/* 65 * define a macro to force a #ident line into the output stream 66 * otherwise cpp removes it. Use #ifndef because of #included definitions. 67 */ 68#ifndef id 69#define id(s) #ident s 70#endif 71id("%Z%%M% %I% %E% SMI") 72 73/* 74 * There are a lot of nodes below the rmclomv node, define a shortname 75 */ 76 77#ifndef RMCLOMV 78#define RMCLOMV /platform/ebus@1f,464000/rmc-comm@0,c28000/SUNW,rmclomv 79#endif 80 81/* 82 * fru/location parents and device tables for the disks and their 83 * associated sensors 84 */ 85#include "fru_HDD0_data.info" 86#include "fru_HDD1_data.info" 87#include "fru_HDD2_data.info" 88#include "fru_HDD3_data.info" 89#include "fru_HDD4_data.info" 90#include "fru_HDD5_data.info" 91#include "fru_HDD6_data.info" 92#include "fru_HDD7_data.info" 93 94/* 95 * fru/location parents and device tables for the power supplies 96 */ 97#include "fru_PS0_data.info" 98#include "fru_PS1_data.info" 99#include "fru_PS2_data.info" 100#include "fru_PS3_data.info" 101 102/* 103 * usb ports 104 */ 105#include "fru_usb-a-1_data.info" 106#include "fru_usb-a-2_data.info" 107#include "fru_usb-a-3_data.info" 108#include "fru_usb-a-4_data.info" 109 110/* 111 * fans 112 */ 113#include "fru_FT0_data.info" 114#include "fru_FT1_data.info" 115#include "fru_FT2_data.info" 116#include "fru_FT3_data.info" 117#include "fru_FT4_data.info" 118#include "fru_FT5_data.info" 119 120/* 121 * parents for system leds 122 */ 123name:RMCLOMV/sys_act 124 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 125name:RMCLOMV/sys_service 126 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 127name:RMCLOMV/sys_locate 128 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 129 PROP IsLocator string r 0 "true" 130 PROP LocatorName string r 0 "system" 131 PROP LocatorOn string r 0 "blinking" 132name:RMCLOMV/sys_fanfail 133 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 134name:RMCLOMV/sys_psfail 135 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 136name:RMCLOMV/sys_overtemp 137 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 138 139/* 140 * parents for fan-fault led's 141 */ 142name:RMCLOMV/ft0_f0_fault 143 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 144name:RMCLOMV/ft1_f0_fault 145 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 146name:RMCLOMV/ft2_f0_fault 147 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 148name:RMCLOMV/ft3_f0_fault 149 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 150name:RMCLOMV/ft4_f0_fault 151 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 152name:RMCLOMV/ft5_f0_fault 153 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 154 155/* 156 * keyswitch parent 157 */ 158name:RMCLOMV/keyswitch 159 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/SC/service-processor 160 PROP Label string r 0 "SYSCTRL" 161 162/* 163 * chassis serial number parent 164 */ 165 166name:RMCLOMV/chassis_serial_number 167 REFPROP _fru_parent name:/frutree/chassis 168 PROP Label string r 0 "CHASSISSERIAL" 169 170/* 171 * fru parents for motherboard sensors 172 */ 173name:RMCLOMV/mb_v_+1v0 174 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 175name:RMCLOMV/mb_v_+1v2 176 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 177name:RMCLOMV/mb_v_+1v5 178 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 179name:RMCLOMV/mb_v_+1v8 180 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 181name:RMCLOMV/mb_v_+2v5 182 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 183name:RMCLOMV/mb_v_+3v3 184 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 185name:RMCLOMV/mb_v_+3v3stby 186 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 187name:RMCLOMV/mb_v_+5v 188 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 189name:RMCLOMV/mb_v_+12v 190 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 191name:RMCLOMV/mb_v_-12v 192 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 193name:RMCLOMV/mb_i_usb0 194 REFPROP _location_parent name:/frutree/chassis/MB/system-board/USB0 195name:RMCLOMV/mb_i_usb1 196 REFPROP _location_parent name:/frutree/chassis/MB/system-board/USB1 197name:RMCLOMV/fire_t_core 198 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 199name:RMCLOMV/mb_t_amb 200 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 201name:RMCLOMV/mb_io_t_amb 202 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 203name:RMCLOMV/mb_ff_pok 204 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 205 206/* 207 * fru parents for front IO board sensors 208 */ 209name:RMCLOMV/fiob_i_usb2 210 REFPROP _location_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/USB2 211name:RMCLOMV/fiob_i_usb3 212 REFPROP _location_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/USB3 213name:RMCLOMV/fiob_t_amb 214 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board 215 216/* 217 * fru parent for SC battery 218 */ 219name:RMCLOMV/sc_bat_v_bat 220 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/SC/service-processor/BATTERY/battery 221 222/* 223 * parents for CPU board and CPU die sensors 224 */ 225name:RMCLOMV/c0_t_amb 226 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C0/cpu-module 227name:RMCLOMV/c0_p0_ff_pok 228 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C0/cpu-module 229name:RMCLOMV/c0_p0_t_core 230 REFPROP _location_parent name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu 231 232name:RMCLOMV/c1_t_amb 233 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C1/cpu-module 234name:RMCLOMV/c1_p0_ff_pok 235 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C1/cpu-module 236name:RMCLOMV/c1_p0_t_core 237 REFPROP _location_parent name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu 238 239name:RMCLOMV/c2_t_amb 240 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C2/cpu-module 241name:RMCLOMV/c2_p0_ff_pok 242 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C2/cpu-module 243name:RMCLOMV/c2_p0_t_core 244 REFPROP _location_parent name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu 245 246name:RMCLOMV/c3_t_amb 247 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C3/cpu-module 248name:RMCLOMV/c3_p0_ff_pok 249 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C3/cpu-module 250name:RMCLOMV/c3_p0_t_core 251 REFPROP _location_parent name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu 252