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