Home | History | Annotate | Line # | Download | only in gemini
files.gemini revision 1.5
      1 #	$NetBSD: files.gemini,v 1.5 2008/11/13 07:21:59 cliff Exp $
      2 #
      3 # Configuration info for GEMINI CPU support
      4 # Based on omap/files.omap2
      5 #
      6 
      7 include "arch/arm/pic/files.pic"
      8 
      9 file	arch/arm/arm32/irq_dispatch.S
     10 
     11 # Memory size in megabytes
     12 defparam opt_gemini.h				MEMSIZE
     13 defflag opt_gemini.h				GEMINI
     14 defparam opt_gemini.h				GEMINI_BUSBASE: GEMINI
     15 defflag opt_gemini.h				SL3516: GEMINI
     16 defflag opt_gemini.h				GEMINI_MASTER: GEMINI
     17 defflag opt_gemini.h				GEMINI_SLAVE: GEMINI
     18 defflag opt_gemini.h				GEMINI_SINGLE: GEMINI
     19 
     20 # OBIO just an attach point
     21 define obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
     22 	     } : bus_space_generic
     23 device obio: obio, pcibus
     24 attach obio at mainbus
     25 file	arch/arm/gemini/gemini_obio.c		obio needs-count
     26 
     27 # OBIO files
     28 file	arch/arm/gemini/gemini_space.c		obio
     29 ##file	arch/arm/gemini/gemini_a2x_space.c		obio
     30 ##file	arch/arm/gemini/gemini_a2x_io.S		obio
     31 file	arch/arm/gemini/gemini_a4x_space.c		obio
     32 file	arch/arm/xscale/pxa2x0_a4x_io.S		obio
     33 file	arch/arm/gemini/gemini_dma.c
     34 
     35 # these bus space methods are not bus-specific ...
     36 #
     37 ##file	arch/arm/gemini/gemini_nobyteacc_space.c	obio
     38 ##file	arch/arm/gemini/gemini_nobyteacc_io.S		obio
     39 
     40 # GEMINI interrupt controller
     41 device	geminiicu: pic
     42 attach	geminiicu at obio with geminiicu
     43 file	arch/arm/gemini/gemini_icu.c		geminiicu needs-flag
     44 
     45 
     46 
     47 # GEMINI GPIO controllers
     48 
     49 # GEMINI Timers
     50 device geminitmr
     51 file	arch/arm/gemini/gemini_timer.c		geminitmr
     52 defparam opt_gemini.h				GEMINI_TIMER_CLOCK_FREQ
     53 
     54 # OBIO/geminitmr
     55 attach 	geminitmr at obio with obiotimer
     56 file	arch/arm/gemini/obio_timer.c		obiotimer
     57 
     58 # Gemini Watchdog timer
     59 device geminiwdt: sysmon_wdog
     60 file arch/arm/gemini/gemini_wdt.c		geminiwdt needs-flag
     61 defparam opt_gemini.h				GEMINI_WDT_CLOCK_FREQ
     62 
     63 attach geminiwdt at obio with obiowdt
     64 file arch/arm/gemini/obio_wdt.c			obiowdt
     65 
     66 # NS16550 compatible serial ports
     67 attach com at obio with gemini_com
     68 file	arch/arm/gemini/gemini_com.c		gemini_com
     69 defparam opt_com.h				CONSADDR CONSPEED CONMODE
     70 
     71 # GEMINI LPC Bus
     72 define  lpcbus  {[addr = -1]}
     73 device	lpc { [ldn=-1], [addr=-1], [size=0], [intr=-1] }
     74 attach	lpc at lpcbus
     75 file	arch/arm/gemini/gemini_lpc.c		lpc needs-count
     76 
     77 # GEMINI LPC Host Controller
     78 device	geminilpchc: lpcbus
     79 attach	geminilpchc at obio with obio_lpchc
     80 file	arch/arm/gemini/obio_lpchc.c		obio_lpchc
     81 file	arch/arm/gemini/gemini_lpchc.c		geminilpchc needs-count
     82 
     83 # LPC Bus COM UARTs
     84 attach	com at lpc with lpc_com
     85 file	arch/arm/gemini/lpc_com.c		lpc_com
     86 
     87 
     88 # GEMINI USB controller
     89 attach ehci at obio with ehci_obio
     90 file	arch/arm/gemini/obio_ehci.c		ehci_obio
     91 
     92 # GEMINI ATA controller
     93 attach wdc at obio with wdc_obio
     94 file	arch/arm/gemini/obio_wdc.c		wdc_obio
     95 
     96 # PCI
     97 device gemini_pci: pcibus
     98 attach gemini_pci at obio
     99 file arch/arm/gemini/gemini_pci.c		pci needs-flag
    100