SMDK2800 revision 1.23
11.23Sbsh#	$NetBSD: SMDK2800,v 1.23 2005/02/27 02:18:34 bsh Exp $
21.1Sbsh#
31.1Sbsh#	SMDK2800 -- Samsung's S3C2800 evaluation board.
41.1Sbsh#
51.1Sbsh
61.1Sbshinclude	"arch/evbarm/conf/std.smdk2800"
71.1Sbsh
81.1Sbsh#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Sbsh
101.1Sbsh# Enable the hooks used for initializing the root memory-disk.
111.2Sbsh#options 	MEMORY_DISK_HOOKS
121.2Sbsh#options 	MEMORY_DISK_DYNAMIC
131.2Sbsh#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
141.2Sbsh#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
151.1Sbsh#options 	MEMORY_DISK_ROOT_SIZE=4096	# size of memory disk, in blocks
161.1Sbsh#options 	MEMORY_DISK_ROOT_SIZE=2880	# 1.44M, same as a floppy
171.1Sbsh
181.1Sbsh# estimated number of users
191.1Sbsh
201.1Sbshmaxusers	32
211.1Sbsh
221.1Sbsh# Standard system options
231.1Sbsh
241.1Sbshoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
251.1Sbshoptions 	NTP		# NTP phase/frequency locked loop
261.1Sbsh
271.1Sbsh# CPU options
281.1Sbsh
291.1Sbshoptions 	CPU_ARM9	# Support the ARM9TDMI core
301.15Srearnshamakeoptions	CPUFLAGS="-march=armv4"
311.1Sbsh
321.2Sbshoptions 	S3C2XX0_XTAL_CLK=6000000	# 6MHz external Xtal
331.2Sbsh
341.1Sbsh# Architecture options
351.1Sbsh
361.1Sbsh# File systems
371.1Sbsh
381.1Sbshfile-system	FFS		# UFS
391.1Sbsh#file-system	LFS		# log-structured file system
401.1Sbshfile-system	MFS		# memory file system
411.1Sbshfile-system	NFS		# Network file system
421.1Sbsh#file-system 	ADOSFS		# AmigaDOS-compatible file system
431.1Sbsh#file-system 	EXT2FS		# second extended file system (linux)
441.1Sbsh#file-system	CD9660		# ISO 9660 + Rock Ridge file system
451.1Sbsh#file-system	MSDOSFS		# MS-DOS file system
461.1Sbsh#file-system	FDESC		# /dev/fd
471.1Sbshfile-system	KERNFS		# /kern
481.1Sbsh#file-system	NULLFS		# loopback file system
491.1Sbsh#file-system	PORTAL		# portal filesystem (still experimental)
501.1Sbshfile-system	PROCFS		# /proc
511.1Sbsh#file-system	UMAPFS		# NULLFS + uid and gid remapping
521.1Sbsh#file-system	UNION		# union file system
531.1Sbsh
541.1Sbsh# File system options
551.1Sbsh#options 	QUOTA		# UFS quotas
561.1Sbsh#options 	FFS_EI		# FFS Endian Independant support
571.1Sbsh#options 	NFSSERVER
581.1Sbshoptions 	SOFTDEP
591.21Sdsl#options 	FFS_NO_SNAPSHOT	# ffs snapshots
601.1Sbsh
611.1Sbsh# Networking options
621.1Sbsh
631.1Sbsh#options 	GATEWAY		# packet forwarding
641.1Sbshoptions 	INET		# IP + ICMP + TCP + UDP
651.1Sbshoptions 	INET6		# IPV6
661.1Sbsh#options 	IPSEC		# IP security
671.1Sbsh#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
681.1Sbsh#options 	IPSEC_DEBUG	# debug for IP security
691.1Sbsh#options 	MROUTING	# IP multicast routing
701.16Smanu#options 	PIM		# Protocol Independent Multicast
711.1Sbsh#options 	NS		# XNS
721.1Sbsh#options 	NSIP		# XNS tunneling over IP
731.1Sbsh#options 	ISO,TPIP	# OSI
741.1Sbsh#options 	EON		# OSI tunneling over IP
751.1Sbsh#options 	CCITT,LLC,HDLC	# X.25
761.1Sbsh#options 	NETATALK	# AppleTalk networking
771.1Sbsh#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
781.1Sbsh#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
791.1Sbsh#options 	PPP_DEFLATE	# Deflate compression support for PPP
801.1Sbsh#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
811.1Sbsh#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
821.1Sbsh
831.1Sbshoptions 	NFS_BOOT_BOOTP
841.1Sbshoptions 	NFS_BOOT_DHCP
851.1Sbshoptions 	NFS_BOOT_BOOTPARAM
861.1Sbsh
871.1Sbsh# Compatibility options
881.1Sbsh
891.1Sbsh#options 	COMPAT_43	# 4.3BSD compatibility.
901.22Ssimonboptions 	COMPAT_20	# NetBSD 2.0 compatibility.
911.5Schrisoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
921.1Sbsh#options 	COMPAT_15	# NetBSD 1.5 compatibility.
931.1Sbsh#options 	COMPAT_14	# NetBSD 1.4 compatibility.
941.1Sbsh#options 	COMPAT_13	# NetBSD 1.3 compatibility.
951.1Sbsh#options 	COMPAT_12	# NetBSD 1.2 compatibility.
961.1Sbsh#options 	COMPAT_11	# NetBSD 1.1 compatibility.
971.1Sbsh#options 	COMPAT_10	# NetBSD 1.0 compatibility.
981.1Sbsh#options 	COMPAT_09	# NetBSD 0.9 compatibility.
991.1Sbsh#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1001.17Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1011.1Sbsh
1021.1Sbsh# Shared memory options
1031.1Sbsh
1041.1Sbsh#options 	SYSVMSG		# System V-like message queues
1051.1Sbsh#options 	SYSVSEM		# System V-like semaphores
1061.1Sbsh#options 	SEMMNI=10	# number of semaphore identifiers
1071.1Sbsh#options 	SEMMNS=60	# number of semaphores in system
1081.1Sbsh#options 	SEMUME=10	# max number of undo entries per process
1091.1Sbsh#options 	SEMMNU=30	# number of undo structures in system
1101.1Sbsh#options 	SYSVSHM		# System V-like memory sharing
1111.1Sbsh#options 	SHMMAXPGS=1024	# 1024 pages is the default
1121.1Sbsh
1131.1Sbsh# Miscellaneous kernel options
1141.1Sbshoptions 	KTRACE		# system call tracing, a la ktrace(1)
1151.1Sbsh#XXX: options 	IRQSTATS	# manage IRQ statistics
1161.1Sbsh#options 	LKM		# loadable kernel modules
1171.1Sbsh#options 	KMEMSTATS	# kernel memory statistics
1181.1Sbshoptions 	SCSIVERBOSE	# Verbose SCSI errors
1191.1Sbshoptions 	PCIVERBOSE	# Verbose PCI descriptions
1201.1Sbshoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1211.2Sbsh#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1221.1Sbshoptions 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to
1231.1Sbsh					# configure PCI devices
1241.1Sbsh#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
1251.1Sbsh#options 	PCI_DEBUG
1261.1Sbshoptions 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
1271.1Sbshoptions 	USERCONF	# userconf(4) support
1281.1Sbsh#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1291.14Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1301.1Sbsh
1311.1Sbsh# Development and Debugging options
1321.1Sbsh
1331.1Sbsh#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1341.1Sbsh#options 	PORTMASTER	# Enable PortMaster only options
1351.1Sbshoptions 	DIAGNOSTIC	# internal consistency checks
1361.1Sbsh#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1371.1Sbsh#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1381.1Sbsh#options 	IPKDB		# remote kernel debugging
1391.1Sbsh#options 	KGDB
1401.1Sbsh#options  	DEBUG_KGDB
1411.1Sbsh#options 	DDB		# in-kernel debugger
1421.1Sbsh#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1431.4Srearnsha#makeoptions	DEBUG="-g"	# compile full symbol table
1441.1Sbshconfig		netbsd	root on ? type ?
1451.1Sbsh
1461.1Sbsh# The main bus device
1471.1Sbshmainbus0	at root
1481.1Sbsh
1491.13Swiz# The boot CPU
1501.1Sbshcpu0		at mainbus?
1511.1Sbsh
1521.1Sbsh# Core logic on Samsung S3C2800
1531.1Sbshssio0	at mainbus?
1541.1Sbsh
1551.1Sbsh# integrated UART
1561.1Sbshsscom0	at ssio? index 0
1571.1Sbshsscom1	at ssio? index 1
1581.1Sbshoptions 	SSCOM0CONSOLE
1591.1Sbsh#options 	SSCOM1CONSOLE
1601.1Sbshoptions KGDB_DEVNAME="\"sscom1\""   # sscom0 or sscom1
1611.1Sbshoptions KGDB_DEVRATE=57600
1621.1Sbsh
1631.1Sbsh# PCI bus via internal PCI controller
1641.1Sbshsspci0		at ssio?			# PCI bus
1651.1Sbshpci0	at sspci0
1661.1Sbsh
1671.1Sbsh# PCI IDE Controllers and Devices
1681.1Sbsh# PCI IDE controllers - see pciide(4) for supported hardware.
1691.1Sbsh# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
1701.1Sbsh# how to set up DMA modes for this chip. This may work, or may cause
1711.1Sbsh# a machine hang with some controllers.
1721.7Sbouyer#pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
1731.11Sthorpej#artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
1741.7Sbouyer#cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
1751.7Sbouyer#hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
1761.7Sbouyer#pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
1771.18Sbouyer#pdcsata* 	at pci? dev ? function ?	# Promise SATA150 controllers
1781.8Sthorpej#satalink*	at pci? dev ? function ?	# SiI SATALink controllers
1791.7Sbouyer
1801.7Sbouyer# ATA bus support
1811.9Sthorpej#atabus* 	at ata? channel ?
1821.6Sbouyer
1831.1Sbsh# IDE drives
1841.1Sbsh# Flags are used only with controllers that support DMA operations
1851.1Sbsh# and mode settings (e.g. some pciide controllers)
1861.1Sbsh# The lowest order four bits (rightmost digit) of the flags define the PIO
1871.1Sbsh# mode to use, the next set of four bits the DMA mode and the third set the
1881.1Sbsh# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1891.1Sbsh# to use, and the last bit must be 1 for this setting to be used.
1901.1Sbsh# For DMA and UDMA, 0xf (1111) means 'disable'.
1911.1Sbsh# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1921.1Sbsh# (0xc=1100, 0xa=1010, 0xf=1111)
1931.1Sbsh# 0x0000 means "use whatever the drive claims to support".
1941.6Sbouyer#wd*		at atabus? drive ? flags 0x0000	# the drives themselves
1951.1Sbsh
1961.1Sbsh# PCI SCSI Controllers and Buses
1971.1Sbsh#ahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI Controllers
1981.1Sbsh#scsibus*	at ahc?
1991.1Sbsh
2001.1Sbsh# SCSI devices
2011.1Sbsh
2021.1Sbsh#sd*		at scsibus? target ? lun ?	# SCSI disk drives
2031.1Sbsh#st*		at scsibus? target ? lun ?	# SCSI tape drives
2041.1Sbsh#cd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
2051.1Sbsh#ch*		at scsibus? target ? lun ?	# SCSI auto-changers drives
2061.1Sbsh#uk*		at scsibus? target ? lun ?	# SCSI unknown drives
2071.1Sbsh#ss*		at scsibus? target ? lun ?	# SCSI scanner
2081.1Sbsh
2091.1Sbsh# PCI network interfaces
2101.1Sbsh#fxp*		at pci? dev ? function ?	# I82557/I82558 ethernet cards
2111.1Sbsh#ne*		at pci? dev ? function ?	# NE2000 compat ethernet
2121.1Sbsh#tlp*		at pci? dev ? function ?	# DECchip 21x4x and clones
2131.1Sbshsip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
2141.1Sbsh
2151.1Sbsh# MII/PHY support
2161.1Sbsh#inphy*		at mii? phy ?			# Intel 82555 PHYs
2171.1Sbsh#lxtphy*		at mii? phy ?			# Level One LXT-970 PHYs
2181.1Sbshukphy*		at mii? phy ?			# generic unknown PHYs
2191.1Sbsh
2201.1Sbsh# Pseudo-Devices
2211.1Sbsh
2221.1Sbsh# disk/mass storage pseudo-devices
2231.23Sbsh#pseudo-device	md		1	# memory disk device (ramdisk)
2241.1Sbsh#pseudo-device	vnd		4	# disk-like interface to files
2251.19Shannken#pseudo-device	fss		4	# file system snapshot device
2261.1Sbsh
2271.1Sbsh# network pseudo-devices
2281.23Sbshpseudo-device	bpfilter	4	# Berkeley packet filter
2291.23Sbshpseudo-device	ipfilter		# IP filter (firewall) and NAT
2301.23Sbshpseudo-device	loop			# network loopback
2311.23Sbsh#pseudo-device	kttcp			# network loopback
2321.23Sbsh#pseudo-device	ppp		2	# Point-to-Point Protocol
2331.23Sbsh#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2341.23Sbsh#pseudo-device	sl		2	# Serial Line IP
2351.23Sbsh#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
2361.23Sbsh#pseudo-device	irframetty		# IrDA frame line discipline
2371.23Sbsh#pseudo-device	tap			# virtual Ethernet
2381.23Sbsh#pseudo-device	tun		2	# network tunneling over tty
2391.23Sbsh#pseudo-device	gre		2	# generic L3 over IP tunnel
2401.23Sbsh#pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2411.23Sbsh#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2421.23Sbsh#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2431.23Sbsh#pseudo-device	vlan			# IEEE 802.1q encapsulation
2441.1Sbsh#pseudo-device	bridge			# simple inter-network bridging
2451.23Sbsh#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2461.23Sbsh#pseudo-device	pf			# PF packet filter
2471.23Sbsh#pseudo-device	pflog			# PF log if
2481.1Sbsh
2491.1Sbsh# miscellaneous pseudo-devices
2501.1Sbshpseudo-device	pty			# pseudo-terminals
2511.1Sbshpseudo-device	rnd			# /dev/random and in-kernel generator
2521.1Sbshpseudo-device	clockctl		# user control of clock subsystem
2531.23Sbsh
2541.23Sbsh# wscons pseudo-devices
2551.23Sbsh#pseudo-device	wsmux			# mouse & keyboard multiplexor
2561.23Sbsh#pseudo-device	wsfont
2571.23Sbshpseudo-device	ksyms			# /dev/ksyms
258