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 (c) 2000-2001 by Sun Microsystems, Inc.
24 * All rights reserved.
25 *
26 * #ident	"%Z%%M%	%I%	%E% SMI"
27 */
28
29/*
30 * fan nodes under the chasis
31 */
32name:/frutree/chassis/cpu-fan-slot
33NODE cpu-fan fru
34ENDNODE
35
36name:/frutree/chassis/system-fan-slot
37NODE system-fan fru
38ENDNODE
39
40/*
41 * temperature_sensors on cpu-module
42 */
43name:/frutree/chassis/system-board/cpu-slot?Slot=0/cpu-module
44
45TABLE Devices
46
47ROW
48PROP Class string r 0 "temperature-sensor"
49REFPROP _temperature-sensor_ /platform/pci/ebus/i2c?UnitAddress=1,30/temperature?UnitAddress=0,30/cpu0
50ENDROW
51
52ROW
53PROP Class string r 0 "temperature-sensor"
54REFPROP _temperature-sensor_ /platform/pci/ebus/i2c?UnitAddress=1,30/temperature?UnitAddress=0,30/cpu0-ambient
55ENDROW
56
57ENDTABLE
58
59name:/frutree/chassis/system-board/cpu-slot?Slot=0x1/cpu-module
60
61TABLE Devices
62
63ROW
64PROP Class string r 0 "temperature-sensor"
65REFPROP _temperature-sensor_ /platform/pci/ebus/i2c?UnitAddress=1,30/temperature?UnitAddress=0,98/cpu1
66ENDROW
67
68ROW
69PROP Class string r 0 "temperature-sensor"
70REFPROP _temperature-sensor_ /platform/pci/ebus/i2c?UnitAddress=1,30/temperature?UnitAddress=0,98/cpu1-ambient
71ENDROW
72
73ENDTABLE
74
75/*
76 * i2c devices for fans
77 */
78name:/frutree/chassis/cpu-fan-slot/cpu-fan
79
80TABLE Devices
81ROW
82PROP Class string r 0 "fan"
83REFPROP _fan_ /platform/pci/ebus/i2c?UnitAddress=1,30/fan-control/cpu
84ENDROW
85ENDTABLE
86
87name:/frutree/chassis/system-fan-slot/system-fan
88
89TABLE Devices
90ROW
91PROP Class string r 0 "fan"
92REFPROP _fan_ /platform/pci/ebus/i2c?UnitAddress=1,30/fan-control/system
93ENDROW
94ENDTABLE
95
96name:/frutree/chassis/power-supply-slot/power-supply
97
98TABLE Devices
99ROW
100PROP Class string r 0 "fan"
101REFPROP _fan_ /platform/pci/ebus/i2c?UnitAddress=1,30/fan-control/power-supply
102ENDROW
103ENDTABLE
104
105/*
106 * _fru_parent for the i2c fan devices
107 */
108name:/platform/pci/ebus/i2c?UnitAddress=1,30/fan-control/system
109REFPROP _fru_parent /frutree/chassis/system-fan-slot/system-fan
110PROP Label string r 0 "system-fan"
111
112name:/platform/pci/ebus/i2c?UnitAddress=1,30/fan-control/cpu
113REFPROP _fru_parent /frutree/chassis/cpu-fan-slot/cpu-fan
114PROP Label string r 0 "cpu-fan"
115
116name:/platform/pci/ebus/i2c?UnitAddress=1,30/fan-control/power-supply
117REFPROP _fru_parent /frutree/chassis/power-supply-slot/power-supply
118PROP Label string r 0 "power-supply"
119
120