1 # $NetBSD: files.marvell,v 1.5 2012/06/19 16:50:44 hans Exp $ 2 # 3 # Configuration info for Marvell System on Chip support 4 # 5 6 include "arch/arm/pic/files.pic" 7 8 device mvsoc { [unit = -1], [offset = -1], [irq = -1] } : bus_space_generic, pic, pic_splfuncs 9 attach mvsoc at mainbus 10 file arch/arm/marvell/mvsoc.c mvsoc 11 file arch/arm/marvell/mvsoc_space.c 12 file arch/arm/marvell/mvsoc_dma.c 13 14 file arch/arm/arm32/irq_dispatch.S 15 16 defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 17 file arch/arm/marvell/mvsoc_intr.c 18 file arch/arm/marvell/orion.c orion 19 file arch/arm/marvell/kirkwood.c kirkwood 20 #file arch/arm/marvell/mv78xx0.c mv78xx0 21 22 23 # Integrated peripherals 24 include "dev/marvell/files.discovery" 25 26 # Timers 27 device mvsoctmr: sysmon_wdog 28 attach mvsoctmr at mvsoc 29 file arch/arm/marvell/mvsoctmr.c mvsoctmr 30 31 32 # RTC 33 device mvsocrtc 34 attach mvsocrtc at mvsoc 35 file arch/arm/marvell/mvsocrtc.c mvsocrtc 36 37 # PCI Express Interface 38 attach mvpex at mvsoc with mvpex_mbus 39 40 # PCI Interface 41 attach gtpci at mvsoc with gtpci_mbus 42 43 file arch/arm/marvell/pci_machdep.c mvpex | gtpci 44 45 device pchb 46 attach pchb at pci 47 file dev/marvell/pchb.c pchb 48 49 # Serial-ATA II Host Controller (SATAHC) 50 attach mvsata at mvsoc with mvsata_mbus 51 52 # Gigabit Ethernet Controller Interface 53 attach mvgbec at mvsoc with mvgbec_mbus 54 55 # USB 2.0 Interface 56 attach ehci at mvsoc with mvusb_mbus 57 58 # Cryptographic Engines and Security Accelerator 59 #attach mvcesa at mvsoc with mvcesa_mbus 60 61 # TWSI Two-Wire Serial Interface 62 attach gttwsi at mvsoc with gttwsi_mbus 63 64 # UART Interface 65 attach com at mvsoc with mvuart_mbus 66 67 # IDMA Controller and XOR Engine 68 attach gtidmac at mvsoc with gtidmac_mbus 69 70 # General Purpose I/O Port Interface 71 device mvsocgpp: gpiobus, pic, pic_splfuncs 72 attach mvsocgpp at mvsoc 73 file arch/arm/marvell/mvsocgpp.c mvsocgpp needs-flag 74 75 # Secure Digital Input/Output (SDIO) Interface 76 attach mvsdio at mvsoc with mvsdio_mbus 77