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 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@0,0 258 ENDROW 259 ROW 260 PROP Class string r 0 "temperature-sensor" 261 REFPROP _temperature-sensor_ name:RMCLOMV/c0_p0_t_core 262 ENDROW 263 ENDTABLE 264 265name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu 266 TABLE Devices 267 ROW 268 PROP Class string r 0 "cpu" 269 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi+@1,0 270 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@1,0 271 ENDROW 272 ROW 273 PROP Class string r 0 "temperature-sensor" 274 REFPROP _temperature-sensor_ name:RMCLOMV/c1_p0_t_core 275 ENDROW 276 ENDTABLE 277 278name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu 279 TABLE Devices 280 ROW 281 PROP Class string r 0 "cpu" 282 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi+@2,0 283 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@2,0 284 ENDROW 285 ROW 286 PROP Class string r 0 "temperature-sensor" 287 REFPROP _temperature-sensor_ name:RMCLOMV/c2_p0_t_core 288 ENDROW 289 ENDTABLE 290 291name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu 292 TABLE Devices 293 ROW 294 PROP Class string r 0 "cpu" 295 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi+@3,0 296 REFPROP _cpu_ name:/platform/SUNW,UltraSPARC-IIIi@3,0 297 ENDROW 298 ROW 299 PROP Class string r 0 "temperature-sensor" 300 REFPROP _temperature-sensor_ name:RMCLOMV/c3_p0_t_core 301 ENDROW 302 ENDTABLE 303 304/* 305 * Add devices tables for all 16 of the memory modules 306 */ 307name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B0/bank/D0/mem-module 308 TABLE Devices 309 ROW 310 PROP Class string r 0 "memory-module" 311 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0 312 ENDROW 313 ENDTABLE 314 315name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B0/bank/D1/mem-module 316 TABLE Devices 317 ROW 318 PROP Class string r 0 "memory-module" 319 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1 320 ENDROW 321 ENDTABLE 322 323name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B1/bank/D0/mem-module 324 TABLE Devices 325 ROW 326 PROP Class string r 0 "memory-module" 327 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0 328 ENDROW 329 ENDTABLE 330 331name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B1/bank/D1/mem-module 332 TABLE Devices 333 ROW 334 PROP Class string r 0 "memory-module" 335 REFPROP _memory-module_ name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1 336 ENDROW 337 ENDTABLE 338 339name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B0/bank/D0/mem-module 340 TABLE Devices 341 ROW 342 PROP Class string r 0 "memory-module" 343 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0 344 ENDROW 345 ENDTABLE 346 347name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B0/bank/D1/mem-module 348 TABLE Devices 349 ROW 350 PROP Class string r 0 "memory-module" 351 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1 352 ENDROW 353 ENDTABLE 354 355name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B1/bank/D0/mem-module 356 TABLE Devices 357 ROW 358 PROP Class string r 0 "memory-module" 359 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0 360 ENDROW 361 ENDTABLE 362 363name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B1/bank/D1/mem-module 364 TABLE Devices 365 ROW 366 PROP Class string r 0 "memory-module" 367 REFPROP _memory-module_ name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1 368 ENDROW 369 ENDTABLE 370 371name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu/B0/bank/D0/mem-module 372 TABLE Devices 373 ROW 374 PROP Class string r 0 "memory-module" 375 REFPROP _memory-module_ name:/platform/memory-controller@2,0/memory-module-group?ID=0/memory-module?ID=0 376 ENDROW 377 ENDTABLE 378 379name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu/B0/bank/D1/mem-module 380 TABLE Devices 381 ROW 382 PROP Class string r 0 "memory-module" 383 REFPROP _memory-module_ name:/platform/memory-controller@2,0/memory-module-group?ID=0/memory-module?ID=1 384 ENDROW 385 ENDTABLE 386 387name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu/B1/bank/D0/mem-module 388 TABLE Devices 389 ROW 390 PROP Class string r 0 "memory-module" 391 REFPROP _memory-module_ name:/platform/memory-controller@2,0/memory-module-group?ID=1/memory-module?ID=0 392 ENDROW 393 ENDTABLE 394 395name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu/B1/bank/D1/mem-module 396 TABLE Devices 397 ROW 398 PROP Class string r 0 "memory-module" 399 REFPROP _memory-module_ name:/platform/memory-controller@2,0/memory-module-group?ID=1/memory-module?ID=1 400 ENDROW 401 ENDTABLE 402 403name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu/B0/bank/D0/mem-module 404 TABLE Devices 405 ROW 406 PROP Class string r 0 "memory-module" 407 REFPROP _memory-module_ name:/platform/memory-controller@3,0/memory-module-group?ID=0/memory-module?ID=0 408 ENDROW 409 ENDTABLE 410 411name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu/B0/bank/D1/mem-module 412 TABLE Devices 413 ROW 414 PROP Class string r 0 "memory-module" 415 REFPROP _memory-module_ name:/platform/memory-controller@3,0/memory-module-group?ID=0/memory-module?ID=1 416 ENDROW 417 ENDTABLE 418 419name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu/B1/bank/D0/mem-module 420 TABLE Devices 421 ROW 422 PROP Class string r 0 "memory-module" 423 REFPROP _memory-module_ name:/platform/memory-controller@3,0/memory-module-group?ID=1/memory-module?ID=0 424 ENDROW 425 ENDTABLE 426 427name:/frutree/chassis/MB/system-board/C3/cpu-module/P0/cpu/B1/bank/D1/mem-module 428 TABLE Devices 429 ROW 430 PROP Class string r 0 "memory-module" 431 REFPROP _memory-module_ name:/platform/memory-controller@3,0/memory-module-group?ID=1/memory-module?ID=1 432 ENDROW 433 ENDTABLE 434 435/* 436 * System leds device table 437 */ 438name:/frutree/chassis/MB/system-board/FIOB/front-IO-board/FLEDB/front-led-board 439TABLE Devices 440 ROW 441 PROP Class string r 0 "led" 442 REFPROP _led_ name:RMCLOMV/sys_act 443 ENDROW 444 ROW 445 PROP Class string r 0 "led" 446 REFPROP _led_ name:RMCLOMV/sys_service 447 ENDROW 448 ROW 449 PROP Class string r 0 "led" 450 REFPROP _led_ name:RMCLOMV/sys_locate 451 ENDROW 452 ROW 453 PROP Class string r 0 "led" 454 REFPROP _led_ name:RMCLOMV/sys_fanfail 455 ENDROW 456 ROW 457 PROP Class string r 0 "led" 458 REFPROP _led_ name:RMCLOMV/sys_psfail 459 ENDROW 460 ROW 461 PROP Class string r 0 "led" 462 REFPROP _led_ name:RMCLOMV/sys_overtemp 463 ENDROW 464ENDTABLE 465 466/* 467 * Add a device table for the PDB (fan fault leds are located here) 468 */ 469name:/frutree/chassis/MB/system-board/HDDCNTRL/disk-controller/HDDBP/disk-backplane-8 470TABLE Devices 471 ROW 472 PROP Class string r 0 "led" 473 PROP Label string r 0 "ft0_f0_fault" 474 REFPROP _led_ name:RMCLOMV/ft0_f0_fault 475 ENDROW 476 ROW 477 PROP Class string r 0 "led" 478 PROP Label string r 0 "ft1_f0_fault" 479 REFPROP _led_ name:RMCLOMV/ft1_f0_fault 480 ENDROW 481 ROW 482 PROP Class string r 0 "led" 483 PROP Label string r 0 "ft2_f0_fault" 484 REFPROP _led_ name:RMCLOMV/ft2_f0_fault 485 ENDROW 486 ROW 487 PROP Class string r 0 "led" 488 PROP Label string r 0 "ft3_f0_fault" 489 REFPROP _led_ name:RMCLOMV/ft3_f0_fault 490 ENDROW 491 ROW 492 PROP Class string r 0 "led" 493 PROP Label string r 0 "ft4_f0_fault" 494 REFPROP _led_ name:RMCLOMV/ft4_f0_fault 495 ENDROW 496 ROW 497 PROP Class string r 0 "led" 498 PROP Label string r 0 "ft5_f0_fault" 499 REFPROP _led_ name:RMCLOMV/ft5_f0_fault 500 ENDROW 501ENDTABLE 502 503/* 504 * Add a device table for each of the six fans 505 */ 506name:/frutree/chassis/MB/system-board/FT0/fan-tray/F0 507 TABLE Devices 508 ROW 509 PROP Class string r 0 "fan" 510 REFPROP _fan_ name:RMCLOMV/ft0_f0_tach 511 ENDROW 512 ENDTABLE 513name:/frutree/chassis/MB/system-board/FT1/fan-tray/F0 514 TABLE Devices 515 ROW 516 PROP Class string r 0 "fan" 517 REFPROP _fan_ name:RMCLOMV/ft1_f0_tach 518 ENDROW 519 ENDTABLE 520name:/frutree/chassis/MB/system-board/FT2/fan-tray/F0 521 TABLE Devices 522 ROW 523 PROP Class string r 0 "fan" 524 REFPROP _fan_ name:RMCLOMV/ft2_f0_tach 525 ENDROW 526 ENDTABLE 527name:/frutree/chassis/MB/system-board/FT3/fan-tray/F0 528 TABLE Devices 529 ROW 530 PROP Class string r 0 "fan" 531 REFPROP _fan_ name:RMCLOMV/ft3_f0_tach 532 ENDROW 533 ENDTABLE 534name:/frutree/chassis/MB/system-board/FT4/fan-tray/F0 535 TABLE Devices 536 ROW 537 PROP Class string r 0 "fan" 538 REFPROP _fan_ name:RMCLOMV/ft4_f0_tach 539 ENDROW 540 ENDTABLE 541name:/frutree/chassis/MB/system-board/FT5/fan-tray/F0 542 TABLE Devices 543 ROW 544 PROP Class string r 0 "fan" 545 REFPROP _fan_ name:RMCLOMV/ft5_f0_tach 546 ENDROW 547 ENDTABLE 548