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 2005 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 SUNW,Netra-CP3010 fru 32 33NODE CPU location 34 PROP Label string r 0 "CPU 0" 35 PROP GeoAddr uint r 1 1 36 PROP SlotType string r 0 "cpu" 37ENDNODE 38 39NODE CPU location 40 PROP Label string r 0 "CPU 1" 41 PROP GeoAddr uint r 1 2 42 PROP SlotType string r 0 "cpu" 43ENDNODE 44 45NODE 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" 49ENDNODE 50 51NODE 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" 55ENDNODE 56 57NODE 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" 61ENDNODE 62 63NODE 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" 67ENDNODE 68 69ENDNODE 70 71/* 72 * create the fru modules for CPU 73 */ 74name:/frutree/chassis/MB/SUNW,Netra-CP3010/CPU?GeoAddr=1 75REFNODE cpu-module fru WITH _class:/PLATFORM_CLASS/cpu?ID=0 76 77name:/frutree/chassis/MB/SUNW,Netra-CP3010/CPU?GeoAddr=2 78REFNODE cpu-module fru WITH _class:/PLATFORM_CLASS/cpu?ID=1 79 80/* 81 * _fru_parent CPU devices 82 */ 83_class:/PLATFORM_CLASS/cpu?ID=0 84REFPROP _fru_parent /frutree/chassis/MB/SUNW,Netra-CP3010/CPU?GeoAddr=1/cpu-module 85 86_class:/PLATFORM_CLASS/cpu?ID=1 87REFPROP _fru_parent /frutree/chassis/MB/SUNW,Netra-CP3010/CPU?GeoAddr=2/cpu-module 88 89/* 90 * _fru_parent motherboard 91 */ 92_class:/PLATFORM_CLASS 93REFPROP _fru_parent /frutree/chassis/MB/SUNW,Netra-CP3010 94 95/* 96 * Set up memory module fru 97 */ 98name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM0 99REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a0 100 101name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM1 102REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a2 103 104name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM2 105REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a4 106 107name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM3 108REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a6 109 110/* 111 * seeprom source for motherboard 112 */ 113name:/frutree/chassis/MB/SUNW,Netra-CP3010 114PROP FRUDataAvailable void r 115REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/motherboard-fru-prom@81,a8 116 117/* 118 * seeprom source for dimms 119 */ 120name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM0/mem-module 121PROP FRUDataAvailable void r 122REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a0 123 124name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM1/mem-module 125PROP FRUDataAvailable void r 126REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a2 127 128name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM2/mem-module 129PROP FRUDataAvailable void r 130REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a4 131 132name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM3/mem-module 133PROP FRUDataAvailable void r 134REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a6 135