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 * supported prop types: void, int, uint, float, string 29 * supported prop access_modes: r, w, rw 30 * 31 * VERSION <version_number> -- supported version number is 1.0 32 * 33 * name:<namepath> -- gives the anchor node 34 * where <namepath> is <nodename>[@<bus-addr>][?<prop>=<val>] 35 * 36 * _class:<classpath> -- gives the anchor node 37 * where <classpath> is <classname>[@<bus-addr>][?<prop>=<val>] 38 * 39 * NODE <name> <class> 40 * {describes a subtree} 41 * ENDNODE 42 * 43 * PROP <name> <type> <access_mode> [<size> <value>] -- per property 44 * 45 * REFPROP <name> <dstnode> 46 * 47 * REFNODE <name> <class> with <destnode> -- Associates a new node 48 * with <destnode> if exists 49 * where 50 * <name> is the nodename 51 * <class> is the picl class. 52 * <destnode> is name:<namepath> or _class:<classpath> 53 * 54 * If "name:" or "_class:" is not specified in the <path>, 55 * the default is "name:" 56 * 57 */ 58 59#define PLATFORM_CLASS jbus 60 61VERSION 1.1 62NODE frutree picl 63 NODE chassis fru 64 /* 65 * SunMC physical view view_points for this platform 66 * This will get moved to a separate SunMC physical view plugin later. 67 */ 68 PROP ViewPoints string r 0 "front rear side" 69 NODE MB location 70 PROP SlotType string r 0 "system-board" 71 PROP Label string r 0 "MB" 72 ENDNODE 73 NODE F0 location 74 PROP SlotType string r 0 "fan-unit" 75 PROP Label string r 0 "F0" 76 NODE intake-fan fru 77 ENDNODE 78 ENDNODE 79 NODE F1 location 80 PROP SlotType string r 0 "fan-unit" 81 PROP Label string r 0 "F1" 82 NODE cpu0-fan fru 83 ENDNODE 84 ENDNODE 85 NODE F2 location 86 PROP SlotType string r 0 "fan-unit" 87 PROP Label string r 0 "F2" 88 NODE cpu1-fan fru 89 ENDNODE 90 ENDNODE 91 NODE F3 location 92 PROP SlotType string r 0 "fan-unit" 93 PROP Label string r 0 "F3" 94 NODE outtake-fan fru 95 ENDNODE 96 ENDNODE 97 NODE PS0 location 98 PROP SlotType string r 0 "power-supply" 99 PROP Label string r 0 "PS0" 100 NODE power-supply fru 101 ENDNODE 102 ENDNODE 103 NODE SCSI-BP fru 104 PROP FRUDataAvailable void r 105 REFPROP _seeprom_source /platform/pci@1e,600000/isa@7/i2c@0,320/scsi-backplane-fru-prom 106 NODE HDD0 location 107 PROP SlotType string r 0 "disk-slot" 108 PROP Label string r 0 "HDD0" 109 ENDNODE 110 NODE HDD1 location 111 PROP SlotType string r 0 "disk-slot" 112 PROP Label string r 0 "HDD1" 113 ENDNODE 114 ENDNODE 115 NODE RM0 location 116 PROP SlotType string r 0 "cdrom-slot" 117 PROP Label string r 0 "RM0" 118 ENDNODE 119 ENDNODE 120ENDNODE 121 122/* add disk fru nodes for disks which are present */ 123name:/frutree/chassis/SCSI-BP/HDD0 124 REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@0,0 125name:/frutree/chassis/SCSI-BP/HDD1 126 REFNODE disk fru WITH name:/platform/pci@1d,700000/scsi@4/sd@1,0 127name:/frutree/chassis/RM0 128 REFNODE cdrom fru WITH name:/platform/pci@1e,600000/ide@d/sd@2,0 129 130name:/frutree/chassis/MB 131#include "system-board.info" 132 133