1 # $NetBSD: files.exynos,v 1.1 2014/04/13 02:26:26 matt Exp $ 2 # 3 # Configuration info for Samsung Exynos SoC ARM Peripherals 4 # 5 6 include "arch/arm/pic/files.pic" 7 include "arch/arm/cortex/files.cortex" 8 9 defflag opt_cpuoptions.h ARM_TRUSTZONE_FIRMWARE 10 11 file arch/arm/arm32/arm32_boot.c 12 file arch/arm/arm32/arm32_kvminit.c 13 file arch/arm/arm32/arm32_reboot.c 14 file arch/arm/arm32/irq_dispatch.S 15 16 file arch/arm/samsung/exynos_soc.c 17 file arch/arm/samsung/exynos_space.c 18 #file arch/arm/samsung/primecell.c 19 file arch/arm/samsung/exynos_smc.S arm_trustzone_firmware 20 file arch/arm/trustzone/firmware.c arm_trustzone_firmware 21 22 file arch/arm/arm/bus_space_a4x.S exyo 23 24 # Console parameters 25 defparam opt_exynos.h CONADDR 26 defparam opt_exynos.h CONSPEED 27 defparam opt_exynos.h CONMODE 28 29 # Memory size in megabytes 30 defparam opt_exynos.h MEMSIZE 31 defparam opt_exynos.h EXYNOS_WDT_DEFAULT_PERIOD 32 defflag opt_exynos.h EXYNOS_CONSOLE_EARLY 33 34 # 35 defflag opt_exynos.h EXYNOS4: CPU_CORTEXA9 36 defflag opt_exynos.h EXYNOS4120: EXYNOS4 37 defflag opt_exynos.h EXYNOS4212: EXYNOS4 38 defflag opt_exynos.h EXYNOS4412: EXYNOS4 39 defflag opt_exynos.h EXYNOS4412P: EXYNOS4 40 defflag opt_exynos.h EXYNOS5: CPU_CORTEXA15 41 defflag opt_exynos.h EXYNOS5250: EXYNOS5 42 defflag opt_exynos.h EXYNOS5260: EXYNOS5 43 defflag opt_exynos.h EXYNOS5410: EXYNOS5 44 defflag opt_exynos.h EXYNOS5420: EXYNOS5 45 defflag opt_exynos.h EXYNOS5440: EXYNOS5 46 defflag opt_exynos.h EXYNOS5422: EXYNOS5 47 48 # SoC I/O attach point 49 device exyo { [port=-1] } : bus_space_generic 50 attach exyo at mainbus with exyo_io 51 file arch/arm/samsung/exynos_io.c exyo_io 52 file arch/arm/samsung/exynos4_loc.c exyo_io & exynos4 53 file arch/arm/samsung/exynos5_loc.c exyo_io & exynos5 54 55 # Multi Core timer 56 device mct { } : bus_space_generic 57 attach mct at exyo with exyo_mct 58 file arch/arm/samsung/mct.c exyo_mct 59 60 # watchdog 61 device exywdt : sysmon_wdog 62 attach exywdt at exyo with exynos_wdt 63 file arch/arm/samsung/exynos_wdt.c exynos_wdt | exyo_io needs-flag 64 65 # UARTs 66 # 67 # built-in UART 68 # 69 device sscom 70 attach sscom at exyo with exynos_sscom 71 file arch/arm/samsung/sscom.c sscom needs-flag 72 file arch/arm/samsung/exynos_sscom.c exynos_sscom 73 defflag opt_sscom.h SSCOM0CONSOLE SSCOM1CONSOLE 74 defparam opt_sscom.h SSCOM_FREQ 75