xref: /netbsd-src/sys/arch/mips/conf/files.ingenic (revision ed6f73360e6d6723e5c3d5938fb9ba5292de65bb)
1*ed6f7336Sskrll#	$NetBSD: files.ingenic,v 1.10 2017/05/21 06:49:13 skrll Exp $
2fd0c2c15Sskrll
3fd0c2c15Sskrllfile	arch/mips/mips/bus_dma.c
4*ed6f7336Sskrllfile	arch/mips/mips/locore_ingenic.S
5071b59b0Smacallan
6071b59b0Smacallaninclude "dev/scsipi/files.scsipi"		# SCSI devices
7071b59b0Smacallaninclude "dev/ata/files.ata"			# ATA devices
8071b59b0Smacallaninclude "dev/usb/files.usb"			# USB devices
9a36351c4Smacallan
10071b59b0Smacallan# Ingenic system bus
11071b59b0Smacallandevice	apbus { [addr=-1] }
12071b59b0Smacallanattach	apbus at mainbus
13071b59b0Smacallanfile	arch/mips/ingenic/apbus.c		apbus
14071b59b0Smacallan
15ede3c3baSmacallan# On-chip UART device
16ede3c3baSmacallanattach	com at apbus with ingenic_com
17ede3c3baSmacallanfile	arch/mips/ingenic/ingenic_com.c	ingenic_com
18ede3c3baSmacallanoptions	COM_REGMAP
19ede3c3baSmacallan
20071b59b0Smacallan# USB
21071b59b0Smacallanattach dwctwo at apbus with ingenic_dwctwo
22071b59b0Smacallanfile	arch/mips/ingenic/ingenic_dwctwo.c	ingenic_dwctwo	needs-flag
23e3ba4f1cSmacallan
24e3ba4f1cSmacallanattach ohci at apbus with ingenic_ohci
25e3ba4f1cSmacallanfile	arch/mips/ingenic/ingenic_ohci.c	ingenic_ohci	needs-flag
26e3ba4f1cSmacallan
27e3ba4f1cSmacallanattach ehci at apbus with ingenic_ehci
28e3ba4f1cSmacallanfile	arch/mips/ingenic/ingenic_ehci.c	ingenic_ehci	needs-flag
29ede3c3baSmacallandefflag	opt_ingenic.h	INGENIC_EHCI_DEBUG
308aae23d3Smacallan
318aae23d3Smacallan# Ethernet
328aae23d3Smacallanattach dme at apbus with ingenic_dme
338aae23d3Smacallanfile	arch/mips/ingenic/ingenic_dme.c		ingenic_dme	needs-flag
34fb06cc11Smacallan
35fb06cc11Smacallan# I2C
36fb06cc11Smacallandevice 	jziic : i2cbus
37fb06cc11Smacallanattach 	jziic at apbus
38fb06cc11Smacallanfile 	arch/mips/ingenic/jziic.c	jziic
39fb06cc11Smacallandefflag	opt_ingenic.h	JZIIC_DEBUG
40ede3c3baSmacallan
41ede3c3baSmacallan# SDMMC
42ede3c3baSmacallandevice 	jzmmc : sdmmcbus
43ede3c3baSmacallanattach 	jzmmc at apbus
44ede3c3baSmacallanfile 	arch/mips/ingenic/jzmmc.c	jzmmc
45ede3c3baSmacallandefflag	opt_ingenic.h	JZMMC_DEBUG
46569fb3a7Smacallan
47569fb3a7Smacallan# Random number generator
48569fb3a7Smacallandevice	jzrng
49569fb3a7Smacallanattach	jzrng at apbus with ingenic_rng
50569fb3a7Smacallanfile	arch/mips/ingenic/ingenic_rng.c	ingenic_rng
5156acaa06Smacallan
5256acaa06Smacallan# EFUSE
5356acaa06Smacallandevice	efuse
5456acaa06Smacallanattach	efuse at apbus with ingenic_efuse
5556acaa06Smacallanfile	arch/mips/ingenic/ingenic_efuse.c	ingenic_efuse
56