blob: a89d56c11aeab7b6cf19747ff83c82b898ff0708 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
# $NetBSD: files.i2c,v 1.10 2006/04/26 06:52:09 gdamore Exp $
define i2cbus { }
define i2cexec
device iic { addr, [size = -1] }
attach iic at i2cbus
file dev/i2c/i2c.c iic | i2cbus
file dev/i2c/i2c_exec.c iic | i2cbus | i2cexec
# Common module for bit-bang'ing an I2C bus
define i2c_bitbang
file dev/i2c/i2c_bitbang.c i2c_bitbang
#
# I2C client devices
#
# M41T00 Real Time Clock
device m41trtc
attach m41trtc at iic
file dev/i2c/m41t00.c m41trtc
# M41ST84 Real Time Clock
device strtc
attach strtc at iic
file dev/i2c/m41st84.c strtc
# MAX6900 Real Time Clock
device maxrtc
attach maxrtc at iic
file dev/i2c/max6900.c maxrtc
# Philips PCF8583 Real Time Clock
device pcfrtc
attach pcfrtc at iic
file dev/i2c/pcf8583.c pcfrtc
# Atmel/Microchip 24Cxx Serial EEPROM
define at24cxx_eeprom
device seeprom
attach seeprom at iic
file dev/i2c/at24cxx.c seeprom | at24cxx_eeprom
needs-flag
# National Semiconductor LM75 temperature sensor
device lmtemp: sysmon_envsys
attach lmtemp at iic
file dev/i2c/lm75.c lmtemp
# Dallas DS1307 Real Time Clock
device dsrtc
attach dsrtc at iic
file dev/i2c/ds1307.c dsrtc
# Xicor X1226 Real Time Clock
device xrtc
attach xrtc at iic
file dev/i2c/x1226.c xrtc
# Analog Devices ADT 7463 thermal monitor / fan controller
define adt7463c {}
device adt7463c: sysmon_envsys
attach adt7463c at iic
file dev/i2c/adt7463.c adt7463c
# Analog Devices ADT 7467 thermal monitor / fan controller
define adt7467c {}
device adt7467c: sysmon_envsys
attach adt7467c at iic
file dev/i2c/adt7467.c adt7467c
# Analog Devices ADM 1030 thermal monitor / fan controller
define adm1030c {}
device adm1030c: sysmon_envsys
attach adm1030c at iic
file dev/i2c/adm1030.c adm1030c
# RICOH RS5C372[AB] Real Time Clock
device rs5c372rtc
attach rs5c372rtc at iic
file dev/i2c/rs5c372.c rs5c372rtc
# RICOH R2025S/D Real Time Clock
device r2025rtc
attach r2025rtc at iic
file dev/i2c/r2025.c r2025rtc
# VESA Display Data Channel 2
device ddc
define ddc_read_edid
attach ddc at iic
file dev/i2c/ddc.c ddc | ddc_read_edid
|