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