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