1 # $NetBSD: files.marvell,v 1.18 2017/01/07 16:19:28 kiyohara 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 DOVE 18 ARMADAXP 19 MVSOC_CONSOLE_EARLY 20 defparam opt_mvsoc.h MVSOC_INTERREGS_PBASE 21 MVSOC_FIXUP_DEVID MEMSIZE 22 file arch/arm/marvell/mvsoc_intr.c 23 file arch/arm/marvell/orion.c orion 24 file arch/arm/marvell/kirkwood.c kirkwood 25 file arch/arm/marvell/mv78xx0.c mv78xx0 26 file arch/arm/marvell/dove.c dove 27 file arch/arm/marvell/armadaxp.c armadaxp 28 29 30 # Integrated peripherals 31 include "dev/marvell/files.discovery" 32 include "dev/marvell/files.armada" 33 34 # Timers 35 device mvsoctmr: sysmon_wdog 36 attach mvsoctmr at mvsoc 37 file arch/arm/marvell/mvsoctmr.c mvsoctmr 38 39 40 # RTC 41 device mvsocrtc 42 attach mvsocrtc at mvsoc 43 file arch/arm/marvell/mvsocrtc.c mvsocrtc 44 45 # PCI Express Interface 46 attach mvpex at mvsoc with mvpex_mbus 47 48 # PCI Interface 49 attach gtpci at mvsoc with gtpci_mbus 50 51 file arch/arm/marvell/pci_machdep.c mvpex | gtpci 52 53 device pchb 54 attach pchb at pci 55 file dev/marvell/pchb.c pchb 56 57 # Serial-ATA II Host Controller (SATAHC) 58 attach mvsata at mvsoc with mvsata_mbus 59 60 # Gigabit Ethernet Controller Interface 61 attach mvgbec at mvsoc with mvgbec_mbus 62 63 # ARMADA XP Buffer Manager 64 attach mvxpbm at mvsoc with mvxpbm_mbus 65 66 # ARMADA XP Gigabit Ethernet Controller Interface 67 attach mvxpe at mvsoc with mvxpe_mbus 68 69 # USB 2.0 Interface 70 attach ehci at mvsoc with mvusb_mbus 71 72 # Cryptographic Engines and Security Accelerator 73 attach mvcesa at mvsoc with mvcesa_mbus 74 75 # ARMADA XP Cryptographic Engines and Security Accelerator 76 attach mvxpsec at mvsoc with mvxpsec_mbus 77 78 # TWSI Two-Wire Serial Interface 79 attach gttwsi at mvsoc with gttwsi_mbus 80 81 # UART Interface 82 attach com at mvsoc with mvuart_mbus 83 84 # IDMA Controller and XOR Engine 85 attach gtidmac at mvsoc with gtidmac_mbus 86 87 # General Purpose I/O Port Interface 88 device mvsocgpp: gpiobus, pic, pic_splfuncs 89 attach mvsocgpp at mvsoc 90 file arch/arm/marvell/mvsocgpp.c mvsocgpp needs-flag 91 92 # Secure Digital Input/Output (SDIO) Interface 93 attach mvsdio at mvsoc with mvsdio_mbus 94 # Also SDHC (i.e. Dove) 95 attach sdhc at mvsoc with mvsoc_sdhc 96 file arch/arm/marvell/mvsoc_sdhc.c mvsoc_sdhc 97 98 # Thermal Sensor 99 device mvsocts: sysmon_envsys 100 attach mvsocts at mvsoc 101 file arch/arm/marvell/mvsocts.c mvsocts 102 103 # Power Management Unit 104 device mvsocpmu: sysmon_envsys 105 attach mvsocpmu at mvsoc 106 file arch/arm/marvell/mvsocpmu.c mvsocpmu needs-flag 107 108 # SPI Serial Peripheral Interface 109 attach mvspi at mvsoc with mvspi_mbus 110