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