files.discovery revision 1.8
11.8Sdrochner#	$NetBSD: files.discovery,v 1.8 2004/09/13 12:36:18 drochner Exp $
21.1Smatt#
31.1Smatt# Config file and device description for machine-independent support for
41.7Snisimura# the Marvell (formerly Galileo Technology) Discovery system controllers.
51.1Smatt#
61.1Smatt# Ports that include this must also supply some glue code of their own.
71.1Smatt# Notably:
81.1Smatt#	* devices here are indirectly configured by the configuration
91.7Snisimura# 	  file since different systems will be configured somewhat
101.1Smatt#	  differently,
111.1Smatt#	* The Multi-Purpose Port (MPP) is configured differently on
121.1Smatt#	  different systems,
131.1Smatt#	* CPU attachment is handled in largely a machine-independent
141.1Smatt#	  fashion,
151.1Smatt#	* The interrupts on different systems will be handled differently.
161.1Smatt#
171.1Smatt# Systems with multiple GT controllers are not currently handled by this
181.1Smatt# code.
191.1Smatt
201.3Smattdefparam	opt_marvell.h	MPSC_CONSOLE
211.1Smattdefparam	opt_marvell.h	GT_MPSC_DEFAULT_BAUD_RATE
221.1Smattdefparam	opt_marvell.h	GT_MPP_INTERRUPTS GT_MPP_WATCHDOG GT_BASE
231.3Smattdefparam	opt_marvell.h	GT_MPSC_FREQUENCY GT_MPSC_CLOCK_SOURCE
241.4Smattdefparam	opt_marvell.h	GT_PCI0_MEMBASE GT_PCI0_MEMSIZE
251.4Smattdefparam	opt_marvell.h	GT_PCI1_MEMBASE GT_PCI1_MEMSIZE
261.4Smattdefparam	opt_marvell.h	GT_PCI0_IOBASE GT_PCI0_IOSIZE
271.4Smattdefparam	opt_marvell.h	GT_PCI1_IOBASE GT_PCI1_IOSIZE
281.6Sscwdefflag 	opt_marvell.h	GT_PCI0_EXT_ARBITER GT_PCI1_EXT_ARBITER
291.5Sscwdefflag 	opt_marvell.h	GT_ECC
301.1Smatt
311.1Smattdefine	gt { [unit = -1] }
321.2Smattdevice	gt: gt
331.1Smattfile	dev/marvell/gt.c			gt
341.1Smatt
351.1Smatt# PCI bus
361.8Sdrochnerdevice	gtpci: pcibus
371.1Smattattach	gtpci at gt
381.1Smattfile	dev/marvell/gtpci.c			gt & pci
391.1Smatt
401.1Smatt# Fast ethernet
411.1Smattdevice	gfe: ether, ifnet, arp, mii
421.1Smattattach	gfe at gt
431.1Smattfile	dev/marvell/if_gfe.c			gfe
441.1Smatt
451.1Smatt# Serial controller
461.1Smattdevice	gtmpsc: tty
471.1Smattattach	gtmpsc at gt
481.1Smattfile	dev/marvell/gtmpsc.c			gtmpsc needs-flag
491.1Smatt
501.1Smatt# DMA controller
511.1Smattdevice	gtidma
521.1Smattattach	gtidma at gt
531.1Smattfile	dev/marvell/gtidma.c			gtidma
541.2Smatt
551.2Smattdefine	obio { [offset=-1], [size=0], [irq=-1] }
561.2Smattdevice	obio: obio
571.2Smattattach	obio at gt
581.2Smattfile	dev/marvell/obio.c			obio
59