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