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