files.ingenic revision 1.7
1# $NetBSD: files.ingenic,v 1.7 2015/08/07 17:39:58 macallan Exp $ 2 3include "dev/scsipi/files.scsipi" # SCSI devices 4include "dev/ata/files.ata" # ATA devices 5include "dev/usb/files.usb" # USB devices 6 7# Ingenic system bus 8device apbus { [addr=-1] } 9attach apbus at mainbus 10file arch/mips/ingenic/apbus.c apbus 11 12# On-chip UART device 13attach com at apbus with ingenic_com 14file arch/mips/ingenic/ingenic_com.c ingenic_com 15options COM_REGMAP 16 17# USB 18attach dwctwo at apbus with ingenic_dwctwo 19file arch/mips/ingenic/ingenic_dwctwo.c ingenic_dwctwo needs-flag 20 21attach ohci at apbus with ingenic_ohci 22file arch/mips/ingenic/ingenic_ohci.c ingenic_ohci needs-flag 23 24attach ehci at apbus with ingenic_ehci 25file arch/mips/ingenic/ingenic_ehci.c ingenic_ehci needs-flag 26defflag opt_ingenic.h INGENIC_EHCI_DEBUG 27 28# Ethernet 29attach dme at apbus with ingenic_dme 30file arch/mips/ingenic/ingenic_dme.c ingenic_dme needs-flag 31 32# I2C 33device jziic : i2cbus 34attach jziic at apbus 35file arch/mips/ingenic/jziic.c jziic 36defflag opt_ingenic.h JZIIC_DEBUG 37 38# SDMMC 39device jzmmc : sdmmcbus 40attach jzmmc at apbus 41file arch/mips/ingenic/jzmmc.c jzmmc 42defflag opt_ingenic.h JZMMC_DEBUG 43 44# Random number generator 45device jzrng 46attach jzrng at apbus with ingenic_rng 47file arch/mips/ingenic/ingenic_rng.c ingenic_rng 48