mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-10 06:29:51 -04:00
106 lines
3.0 KiB
Plaintext
106 lines
3.0 KiB
Plaintext
# $NetBSD: files.imx6,v 1.1 2012/09/01 00:07:32 matt Exp $
|
|
#
|
|
# Configuration info for the Freescale i.MX6
|
|
#
|
|
|
|
defparam opt_imx.h MEMSIZE
|
|
defflag opt_imx.h IMX6
|
|
|
|
define bus_dma_generic
|
|
|
|
file arch/arm/imx/imx_space.c
|
|
file arch/arm/imx/imx_dma.c bus_dma_generic needs-flag
|
|
|
|
# iMX6 AXI/AHB bus interface and SoC domains
|
|
device axi { [addr=-1], [size=0], [irq=-1], [irqbase=-1]} : bus_space_generic
|
|
attach axi at mainbus
|
|
file arch/arm/imx/imx6_axi.c axi
|
|
|
|
# iMX6 Enhanced Periodic Interrupt Timer
|
|
device imxclock
|
|
attach imxclock at axi
|
|
file arch/arm/imx/imxclock.c
|
|
file arch/arm/imx/imx6_clock.c
|
|
|
|
# Clock Control Module
|
|
device imxccm
|
|
attach imxccm at axi
|
|
file arch/arm/imx/imx6_ccm.c imxccm needs-flag
|
|
|
|
# frequency of external low frequency clock
|
|
# typically 32000, 32768, or 38400.
|
|
defparam opt_imx6clk.h IMX6_CKIL_FREQ
|
|
|
|
# frequency of on-chip oscillator. typically 24000000.
|
|
defparam opt_imx6clk.h IMX6_OSC_FREQ
|
|
|
|
# following parameters are used when imxccm is not configured in the kernel.
|
|
defparam opt_imx6clk.h IMX6_AHBCLK_FREQ
|
|
defparam opt_imx6clk.h IMX6_IPGCLK_FREQ
|
|
|
|
# iMX GPIO
|
|
#device imxgpio: gpiobus
|
|
attach imxgpio at axi
|
|
#file arch/arm/imx/imxgpio.c imxgpio needs-flag
|
|
#file arch/arm/imx/imx6_gpio.c imxgpio
|
|
|
|
# iMX IOMUX
|
|
#device imxiomux : bus_space_generic
|
|
#attach imxiomux at axi
|
|
#file arch/arm/imx/imx6_iomux.c imxiomux
|
|
|
|
# IPU v3 controller
|
|
#device ipu : bus_dma_generic, wsemuldisplaydev, rasops16, rasops8, rasops4, rasops_rotation, vcons
|
|
#file arch/arm/imx/imx6_ipuv3.c ipu needs-flag
|
|
#defflag opt_imx6_ipuv3.h IMXIPUCONSOLE
|
|
#defparam opt_imx6_ipuv3.h IPUV3_DEBUG
|
|
|
|
# iMX M3IF - Multi Master Memory Interface
|
|
# iMX ESDCTL/MDDRC - Enhanced SDRAM/LPDDR memory controller
|
|
# iMX PCMCIA - PCMCIA memory controller
|
|
# iMX NANDFC - NAND Flash memory controller
|
|
# iMX WEIM - Wireless External Interface Module
|
|
|
|
# iMX UART
|
|
device imxuart
|
|
attach imxuart at axi
|
|
file arch/arm/imx/imxuart.c imxuart needs-flag
|
|
file arch/arm/imx/imx6_uart.c imxuart
|
|
defflag opt_imxuart.h IMXUARTCONSOLE
|
|
|
|
# USB controller
|
|
# attach of this driver need to be specified in paltform configuration
|
|
device imxusbc { unit, irq } : bus_dma_generic
|
|
file arch/arm/imx/imx6_usb.c imxusbc
|
|
|
|
attach ehci at imxusbc with imxehci
|
|
file arch/arm/imx/imxusb.c imxehci
|
|
|
|
# attach wdc at ahb with wdc_ahb : bus_dma_generic
|
|
# file arch/arm/imx/wdc_axi.c wdc_axi
|
|
|
|
# SD host controller for SD/MMC
|
|
attach sdhc at axi with sdhc_axi
|
|
file arch/arm/imx/imx6_esdhc.c sdhc_axi
|
|
|
|
# iic Controler
|
|
# device imxi2c: i2cbus
|
|
# file arch/arm/imx/imx6_i2c.c imxi2c
|
|
|
|
# attach imxi2c at aips with imxi2c_aips
|
|
# file arch/arm/imx/imxi2c_aips.c imxi2c_aips
|
|
|
|
# spi bus controlloer
|
|
# device imxspi: spibus
|
|
# file arch/arm/imx/imx6_spi.c imxspi
|
|
|
|
# Smart Direct Memory Access Controller
|
|
# device imxsdma: dmover_service, bus_dma_generic
|
|
# attach imxsdma at ahb
|
|
# file arch/arm/imx/imxsdma.c imxsdma
|
|
# file arch/arm/imx/imxsdmaprog.c imxsdma
|
|
|
|
# iis sound Controller (SSI module)
|
|
# device imxi2s {} : bus_dma_generic
|
|
# file arch/arm/imx/imx6_i2s.c imxi2s needs-flag
|