1#	$NetBSD: files.alchemy,v 1.14 2019/05/08 13:40:15 isaki Exp $
2
3defflag opt_alchemy.h		ALCHEMY_AU1000
4				ALCHEMY_AU1100
5				ALCHEMY_AU1500
6				ALCHEMY_AU1550
7
8file	arch/mips/alchemy/au_chipdep.c
9file	arch/mips/alchemy/au1000.c		alchemy_au1000
10file	arch/mips/alchemy/au1100.c		alchemy_au1100
11file	arch/mips/alchemy/au1500.c		alchemy_au1500
12file	arch/mips/alchemy/au1550.c		alchemy_au1550
13file	arch/mips/alchemy/au_icu.c
14file	arch/mips/alchemy/au_timer.c
15file	arch/mips/alchemy/au_cpureg_mem.c
16#file	arch/mips/alchemy/au_wired_space.c
17file	arch/mips/alchemy/au_himem_space.c
18
19# Alchemy peripheral bus
20device	aubus { [addr=-1] }
21attach	aubus at mainbus
22file	arch/mips/alchemy/aubus.c		aubus
23
24# "fake" RTC for using an Au1x00 timer for boards without a real RTC
25device	aurtc
26attach	aurtc at aubus
27file	arch/mips/alchemy/dev/aurtc.c		aurtc
28
29# On-chip UART device
30attach	com at aubus with com_aubus
31file	arch/mips/alchemy/dev/com_aubus.c	com_aubus
32options		COM_AU1x00	# Au1x00 support in com driver
33options		COM_REGMAP
34
35# On-chip ethernet device(s)
36device	aumac: ether, ifnet, arp, mii
37attach	aumac at aubus
38file	arch/mips/alchemy/dev/if_aumac.c	aumac
39
40# On-chip OHCI USB controller
41attach	ohci at aubus with ohci_aubus
42file	arch/mips/alchemy/dev/ohci_aubus.c	ohci
43
44# On-chip AC'97 audio controller
45device	auaudio: audiobus, ac97
46attach	auaudio at aubus
47file	arch/mips/alchemy/dev/auaudio.c		auaudio
48
49# On-chip PCI
50device	aupci: pcibus
51attach	aupci at aubus
52file	arch/mips/alchemy/dev/aupci.c		aupci
53
54# On-chip GPIO
55device	augpio: gpiobus
56attach	augpio at aubus
57file	arch/mips/alchemy/dev/augpio.c		augpio
58
59# On-chip PSC
60device	aupsc { [ addr = -1 ] }
61attach	aupsc at aubus
62file	arch/mips/alchemy/dev/aupsc.c		aupsc
63
64# On-chip PSC SMBus Protocol
65device	ausmbus: i2cbus, i2c_bitbang
66attach	ausmbus at aupsc
67file	arch/mips/alchemy/dev/ausmbus_psc.c	ausmbus
68
69# On-chip PSC SPI Protocol
70device	auspi: spibus
71attach	auspi at aupsc
72file	arch/mips/alchemy/dev/auspi.c		auspi	needs-flag
73
74# On-chip PCMCIA
75#
76# XXX: NOTE: As of Feb. 22, 2006, the aupcmcia bus is not quite
77# functional.  Some cards have CIS misparsed, and there seems to
78# some kind of problem with the IO address mapping.  This is really
79# for development only at this point.  If you do enable this, it will
80# generally be benign in your kernel unless you actually insert
81# a card.  After that, all bets are off!
82#
83device	aupcmcia: pcmciabus
84attach	aupcmcia at aubus
85file	arch/mips/alchemy/dev/aupcmcia.c	aupcmcia
86