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