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 31NODE system-board fru 32 PROP SlotType string r 0 "system-board" 33 NODE cpu-slot location 34 PROP SlotType string r 0 "cpu" 35 PROP Label string r 0 "CPU0" 36 PROP Slot uint r 4 0 37 ENDNODE 38 NODE fan-slot location 39 PROP SlotType string r 0 "fan-unit" 40 PROP Label string r 0 "cpu-fan" 41 PROP Slot uint r 4 0 42 ENDNODE 43 NODE mem-slot location 44 PROP SlotType string r 0 "memory-module" 45 PROP Slot uint r 4 0 46 PROP Label string r 0 "DIMM0" 47 ENDNODE 48 NODE mem-slot location 49 PROP SlotType string r 0 "memory-module" 50 PROP Slot uint r 4 1 51 PROP Label string r 0 "DIMM1" 52 ENDNODE 53ENDNODE 54 55/* 56 * create the fru modules for CPUs in the fru tree 57 */ 58name:/frutree/chassis/system-board/cpu-slot?Slot=0 59REFNODE cpu-module fru WITH _class:/upa/cpu?ID=0 60 61 62/* 63 * seeprom source for motherboard 64 */ 65name:/frutree/chassis/system-board 66PROP FRUDataAvailable void r 67REFPROP _seeprom_source name:/platform/pci/isa/bscbus/i2c/motherboard-fru 68 69 70/* 71 * Set up memory module fru 72 */ 73name:/frutree/chassis/system-board/mem-slot?Label=DIMM0 74REFNODE mem-module fru WITH name:/platform/pci/pmu/i2c/dimm-fru-prom?UnitAddress=0,a8 75 76name:/frutree/chassis/system-board/mem-slot?Label=DIMM1 77REFNODE mem-module fru WITH name:/platform/pci/pmu/i2c/dimm-fru-prom?UnitAddress=0,aa 78 79 80/* 81 * _fru_parent memory seeprom devices 82 */ 83name:/platform/pci/pmu/i2c/dimm-fru-prom?UnitAddress=0,a8 84REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=DIMM0/mem-module 85 86name:/platform/pci/pmu/i2c/dimm-fru-prom?UnitAddress=0,aa 87REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=DIMM1/mem-module 88 89 90/* 91 * _fru_parent CPU, memory-controller devices 92 */ 93_class:cpu?ID=0 94REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module 95 96name:/platform/memory-controller?portid=0 97REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module 98 99 100/* 101 * _fru_parent motherboard & platform 102 */ 103name:/platform/pci/isa/bscbus/i2c/motherboard-fru 104REFPROP _fru_parent /frutree/chassis/system-board 105name:/platform 106REFPROP _fru_parent /frutree/chassis/system-board 107 108/* 109 * _fru_parent memory modules 110 */ 111name:/platform/memory-controller/memory-module?ID=0 112REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=DIMM0/mem-module 113 114name:/platform/memory-controller/memory-module?ID=1 115REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=DIMM1/mem-module 116