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 * 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 * Likewise for disks 71 */ 72#ifndef RMCLOMV 73#define RMCLOMV /platform/ebus@1f,464000/rmc-comm@2,0/SUNW,rmclomv 74#endif 75 76#ifndef DISKBP1 77#define DISKBP1 /frutree/chassis/MB/system-board/HDDBP/disk-backplane-1 78#endif 79 80#ifndef DISKBP3 81#define DISKBP3 /frutree/chassis/MB/system-board/HDDBP/disk-backplane-3 82#endif 83 84/* 85 * add disk leds 86 */ 87name:DISKBP1/HDD0 88 TABLE Devices 89 ROW 90 PROP Class string r 0 "led" 91 REFPROP _led_ name:RMCLOMV/hdd0_act 92 ENDROW 93 ROW 94 PROP Class string r 0 "led" 95 REFPROP _led_ name:RMCLOMV/hdd0_service 96 ENDROW 97 ROW 98 PROP Class string r 0 "led" 99 REFPROP _led_ name:RMCLOMV/hdd0_ok2rm 100 ENDROW 101 ENDTABLE 102 103name:RMCLOMV/hdd0_act 104 REFPROP _location_parent name:DISKBP1/HDD0 105name:RMCLOMV/hdd0_service 106 REFPROP _location_parent name:DISKBP1/HDD0 107name:RMCLOMV/hdd0_ok2rm 108 REFPROP _location_parent name:DISKBP1/HDD0 109 110name:DISKBP1/HDD1 111 TABLE Devices 112 ROW 113 PROP Class string r 0 "led" 114 REFPROP _led_ name:RMCLOMV/hdd1_act 115 ENDROW 116 ROW 117 PROP Class string r 0 "led" 118 REFPROP _led_ name:RMCLOMV/hdd1_service 119 ENDROW 120 ROW 121 PROP Class string r 0 "led" 122 REFPROP _led_ name:RMCLOMV/hdd1_ok2rm 123 ENDROW 124 ENDTABLE 125 126name:RMCLOMV/hdd1_act 127 REFPROP _location_parent name:DISKBP1/HDD1 128name:RMCLOMV/hdd1_service 129 REFPROP _location_parent name:DISKBP1/HDD1 130name:RMCLOMV/hdd1_ok2rm 131 REFPROP _location_parent name:DISKBP1/HDD1 132 133name:DISKBP3/HDD0 134 TABLE Devices 135 ROW 136 PROP Class string r 0 "led" 137 REFPROP _led_ name:RMCLOMV/hdd0_act 138 ENDROW 139 ROW 140 PROP Class string r 0 "led" 141 REFPROP _led_ name:RMCLOMV/hdd0_service 142 ENDROW 143 ROW 144 PROP Class string r 0 "led" 145 REFPROP _led_ name:RMCLOMV/hdd0_ok2rm 146 ENDROW 147 ENDTABLE 148 149name:RMCLOMV/hdd0_act 150 REFPROP _location_parent name:DISKBP3/HDD0 151name:RMCLOMV/hdd0_service 152 REFPROP _location_parent name:DISKBP3/HDD0 153name:RMCLOMV/hdd0_ok2rm 154 REFPROP _location_parent name:DISKBP3/HDD0 155 156name:DISKBP3/HDD1 157 TABLE Devices 158 ROW 159 PROP Class string r 0 "led" 160 REFPROP _led_ name:RMCLOMV/hdd1_act 161 ENDROW 162 ROW 163 PROP Class string r 0 "led" 164 REFPROP _led_ name:RMCLOMV/hdd1_service 165 ENDROW 166 ROW 167 PROP Class string r 0 "led" 168 REFPROP _led_ name:RMCLOMV/hdd1_ok2rm 169 ENDROW 170 ENDTABLE 171 172name:RMCLOMV/hdd1_act 173 REFPROP _location_parent name:DISKBP3/HDD1 174name:RMCLOMV/hdd1_service 175 REFPROP _location_parent name:DISKBP3/HDD1 176name:RMCLOMV/hdd1_ok2rm 177 REFPROP _location_parent name:DISKBP3/HDD1 178 179name:DISKBP3/HDD2 180 TABLE Devices 181 ROW 182 PROP Class string r 0 "led" 183 REFPROP _led_ name:RMCLOMV/hdd2_act 184 ENDROW 185 ROW 186 PROP Class string r 0 "led" 187 REFPROP _led_ name:RMCLOMV/hdd2_service 188 ENDROW 189 ROW 190 PROP Class string r 0 "led" 191 REFPROP _led_ name:RMCLOMV/hdd2_ok2rm 192 ENDROW 193 ENDTABLE 194 195name:RMCLOMV/hdd2_act 196 REFPROP _location_parent name:DISKBP3/HDD2 197name:RMCLOMV/hdd2_service 198 REFPROP _location_parent name:DISKBP3/HDD2 199name:RMCLOMV/hdd2_ok2rm 200 REFPROP _location_parent name:DISKBP3/HDD2 201 202name:DISKBP3/HDD3 203 TABLE Devices 204 ROW 205 PROP Class string r 0 "led" 206 REFPROP _led_ name:RMCLOMV/hdd3_act 207 ENDROW 208 ROW 209 PROP Class string r 0 "led" 210 REFPROP _led_ name:RMCLOMV/hdd3_service 211 ENDROW 212 ROW 213 PROP Class string r 0 "led" 214 REFPROP _led_ name:RMCLOMV/hdd3_ok2rm 215 ENDROW 216 ENDTABLE 217 218name:RMCLOMV/hdd3_act 219 REFPROP _location_parent name:DISKBP3/HDD3 220name:RMCLOMV/hdd3_service 221 REFPROP _location_parent name:DISKBP3/HDD3 222name:RMCLOMV/hdd3_ok2rm 223 REFPROP _location_parent name:DISKBP3/HDD3 224 225/* add disk Device tables and _fru_parent refprops */ 226#include "fru_HDD0_data.info" 227#include "fru_HDD1_data.info" 228#include "fru_HDD2_data.info" 229#include "fru_HDD3_data.info" 230 231/* 232 * power supplies 233 */ 234#include "fru_PS0_data.info" 235#include "fru_PS1_data.info" 236 237/* 238 * USB ports 239 */ 240#include "fru_usb-a-1_data.info" 241#include "fru_usb-a-2_data.info" 242#include "fru_usb-a-3_data.info" 243#include "fru_usb-a-4_data.info" 244 245/* 246 * Add device tables and location parents for Seattle 1U system fans 247 */ 248 249#ifndef FCB0_1U 250#define FCB0_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB0/fan-connector-board 251#endif 252 253#ifndef FCB1_1U 254#define FCB1_1U /frutree/chassis/MB/system-board/FIOB/front-io-board-1/FCB1/fan-connector-board 255#endif 256 257#ifndef PDB_1U 258#define PDB_1U /frutree/chassis/PDB/power-distribution-board 259#endif 260 261name:FCB0_1U/FT0/fan-tray/F0 262 TABLE Devices 263 ROW 264 PROP Class string r 0 "fan" 265 REFPROP _fan_ name:RMCLOMV/ft0_f0 266 ENDROW 267 ENDTABLE 268name:FCB0_1U/FT0/fan-tray/F1 269 TABLE Devices 270 ROW 271 PROP Class string r 0 "fan" 272 REFPROP _fan_ name:RMCLOMV/ft0_f1 273 ENDROW 274 ENDTABLE 275name:FCB0_1U/FT1/fan-tray/F0 276 TABLE Devices 277 ROW 278 PROP Class string r 0 "fan" 279 REFPROP _fan_ name:RMCLOMV/ft1_f0 280 ENDROW 281 ENDTABLE 282name:FCB0_1U/FT1/fan-tray/F1 283 TABLE Devices 284 ROW 285 PROP Class string r 0 "fan" 286 REFPROP _fan_ name:RMCLOMV/ft1_f1 287 ENDROW 288 ENDTABLE 289name:FCB0_1U/FT2/fan-tray/F0 290 TABLE Devices 291 ROW 292 PROP Class string r 0 "fan" 293 REFPROP _fan_ name:RMCLOMV/ft2_f0 294 ENDROW 295 ENDTABLE 296name:FCB0_1U/FT2/fan-tray/F1 297 TABLE Devices 298 ROW 299 PROP Class string r 0 "fan" 300 REFPROP _fan_ name:RMCLOMV/ft2_f1 301 ENDROW 302 ENDTABLE 303name:FCB1_1U/FT3/fan-tray/F0 304 TABLE Devices 305 ROW 306 PROP Class string r 0 "fan" 307 REFPROP _fan_ name:RMCLOMV/ft3_f0 308 ENDROW 309 ENDTABLE 310name:FCB1_1U/FT3/fan-tray/F1 311 TABLE Devices 312 ROW 313 PROP Class string r 0 "fan" 314 REFPROP _fan_ name:RMCLOMV/ft3_f1 315 ENDROW 316 ENDTABLE 317name:FCB1_1U/FT4/fan-tray/F0 318 TABLE Devices 319 ROW 320 PROP Class string r 0 "fan" 321 REFPROP _fan_ name:RMCLOMV/ft4_f0 322 ENDROW 323 ENDTABLE 324name:FCB1_1U/FT4/fan-tray/F1 325 TABLE Devices 326 ROW 327 PROP Class string r 0 "fan" 328 REFPROP _fan_ name:RMCLOMV/ft4_f1 329 ENDROW 330 ENDTABLE 331name:FCB1_1U/FT5/fan-tray/F0 332 TABLE Devices 333 ROW 334 PROP Class string r 0 "fan" 335 REFPROP _fan_ name:RMCLOMV/ft5_f0 336 ENDROW 337 ENDTABLE 338name:FCB1_1U/FT5/fan-tray/F1 339 TABLE Devices 340 ROW 341 PROP Class string r 0 "fan" 342 REFPROP _fan_ name:RMCLOMV/ft5_f1 343 ENDROW 344 ENDTABLE 345name:PDB_1U/FT6/fan-tray/F0 346 TABLE Devices 347 ROW 348 PROP Class string r 0 "fan" 349 REFPROP _fan_ name:RMCLOMV/pdb_ft6_f0 350 ENDROW 351 ENDTABLE 352name:PDB_1U/FT6/fan-tray/F1 353 TABLE Devices 354 ROW 355 PROP Class string r 0 "fan" 356 REFPROP _fan_ name:RMCLOMV/pdb_ft6_f1 357 ENDROW 358 ENDTABLE 359 360name:RMCLOMV/ft0_f0 361 REFPROP _location_parent name:FCB0_1U/FT0/fan-tray/F0 362name:RMCLOMV/ft0_f1 363 REFPROP _location_parent name:FCB0_1U/FT0/fan-tray/F1 364name:RMCLOMV/ft1_f0 365 REFPROP _location_parent name:FCB0_1U/FT1/fan-tray/F0 366name:RMCLOMV/ft1_f1 367 REFPROP _location_parent name:FCB0_1U/FT1/fan-tray/F1 368name:RMCLOMV/ft2_f0 369 REFPROP _location_parent name:FCB0_1U/FT2/fan-tray/F0 370name:RMCLOMV/ft2_f1 371 REFPROP _location_parent name:FCB0_1U/FT2/fan-tray/F1 372name:RMCLOMV/ft3_f0 373 REFPROP _location_parent name:FCB1_1U/FT3/fan-tray/F0 374name:RMCLOMV/ft3_f1 375 REFPROP _location_parent name:FCB1_1U/FT3/fan-tray/F1 376name:RMCLOMV/ft4_f0 377 REFPROP _location_parent name:FCB1_1U/FT4/fan-tray/F0 378name:RMCLOMV/ft4_f1 379 REFPROP _location_parent name:FCB1_1U/FT4/fan-tray/F1 380name:RMCLOMV/ft5_f0 381 REFPROP _location_parent name:FCB1_1U/FT5/fan-tray/F0 382name:RMCLOMV/ft5_f1 383 REFPROP _location_parent name:FCB1_1U/FT5/fan-tray/F1 384name:RMCLOMV/pdb_ft6_f0 385 REFPROP _location_parent name:PDB_1U/FT6/fan-tray/F0 386name:RMCLOMV/pdb_ft6_f1 387 REFPROP _location_parent name:PDB_1U/FT6/fan-tray/F1 388 389/* 390 * Add device tables and location parents for Seattle 2U system fans 391 */ 392 393#ifndef FCB0_2U 394#define FCB0_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB0/fan-connector-board 395#endif 396 397#ifndef FCB1_2U 398#define FCB1_2U /frutree/chassis/MB/system-board/FIOB/front-io-board-2/FCB1/fan-connector-board 399#endif 400 401#ifndef PDB_2U 402#define PDB_2U /frutree/chassis/PDB/power-distribution-board/HDDFB/fan-connector-board 403#endif 404 405name:FCB0_2U/FT0/fan-tray/F0 406 TABLE Devices 407 ROW 408 PROP Class string r 0 "fan" 409 REFPROP _fan_ name:RMCLOMV/ft0_f0 410 ENDROW 411 ENDTABLE 412name:FCB0_2U/FT1/fan-tray/F0 413 TABLE Devices 414 ROW 415 PROP Class string r 0 "fan" 416 REFPROP _fan_ name:RMCLOMV/ft1_f0 417 ENDROW 418 ENDTABLE 419name:FCB0_2U/FT2/fan-tray/F0 420 TABLE Devices 421 ROW 422 PROP Class string r 0 "fan" 423 REFPROP _fan_ name:RMCLOMV/ft2_f0 424 ENDROW 425 ENDTABLE 426name:FCB1_2U/FT3/fan-tray/F0 427 TABLE Devices 428 ROW 429 PROP Class string r 0 "fan" 430 REFPROP _fan_ name:RMCLOMV/ft3_f0 431 ENDROW 432 ENDTABLE 433name:FCB1_2U/FT4/fan-tray/F0 434 TABLE Devices 435 ROW 436 PROP Class string r 0 "fan" 437 REFPROP _fan_ name:RMCLOMV/ft4_f0 438 ENDROW 439 ENDTABLE 440name:FCB1_2U/FT5/fan-tray/F0 441 TABLE Devices 442 ROW 443 PROP Class string r 0 "fan" 444 REFPROP _fan_ name:RMCLOMV/ft5_f0 445 ENDROW 446 ENDTABLE 447name:PDB_2U/FT6/fan-tray/F0 448 TABLE Devices 449 ROW 450 PROP Class string r 0 "fan" 451 REFPROP _fan_ name:RMCLOMV/pdb_hddfb_ft6_f0 452 ENDROW 453 ENDTABLE 454name:PDB_2U/FT6/fan-tray/F1 455 TABLE Devices 456 ROW 457 PROP Class string r 0 "fan" 458 REFPROP _fan_ name:RMCLOMV/pdb_hddfb_ft6_f1 459 ENDROW 460 ENDTABLE 461 462name:RMCLOMV/ft0_f0 463 REFPROP _location_parent name:FCB0_2U/FT0/fan-tray/F0 464name:RMCLOMV/ft1_f0 465 REFPROP _location_parent name:FCB0_2U/FT1/fan-tray/F0 466name:RMCLOMV/ft2_f0 467 REFPROP _location_parent name:FCB0_2U/FT2/fan-tray/F0 468name:RMCLOMV/ft3_f0 469 REFPROP _location_parent name:FCB1_2U/FT3/fan-tray/F0 470name:RMCLOMV/ft4_f0 471 REFPROP _location_parent name:FCB1_2U/FT4/fan-tray/F0 472name:RMCLOMV/ft5_f0 473 REFPROP _location_parent name:FCB1_2U/FT5/fan-tray/F0 474name:RMCLOMV/pdb_hddfb_ft6_f0 475 REFPROP _location_parent name:PDB_2U/FT6/fan-tray/F0 476name:RMCLOMV/pdb_hddfb_ft6_f1 477 REFPROP _location_parent name:PDB_2U/FT6/fan-tray/F1 478