xref: /openbsd/sys/dev/gpio/files.gpio (revision 76d0caae)
1# $OpenBSD: files.gpio,v 1.11 2020/01/24 05:14:51 jsg Exp $
2
3define	gpio {[offset = -1], [mask = 0], [flag = 0]}
4
5device	gpio: gpio
6attach	gpio at gpiobus
7file	dev/gpio/gpio.c				gpio	needs-flag
8
9# GPIO simulator
10device	gpiosim: gpiobus
11attach	gpiosim at root
12file	dev/gpio/gpiosim.c			gpiosim
13
14# I2C bus bit-banging
15device	gpioiic: i2cbus, i2c_bitbang
16attach	gpioiic at gpio
17file	dev/gpio/gpioiic.c			gpioiic
18
19# 1-Wire bus bit-banging
20device	gpioow: onewirebus, onewire_bitbang
21attach	gpioow at gpio
22file	dev/gpio/gpioow.c			gpioow
23
24# DCF77 time signal station receivers
25device	gpiodcf
26attach	gpiodcf at gpio
27file	dev/gpio/gpiodcf.c			gpiodcf
28
29