1# $NetBSD: files.exynos,v 1.30 2018/07/05 13:11:58 jmcneill 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 15file arch/arm/arm32/armv7_generic_space.c 16file arch/arm/arm/arm_generic_dma.c 17file arch/arm/arm/bus_space_a4x.S 18 19file arch/arm/samsung/exynos_soc.c 20file arch/arm/samsung/exynos_smc.S arm_trustzone_firmware 21 22# Console parameters 23defparam opt_exynos.h CONADDR 24defparam opt_exynos.h CONSPEED 25defparam opt_exynos.h CONMODE 26 27# Memory size in megabytes 28defparam opt_exynos.h MEMSIZE 29defparam opt_exynos.h EXYNOS_WDT_DEFAULT_PERIOD 30defflag opt_exynos.h EXYNOS_CONSOLE_EARLY 31 32# 33defflag opt_exynos.h SOC_EXYNOS4: CPU_CORTEXA9 34defflag opt_exynos.h SOC_EXYNOS4120: SOC_EXYNOS4 35defflag opt_exynos.h SOC_EXYNOS4212: SOC_EXYNOS4 36defflag opt_exynos.h SOC_EXYNOS4412: SOC_EXYNOS4 37defflag opt_exynos.h SOC_EXYNOS4412P: SOC_EXYNOS4 38defflag opt_exynos.h SOC_EXYNOS5: CPU_CORTEXA15 39defflag opt_exynos.h SOC_EXYNOS5250: SOC_EXYNOS5 40defflag opt_exynos.h SOC_EXYNOS5260: SOC_EXYNOS5 41defflag opt_exynos.h SOC_EXYNOS5410: SOC_EXYNOS5 42defflag opt_exynos.h SOC_EXYNOS5420: SOC_EXYNOS5 43defflag opt_exynos.h SOC_EXYNOS5440: SOC_EXYNOS5 44defflag opt_exynos.h SOC_EXYNOS5422: SOC_EXYNOS5 45 46file arch/arm/samsung/exynos_platform.c soc_exynos5 47 48# Interrupt combiner 49device exyointr 50attach exyointr at fdt with exynos_intr 51file arch/arm/samsung/exynos_combiner.c exynos_intr 52 53# real time clock 54device exyortc : fdtbus 55attach exyortc at fdt with exynos_rtc 56file arch/arm/samsung/exynos_rtc.c exynos_rtc 57 58# Multi Core timer 59device mct 60attach mct at fdt with exyo_mct 61file arch/arm/samsung/mct.c exyo_mct 62 63# Watchdog 64device exyowdt : sysmon_wdog 65attach exyowdt at fdt with exynos_wdt 66file arch/arm/samsung/exynos_wdt.c exynos_wdt needs-flag 67 68# UARTs 69device exuart 70attach exuart at fdt with exynos_uart 71file arch/arm/samsung/exynos_uart.c exynos_uart 72 73# PINCTL 74device exyopctl : gpiobus 75attach exyopctl at fdt with exynos_pinctrl 76file arch/arm/samsung/exynos_pinctrl.c exynos_pinctrl needs-flag 77file arch/arm/samsung/exynos_gpio.c exynos_pinctrl needs-flag 78 79# USB2 PHY 80device exusbphy 81attach exusbphy at fdt with exynos_usbphy 82file arch/arm/samsung/exynos_usbphy.c exynos_usbphy 83 84# USB DRD PHY 85device exusbdrdphy 86attach exusbdrdphy at fdt with exynos_usbdrdphy 87file arch/arm/samsung/exynos_usbdrdphy.c exynos_usbdrdphy 88 89# USB2 Host Controller (OHCI) 90attach ohci at fdt with exynos_ohci 91file arch/arm/samsung/exynos_ohci.c exynos_ohci 92 93# USB 2 Host Controller (EHCI) 94attach ehci at fdt with exynos_ehci 95file arch/arm/samsung/exynos_ehci.c exynos_ehci 96 97# SD/MMC Host Controller 98attach dwcmmc at fdt with exynos_dwcmmc 99file arch/arm/samsung/exynos_dwcmmc.c exynos_dwcmmc 100 101# I2C support, bitbanging through GPIO 102device exyoi2c: i2cbus, i2c_bitbang 103attach exyoi2c at fdt with exynos_i2c 104file arch/arm/samsung/exynos_i2c.c exynos_i2c needs-flag 105 106# PWM timer 107device expwm: pwm 108attach expwm at fdt with exynos_pwm 109file arch/arm/samsung/exynos_pwm.c exynos_pwm 110 111device exy5422clk: clk 112attach exy5422clk at fdt with exynos5422_clock 113file arch/arm/samsung/exynos5422_clock.c exynos5422_clock 114 115device exy5410clk: clk 116attach exy5410clk at fdt with exynos5410_clock 117file arch/arm/samsung/exynos5410_clock.c exynos5410_clock 118