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 * This file creates device tables for all of the fru's in the system 29 * (except for hard disk drives and power supplies.) Each table contains 30 * one or more rows of devices, each with a reference to a particular 31 * device/sensor. 32 * 33 * This file will be #included by piclfrutree.info. It should be included 34 * after the frutree and system hierarchies are defined. 35 */ 36 37/* 38 * define a macro to force a #ident line into the output stream 39 * otherwise cpp removes it. Use #ifndef because of #included definitions. 40 */ 41#ifndef id 42#define id(s) #ident s 43#endif 44id("%Z%%M% %I% %E% SMI") 45 46/* 47 * add a Devices table to DVD 48 */ 49name:/frutree/chassis/MB/system-board/RMD0/removable-media 50 TABLE Devices 51 ROW 52 PROP Class string r 0 "cdrom" 53 REFPROP _cdrom_ name:/platform/pci@1f,700000/pci@0/pci@1/pci@0/ide@1f/sd@0,0 54 ENDROW 55 ENDTABLE 56 57/* 58 * add Devices table for the chassis 59 */ 60name:/frutree/chassis 61 TABLE Devices 62 ROW 63 REFPROP _chassis-serial-number_ name:RMCLOMV/chassis_serial_number 64 ENDROW 65 ENDTABLE 66 67/* 68 * add a Devices table to the system-board 69 */ 70name:/frutree/chassis/MB/system-board 71 TABLE Devices 72 ROW 73 PROP Class string r 0 "voltage-sensor" 74 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+1v0 75 PROP Label string r 0 "V_+1V0" 76 ENDROW 77 ROW 78 PROP Class string r 0 "voltage-sensor" 79 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+1v2 80 PROP Label string r 0 "V_+1V2" 81 ENDROW 82 ROW 83 PROP Class string r 0 "voltage-sensor" 84 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+1v5 85 PROP Label string r 0 "V_+1V5" 86 ENDROW 87 ROW 88 PROP Class string r 0 "voltage-sensor" 89 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+1v8 90 PROP Label string r 0 "V_+1V8" 91 ENDROW 92 ROW 93 PROP Class string r 0 "voltage-sensor" 94 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+2v5 95 PROP Label string r 0 "V_+2V5" 96 ENDROW 97 ROW 98 PROP Class string r 0 "voltage-sensor" 99 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+3v3 100 PROP Label string r 0 "V_+3V3" 101 ENDROW 102 ROW 103 PROP Class string r 0 "voltage-sensor" 104 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+3v3stby 105 PROP Label string r 0 "V_+3V3STBY" 106 ENDROW 107 ROW 108 PROP Class string r 0 "voltage-sensor" 109 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+5v 110 PROP Label string r 0 "V_+5V" 111 ENDROW 112 ROW 113 PROP Class string r 0 "voltage-sensor" 114 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_+12v 115 PROP Label string r 0 "V_+12V" 116 ENDROW 117 ROW 118 PROP Class string r 0 "voltage-sensor" 119 REFPROP _voltage-sensor_ name:RMCLOMV/mb_v_-12v 120 PROP Label string r 0 "V_-12V" 121 ENDROW 122 ROW 123 PROP Class string r 0 "current-indicator" 124 REFPROP _current-indicator_ name:RMCLOMV/mb_i_usb0 125 PROP Label string r 0 "I_USB0" 126 ENDROW 127 ROW 128 PROP Class string r 0 "current-indicator" 129 REFPROP _current-indicator_ name:RMCLOMV/mb_i_usb1 130 PROP Label string r 0 "I_USB1" 131 ENDROW 132 ROW 133 PROP Class string r 0 "temperature-sensor" 134 REFPROP _temperature-sensor_ name:RMCLOMV/fire_t_core 135 ENDROW 136 ROW 137 PROP Class string r 0 "temperature-sensor" 138 REFPROP _temperature-sensor_ name:RMCLOMV/fiob_t_amb 139 ENDROW 140 ROW 141 PROP Class string r 0 "temperature-sensor" 142 REFPROP _temperature-sensor_ name:RMCLOMV/mb_t_amb 143 ENDROW 144 ROW 145 PROP Class string r 0 "temperature-sensor" 146 REFPROP _temperature-sensor_ name:RMCLOMV/mb_io_t_amb 147 ENDROW 148 ROW 149 PROP Class string r 0 "current-indicator" 150 REFPROP _current-indicator_ name:RMCLOMV/mb_ff_pok 151 ENDROW 152 ENDTABLE 153 154/* 155 * add a Devices table to the battery 156 */ 157name:/frutree/chassis/MB/system-board/SC/service-processor/BATTERY/battery 158 TABLE Devices 159 ROW 160 PROP Class string r 0 "voltage-sensor" 161 REFPROP _voltage-sensor_ name:RMCLOMV/sc_bat_v_bat 162 PROP Label string r 0 "V_BAT" 163 ENDROW 164 ENDTABLE 165 166/* 167 * add a Devices table to the front IO board 168 */ 169name:/frutree/chassis/MB/system-board/FIOB/front-IO-board 170 TABLE Devices 171 ROW 172 PROP Class string r 0 "current-indicator" 173 REFPROP _current-indicator_ name:RMCLOMV/fiob_i_usb2 174 PROP Label string r 0 "I_USB2" 175 ENDROW 176 ROW 177 PROP Class string r 0 "current-indicator" 178 REFPROP _current-indicator_ name:RMCLOMV/fiob_i_usb3 179 PROP Label string r 0 "I_USB3" 180 ENDROW 181 ENDTABLE 182 183/* 184 * add a Devices table to the service-processor 185 */ 186name:/frutree/chassis/MB/system-board/SC/service-processor 187 TABLE Devices 188 ROW 189 PROP Class string r 0 "service-processor" 190 REFPROP _service-processor_ name:RMCLOMV 191 ENDROW 192 ROW 193 PROP Class string r 0 "keyswitch" 194 REFPROP _keyswitch_ name:RMCLOMV/keyswitch 195 ENDROW 196 ENDTABLE 197 198/* 199 * Add Devices for cpu-board related sensors 200 */ 201name:/frutree/chassis/MB/system-board/C0/cpu-module 202 TABLE Devices 203 ROW 204 PROP Class string r 0 "temperature-sensor" 205 REFPROP _temperature-sensor_ name:RMCLOMV/c0_t_amb 206 ENDROW 207 ROW 208 PROP Class string r 0 "current-indicator" 209 REFPROP _current-indicator_ name:RMCLOMV/c0_p0_ff_pok 210 ENDROW 211 ENDTABLE 212 213name:/frutree/chassis/MB/system-board/C1/cpu-module 214 TABLE Devices 215 ROW 216 PROP Class string r 0 "temperature-sensor" 217 REFPROP _temperature-sensor_ name:RMCLOMV/c1_t_amb 218 ENDROW 219 ROW 220 PROP Class string r 0 "current-indicator" 221 REFPROP _current-indicator_ name:RMCLOMV/c1_p0_ff_pok 222 ENDROW 223 ENDTABLE 224 225name:/frutree/chassis/MB/system-board/C2/cpu-module 226 TABLE Devices 227 ROW 228 PROP Class string r 0 "temperature-sensor" 229 REFPROP _temperature-sensor_ name:RMCLOMV/c2_t_amb 230 ENDROW 231 ROW 232 PROP Class string r 0 "current-indicator" 233 REFPROP _current-indicator_ name:RMCLOMV/c2_p0_ff_pok 234 ENDROW 235 ENDTABLE 236 237name:/frutree/chassis/MB/system-board/C3/cpu-module 238 TABLE Devices 239 ROW 240 PROP Class string r 0 "temperature-sensor" 241 REFPROP _temperature-sensor_ name:RMCLOMV/c3_t_amb 242 ENDROW 243 ROW 244 PROP Class string r 0 "current-indicator" 245 REFPROP _current-indicator_ name:RMCLOMV/c3_p0_ff_pok 246 ENDROW 247 ENDTABLE 248 249/* 250 * add Devices tables for cpu-related sensors 251 */ 252name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu 253 TABLE Devices 254 ROW 255 PROP Class string r 0 "cpu" 256 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi+@0,0 257 ENDROW 258 ROW 259 PROP Class string r 0 "temperature-sensor" 260 REFPROP _temperature-sensor_ name:RMCLOMV/c0_p0_t_core 261 ENDROW 262 ENDTABLE 263 264name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu 265 TABLE Devices 266 ROW 267 PROP Class string r 0 "cpu" 268 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi+@1,0 269 ENDROW 270 ROW 271 PROP Class string r 0 "temperature-sensor" 272 REFPROP _temperature-sensor_ name:RMCLOMV/c1_p0_t_core 273 ENDROW 274 ENDTABLE 275 276name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu 277 TABLE Devices 278 ROW 279 PROP Class string r 0 "cpu" 280 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi+@2,0 281 ENDROW 282 ROW 283 PROP Class string r 0 "temperature-sensor" 284 REFPROP _temperature-sensor_ name:RMCLOMV/c2_p0_t_core 285 ENDROW 286 ENDTABLE 287 288name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu 289 TABLE Devices 290 ROW 291 PROP Class string r 0 "cpu" 292 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi+@3,0 293 ENDROW 294 ROW 295 PROP Class string r 0 "temperature-sensor" 296 REFPROP _temperature-sensor_ name:RMCLOMV/c3_p0_t_core 297 ENDROW 298 ENDTABLE 299 300/* 301 * Add devices tables for all 16 of the memory modules 302 */ 303name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B0/bank/D0/mem-module 304 TABLE Devices 305 ROW 306 PROP Class string r 0 "memory-module" 307 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0 308 ENDROW 309 ENDTABLE 310 311name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B0/bank/D1/mem-module 312 TABLE Devices 313 ROW 314 PROP Class string r 0 "memory-module" 315 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1 316 ENDROW 317 ENDTABLE 318 319name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B1/bank/D0/mem-module 320 TABLE Devices 321 ROW 322 PROP Class string r 0 "memory-module" 323 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0 324 ENDROW 325 ENDTABLE 326 327name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B1/bank/D1/mem-module 328 TABLE Devices 329 ROW 330 PROP Class string r 0 "memory-module" 331 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1 332 ENDROW 333 ENDTABLE 334 335name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B0/bank/D0/mem-module 336 TABLE Devices 337 ROW 338 PROP Class string r 0 "memory-module" 339 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0 340 ENDROW 341 ENDTABLE 342 343name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B0/bank/D1/mem-module 344 TABLE Devices 345 ROW 346 PROP Class string r 0 "memory-module" 347 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1 348 ENDROW 349 ENDTABLE 350 351name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B1/bank/D0/mem-module 352 TABLE Devices 353 ROW 354 PROP Class string r 0 "memory-module" 355 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0 356 ENDROW 357 ENDTABLE 358 359name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B1/bank/D1/mem-module 360 TABLE Devices 361 ROW 362 PROP Class string r 0 "memory-module" 363 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1 364 ENDROW 365 ENDTABLE 366 367name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu/B0/bank/D0/mem-module 368 TABLE Devices 369 ROW 370 PROP Class string r 0 "memory-module" 371 REFPROP _memory-module_ name:/platform/memory-controller@2,0/memory-module-group?ID=0/memory-module?ID=0 372 ENDROW 373 ENDTABLE 374 375name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu/B0/bank/D1/mem-module 376 TABLE Devices 377 ROW 378 PROP Class string r 0 "memory-module" 379 REFPROP _memory-module_ name:/platform/memory-controller@2,0/memory-module-group?ID=0/memory-module?ID=1 380 ENDROW 381 ENDTABLE 382 383name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu/B1/bank/D0/mem-module 384 TABLE Devices 385 ROW 386 PROP Class string r 0 "memory-module" 387 REFPROP _memory-module_ name:/platform/memory-controller@2,0/memory-module-group?ID=1/memory-module?ID=0 388 ENDROW 389 ENDTABLE 390 391name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu/B1/bank/D1/mem-module 392 TABLE Devices 393 ROW 394 PROP Class string r 0 "memory-module" 395 REFPROP _memory-module_ name:/platform/memory-controller@2,0/memory-module-group?ID=1/memory-module?ID=1 396 ENDROW 397 ENDTABLE 398 399name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu/B0/bank/D0/mem-module 400 TABLE Devices 401 ROW 402 PROP Class string r 0 "memory-module" 403 REFPROP _memory-module_ name:/platform/memory-controller@3,0/memory-module-group?ID=0/memory-module?ID=0 404 ENDROW 405 ENDTABLE 406 407name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu/B0/bank/D1/mem-module 408 TABLE Devices 409 ROW 410 PROP Class string r 0 "memory-module" 411 REFPROP _memory-module_ name:/platform/memory-controller@3,0/memory-module-group?ID=0/memory-module?ID=1 412 ENDROW 413 ENDTABLE 414 415name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu/B1/bank/D0/mem-module 416 TABLE Devices 417 ROW 418 PROP Class string r 0 "memory-module" 419 REFPROP _memory-module_ name:/platform/memory-controller@3,0/memory-module-group?ID=1/memory-module?ID=0 420 ENDROW 421 ENDTABLE 422 423name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu/B1/bank/D1/mem-module 424 TABLE Devices 425 ROW 426 PROP Class string r 0 "memory-module" 427 REFPROP _memory-module_ name:/platform/memory-controller@3,0/memory-module-group?ID=1/memory-module?ID=1 428 ENDROW 429 ENDTABLE 430 431/* 432 * System leds device table 433 */ 434name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 435TABLE Devices 436 ROW 437 PROP Class string r 0 "led" 438 REFPROP _led_ name:RMCLOMV/sys_act 439 ENDROW 440 ROW 441 PROP Class string r 0 "led" 442 REFPROP _led_ name:RMCLOMV/sys_service 443 ENDROW 444 ROW 445 PROP Class string r 0 "led" 446 REFPROP _led_ name:RMCLOMV/sys_locate 447 ENDROW 448 ROW 449 PROP Class string r 0 "led" 450 REFPROP _led_ name:RMCLOMV/sys_fanfail 451 ENDROW 452 ROW 453 PROP Class string r 0 "led" 454 REFPROP _led_ name:RMCLOMV/sys_psfail 455 ENDROW 456 ROW 457 PROP Class string r 0 "led" 458 REFPROP _led_ name:RMCLOMV/sys_overtemp 459 ENDROW 460ENDTABLE 461 462/* 463 * Add a device table for the PDB (fan fault leds are located here) 464 */ 465name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 466TABLE Devices 467 ROW 468 PROP Class string r 0 "led" 469 PROP Label string r 0 "ft0_f0_fault" 470 REFPROP _led_ name:RMCLOMV/ft0_f0_fault 471 ENDROW 472 ROW 473 PROP Class string r 0 "led" 474 PROP Label string r 0 "ft1_f0_fault" 475 REFPROP _led_ name:RMCLOMV/ft1_f0_fault 476 ENDROW 477 ROW 478 PROP Class string r 0 "led" 479 PROP Label string r 0 "ft2_f0_fault" 480 REFPROP _led_ name:RMCLOMV/ft2_f0_fault 481 ENDROW 482 ROW 483 PROP Class string r 0 "led" 484 PROP Label string r 0 "ft3_f0_fault" 485 REFPROP _led_ name:RMCLOMV/ft3_f0_fault 486 ENDROW 487 ROW 488 PROP Class string r 0 "led" 489 PROP Label string r 0 "ft4_f0_fault" 490 REFPROP _led_ name:RMCLOMV/ft4_f0_fault 491 ENDROW 492 ROW 493 PROP Class string r 0 "led" 494 PROP Label string r 0 "ft5_f0_fault" 495 REFPROP _led_ name:RMCLOMV/ft5_f0_fault 496 ENDROW 497ENDTABLE 498 499/* 500 * Add a device table for each of the six fans 501 */ 502name:/frutree/chassis/MB/system-board/FT0/fan-tray/F0 503 TABLE Devices 504 ROW 505 PROP Class string r 0 "fan" 506 REFPROP _fan_ name:RMCLOMV/ft0_f0_tach 507 ENDROW 508 ENDTABLE 509name:/frutree/chassis/MB/system-board/FT1/fan-tray/F0 510 TABLE Devices 511 ROW 512 PROP Class string r 0 "fan" 513 REFPROP _fan_ name:RMCLOMV/ft1_f0_tach 514 ENDROW 515 ENDTABLE 516name:/frutree/chassis/MB/system-board/FT2/fan-tray/F0 517 TABLE Devices 518 ROW 519 PROP Class string r 0 "fan" 520 REFPROP _fan_ name:RMCLOMV/ft2_f0_tach 521 ENDROW 522 ENDTABLE 523name:/frutree/chassis/MB/system-board/FT3/fan-tray/F0 524 TABLE Devices 525 ROW 526 PROP Class string r 0 "fan" 527 REFPROP _fan_ name:RMCLOMV/ft3_f0_tach 528 ENDROW 529 ENDTABLE 530name:/frutree/chassis/MB/system-board/FT4/fan-tray/F0 531 TABLE Devices 532 ROW 533 PROP Class string r 0 "fan" 534 REFPROP _fan_ name:RMCLOMV/ft4_f0_tach 535 ENDROW 536 ENDTABLE 537name:/frutree/chassis/MB/system-board/FT5/fan-tray/F0 538 TABLE Devices 539 ROW 540 PROP Class string r 0 "fan" 541 REFPROP _fan_ name:RMCLOMV/ft5_f0_tach 542 ENDROW 543 ENDTABLE 544