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 2002 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 31/* 32 * define a macro to force a #ident line into the output stream 33 * otherwise cpp removes it. Use #ifndef because of #included definitions. 34 */ 35#ifndef id 36#define id(s) #ident s 37#endif 38id("%Z%%M% %I% %E% SMI") 39 40/* 41 * Motherboard properties 42 */ 43name:/frutree/chassis/MB 44 NODE system-board fru 45 NODE SC location 46 PROP Label string r 0 "SC" 47 NODE sc fru 48 ENDNODE 49 ENDNODE 50 NODE BAT location 51 PROP Label string r 0 "BAT" 52 NODE battery fru 53 ENDNODE 54 ENDNODE 55 ENDNODE 56 57/* 58 * motherboard seeprom source 59 */ 60name:/frutree/chassis/MB/system-board 61 PROP FRUDataAvailable void r 62 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/motherboard-fru-prom@0,a2 63 64name:/platform/pci@1e,600000/isa@7/i2c@0,320/motherboard-fru-prom@0,a2 65 REFPROP _fru_parent /frutree/chassis/MB/system-board 66 67/* 68 * Processors 69 */ 70name:/frutree/chassis/MB/system-board 71NODE P0 location 72 PROP SlotType string r 0 "cpu" 73 PROP Label string r 0 "P0" 74ENDNODE 75NODE P1 location 76 PROP SlotType string r 0 "cpu" 77 PROP Label string r 0 "P1" 78ENDNODE 79 80/* 81 * Processor 0 82 */ 83name:/frutree/chassis/MB/system-board/P0 84 REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi@0,0 85name:/frutree/chassis/MB/system-board/P0/cpu 86 REFNODE F0 location WITH name:/frutree/chassis/MB/system-board/P0/cpu 87name:/frutree/chassis/MB/system-board/P0/cpu/F0 88 PROP SlotType string r 0 "fan-unit" 89 PROP Label string r 0 "F0" 90 REFNODE fan-unit fru WITH name:RMCLOMV/mb_p0_f0_rs 91name:/frutree/chassis/MB/system-board/P0/cpu 92 REFNODE F1 location WITH name:/frutree/chassis/MB/system-board/P0/cpu 93name:/frutree/chassis/MB/system-board/P0/cpu/F1 94 PROP SlotType string r 0 "fan-unit" 95 PROP Label string r 0 "F1" 96 REFNODE fan-unit fru WITH name:RMCLOMV/mb_p0_f1_rs 97name:/frutree/chassis/MB/system-board/P0/cpu 98 REFNODE B0 location WITH name:/frutree/chassis/MB/system-board/P0/cpu 99name:/frutree/chassis/MB/system-board/P0/cpu/B0 100 PROP Label string r 0 "B0" 101 REFNODE bank fru WITH name:/frutree/chassis/MB/system-board/P0/cpu 102name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank 103 REFNODE D0 location WITH name:/frutree/chassis/MB/system-board/P0/cpu 104 REFNODE D1 location WITH name:/frutree/chassis/MB/system-board/P0/cpu 105name:/frutree/chassis/MB/system-board/P0/cpu 106 REFNODE B1 location WITH name:/frutree/chassis/MB/system-board/P0/cpu 107name:/frutree/chassis/MB/system-board/P0/cpu/B1 108 PROP Label string r 0 "B1" 109 REFNODE bank fru WITH name:/frutree/chassis/MB/system-board/P0/cpu 110name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank 111 REFNODE D0 location WITH name:/frutree/chassis/MB/system-board/P0/cpu 112 REFNODE D1 location WITH name:/frutree/chassis/MB/system-board/P0/cpu 113 114/* 115 * Processor 1 116 */ 117name:/frutree/chassis/MB/system-board/P1 118 REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi@1,0 119name:/frutree/chassis/MB/system-board/P1/cpu 120 REFNODE F0 location WITH name:/frutree/chassis/MB/system-board/P1/cpu 121name:/frutree/chassis/MB/system-board/P1/cpu/F0 122 PROP SlotType string r 0 "fan-unit" 123 PROP Label string r 0 "F0" 124 REFNODE fan-unit fru WITH name:RMCLOMV/mb_p1_f0_rs 125name:/frutree/chassis/MB/system-board/P1/cpu 126 REFNODE F1 location WITH name:/frutree/chassis/MB/system-board/P1/cpu 127name:/frutree/chassis/MB/system-board/P1/cpu/F1 128 PROP SlotType string r 0 "fan-unit" 129 PROP Label string r 0 "F1" 130 REFNODE fan-unit fru WITH name:RMCLOMV/mb_p1_f1_rs 131name:/frutree/chassis/MB/system-board/P1/cpu 132 REFNODE B0 location WITH name:/frutree/chassis/MB/system-board/P1/cpu 133name:/frutree/chassis/MB/system-board/P1/cpu/B0 134 PROP Label string r 0 "B0" 135 REFNODE bank fru WITH name:/frutree/chassis/MB/system-board/P1/cpu 136name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank 137 REFNODE D0 location WITH name:/frutree/chassis/MB/system-board/P1/cpu 138 REFNODE D1 location WITH name:/frutree/chassis/MB/system-board/P1/cpu 139name:/frutree/chassis/MB/system-board/P1/cpu 140 REFNODE B1 location WITH name:/frutree/chassis/MB/system-board/P1/cpu 141name:/frutree/chassis/MB/system-board/P1/cpu/B1 142 PROP Label string r 0 "B1" 143 REFNODE bank fru WITH name:/frutree/chassis/MB/system-board/P1/cpu 144name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank 145 REFNODE D0 location WITH name:/frutree/chassis/MB/system-board/P1/cpu 146 REFNODE D1 location WITH name:/frutree/chassis/MB/system-board/P1/cpu 147 148/* 149 * Processor 0 memory 150 */ 151name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0 152 PROP SlotType string r 0 "memory-module" 153 PROP Label string r 0 "D0" 154name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1 155 PROP SlotType string r 0 "memory-module" 156 PROP Label string r 0 "D1" 157name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0 158 PROP SlotType string r 0 "memory-module" 159 PROP Label string r 0 "D0" 160name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1 161 PROP SlotType string r 0 "memory-module" 162 PROP Label string r 0 "D1" 163 164/* 165 * Processor 1 memory 166 */ 167name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0 168 PROP SlotType string r 0 "memory-module" 169 PROP Label string r 0 "D0" 170name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1 171 PROP SlotType string r 0 "memory-module" 172 PROP Label string r 0 "D1" 173name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0 174 PROP SlotType string r 0 "memory-module" 175 PROP Label string r 0 "D0" 176name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1 177 PROP SlotType string r 0 "memory-module" 178 PROP Label string r 0 "D1" 179 180/* 181 * Dimm nodes 182 */ 183name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0 184 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b6 185name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1 186 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b8 187name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0 188 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ba 189name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1 190 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc 191name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0 192 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c6 193name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1 194 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c8 195name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0 196 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ca 197name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1 198 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,cc 199 200/* 201 * DIMM seeprom sources 202 */ 203name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module 204 PROP FRUDataAvailable void r 205 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b6 206name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module 207 PROP FRUDataAvailable void r 208 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b8 209name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module 210 PROP FRUDataAvailable void r 211 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ba 212name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module 213 PROP FRUDataAvailable void r 214 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc 215name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module 216 PROP FRUDataAvailable void r 217 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c6 218name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module 219 PROP FRUDataAvailable void r 220 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c8 221name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module 222 PROP FRUDataAvailable void r 223 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ca 224name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module 225 PROP FRUDataAvailable void r 226 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,cc 227 228/* 229 * DIMM FRU parents 230 */ 231name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b6 232 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module 233name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b8 234 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module 235name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ba 236 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module 237name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc 238 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module 239name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c6 240 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module 241name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c8 242 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module 243name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ca 244 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module 245name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,cc 246 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module 247 248name:/platform/SUNW,UltraSPARC-IIIi@0,0 249 REFPROP _fru_parent /frutree/chassis/MB/system-board/P0/cpu 250 251name:/platform/SUNW,UltraSPARC-IIIi@1,0 252 REFPROP _fru_parent /frutree/chassis/MB/system-board/P1/cpu 253 254/* 255 * DIMM parents 256 */ 257name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0 258 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0/mem-module 259name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1 260 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1/mem-module 261name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0 262 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0/mem-module 263name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1 264 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1/mem-module 265name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0 266 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0/mem-module 267name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1 268 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1/mem-module 269name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0 270 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D0/mem-module 271name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1 272 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank/D1/mem-module 273/* 274 * create reference properties for motherboard pci devices 275 */ 276_class:/jbus/pci@1c,600000 277 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 278_class:/jbus/pci@1d,700000 279 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 280_class:/jbus/pci@1e,600000 281 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 282_class:/jbus/pci@1f,700000 283 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 284