NetBSD/sys/dev/gpio/files.gpio

32 lines
703 B
Plaintext
Raw Normal View History

# $NetBSD: files.gpio,v 1.10 2011/11/13 12:33:00 mbalmer 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
defpseudodev gpiosim: gpiobus
file dev/gpio/gpiosim.c gpiosim
# 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
# Keylock
device gpiolock: gpiobus
attach gpiolock at gpio
file dev/gpio/gpiolock.c gpiolock
# PWM
device gpiopwm: gpiobus
attach gpiopwm at gpio
file dev/gpio/gpiopwm.c gpiopwm