Home | History | Annotate | Line # | Download | only in imx
      1 #	$NetBSD: files.imx31,v 1.8 2017/09/08 05:29:12 hkenken Exp $
      2 #
      3 # Configuration info for the Freescale i.MX31
      4 #
      5 
      6 defparam opt_imx.h				MEMSIZE
      7 defflag opt_imx.h				IMX51
      8 
      9 define	bus_dma_generic
     10 
     11 file	arch/arm/imx/imx_space.c
     12 file	arch/arm/imx/imx_dma.c		bus_dma_generic
     13 
     14 # iMX L2 Cache Controller
     15 device	l2cc
     16 attach	l2cc at mainbus
     17 file	arch/arm/imx/imx31_l2cc.c		l2cc
     18 
     19 # iMX AHB
     20 device	ahb  { [addr=-1], [size=0], [intr=-1], [irqbase=-1]} : bus_space_generic
     21 attach	ahb at mainbus
     22 file	arch/arm/imx/imx31_ahb.c		ahb
     23 
     24 # iMX AdVanced Interrupt Controller
     25 include "arch/arm/pic/files.pic"
     26 device	avic: pic, pic_splfuncs
     27 attach	avic at ahb
     28 file	arch/arm/imx/imx31_icu.c		avic		needs-flag
     29 file	arch/arm/arm32/irq_dispatch.S
     30 
     31 # iMX IP bus
     32 device	aips { [addr=-1], [size=0], [intr=-1]} : bus_space_generic
     33 attach	aips at ahb
     34 file	arch/arm/imx/imx31_aips.c		aips
     35 
     36 # iMX EMI (external memory interface)
     37 device	emi { [offset=-1], [size=0], [intr=-1] } : bus_space_generic
     38 attach	emi at ahb
     39 file	arch/arm/imx/imx31_emi.c		emi
     40 
     41 # iMX GPIO
     42 device	imxgpio: gpiobus
     43 attach	imxgpio at ahb
     44 file	arch/arm/imx/imx31_gpio.c		imxgpio		needs-flag
     45 
     46 # iMX M3IF - Multi Master Memory Interface
     47 # iMX ESDCTL/MDDRC - Enhanced SDRAM/LPDDR memory controller
     48 # iMX PCMCIA - PCMCIA memory controller
     49 # iMX NANDFC - NAND Flash memory controller
     50 # iMX WEIM - Wireless External Interface Module
     51 
     52 # iMX clock
     53 file	arch/arm/imx/imxclock.c
     54 file	arch/arm/imx/imx31_clock.c
     55 
     56 # Clock Control Module
     57 device	imxccm
     58 attach	imxccm	at aips
     59 file	arch/arm/imx/imx31_ccm.c	imxccm		needs-flag
     60 
     61 defparam opt_imx31clk.h IMX31_IPGCLK_FREQ
     62 
     63 # iMX UART
     64 device	imxuart
     65 attach	imxuart at aips with imx31_uart
     66 file	arch/arm/imx/imxuart.c			imxuart	needs-flag
     67 file	arch/arm/imx/imx31_uart.c		imx31_uart
     68 defflag	opt_imxuart.h				IMXUARTCONSOLE
     69 
     70 attach	ehci at ahb with ehci_ahb : bus_dma_generic
     71 file	arch/arm/imx/echi_ahb.c			ehci_ahb
     72 
     73 attach	ohci at ahb with ohci_ahb : bus_dma_generic
     74 file	arch/arm/imx/ochi_ahb.c			ohci_ahb
     75 
     76 attach	wdc at ahb with wdc_ahb : bus_dma_generic
     77 file	arch/arm/imx/wdc_ahb.c			wdc_ahb
     78