1 # $NetBSD: files.marvell,v 1.12 2014/03/18 07:05:00 matt 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 # Some SoC(ARMADAXP) reports false DeviceID. 17 defflag opt_mvsoc.h ORION KIRKWOOD MV78XX0 ARMADAXP 18 defparam opt_mvsoc.h MVSOC_INTERREGS_PBASE 19 MVSOC_FIXUP_DEVID MEMSIZE 20 file arch/arm/marvell/mvsoc_intr.c 21 file arch/arm/marvell/orion.c orion 22 file arch/arm/marvell/kirkwood.c kirkwood 23 file arch/arm/marvell/mv78xx0.c mv78xx0 24 file arch/arm/marvell/armadaxp.c armadaxp 25 26 27 # Integrated peripherals 28 include "dev/marvell/files.discovery" 29 30 # Timers 31 device mvsoctmr: sysmon_wdog 32 attach mvsoctmr at mvsoc 33 file arch/arm/marvell/mvsoctmr.c mvsoctmr 34 35 36 # RTC 37 device mvsocrtc 38 attach mvsocrtc at mvsoc 39 file arch/arm/marvell/mvsocrtc.c mvsocrtc 40 41 # PCI Express Interface 42 attach mvpex at mvsoc with mvpex_mbus 43 44 # PCI Interface 45 attach gtpci at mvsoc with gtpci_mbus 46 47 file arch/arm/marvell/pci_machdep.c mvpex | gtpci 48 49 device pchb 50 attach pchb at pci 51 file dev/marvell/pchb.c pchb 52 53 # Serial-ATA II Host Controller (SATAHC) 54 attach mvsata at mvsoc with mvsata_mbus 55 56 # Gigabit Ethernet Controller Interface 57 attach mvgbec at mvsoc with mvgbec_mbus 58 59 # USB 2.0 Interface 60 attach ehci at mvsoc with mvusb_mbus 61 62 # Cryptographic Engines and Security Accelerator 63 attach mvcesa at mvsoc with mvcesa_mbus 64 65 # TWSI Two-Wire Serial Interface 66 attach gttwsi at mvsoc with gttwsi_mbus 67 68 # UART Interface 69 attach com at mvsoc with mvuart_mbus 70 71 # IDMA Controller and XOR Engine 72 attach gtidmac at mvsoc with gtidmac_mbus 73 74 # General Purpose I/O Port Interface 75 device mvsocgpp: gpiobus, pic, pic_splfuncs 76 attach mvsocgpp at mvsoc 77 file arch/arm/marvell/mvsocgpp.c mvsocgpp needs-flag 78 79 # Secure Digital Input/Output (SDIO) Interface 80 attach mvsdio at mvsoc with mvsdio_mbus 81 82 # Thermal Sensor 83 device mvsocts: sysmon_envsys 84 attach mvsocts at mvsoc 85 file arch/arm/marvell/mvsocts.c mvsocts 86 87 # SPI Serial Peripheral Interface 88 attach mvspi at mvsoc with mvspi_mbus 89