xref: /netbsd-src/sys/dev/marvell/files.discovery (revision 23c8222edbfb0f0932d88a8351d3a0cf817dfb9e)
1#	$NetBSD: files.discovery,v 1.8 2004/09/13 12:36:18 drochner Exp $
2#
3# Config file and device description for machine-independent support for
4# the Marvell (formerly Galileo Technology) Discovery system controllers.
5#
6# Ports that include this must also supply some glue code of their own.
7# Notably:
8#	* devices here are indirectly configured by the configuration
9# 	  file since different systems will be configured somewhat
10#	  differently,
11#	* The Multi-Purpose Port (MPP) is configured differently on
12#	  different systems,
13#	* CPU attachment is handled in largely a machine-independent
14#	  fashion,
15#	* The interrupts on different systems will be handled differently.
16#
17# Systems with multiple GT controllers are not currently handled by this
18# code.
19
20defparam	opt_marvell.h	MPSC_CONSOLE
21defparam	opt_marvell.h	GT_MPSC_DEFAULT_BAUD_RATE
22defparam	opt_marvell.h	GT_MPP_INTERRUPTS GT_MPP_WATCHDOG GT_BASE
23defparam	opt_marvell.h	GT_MPSC_FREQUENCY GT_MPSC_CLOCK_SOURCE
24defparam	opt_marvell.h	GT_PCI0_MEMBASE GT_PCI0_MEMSIZE
25defparam	opt_marvell.h	GT_PCI1_MEMBASE GT_PCI1_MEMSIZE
26defparam	opt_marvell.h	GT_PCI0_IOBASE GT_PCI0_IOSIZE
27defparam	opt_marvell.h	GT_PCI1_IOBASE GT_PCI1_IOSIZE
28defflag 	opt_marvell.h	GT_PCI0_EXT_ARBITER GT_PCI1_EXT_ARBITER
29defflag 	opt_marvell.h	GT_ECC
30
31define	gt { [unit = -1] }
32device	gt: gt
33file	dev/marvell/gt.c			gt
34
35# PCI bus
36device	gtpci: pcibus
37attach	gtpci at gt
38file	dev/marvell/gtpci.c			gt & pci
39
40# Fast ethernet
41device	gfe: ether, ifnet, arp, mii
42attach	gfe at gt
43file	dev/marvell/if_gfe.c			gfe
44
45# Serial controller
46device	gtmpsc: tty
47attach	gtmpsc at gt
48file	dev/marvell/gtmpsc.c			gtmpsc needs-flag
49
50# DMA controller
51device	gtidma
52attach	gtidma at gt
53file	dev/marvell/gtidma.c			gtidma
54
55define	obio { [offset=-1], [size=0], [irq=-1] }
56device	obio: obio
57attach	obio at gt
58file	dev/marvell/obio.c			obio
59