Home | History | Annotate | Line # | Download | only in marvell
files.discovery revision 1.15
      1 #	$NetBSD: files.discovery,v 1.15 2010/07/13 11:16:02 kiyohara 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 
     20 defparam	opt_marvell.h	MPSC_CONSOLE
     21 defparam	opt_marvell.h	GT_MPSC_DEFAULT_BAUD_RATE
     22 defparam	opt_marvell.h	GT_MPSC_FREQUENCY GT_MPSC_CLOCK_SOURCE
     23 defparam	opt_marvell.h	GT_MPP_WATCHDOG
     24 defflag 	opt_marvell.h	GT_DEVBUS GT_ECC GT_COMM GT_WATCHDOG
     25 
     26 define	gt { [unit = -1], [offset = -1], [irq = -1] }
     27 device	gt: gt
     28 file	dev/marvell/gt.c		gt
     29 
     30 # PCI Interface
     31 device	gtpci: pcibus
     32 file	dev/marvell/gtpci.c		gtpci & (gtpci_gt|gtpci_mbus) needs-flag
     33 attach	gtpci at gt with gtpci_gt
     34 
     35 # PCI Express Interface
     36 device	mvpex: pcibus
     37 file	dev/marvell/mvpex.c		mvpex & (mvpex_gt|mvpex_mbus) needs-flag
     38 attach	mvpex at gt with mvpex_gt
     39 
     40 # Fast ethernet
     41 define	gfec { [port = -1], [irq = -1] }
     42 device	gfec: gfec
     43 attach	gfec at gt
     44 device	gfe: ether, ifnet, arp, mii
     45 attach	gfe at gfec
     46 file	dev/marvell/if_gfe.c		gfec | gfe
     47 
     48 # Multi-Protocol Serial controller
     49 device	gtmpsc: tty
     50 attach	gtmpsc at gt
     51 file	dev/marvell/gtmpsc.c		gtmpsc needs-flag
     52 
     53 define	obio { [offset = -1], [size = 0], [irq = -1] }
     54 device	obio: obio
     55 attach	obio at gt
     56 file	dev/marvell/obio.c		obio
     57 
     58 # Serial-ATA II Host Controller (SATAHC)
     59 #attach	mvsata at gt with mvsata_gt
     60 #file	dev/marvell/mvsata_mv.c		mvsata_gt | mvsata_mbus
     61 
     62 # Gigabit Ethernet Controller Interface
     63 define	mvgbec { [port = -1], [irq = -1] }
     64 device	mvgbec: mvgbec
     65 attach	mvgbec at gt with mvgbec_gt
     66 device	mvgbe: ether, ifnet, arp, mii
     67 attach	mvgbe at mvgbec
     68 file	dev/marvell/if_mvgbe.c		mvgbec | mvgbe
     69 
     70 # USB 2.0 Interface
     71 #attach	ehci at gt with mvusb_gt
     72 #file	dev/marvell/ehci_mv.c		mvusb_gt | mvusb_mbus
     73 
     74 # Cryptographic Engines and Security Accelerator
     75 #device	mvcesa: opencrypto
     76 #file	dev/marvell/mvcesa.c		mvcesa
     77 #attach	mvcesa at gt with mvcesa_gt
     78 
     79 # Two-Wire Serial Interface
     80 device	gttwsi: i2cbus
     81 file	dev/marvell/gttwsi.c		gttwsi
     82 attach	gttwsi at gt with gttwsi_gt
     83 
     84 # UART Interface
     85 attach	com at gt with mvuart_gt
     86 file	dev/marvell/com_mv.c		mvuart_gt | mvuart_mbus
     87 
     88 # IDMA Controller and XOR Engine
     89 device	gtidmac: dmover_service
     90 file	dev/marvell/gtidmac.c		gtidmac
     91 attach	gtidmac at gt with gtidmac_gt
     92