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_PSU0_data.info" 98#include "fru_PSU1_data.info" 99#include "fru_PSU2_data.info" 100#include "fru_PSU3_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 * parents for the fan tachometers 112 */ 113name:RMCLOMV/ft0_f0_tach 114 REFPROP _location_parent name:/frutree/chassis/MB/system-board/FT0/fan-tray/F0 115name:RMCLOMV/ft1_f0_tach 116 REFPROP _location_parent name:/frutree/chassis/MB/system-board/FT1/fan-tray/F0 117name:RMCLOMV/ft2_f0_tach 118 REFPROP _location_parent name:/frutree/chassis/MB/system-board/FT2/fan-tray/F0 119name:RMCLOMV/ft3_f0_tach 120 REFPROP _location_parent name:/frutree/chassis/MB/system-board/FT3/fan-tray/F0 121name:RMCLOMV/ft4_f0_tach 122 REFPROP _location_parent name:/frutree/chassis/MB/system-board/FT4/fan-tray/F0 123name:RMCLOMV/ft5_f0_tach 124 REFPROP _location_parent name:/frutree/chassis/MB/system-board/FT5/fan-tray/F0 125 126/* 127 * parents for system leds 128 */ 129name:RMCLOMV/sys_act 130 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 131name:RMCLOMV/sys_service 132 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 133name:RMCLOMV/sys_locate 134 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 135 PROP IsLocator string r 0 "true" 136 PROP LocatorName string r 0 "system" 137 PROP LocatorOn string r 0 "blinking" 138name:RMCLOMV/sys_fanfail 139 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 140name:RMCLOMV/sys_psfail 141 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 142name:RMCLOMV/sys_overtemp 143 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 144 145/* 146 * parents for fan-fault led's 147 */ 148name:RMCLOMV/ft0_f0_fault 149 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 150name:RMCLOMV/ft1_f0_fault 151 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 152name:RMCLOMV/ft2_f0_fault 153 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 154name:RMCLOMV/ft3_f0_fault 155 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 156name:RMCLOMV/ft4_f0_fault 157 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 158name:RMCLOMV/ft5_f0_fault 159 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 160 161/* 162 * keyswitch parent 163 */ 164name:RMCLOMV/keyswitch 165 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/SC/service-processor 166 PROP Label string r 0 "SYSCTRL" 167 168/* 169 * chassis serial number parent 170 */ 171 172name:RMCLOMV/chassis_serial_number 173 REFPROP _fru_parent name:/frutree/chassis 174 PROP Label string r 0 "CHASSISSERIAL" 175 176/* 177 * fru parents for motherboard sensors 178 */ 179name:RMCLOMV/mb_v_+1v0 180 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 181name:RMCLOMV/mb_v_+1v2 182 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 183name:RMCLOMV/mb_v_+1v5 184 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 185name:RMCLOMV/mb_v_+1v8 186 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 187name:RMCLOMV/mb_v_+2v5 188 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 189name:RMCLOMV/mb_v_+3v3 190 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 191name:RMCLOMV/mb_v_+3v3stby 192 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 193name:RMCLOMV/mb_v_+5v 194 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 195name:RMCLOMV/mb_v_+12v 196 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 197name:RMCLOMV/mb_v_-12v 198 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 199name:RMCLOMV/mb_i_usb0 200 REFPROP _location_parent name:/frutree/chassis/MB/system-board/USB0 201name:RMCLOMV/mb_i_usb1 202 REFPROP _location_parent name:/frutree/chassis/MB/system-board/USB1 203name:RMCLOMV/fire_t_core 204 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 205name:RMCLOMV/mb_t_amb 206 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 207name:RMCLOMV/mb_io_t_amb 208 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 209name:RMCLOMV/mb_ff_pok 210 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 211 212/* 213 * fru parents for front IO board sensors 214 */ 215name:RMCLOMV/fiob_i_usb2 216 REFPROP _location_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/USB2 217name:RMCLOMV/fiob_i_usb3 218 REFPROP _location_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/USB3 219name:RMCLOMV/fiob_t_amb 220 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/FIOB/front-IO-board 221 222/* 223 * fru parent for SC battery 224 */ 225name:RMCLOMV/sc_bat_v_bat 226 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/SC/service-processor/BATTERY/battery 227 228/* 229 * parents for CPU board and CPU die sensors 230 */ 231name:RMCLOMV/c0_t_amb 232 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C0/cpu-module 233name:RMCLOMV/c0_p0_ff_pok 234 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C0/cpu-module 235name:RMCLOMV/c0_p0_t_core 236 REFPROP _location_parent name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu 237 238name:RMCLOMV/c1_t_amb 239 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C1/cpu-module 240name:RMCLOMV/c1_p0_ff_pok 241 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C1/cpu-module 242name:RMCLOMV/c1_p0_t_core 243 REFPROP _location_parent name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu 244 245name:RMCLOMV/c2_t_amb 246 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C2/cpu-module 247name:RMCLOMV/c2_p0_ff_pok 248 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C2/cpu-module 249name:RMCLOMV/c2_p0_t_core 250 REFPROP _location_parent name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu 251 252name:RMCLOMV/c3_t_amb 253 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C3/cpu-module 254name:RMCLOMV/c3_p0_ff_pok 255 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C3/cpu-module 256name:RMCLOMV/c3_p0_t_core 257 REFPROP _location_parent name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu 258