blob: 26a84213a217521d058985b572424d0b88f36426 (
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
|
# $OpenBSD: files.gpio,v 1.9 2011/10/03 20:24:51 matthieu Exp $
define gpio {[offset = -1], [mask = 0], [flag = 0]}
device gpio: gpio
attach gpio at gpiobus
file dev/gpio/gpio.c gpio needs-flag
# GPIO simulator
device gpiosim: gpiobus
attach gpiosim at root
file dev/gpio/gpiosim.c gpiosim needs-flag
# I2C bus bit-banging
device gpioiic: i2cbus, i2c_bitbang
attach gpioiic at gpio
file dev/gpio/gpioiic.c gpioiic
# 1-Wire bus bit-banging
device gpioow: onewirebus, onewire_bitbang
attach gpioow at gpio
file dev/gpio/gpioow.c gpioow
# DCF77/HBG time signal station receivers
device gpiodcf
attach gpiodcf at gpio
file dev/gpio/gpiodcf.c gpiodcf
|