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
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.
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]
23 * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
26 * #ident "%Z%%M% %I% %E% SMI"
28 * This file creates the system board structure
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"
38 NODE fan-slot location
39 PROP SlotType string r 0 "fan-unit"
40 PROP Label string r 0 "cpu-fan"
43 NODE mem-slot location
44 PROP SlotType string r 0 "memory-module"
46 PROP Label string r 0 "DIMM0"
48 NODE mem-slot location
49 PROP SlotType string r 0 "memory-module"
51 PROP Label string r 0 "DIMM1"
56 * create the fru modules for CPUs in the fru tree
58 name:/frutree/chassis/system-board/cpu-slot?Slot=0
59 REFNODE cpu-module fru WITH _class:/upa/cpu?ID=0
63 * seeprom source for motherboard
65 name:/frutree/chassis/system-board
66 PROP FRUDataAvailable void r
67 REFPROP _seeprom_source name:/platform/pci/isa/bscbus/i2c/motherboard-fru
71 * Set up memory module fru
73 name:/frutree/chassis/system-board/mem-slot?Label=DIMM0
74 REFNODE mem-module fru WITH name:/platform/pci/pmu/i2c/dimm-fru-prom?UnitAddress=0,a8
76 name:/frutree/chassis/system-board/mem-slot?Label=DIMM1
77 REFNODE mem-module fru WITH name:/platform/pci/pmu/i2c/dimm-fru-prom?UnitAddress=0,aa
81 * _fru_parent memory seeprom devices
83 name:/platform/pci/pmu/i2c/dimm-fru-prom?UnitAddress=0,a8
84 REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=DIMM0/mem-module
86 name:/platform/pci/pmu/i2c/dimm-fru-prom?UnitAddress=0,aa
87 REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=DIMM1/mem-module
91 * _fru_parent CPU, memory-controller devices
94 REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
96 name:/platform/memory-controller?portid=0
97 REFPROP _fru_parent /frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
101 * _fru_parent motherboard & platform
103 name:/platform/pci/isa/bscbus/i2c/motherboard-fru
104 REFPROP _fru_parent /frutree/chassis/system-board
106 REFPROP _fru_parent /frutree/chassis/system-board
109 * _fru_parent memory modules
111 name:/platform/memory-controller/memory-module?ID=0
112 REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=DIMM0/mem-module
114 name:/platform/memory-controller/memory-module?ID=1
115 REFPROP _fru_parent name:/frutree/chassis/system-board/mem-slot?Label=DIMM1/mem-module