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, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 * or http://www.opensolaris.org/os/licensing. 11 * See the License for the specific language governing permissions 12 * and limitations under the License. 13 * 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22/* 23 * Copyright 2005 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 the system board structure 29 */ 30 31name:/frutree/chassis/MB 32NODE system-board fru 33 NODE pci-slot location 34 PROP Label string r 0 "PCI4" 35 PROP SlotType string r 0 "pci-e" 36 ENDNODE 37 NODE pci-slot location 38 PROP Label string r 0 "PCI3" 39 PROP SlotType string r 0 "pci-e" 40 ENDNODE 41 NODE pci-slot location 42 PROP Label string r 0 "PCI2" 43 PROP SlotType string r 0 "pci-e" 44 ENDNODE 45 NODE pci-slot location 46 PROP Label string r 0 "PCI1" 47 PROP SlotType string r 0 "pci-x" 48 ENDNODE 49 NODE pci-slot location 50 PROP Label string r 0 "PCI0" 51 PROP SlotType string r 0 "pci-x" 52 ENDNODE 53 NODE cpu-slot location 54 PROP Label string r 0 "0" 55 PROP Slot uint r 4 0 56 PROP SlotType string r 0 "cpu" 57 ENDNODE 58 NODE cpu-slot location 59 PROP Label string r 0 "1" 60 PROP Slot uint r 4 1 61 PROP SlotType string r 0 "cpu" 62 ENDNODE 63 NODE mem-slot location 64 PROP Slot uint r 4 1 65 PROP Label string r 0 "DIMM0" 66 PROP SlotType string r 0 "memory-module" 67 ENDNODE 68 NODE mem-slot location 69 PROP Slot uint r 4 2 70 PROP Label string r 0 "DIMM1" 71 PROP SlotType string r 0 "memory-module" 72 ENDNODE 73 NODE mem-slot location 74 PROP Slot uint r 4 3 75 PROP Label string r 0 "DIMM2" 76 PROP SlotType string r 0 "memory-module" 77 ENDNODE 78 NODE mem-slot location 79 PROP Slot uint r 4 4 80 PROP Label string r 0 "DIMM3" 81 PROP SlotType string r 0 "memory-module" 82 ENDNODE 83 NODE mem-slot location 84 PROP Slot uint r 4 5 85 PROP Label string r 0 "DIMM4" 86 PROP SlotType string r 0 "memory-module" 87 ENDNODE 88 NODE mem-slot location 89 PROP Slot uint r 4 6 90 PROP Label string r 0 "DIMM5" 91 PROP SlotType string r 0 "memory-module" 92 ENDNODE 93 NODE mem-slot location 94 PROP Slot uint r 4 7 95 PROP Label string r 0 "DIMM6" 96 PROP SlotType string r 0 "memory-module" 97 ENDNODE 98 NODE mem-slot location 99 PROP Slot uint r 4 8 100 PROP Label string r 0 "DIMM7" 101 PROP SlotType string r 0 "memory-module" 102 ENDNODE 103ENDNODE 104 105/* 106 * Create CPU fru modules 107 */ 108name:/frutree/chassis/MB/system-board/cpu-slot?Slot=0 109REFNODE cpu-module fru WITH _class:/PLATFORM_CLASS/cpu?ID=0 110 111name:/frutree/chassis/MB/system-board/cpu-slot?Slot=1 112REFNODE cpu-module fru WITH _class:/PLATFORM_CLASS/cpu?ID=1 113 114/* 115 * Create DIMM fru modules 116 */ 117name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM0 118REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,a0 119 120name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM1 121REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,a2 122 123name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM2 124REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,a4 125 126name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM3 127REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,a6 128 129name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM4 130REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,a8 131 132name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM5 133REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,aa 134 135name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM6 136REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,ac 137 138name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM7 139REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,ae 140 141/* 142 * Populate PCI slots 143 * 144 * FIXIT: Verify pci slot pathnames 145 * 146 * Slot 0 = /pci@1e,600000/pci@0/pci@a/pci@0,2 147 * Slot 1 = /pci@1e,600000/pci@0/pci@2/pci@0/pci@8 148 * Slot 2 = /pci@1e,600000/pci@0/pci@1 149 * Slot 3 = /pci@1e,600000/pci@0/pci@0 150 * Slot 4 = /pci@1f,700000 151 */ 152name:/frutree/chassis/MB/system-board/pci-slot?Label=PCI4 153REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1f,700000/picl?DeviceID=0 154 155name:/frutree/chassis/MB/system-board/pci-slot?Label=PCI3 156REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/pci@0/pci@0/picl?DeviceID=0 157 158name:/frutree/chassis/MB/system-board/pci-slot?Label=PCI2 159REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/pci@0/pci@1/picl?DeviceID=0 160 161name:/frutree/chassis/MB/system-board/pci-slot?Label=PCI1 162REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/pci@0/pci@2/pci@0/pci@8/picl?DeviceID=0 163 164name:/frutree/chassis/MB/system-board/pci-slot?Label=PCI0 165REFNODE pci-card fru WITH _class:/PLATFORM_CLASS/pci@1e,600000/pci@0/pci@a/pci@0,2/picl?DeviceID=0 166 167/* 168 * SEEPROM source for the motherboard 169 */ 170name:/frutree/chassis/MB/system-board 171PROP FRUDataAvailable void r 172REFPROP _seeprom_source /platform/i2c@1f,530000/motherboard-fru-prom@0,a2 173 174/* 175 * SEEPROM source for the DIMMs 176 */ 177name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM0/mem-module 178PROP FRUDataAvailable void r 179REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,a0 180 181name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM1/mem-module 182PROP FRUDataAvailable void r 183REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,a2 184 185name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM2/mem-module 186PROP FRUDataAvailable void r 187REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,a4 188 189name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM3/mem-module 190PROP FRUDataAvailable void r 191REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,a6 192 193name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM4/mem-module 194PROP FRUDataAvailable void r 195REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,a8 196 197name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM5/mem-module 198PROP FRUDataAvailable void r 199REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,aa 200 201name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM6/mem-module 202PROP FRUDataAvailable void r 203REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,ac 204 205name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM7/mem-module 206PROP FRUDataAvailable void r 207REFPROP _seeprom_source /platform/i2c@1f,520000/dimm-spd@0,ae 208 209/* 210 * _fru_parent memory modules 211 */ 212name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=0 213REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM0/mem-module 214 215name:/platform/memory-controller?portid=0/memory-module-group?ID=0/memory-module?ID=1 216REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM1/mem-module 217 218name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=0 219REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM2/mem-module 220 221name:/platform/memory-controller?portid=0/memory-module-group?ID=1/memory-module?ID=1 222REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM3/mem-module 223 224name:/platform/memory-controller?portid=1/memory-module-group?ID=0/memory-module?ID=0 225REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM4/mem-module 226 227name:/platform/memory-controller?portid=1/memory-module-group?ID=0/memory-module?ID=1 228REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM5/mem-module 229 230name:/platform/memory-controller?portid=1/memory-module-group?ID=1/memory-module?ID=0 231REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM6/mem-module 232 233name:/platform/memory-controller?portid=1/memory-module-group?ID=1/memory-module?ID=1 234REFPROP _fru_parent /frutree/chassis/MB/system-board/mem-slot?Label=DIMM7/mem-module 235 236 237/* 238 * _fru_parent CPU, memory-controller devices 239 */ 240_class:/PLATFORM_CLASS/cpu?ID=0 241REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=0/cpu-module 242 243name:/platform/memory-controller?portid=0 244REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=0/cpu-module 245 246_class:/PLATFORM_CLASS/cpu?ID=1 247REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=1/cpu-module 248 249name:/platform/memory-controller?portid=1 250REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=1/cpu-module 251 252/* 253 * _fru_parent motherboard 254 */ 255_class:/PLATFORM_CLASS 256REFPROP _fru_parent /frutree/chassis/MB/system-board 257 258/* 259 * _fru_parent PCI devices 260 * 261 * FIXIT: verify pci slot addresses 262 */ 263_class:/PLATFORM_CLASS/pci?UnitAddress=1f,700000/picl?DeviceID=0 264REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI4/pci-card 265 266_class:/PLATFORM_CLASS/pci@1e,600000/pci@0/pci?UnitAddress=0/picl?DeviceID=0 267REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI3/pci-card 268 269_class:/PLATFORM_CLASS/pci@1e,600000/pci@0/pci?UnitAddress=1/picl?DeviceID=0 270REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI2/pci-card 271 272_class:/PLATFORM_CLASS/pci@1e,600000/pci@0/pci@2/pci@0/pci?UnitAddress=8/picl?DeviceID=0 273REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI1/pci-card 274 275_class:/PLATFORM_CLASS/pci@1e,600000/pci@0/pci@0/pci?UnitAddress=0,2/picl?DeviceID=0 276REFPROP _fru_parent /frutree/chassis/MB/system-board/pci-slot?Label=PCI0/pci-card 277 278/* 279 * _fru_parent for fans 280 */ 281name:/platform/ebus@1f,464000/env-monitor@3,0/system-fan0 282REFPROP _fru_parent /frutree/chassis/F0/system-fan0 283 284name:/platform/ebus@1f,464000/env-monitor@3,0/system-fan1 285REFPROP _fru_parent /frutree/chassis/F1/system-fan1 286 287name:/platform/ebus@1f,464000/env-monitor@3,0/system-fan2 288REFPROP _fru_parent /frutree/chassis/F2/system-fan2 289 290name:/platform/ebus@1f,464000/env-monitor@3,0/system-fan3 291REFPROP _fru_parent /frutree/chassis/F3/system-fan3 292 293name:/platform/ebus@1f,464000/env-monitor@3,0/system-fan4 294REFPROP _fru_parent /frutree/chassis/F4/system-fan4 295 296/* 297 * _fru_parent for sensors 298 */ 299name:/platform/ebus@1f,464000/env-monitor@3,0/cpu0 300REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=0/cpu-module 301 302name:/platform/ebus@1f,464000/env-monitor@3,0/cpu1 303REFPROP _fru_parent /frutree/chassis/MB/system-board/cpu-slot?Slot=1/cpu-module 304 305name:/platform/ebus@1f,464000/env-monitor@3,0/MotherBoard 306REFPROP _fru_parent /frutree/chassis/MB/system-board 307 308name:/platform/ebus@1f,464000/env-monitor@3,0/ADT7462 309REFPROP _fru_parent /frutree/chassis/MB/system-board 310 311name:/platform/ebus@1f,464000/env-monitor@3,0/LM95221 312REFPROP _fru_parent /frutree/chassis/MB/system-board 313 314name:/platform/ebus@1f,464000/env-monitor@3,0/FireASIC 315REFPROP _fru_parent /frutree/chassis/MB/system-board 316 317name:/platform/ebus@1f,464000/env-monitor@3,0/LSI1064 318REFPROP _fru_parent /frutree/chassis/MB/system-board 319 320name:/platform/ebus@1f,464000/env-monitor@3,0/Front_panel 321REFPROP _fru_parent /frutree/chassis/FIOB/system-board 322 323/* 324 * Environmental device associated with motherboard 325 */ 326name:/frutree/chassis/MB/system-board 327TABLE Devices 328ROW 329PROP Class string r 0 "temperature-sensor" 330REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/MotherBoard 331ENDROW 332ROW 333PROP Class string r 0 "temperature-sensor" 334REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/ADT7462 335ENDROW 336ROW 337PROP Class string r 0 "temperature-sensor" 338REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/LM95221 339ENDROW 340ROW 341PROP Class string r 0 "temperature-sensor" 342REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/FireASIC 343ENDROW 344ROW 345PROP Class string r 0 "temperature-sensor" 346REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/LSI1064 347ENDROW 348ENDTABLE 349 350/* 351 * Environmental device associated with front panel io board 352 */ 353name:/frutree/chassis/FIOB/system-board 354TABLE Devices 355ROW 356PROP Class string r 0 "temperature-sensor" 357REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/Front_panel 358ENDROW 359ENDTABLE 360 361/* 362 * Environmental devices associated with cpus 363 */ 364 365name:/frutree/chassis/MB/system-board/cpu-slot?Slot=0/cpu-module 366TABLE Devices 367ROW 368PROP Class string r 0 "temperature-sensor" 369REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/cpu0 370ENDROW 371ROW 372PROP Class string r 0 "cpu" 373REFPROP _cpu_ _class:/PLATFORM_CLASS/cpu?ID=0 374ENDROW 375ENDTABLE 376 377name:/frutree/chassis/MB/system-board/cpu-slot?Slot=1/cpu-module 378TABLE Devices 379ROW 380PROP Class string r 0 "temperature-sensor" 381REFPROP _temperature-sensor_ name:/platform/ebus@1f,464000/env-monitor@3,0/cpu1 382ENDROW 383ROW 384PROP Class string r 0 "cpu" 385REFPROP _cpu_ _class:/PLATFORM_CLASS/cpu?ID=1 386ENDROW 387ENDTABLE 388 389/* 390 * Hard disk link between fru and device tree 391 * 392 * FIXIT: update pathnames when LSI1064 changes from being a plugin card 393 * to onboard eventually. Currently, the path is that of sas at PCI-X slot 0 394 */ 395name:/frutree/chassis/SAS-BP/HDD0/disk 396TABLE Devices 397ROW 398PROP Class string r 0 "block" 399REFPROP _block_ name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@0,0 400ENDROW 401ENDTABLE 402name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@0,0 403REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD0/disk 404name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@0,0/hard-disk0 405REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD0/disk 406 407name:/frutree/chassis/SAS-BP/HDD1/disk 408TABLE Devices 409ROW 410PROP Class string r 0 "block" 411REFPROP _block_ name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@1,0 412ENDROW 413ENDTABLE 414name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@1,0 415REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD1/disk 416name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@1,0/hard-disk1 417REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD1/disk 418 419name:/frutree/chassis/SAS-BP/HDD2/disk 420TABLE Devices 421ROW 422PROP Class string r 0 "block" 423REFPROP _block_ name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@2,0 424ENDROW 425ENDTABLE 426name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@2,0 427REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD2/disk 428name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@2,0/hard-disk2 429REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD2/disk 430 431name:/frutree/chassis/SAS-BP/HDD3/disk 432TABLE Devices 433ROW 434PROP Class string r 0 "block" 435REFPROP _block_ name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@3,0 436ENDROW 437ENDTABLE 438name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@3,0 439REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD3/disk 440name:/platform/pci@1e,600000/pci@0/pci@a/pci@0/LSILogic,sas@1/sd@3,0/hard-disk3 441REFPROP _fru_parent name:/frutree/chassis/SAS-BP/HDD3/disk 442