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 2003 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 ENDNODE 48 ENDNODE 49 50/* 51 * motherboard seeprom source 52 */ 53name:/frutree/chassis/MB/system-board 54 PROP FRUDataAvailable void r 55 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/motherboard-fru-prom@0,a2 56 57name:/platform/pci@1e,600000/isa@7/i2c@0,320/motherboard-fru-prom@0,a2 58 REFPROP _fru_parent /frutree/chassis/MB/system-board 59 60/* 61 * ALOM (sc) node and fru-prom 62 */ 63name:/frutree/chassis/MB/system-board/SC 64 REFNODE sc fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/alom-fru-prom@0,a6 65name:/frutree/chassis/MB/system-board/SC/sc 66 PROP FRUDataAvailable void r 67 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/alom-fru-prom@0,a6 68name:/platform/pci@1e,600000/isa@7/i2c@0,320/alom-fru-prom@0,a6 69 REFPROP _fru_parent /frutree/chassis/MB/system-board/SC/sc 70 71/* 72 * Processors 73 */ 74name:/frutree/chassis/MB/system-board 75NODE CPU0 location 76 PROP SlotType string r 0 "cpu" 77 PROP Label string r 0 "CPU0" 78ENDNODE 79NODE CPU1 location 80 PROP SlotType string r 0 "cpu" 81 PROP Label string r 0 "CPU1" 82ENDNODE 83 84/* 85 * Processor 0 86 */ 87name:/frutree/chassis/MB/system-board/CPU0 88 REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi@0,0 89name:/frutree/chassis/MB/system-board/CPU0/cpu 90 REFNODE F0 location WITH name:/frutree/chassis/MB/system-board/CPU0/cpu 91name:/frutree/chassis/MB/system-board/CPU0/cpu/F0 92 PROP SlotType string r 0 "fan-unit" 93 PROP Label string r 0 "F0" 94 REFNODE fan-unit fru WITH name:RMCLOMV/mb_cpu0_f0_rs 95name:/frutree/chassis/MB/system-board 96 REFNODE DIMM0 location WITH name:/frutree/chassis/MB/system-board/ 97 REFNODE DIMM1 location WITH name:/frutree/chassis/MB/system-board/ 98 REFNODE DIMM2 location WITH name:/frutree/chassis/MB/system-board/ 99 REFNODE DIMM3 location WITH name:/frutree/chassis/MB/system-board/ 100 101/* 102 * Processor 1 103 */ 104name:/frutree/chassis/MB/system-board/CPU1 105 REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi@1,0 106name:/frutree/chassis/MB/system-board/CPU1/cpu 107 REFNODE F0 location WITH name:/frutree/chassis/MB/system-board/CPU1/cpu 108name:/frutree/chassis/MB/system-board/CPU1/cpu/F0 109 PROP SlotType string r 0 "fan-unit" 110 PROP Label string r 0 "F0" 111 REFNODE fan-unit fru WITH name:RMCLOMV/mb_cpu1_f0_rs 112name:/frutree/chassis/MB/system-board 113 REFNODE DIMM4 location WITH name:/frutree/chassis/MB/system-board 114 REFNODE DIMM5 location WITH name:/frutree/chassis/MB/system-board 115 REFNODE DIMM6 location WITH name:/frutree/chassis/MB/system-board 116 REFNODE DIMM7 location WITH name:/frutree/chassis/MB/system-board 117 118/* 119 * Processor 0 memory 120 */ 121name:/frutree/chassis/MB/system-board/DIMM0 122 PROP SlotType string r 0 "memory-module" 123 PROP Label string r 0 "DIMM0" 124name:/frutree/chassis/MB/system-board/DIMM1 125 PROP SlotType string r 0 "memory-module" 126 PROP Label string r 0 "DIMM1" 127name:/frutree/chassis/MB/system-board/DIMM2 128 PROP SlotType string r 0 "memory-module" 129 PROP Label string r 0 "DIMM2" 130name:/frutree/chassis/MB/system-board/DIMM3 131 PROP SlotType string r 0 "memory-module" 132 PROP Label string r 0 "DIMM3" 133 134/* 135 * Processor 1 memory 136 */ 137name:/frutree/chassis/MB/system-board/DIMM4 138 PROP SlotType string r 0 "memory-module" 139 PROP Label string r 0 "DIMM4" 140name:/frutree/chassis/MB/system-board/DIMM5 141 PROP SlotType string r 0 "memory-module" 142 PROP Label string r 0 "DIMM5" 143name:/frutree/chassis/MB/system-board/DIMM6 144 PROP SlotType string r 0 "memory-module" 145 PROP Label string r 0 "DIMM6" 146name:/frutree/chassis/MB/system-board/DIMM7 147 PROP SlotType string r 0 "memory-module" 148 PROP Label string r 0 "DIMM7" 149 150/* 151 * Dimm nodes 152 */ 153name:/frutree/chassis/MB/system-board/DIMM0 154 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b6 155name:/frutree/chassis/MB/system-board/DIMM1 156 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b8 157name:/frutree/chassis/MB/system-board/DIMM2 158 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ba 159name:/frutree/chassis/MB/system-board/DIMM3 160 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc 161name:/frutree/chassis/MB/system-board/DIMM4 162 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c6 163name:/frutree/chassis/MB/system-board/DIMM5 164 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c8 165name:/frutree/chassis/MB/system-board/DIMM6 166 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ca 167name:/frutree/chassis/MB/system-board/DIMM7 168 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,cc 169 170/* 171 * DIMM seeprom sources 172 */ 173name:/frutree/chassis/MB/system-board/DIMM0/mem-module 174 PROP FRUDataAvailable void r 175 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b6 176name:/frutree/chassis/MB/system-board/DIMM1/mem-module 177 PROP FRUDataAvailable void r 178 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b8 179name:/frutree/chassis/MB/system-board/DIMM2/mem-module 180 PROP FRUDataAvailable void r 181 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ba 182name:/frutree/chassis/MB/system-board/DIMM3/mem-module 183 PROP FRUDataAvailable void r 184 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc 185name:/frutree/chassis/MB/system-board/DIMM4/mem-module 186 PROP FRUDataAvailable void r 187 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c6 188name:/frutree/chassis/MB/system-board/DIMM5/mem-module 189 PROP FRUDataAvailable void r 190 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c8 191name:/frutree/chassis/MB/system-board/DIMM6/mem-module 192 PROP FRUDataAvailable void r 193 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ca 194name:/frutree/chassis/MB/system-board/DIMM7/mem-module 195 PROP FRUDataAvailable void r 196 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,cc 197 198/* 199 * DIMM FRU parents 200 */ 201name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b6 202 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM0/mem-module 203name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b8 204 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM1/mem-module 205name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ba 206 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM2/mem-module 207name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc 208 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM3/mem-module 209name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c6 210 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM4/mem-module 211name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c8 212 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM5/mem-module 213name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ca 214 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM6/mem-module 215name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,cc 216 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM7/mem-module 217 218name:/platform/SUNW,UltraSPARC-IIIi@0,0 219 REFPROP _fru_parent /frutree/chassis/MB/system-board/CPU0/cpu 220 221name:/platform/SUNW,UltraSPARC-IIIi@1,0 222 REFPROP _fru_parent /frutree/chassis/MB/system-board/CPU1/cpu 223 224/* 225 * DIMM parents 226 */ 227name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=0 228 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM0/mem-module 229name:/platform/memory-controller@0,0/memory-module-group?ID=0/memory-module?ID=1 230 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM1/mem-module 231name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=0 232 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM2/mem-module 233name:/platform/memory-controller@0,0/memory-module-group?ID=1/memory-module?ID=1 234 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM3/mem-module 235name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=0 236 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM4/mem-module 237name:/platform/memory-controller@1,0/memory-module-group?ID=0/memory-module?ID=1 238 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM5/mem-module 239name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=0 240 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM6/mem-module 241name:/platform/memory-controller@1,0/memory-module-group?ID=1/memory-module?ID=1 242 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/DIMM7/mem-module 243/* 244 * create reference properties for motherboard pci devices 245 */ 246_class:/jbus/pci@1c,600000 247 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 248_class:/jbus/pci@1d,700000 249 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 250_class:/jbus/pci@1e,600000 251 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 252_class:/jbus/pci@1f,700000 253 REFPROP _fru_parent name:/frutree/chassis/MB/system-board 254