6965913be9
Add sysmmu to have something that calls through to the combiner's establish routine. Debug the combiner with it. At this point the combiner is mostly done, but the interrupt handler has not been tested. This may never happen as we may never support any of the devices that use the combiner for interrupts. (Or maybe mct)
128 lines
3.7 KiB
Plaintext
128 lines
3.7 KiB
Plaintext
# $NetBSD: files.exynos,v 1.21 2016/01/03 04:10:58 marty Exp $
|
|
#
|
|
# Configuration info for Samsung Exynos SoC ARM Peripherals
|
|
#
|
|
|
|
include "arch/arm/pic/files.pic"
|
|
include "arch/arm/cortex/files.cortex"
|
|
|
|
defflag opt_cpuoptions.h ARM_TRUSTZONE_FIRMWARE
|
|
|
|
file arch/arm/arm32/arm32_boot.c
|
|
file arch/arm/arm32/arm32_kvminit.c
|
|
file arch/arm/arm32/arm32_reboot.c
|
|
file arch/arm/arm32/irq_dispatch.S
|
|
file arch/arm/arm32/armv7_generic_space.c
|
|
file arch/arm/arm/bus_space_a4x.S
|
|
|
|
file arch/arm/samsung/exynos_soc.c
|
|
#file arch/arm/samsung/exynos_space.c
|
|
file arch/arm/samsung/exynos_smc.S arm_trustzone_firmware
|
|
|
|
# Console parameters
|
|
defparam opt_exynos.h CONADDR
|
|
defparam opt_exynos.h CONSPEED
|
|
defparam opt_exynos.h CONMODE
|
|
|
|
# Memory size in megabytes
|
|
defparam opt_exynos.h MEMSIZE
|
|
defparam opt_exynos.h EXYNOS_WDT_DEFAULT_PERIOD
|
|
defflag opt_exynos.h EXYNOS_CONSOLE_EARLY
|
|
|
|
#
|
|
defflag opt_exynos.h EXYNOS4: CPU_CORTEXA9
|
|
defflag opt_exynos.h EXYNOS4120: EXYNOS4
|
|
defflag opt_exynos.h EXYNOS4212: EXYNOS4
|
|
defflag opt_exynos.h EXYNOS4412: EXYNOS4
|
|
defflag opt_exynos.h EXYNOS4412P: EXYNOS4
|
|
defflag opt_exynos.h EXYNOS5: CPU_CORTEXA15
|
|
defflag opt_exynos.h EXYNOS5250: EXYNOS5
|
|
defflag opt_exynos.h EXYNOS5260: EXYNOS5
|
|
defflag opt_exynos.h EXYNOS5410: EXYNOS5
|
|
defflag opt_exynos.h EXYNOS5420: EXYNOS5
|
|
defflag opt_exynos.h EXYNOS5440: EXYNOS5
|
|
defflag opt_exynos.h EXYNOS5422: EXYNOS5
|
|
|
|
# On-board I/O
|
|
device exynosfdt : bus_space_generic, fdtbus
|
|
attach exynosfdt at mainbus with exynos_fdt
|
|
file arch/arm/samsung/exynos_fdt.c exynos_fdt
|
|
|
|
# Interrupt combiner
|
|
device exyointr
|
|
attach exyointr at fdt with exynos_intr
|
|
file arch/arm/samsung/exynos_combiner.c exynos_intr
|
|
|
|
# CHIP ID register
|
|
device chipid : fdtbus
|
|
attach chipid at fdt with exynos_chipid
|
|
file arch/arm/samsung/exynos_chipid.c exynos_chipid
|
|
|
|
# SYSMMU
|
|
device sysmmu : fdtbus
|
|
attach sysmmu at fdt with exynos_sysmmu
|
|
file arch/arm/samsung/exynos_sysmmu.c exynos_sysmmu
|
|
|
|
# real time clock
|
|
device exyortc : ftdbus
|
|
attach exyortc at fdt with exynos_rtc
|
|
file arch/arm/samsung/exynos_rtc.c exynos_rtc
|
|
|
|
# Multi Core timer
|
|
device mct : ftdbus
|
|
attach mct at fdt with exyo_mct
|
|
file arch/arm/samsung/mct.c exyo_mct
|
|
|
|
# Watchdog
|
|
device exyowdt : sysmon_wdog
|
|
attach exyowdt at fdt with exynos_wdt
|
|
file arch/arm/samsung/exynos_wdt.c exynos_wdt needs-flag
|
|
|
|
# UARTs
|
|
device sscom { } : bus_space_generic
|
|
attach sscom at fdt with exynos_sscom
|
|
file arch/arm/samsung/sscom.c sscom needs-flag
|
|
file arch/arm/samsung/exynos_sscom.c exynos_sscom
|
|
defflag opt_sscom.h SSCOM0CONSOLE SSCOM1CONSOLE
|
|
defparam opt_sscom.h SSCOM_FREQ
|
|
|
|
# PINCTL
|
|
device exyopctl : gpiobus
|
|
attach exyopctl at fdt with exynos_pinctrl
|
|
file arch/arm/samsung/exynos_pinctrl.c exynos_pinctrl needs-flag
|
|
file arch/arm/samsung/exynos_gpio.c exynos_pinctrl needs-flag
|
|
|
|
# USB2 phy
|
|
device exyousbphy
|
|
attach exyousbphy at fdt with exynos_usbphy
|
|
file arch/arm/samsung/exynos_usbphy.c exynos_usbphy
|
|
|
|
# USB2 Host Controller (OHCI)
|
|
attach ohci at fdt with exynos_ohci
|
|
file arch/arm/samsung/exynos_ohci.c exynos_ohci
|
|
|
|
#USB 2 Host Controller (EHCI)
|
|
attach ehci at fdt with exynos_ehci
|
|
file arch/arm/samsung/exynos_ehci.c exynos_ehci
|
|
|
|
# USB3 Host Controller (xHCI)
|
|
device exyousb : fdtbus
|
|
attach exyousb at fdt with exynos_usb
|
|
attach xhci at fdt
|
|
file arch/arm/samsung/exynos_usb3.c exynos_usb
|
|
|
|
# SD/MMC Host Controller
|
|
attach dwcmmc at fdt with exynos_dwcmmc
|
|
file arch/arm/samsung/exynos_dwcmmc.c exynos_dwcmmc
|
|
|
|
# I2C support, bitbanging through GPIO
|
|
device exyoi2c: i2cbus, i2c_bitbang
|
|
attach exyoi2c at fdt with exynos_i2c
|
|
file arch/arm/samsung/exynos_i2c.c exynos_i2c needs-flag
|
|
|
|
file arch/arm/samsung/exynos5422_dma.c
|
|
|
|
device exy5422clk: clk
|
|
attach exy5422clk at fdt with exynos5422_clock
|
|
file arch/arm/samsung/exynos5422_clock.c exynos5422_clock
|