summaryrefslogtreecommitdiff
path: root/sys/dev/gpio/files.gpio
blob: abb9fb2bb9b1ac1388eeb1b54219e5aea590919f (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.10 2015/06/07 20:11:52 claudio 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 time signal station receivers
device	gpiodcf
attach	gpiodcf at gpio
file	dev/gpio/gpiodcf.c			gpiodcf