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