#
#	$NetBSD: EXYNOS,v 1.14.4.1 2017/07/18 19:13:09 snj Exp $
#
#	Samsung Exynos SoC kernel
#

include	"arch/evbarm/conf/std.exynos"
include	"arch/evbarm/conf/GENERIC.common"

options 	CPU_CORTEXA7
options 	CPU_CORTEXA15
options 	SOC_EXYNOS5422
options 	MULTIPROCESSOR

pseudo-device 	openfirm	# /dev/openfirm

#options 	DIAGNOSTIC	# internal consistency checks
#options 	DEBUG
#options 	LOCKDEBUG
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
#options 	IPKDB		# remote kernel debugging
#options 	VERBOSE_INIT_ARM # verbose bootstrapping messages
# SSCOMnCONSOLE is required for early init messages from VERBOSE_INIT_ARM.
#options 	SSCOM2CONSOLE

makeoptions	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1

config		netbsd		root on ? type ?

# Device tree support
armfdt0		at root
fdt*		at fdtbus?

# CPUs
cpus*		at fdt? pass 0
cpu*		at cpus?

fclock*		at fdt? pass 4
fregulator*	at fdt? pass 4
gpiokeys*	at fdt?

# Timer
mct*		at fdt?			# Exynos Multi Core Timer (MCT)
armgtmr0	at mct?			# ARM Generic Timer

# Interrupt controller
exyointr*	at fdt? pass 1
gic*		at fdt? pass 1		# GIC
armgic0		at gic?

# Clock controller
exy5410clk*	at fdt? pass 3		# Exynos5410 clock controller
exy5422clk*	at fdt? pass 3		# Exynos5422 clock controller

# GPIO controller
exyopctl*	at fdt? pass 2		# GPIO
gpio*		at gpiobus?

# Exynos SoC support
chipid*		at fdt?
sysmmu*		at fdt?

# UART
sscom*		at fdt?			# UART

# I2C
exyoi2c*	at fdt?			# I2C
iic*		at exyoi2c?

# RTC
#exyortc*	at fdt?			# RTC

# SDMMC
dwcmmc*		at fdt?			# SDMMC
sdmmc*		at dwcmmc?
ld0		at sdmmc0
ld1		at sdmmc1
ld2		at sdmmc2
ld3		at sdmmc3
ld*		at sdmmc?

# USB
exyousbphy*	at fdt?
exyousb*	at fdt?
ohci*		at fdt?			# OUSB
ehci*		at fdt?			# EUSB
usb*		at ohci?
usb*		at ehci?

include "dev/usb/usbdevices.config"
midi*		at midibus?

cinclude "arch/evbarm/conf/EXYNOS.local"
