diff options
| author | 2016-06-20 13:42:42 +0000 | |
|---|---|---|
| committer | 2016-06-20 13:42:42 +0000 | |
| commit | 2d678980d7caeee986d1cb5b289a2daefdc20fe0 (patch) | |
| tree | 57d999f29548b5d193e10943b3938bc4cfe4c03e /sys/dev/i2c/files.i2c | |
| parent | In iwm(4), send PHY DB commands as async commands. (diff) | |
| download | wireguard-openbsd-2d678980d7caeee986d1cb5b289a2daefdc20fe0.tar.xz wireguard-openbsd-2d678980d7caeee986d1cb5b289a2daefdc20fe0.zip | |
I2C driver for the Maxim DS1307 Real Time Clock chip.
The chip has been found on a Sun Fire V210 as a second RTC hooked up
to the SMU. Setting the time there has the advantage that it remains
after a boot since the internal V210 RTC will be synced by the DS1307
at boot time.
Not linked to sparc64 yet since it will overwrite the internal RTC
handler.
ok deraadt
Diffstat (limited to 'sys/dev/i2c/files.i2c')
| -rw-r--r-- | sys/dev/i2c/files.i2c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/i2c/files.i2c b/sys/dev/i2c/files.i2c index afc58215e4c..c9103c79f1d 100644 --- a/sys/dev/i2c/files.i2c +++ b/sys/dev/i2c/files.i2c @@ -1,4 +1,4 @@ -# $OpenBSD: files.i2c,v 1.55 2016/05/16 22:05:36 kettenis Exp $ +# $OpenBSD: files.i2c,v 1.56 2016/06/20 13:42:42 mglocker Exp $ # $NetBSD: files.i2c,v 1.3 2003/10/20 16:24:10 briggs Exp $ define i2c {[addr = -1], [size = -1]} @@ -74,6 +74,11 @@ device pcagpio: gpiobus attach pcagpio at i2c file dev/i2c/pca9554.c pcagpio +# Maxim DS1307 +device maxrtc +attach maxrtc at i2c +file dev/i2c/ds1307.c maxrtc + # Maxim DS1631 device maxds attach maxds at i2c |
