xref: /netbsd-src/sys/arch/arm/marvell/files.marvell (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1#       $NetBSD: files.marvell,v 1.17 2015/06/03 04:20:02 hsuenaga 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"
30include "dev/marvell/files.armada"
31
32# Timers
33device	mvsoctmr: sysmon_wdog
34attach	mvsoctmr at mvsoc
35file	arch/arm/marvell/mvsoctmr.c		mvsoctmr
36
37
38# RTC
39device	mvsocrtc
40attach	mvsocrtc at mvsoc
41file	arch/arm/marvell/mvsocrtc.c		mvsocrtc
42
43# PCI Express Interface
44attach	mvpex at mvsoc with mvpex_mbus
45
46# PCI Interface
47attach	gtpci at mvsoc with gtpci_mbus
48
49file	arch/arm/marvell/pci_machdep.c		mvpex | gtpci
50
51device	pchb
52attach	pchb at pci
53file	dev/marvell/pchb.c			pchb
54
55# Serial-ATA II Host Controller (SATAHC)
56attach	mvsata at mvsoc with mvsata_mbus
57
58# Gigabit Ethernet Controller Interface
59attach	mvgbec at mvsoc with mvgbec_mbus
60
61# ARMADA XP Buffer Manager
62attach	mvxpbm at mvsoc with mvxpbm_mbus
63
64# ARMADA XP Gigabit Ethernet Controller Interface
65attach	mvxpe at mvsoc with mvxpe_mbus
66
67# USB 2.0 Interface
68attach	ehci at mvsoc with mvusb_mbus
69
70# Cryptographic Engines and Security Accelerator
71attach	mvcesa at mvsoc with mvcesa_mbus
72
73# ARMADA XP Cryptographic Engines and Security Accelerator
74attach	mvxpsec at mvsoc with mvxpsec_mbus
75
76# TWSI Two-Wire Serial Interface
77attach	gttwsi at mvsoc with gttwsi_mbus
78
79# UART Interface
80attach	com at mvsoc with mvuart_mbus
81
82# IDMA Controller and XOR Engine
83attach	gtidmac at mvsoc with gtidmac_mbus
84
85# General Purpose I/O Port Interface
86device	mvsocgpp: gpiobus, pic, pic_splfuncs
87attach	mvsocgpp at mvsoc
88file	arch/arm/marvell/mvsocgpp.c		mvsocgpp	needs-flag
89
90# Secure Digital Input/Output (SDIO) Interface
91attach	mvsdio at mvsoc with mvsdio_mbus
92
93# Thermal Sensor
94device	mvsocts: sysmon_envsys
95attach	mvsocts at mvsoc
96file	arch/arm/marvell/mvsocts.c		mvsocts
97
98# SPI Serial Peripheral Interface
99attach	mvspi at mvsoc with mvspi_mbus
100