blob: c3531889041dda552bada806d3f43ce6e6a0d858 (
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
29
30
31
32
33
|
# $NetBSD: files.spi,v 1.3 2014/02/25 20:09:37 rkujawa 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
# MCP48x1 DAC
device mcp48x1dac
attach mcp48x1dac at spi
file dev/spi/mcp48x1.c mcp48x1dac
|