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