#	$OpenBSD: files.s3c2410,v 1.2 2009/01/05 20:37:16 jasper Exp $
#	$NetBSD: files.s3c2410,v 1.5 2005/12/11 12:16:51 christos Exp $
#
# Configuration info for Samsung S3C2410
#

# Pull in common info for s3c2800/2400X/2410X
include "arch/arm/s3c2xx0/files.s3c2xx0"


file	arch/arm/s3c2xx0/s3c2410_intr.c
file	arch/arm/s3c2xx0/s3c24x0_clk.c
file	arch/arm/s3c2xx0/s3c2410.c

device ssextio { [index=-1], [addr=0], [size=0], [intr=-1] } : bus_space_generic
attach ssextio at ssio
# maximum external interrupt. defaults to 23 to allow all external
# interrupts. valid values are 4..23.
#defparam opt_s3c2410.h S3C2410_MAX_EXTINT
file	arch/arm/s3c2xx0/s3c2410_extint.c	ssextio

# UART
file	arch/arm/s3c2xx0/sscom_s3c2410.c	sscom

# OHCI USB controller
attach	ohci at ssio with ohci_ssio
file	arch/arm/s3c2xx0/ohci_s3c24x0.c		ohci_ssio

# LCD controller
device lcd: wsemuldisplaydev, rasops16, rasops8
file arch/arm/s3c2xx0/s3c24x0_lcd.c		lcd needs-flag

# SPI port
#  intr locator is for an additional interrupt other than SPI[01] interrupts.
device	ssspi {[intr=-1]}
attach	ssspi at ssio
file	arch/arm/s3c2xx0/s3c2410_spi.c		ssspi

file	arch/arm/arm/irq_dispatch.S
file	arch/arm/arm/softintr.c