Home | History | Annotate | Line # | Download | only in marvell
files.discovery revision 1.13
      1  1.13  kiyohara #	$NetBSD: files.discovery,v 1.13 2010/06/02 06:18:11 kiyohara Exp $
      2   1.1      matt #
      3   1.1      matt # Config file and device description for machine-independent support for
      4   1.7  nisimura # the Marvell (formerly Galileo Technology) Discovery system controllers.
      5   1.1      matt #
      6   1.1      matt # Ports that include this must also supply some glue code of their own.
      7   1.1      matt # Notably:
      8   1.1      matt #	* devices here are indirectly configured by the configuration
      9   1.7  nisimura # 	  file since different systems will be configured somewhat
     10   1.1      matt #	  differently,
     11   1.1      matt #	* The Multi-Purpose Port (MPP) is configured differently on
     12   1.1      matt #	  different systems,
     13   1.1      matt #	* CPU attachment is handled in largely a machine-independent
     14   1.1      matt #	  fashion,
     15   1.1      matt #	* The interrupts on different systems will be handled differently.
     16   1.1      matt #
     17   1.1      matt # Systems with multiple GT controllers are not currently handled by this
     18   1.1      matt # code.
     19   1.1      matt 
     20   1.3      matt defparam	opt_marvell.h	MPSC_CONSOLE
     21   1.1      matt defparam	opt_marvell.h	GT_MPSC_DEFAULT_BAUD_RATE
     22   1.3      matt defparam	opt_marvell.h	GT_MPSC_FREQUENCY GT_MPSC_CLOCK_SOURCE
     23  1.11  kiyohara defparam	opt_marvell.h	GT_MPP_WATCHDOG
     24  1.11  kiyohara defflag 	opt_marvell.h	GT_DEVBUS GT_ECC GT_COMM GT_WATCHDOG
     25   1.1      matt 
     26  1.11  kiyohara define	gt { [unit = -1], [offset = -1], [irq = -1] }
     27   1.2      matt device	gt: gt
     28  1.11  kiyohara file	dev/marvell/gt.c		gt
     29   1.1      matt 
     30  1.11  kiyohara # PCI Interface
     31  1.11  kiyohara define	gtpci
     32  1.11  kiyohara file	dev/marvell/gtpci.c		gtpci & gtpci_gt needs-flag
     33   1.8  drochner device	gtpci: pcibus
     34  1.11  kiyohara attach	gtpci at gt with gtpci_gt
     35  1.11  kiyohara 
     36  1.11  kiyohara # PCI Express Interface
     37  1.11  kiyohara #define	mvpex
     38  1.11  kiyohara #file	dev/marvell/mvpex.c		mvpex & (mvpex_gt|mvpex_mbus) needs-flag
     39  1.11  kiyohara #device	mvpex: pcibus
     40  1.11  kiyohara #attach	mvpex at gt with mvpex_gt
     41   1.1      matt 
     42   1.1      matt # Fast ethernet
     43  1.11  kiyohara define	gfec { [port = -1], [irq = -1] }
     44  1.11  kiyohara device	gfec: gfec
     45  1.11  kiyohara attach	gfec at gt
     46   1.1      matt device	gfe: ether, ifnet, arp, mii
     47  1.11  kiyohara attach	gfe at gfec
     48  1.11  kiyohara file	dev/marvell/if_gfe.c		gfec | gfe
     49   1.1      matt 
     50  1.11  kiyohara # Multi-Protocol Serial controller
     51   1.1      matt device	gtmpsc: tty
     52   1.1      matt attach	gtmpsc at gt
     53  1.11  kiyohara file	dev/marvell/gtmpsc.c		gtmpsc needs-flag
     54   1.2      matt 
     55  1.11  kiyohara define	obio { [offset = -1], [size = 0], [irq = -1] }
     56   1.2      matt device	obio: obio
     57   1.2      matt attach	obio at gt
     58  1.11  kiyohara file	dev/marvell/obio.c		obio
     59   1.9      matt 
     60  1.11  kiyohara # Serial-ATA II Host Controller (SATAHC)
     61  1.11  kiyohara #attach	mvsata at gt with mvsata_gt
     62  1.11  kiyohara #file	dev/marvell/mvsata_mv.c		mvsata_gt | mvsata_mbus
     63  1.11  kiyohara 
     64  1.11  kiyohara # Gigabit Ethernet Controller Interface
     65  1.13  kiyohara define	mvgbec { [port = -1], [irq = -1] }
     66  1.13  kiyohara device	mvgbec: mvgbec
     67  1.13  kiyohara attach	mvgbec at gt with mvgbec_gt
     68  1.13  kiyohara device	mvgbe: ether, ifnet, arp, mii
     69  1.13  kiyohara attach	mvgbe at mvgbec
     70  1.13  kiyohara file	dev/marvell/if_mvgbe.c		mvgbec | mvgbe
     71  1.11  kiyohara 
     72  1.11  kiyohara # USB 2.0 Interface
     73  1.11  kiyohara #attach	ehci at gt with mvusb_gt
     74  1.11  kiyohara #file	dev/marvell/ehci_mv.c		mvusb_gt | mvusb_mbus
     75  1.11  kiyohara 
     76  1.11  kiyohara # Cryptographic Engines and Security Accelerator
     77  1.11  kiyohara #define	mvcesa
     78  1.11  kiyohara #file	dev/marvell/mvcesa.c		mvcesa
     79  1.11  kiyohara #device  mvcesa: opencrypto
     80  1.11  kiyohara #attach  mvcesa at gt with mvcesa_gt
     81  1.11  kiyohara 
     82  1.11  kiyohara # Two-Wire Serial Interface
     83  1.11  kiyohara define	gttwsi
     84  1.11  kiyohara file	dev/marvell/gttwsi.c		gttwsi
     85  1.11  kiyohara device	gttwsi: i2cbus, gttwsi
     86  1.11  kiyohara attach	gttwsi at gt with gttwsi_gt
     87  1.11  kiyohara 
     88  1.11  kiyohara # UART Interface
     89  1.11  kiyohara #attach	com at gt with mvuart_gt
     90  1.11  kiyohara #file	dev/marvell/com_mv.c		mvuart_gt | mvuart_mbus
     91  1.11  kiyohara 
     92  1.11  kiyohara # IDMA Controller and XOR Engine
     93  1.12  kiyohara define	gtidmac
     94  1.12  kiyohara file	dev/marvell/gtidmac.c		gtidmac
     95  1.12  kiyohara device	gtidmac: dmover_service
     96  1.12  kiyohara attach	gtidmac at gt with gtidmac_gt
     97