files.gpio 660 B

1234567891011121314151617181920212223242526272829
  1. # $OpenBSD: files.gpio,v 1.10 2015/06/07 20:11:52 claudio Exp $
  2. define gpio {[offset = -1], [mask = 0], [flag = 0]}
  3. device gpio: gpio
  4. attach gpio at gpiobus
  5. file dev/gpio/gpio.c gpio needs-flag
  6. # GPIO simulator
  7. device gpiosim: gpiobus
  8. attach gpiosim at root
  9. file dev/gpio/gpiosim.c gpiosim needs-flag
  10. # I2C bus bit-banging
  11. device gpioiic: i2cbus, i2c_bitbang
  12. attach gpioiic at gpio
  13. file dev/gpio/gpioiic.c gpioiic
  14. # 1-Wire bus bit-banging
  15. device gpioow: onewirebus, onewire_bitbang
  16. attach gpioow at gpio
  17. file dev/gpio/gpioow.c gpioow
  18. # DCF77 time signal station receivers
  19. device gpiodcf
  20. attach gpiodcf at gpio
  21. file dev/gpio/gpiodcf.c gpiodcf