NetBSD/sys/dev/spi/files.spi

28 lines
564 B
Plaintext

# $NetBSD: files.spi,v 1.2 2006/10/07 07:21:13 gdamore Exp $
define spibus { }
device spi { slave }
attach spi at spibus
file dev/spi/spi.c spi | spibus
#
# SPI client devices
#
# Common SPI flash support
define spiflashbus { }
device spiflash: disk
attach spiflash at spiflashbus
file dev/spi/spiflash.c spiflash | spiflashbus
# STMicro M25P SPI flash
device m25p: spiflashbus
attach m25p at spi
file dev/spi/m25p.c m25p
# TI TMP121 digital temperature sensor
device tmp121temp: sysmon_envsys
attach tmp121temp at spi
file dev/spi/tmp121.c tmp121temp