1 # $NetBSD: files.rockchip,v 1.7 2015/01/02 23:20:18 jmcneill Exp $ 2 # 3 # Configuration info for Rockchip ARM Peripherals 4 # 5 6 include "arch/arm/pic/files.pic" 7 include "arch/arm/cortex/files.cortex" 8 9 file arch/arm/arm32/arm32_boot.c 10 file arch/arm/arm32/arm32_kvminit.c 11 file arch/arm/arm32/arm32_reboot.c 12 file arch/arm/arm32/irq_dispatch.S 13 14 file arch/arm/rockchip/rockchip_board.c 15 file arch/arm/rockchip/rockchip_cpufreq.c 16 file arch/arm/rockchip/rockchip_space.c obio 17 #file arch/arm/rockchip/rockchip_a4x_space.c obio 18 file arch/arm/rockchip/rockchip_dma.c 19 file arch/arm/arm/bus_space_a4x.S obio 20 21 # On-board I/O 22 device obio {[addr = -1], [size = -1], [width = -1], [intr = -1], [mult = 1], [port = -1]}: bus_space_generic 23 attach obio at mainbus 24 file arch/arm/rockchip/obio.c obio 25 26 # serial 27 attach com at obio with obiouart 28 file arch/arm/rockchip/obio_com.c obiouart 29 30 # I2C controller 31 device rkiic: i2cbus, i2cexec 32 attach rkiic at obio 33 file arch/arm/rockchip/rockchip_i2c.c rkiic 34 35 # Timer 36 device rktimer 37 attach rktimer at obio 38 file arch/arm/rockchip/rockchip_timer.c rktimer 39 40 # SD/MMC (Synopsys DesignWare) 41 attach dwcmmc at obio with rkdwcmmc 42 file arch/arm/rockchip/rockchip_dwcmmc.c rkdwcmmc 43 44 # USB OTG (Synopsys DesignWare OTG) 45 attach dwctwo at obio with rkdwctwo 46 file arch/arm/rockchip/rockchip_dwctwo.c rkdwctwo needs-flag 47 48 # Console parameters 49 defparam opt_rockchip.h CONADDR 50 defparam opt_rockchip.h CONSPEED 51 defparam opt_rockchip.h CONMODE 52 53 # Memory parameters 54 defparam opt_rockchip.h MEMSIZE 55 56 # Debugging parameters 57 defflag opt_rockchip.h ROCKCHIP_CLOCK_DEBUG 58 defflag opt_rkiic.h RKIIC_DEBUG 59