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 2005 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
31 NODE SUNW,Netra-CP3010 fru
34 PROP Label string r 0 "CPU 0"
35 PROP GeoAddr uint r 1 1
36 PROP SlotType string r 0 "cpu"
40 PROP Label string r 0 "CPU 1"
41 PROP GeoAddr uint r 1 2
42 PROP SlotType string r 0 "cpu"
45 NODE mem-slot location
46 PROP GeoAddr uint r 1 1
47 PROP Label string r 0 "DIMM0"
48 PROP SlotType string r 0 "memory-module"
51 NODE mem-slot location
52 PROP GeoAddr uint r 1 2
53 PROP Label string r 0 "DIMM1"
54 PROP SlotType string r 0 "memory-module"
57 NODE mem-slot location
58 PROP GeoAddr uint r 1 3
59 PROP Label string r 0 "DIMM2"
60 PROP SlotType string r 0 "memory-module"
63 NODE mem-slot location
64 PROP GeoAddr uint r 1 4
65 PROP Label string r 0 "DIMM3"
66 PROP SlotType string r 0 "memory-module"
72 * create the fru modules for CPU
74 name:/frutree/chassis/MB/SUNW,Netra-CP3010/CPU?GeoAddr=1
75 REFNODE cpu-module fru WITH _class:/PLATFORM_CLASS/cpu?ID=0
77 name:/frutree/chassis/MB/SUNW,Netra-CP3010/CPU?GeoAddr=2
78 REFNODE cpu-module fru WITH _class:/PLATFORM_CLASS/cpu?ID=1
81 * _fru_parent CPU devices
83 _class:/PLATFORM_CLASS/cpu?ID=0
84 REFPROP _fru_parent /frutree/chassis/MB/SUNW,Netra-CP3010/CPU?GeoAddr=1/cpu-module
86 _class:/PLATFORM_CLASS/cpu?ID=1
87 REFPROP _fru_parent /frutree/chassis/MB/SUNW,Netra-CP3010/CPU?GeoAddr=2/cpu-module
90 * _fru_parent motherboard
92 _class:/PLATFORM_CLASS
93 REFPROP _fru_parent /frutree/chassis/MB/SUNW,Netra-CP3010
96 * Set up memory module fru
98 name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM0
99 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a0
101 name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM1
102 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a2
104 name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM2
105 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a4
107 name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM3
108 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a6
111 * seeprom source for motherboard
113 name:/frutree/chassis/MB/SUNW,Netra-CP3010
114 PROP FRUDataAvailable void r
115 REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/motherboard-fru-prom@81,a8
118 * seeprom source for dimms
120 name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM0/mem-module
121 PROP FRUDataAvailable void r
122 REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a0
124 name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM1/mem-module
125 PROP FRUDataAvailable void r
126 REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a2
128 name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM2/mem-module
129 PROP FRUDataAvailable void r
130 REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a4
132 name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM3/mem-module
133 PROP FRUDataAvailable void r
134 REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a6