SMDK2410 revision 1.38
11.38Sbsh#	$NetBSD: SMDK2410,v 1.38 2009/10/11 16:20:22 bsh Exp $
21.1Sbsh#
31.1Sbsh#	SMDK2410 -- Samsung's S3C2410 evaluation board.
41.1Sbsh#
51.1Sbsh
61.1Sbshinclude	"arch/evbarm/conf/std.smdk2410"
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.1Sbsh#options 	MEMORY_DISK_HOOKS
121.1Sbsh#options 	MEMORY_DISK_DYNAMIC
131.1Sbsh#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
141.1Sbsh#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.10Srearnshamakeoptions	CPUFLAGS="-march=armv4"
311.1Sbsh#options 	ARM9_CACHE_WRITE_THROUGH
321.1Sbsh
331.1Sbsh# Architecture options
341.1Sbsh
351.1Sbshoptions 	S3C2XX0_XTAL_CLK=12000000     # 12MHz Xtal
361.3Sbsh# CPU clock configuration: comma separated list of
371.3Sbsh#                          hdivn, pdivn, mdiv, pdiv, sdiv
381.3Sbshoptions 	SMDK2XX0_CLOCK_CONFIG="1,1,0x5c,4,0"	# to get 200MHz
391.1Sbsh
401.1Sbsh# File systems
411.1Sbsh
421.1Sbshfile-system	FFS		# UFS
431.1Sbsh#file-system	LFS		# log-structured file system
441.1Sbshfile-system	MFS		# memory file system
451.1Sbshfile-system	NFS		# Network file system
461.1Sbsh#file-system 	ADOSFS		# AmigaDOS-compatible file system
471.1Sbsh#file-system 	EXT2FS		# second extended file system (linux)
481.2Sbshfile-system	CD9660		# ISO 9660 + Rock Ridge file system
491.2Sbshfile-system	MSDOSFS		# MS-DOS file system
501.1Sbsh#file-system	FDESC		# /dev/fd
511.1Sbshfile-system	KERNFS		# /kern
521.1Sbsh#file-system	NULLFS		# loopback file system
531.1Sbsh#file-system	PORTAL		# portal filesystem (still experimental)
541.1Sbshfile-system	PROCFS		# /proc
551.1Sbsh#file-system	UMAPFS		# NULLFS + uid and gid remapping
561.1Sbsh#file-system	UNION		# union file system
571.25Schristosfile-system	PTYFS		# /dev/pts/N support
581.1Sbsh
591.1Sbsh# File system options
601.1Sbsh#options 	QUOTA		# UFS quotas
611.1Sbsh#options 	FFS_EI		# FFS Endian Independant support
621.1Sbsh#options 	NFSSERVER
631.34Ssimonboptions 	WAPBL		# File system journaling support - Experimental
641.26Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
651.1Sbsh
661.1Sbsh# Networking options
671.1Sbsh
681.1Sbshoptions 	GATEWAY		# packet forwarding
691.1Sbshoptions 	INET		# IP + ICMP + TCP + UDP
701.1Sbshoptions 	INET6		# IPV6
711.1Sbsh#options 	IPSEC		# IP security
721.1Sbsh#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
731.20Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
741.1Sbsh#options 	IPSEC_DEBUG	# debug for IP security
751.1Sbsh#options 	MROUTING	# IP multicast routing
761.11Smanu#options 	PIM		# Protocol Independent Multicast
771.1Sbsh#options 	ISO,TPIP	# OSI
781.1Sbsh#options 	EON		# OSI tunneling over IP
791.1Sbsh#options 	NETATALK	# AppleTalk networking
801.1Sbsh#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
811.1Sbsh#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
821.1Sbsh#options 	PPP_DEFLATE	# Deflate compression support for PPP
831.1Sbsh#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
841.1Sbsh#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
851.1Sbsh
861.2Sbsh# These options enable verbose messages for several subsystems.
871.2Sbsh# Warning, these may compile large string tables into the kernel!
881.2Sbsh#options 	MIIVERBOSE	# verbose PHY autoconfig messages
891.2Sbsh#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
901.2Sbsh#options 	SCSIVERBOSE	# human readable SCSI error messages
911.2Sbshoptions 	USBVERBOSE	# verbose USB device autoconfig messages
921.2Sbsh
931.4Sbshoptions 	NFS_BOOT_BOOTP
941.4Sbshoptions 	NFS_BOOT_DHCP
951.4Sbshoptions 	NFS_BOOT_BOOTPARAM
961.1Sbsh
971.1Sbsh# Compatibility options
981.1Sbsh
991.1Sbsh#options 	COMPAT_43	# 4.3BSD compatibility.
1001.38Sbshoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
1011.33Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
1021.24Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
1031.18Ssimonboptions 	COMPAT_20	# NetBSD 2.0 compatibility.
1041.6Schrisoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
1051.1Sbsh#options 	COMPAT_15	# NetBSD 1.5 compatibility.
1061.1Sbsh#options 	COMPAT_14	# NetBSD 1.4 compatibility.
1071.1Sbsh#options 	COMPAT_13	# NetBSD 1.3 compatibility.
1081.1Sbsh#options 	COMPAT_12	# NetBSD 1.2 compatibility.
1091.1Sbsh#options 	COMPAT_11	# NetBSD 1.1 compatibility.
1101.1Sbsh#options 	COMPAT_10	# NetBSD 1.0 compatibility.
1111.1Sbsh#options 	COMPAT_09	# NetBSD 0.9 compatibility.
1121.1Sbsh#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1131.13Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1141.1Sbsh
1151.1Sbsh# Shared memory options
1161.1Sbsh
1171.1Sbshoptions 	SYSVMSG		# System V-like message queues
1181.1Sbshoptions 	SYSVSEM		# System V-like semaphores
1191.1Sbsh#options 	SEMMNI=10	# number of semaphore identifiers
1201.1Sbsh#options 	SEMMNS=60	# number of semaphores in system
1211.1Sbsh#options 	SEMUME=10	# max number of undo entries per process
1221.1Sbsh#options 	SEMMNU=30	# number of undo structures in system
1231.1Sbshoptions 	SYSVSHM		# System V-like memory sharing
1241.1Sbsh
1251.1Sbsh# Miscellaneous kernel options
1261.1Sbshoptions 	KTRACE		# system call tracing, a la ktrace(1)
1271.1Sbsh#XXX: options 	IRQSTATS	# manage IRQ statistics
1281.1Sbsh#options 	KMEMSTATS	# kernel memory statistics
1291.1Sbshoptions 	SCSIVERBOSE	# Verbose SCSI errors
1301.1Sbshoptions 	PCIVERBOSE	# Verbose PCI descriptions
1311.1Sbshoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1321.1Sbsh#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1331.1Sbshoptions 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to
1341.1Sbsh					# configure PCI devices
1351.1Sbsh#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
1361.1Sbsh#options 	PCI_DEBUG
1371.1Sbshoptions 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
1381.1Sbshoptions 	USERCONF	# userconf(4) support
1391.1Sbsh#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1401.9Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1411.1Sbsh
1421.1Sbsh# Development and Debugging options
1431.1Sbsh
1441.1Sbsh#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1451.1Sbsh#options 	PORTMASTER	# Enable PortMaster only options
1461.1Sbsh#options 	DIAGNOSTIC	# internal consistency checks
1471.1Sbsh#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1481.1Sbsh#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1491.1Sbsh#options 	KGDB
1501.1Sbsh#options  	DEBUG_KGDB
1511.1Sbsh#options 	DDB		# in-kernel debugger
1521.1Sbsh#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1531.5Srearnsha#makeoptions	DEBUG="-g"	# compile full symbol table
1541.1Sbshconfig		netbsd	root on ? type ?
1551.1Sbsh
1561.1Sbsh# The main bus device
1571.1Sbshmainbus0	at root
1581.1Sbsh
1591.7Swiz# The boot CPU
1601.1Sbshcpu0		at mainbus?
1611.1Sbsh
1621.1Sbsh# Core logic on Samsung S3C2410
1631.1Sbshssio0	at mainbus?
1641.4Sbshssextio0 at ssio0
1651.1Sbsh
1661.1Sbsh# integrated UART
1671.1Sbshsscom0	at ssio? index 0
1681.1Sbshsscom1	at ssio? index 1
1691.1Sbsh#sscom2	at ssio? index 2
1701.1Sbshoptions 	SSCOM0CONSOLE
1711.1Sbsh#options 	SSCOM1CONSOLE
1721.1Sbshoptions CONSPEED=115200
1731.1Sbshoptions KGDB_DEVNAME="\"sscom1\""   # sscom0 or sscom1
1741.1Sbshoptions KGDB_DEVRATE=115200
1751.2Sbsh
1761.8Sbsh# LCD
1771.8Sbsh#device-major	lcd	char 145
1781.8Sbshlcd0		at ssio?
1791.8Sbshwsdisplay*	at lcd? console ?
1801.8Sbshoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1811.8Sbshoptions 	FONT_VT220L8x16
1821.8Sbshoptions 	FONT_VT220L8x10
1831.8Sbsh#options 	LCD_DEBUG
1841.8Sbsh
1851.8Sbsh# SPI port
1861.8Sbsh#ssspi0	at ssio? index 0
1871.8Sbshssspi1	at ssio? index 1
1881.8Sbsh
1891.8Sbsh# on-board keyboard controller (Semtech SPICoder-SA01) via SPI1
1901.8Sbshsskbd0	at ssspi1	intr 1
1911.8Sbshwskbd* at sskbd? # console ?
1921.8Sbsh
1931.2Sbsh# SCSI bus support
1941.2Sbshscsibus* at scsi?
1951.2Sbsh
1961.2Sbsh# SCSI devices
1971.2Sbshsd*	at scsibus? target ? lun ?	# SCSI disk drives
1981.2Sbshst*	at scsibus? target ? lun ?	# SCSI tape drives
1991.2Sbshcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2001.2Sbshch*	at scsibus? target ? lun ?	# SCSI autochangers
2011.2Sbshses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
2021.2Sbshss*	at scsibus? target ? lun ?	# SCSI scanners
2031.2Sbshuk*	at scsibus? target ? lun ?	# SCSI unknown
2041.2Sbsh
2051.2Sbsh# ATAPI bus support
2061.2Sbshatapibus* at atapi?
2071.2Sbsh
2081.2Sbsh# ATAPI devices
2091.2Sbsh# flags have the same meaning as for IDE drives.
2101.2Sbshcd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2111.2Sbshsd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2121.2Sbshst*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
2131.2Sbshuk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
2141.2Sbsh
2151.2Sbsh# MIDI support
2161.2Sbshmidi*	at midibus?
2171.2Sbsh# midi*	at pcppi?		# MIDI interface to the PC speaker
2181.2Sbsh
2191.2Sbsh# Audio support
2201.2Sbshaudio*	at audiobus?
2211.4Sbsh
2221.4Sbsh# on-board CS8900A Ethernet
2231.4Sbshcs*	at ssextio? intr 9 addr 0x18000000
2241.4Sbsh# set MAC address to on-board CS8900A.
2251.4Sbshoptions	SMDK24X0_ETHER_ADDR_FIXED="0,0x0a,0xb1,0,1,0xff"
2261.2Sbsh
2271.2Sbsh# built-in OHCI USB controller
2281.2Sbshohci0	at ssio? addr 0x49000000 intr 26
2291.2Sbshoptions 	OHCI_DEBUG
2301.2Sbsh
2311.2Sbshusb*	at ohci0
2321.2Sbsh
2331.2Sbsh# USB Hubs
2341.2Sbshuhub*	at usb?
2351.31Sdrochneruhub*	at uhub? port ?
2361.2Sbsh
2371.2Sbsh# USB HID device
2381.2Sbshuhidev*	at uhub? port ? configuration ? interface ?
2391.2Sbsh
2401.2Sbsh# USB Mice
2411.2Sbshums*	at uhidev? reportid ?
2421.2Sbshwsmouse* at ums? mux 0
2431.2Sbsh
2441.2Sbsh# USB Keyboards
2451.2Sbshukbd*	at uhidev? reportid ?
2461.2Sbshwskbd*	at ukbd? console ? mux 1
2471.2Sbsh
2481.29Sskrll# USB serial adapter
2491.23Sskrllucycom*	at uhidev? reportid ?
2501.23Sskrll
2511.2Sbsh# USB Generic HID devices
2521.2Sbshuhid*	at uhidev? reportid ?
2531.2Sbsh
2541.2Sbsh# USB Printer
2551.2Sbshulpt*	at uhub? port ? configuration ? interface ?
2561.2Sbsh
2571.2Sbsh# USB Modem
2581.2Sbshumodem*	at uhub? port ? configuration ?
2591.2Sbshucom*	at umodem?
2601.2Sbsh
2611.2Sbsh# USB Mass Storage
2621.2Sbshumass*	at uhub? port ? configuration ? interface ?
2631.2Sbshwd* at umass?
2641.2Sbsh
2651.2Sbsh# USB audio
2661.2Sbshuaudio*	at uhub? port ? configuration ?
2671.2Sbsh
2681.2Sbsh# USB MIDI
2691.2Sbshumidi* at uhub? port ? configuration ?
2701.2Sbsh
2711.2Sbsh# USB IrDA
2721.2Sbsh# USB-IrDA bridge spec
2731.2Sbshuirda* at uhub? port ? configuration ? interface ?
2741.2Sbshirframe* at uirda?
2751.2Sbsh
2761.2Sbsh# SigmaTel STIr4200 USB/IrDA Bridge
2771.2Sbshustir* at uhub? port ?
2781.2Sbshirframe* at ustir?
2791.2Sbsh
2801.2Sbsh# USB Ethernet adapters
2811.2Sbshaue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
2821.12Saugustssaxe*	at uhub? port ?		# ASIX AX88172 based adapters
2831.2Sbshcue*	at uhub? port ?		# CATC USB-EL1201A based adapters
2841.2Sbshkue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
2851.2Sbshurl*	at uhub? port ?		# Realtek RTL8150L based adapters
2861.2Sbsh
2871.2Sbsh# Prolific PL2301/PL2302 host-to-host adapter
2881.2Sbshupl*	at uhub? port ?
2891.2Sbsh
2901.2Sbsh# Serial adapters
2911.2Sbshubsa*	at uhub? port ?		# Belkin serial adapter
2921.2Sbshucom*	at ubsa? portno ?
2931.2Sbsh
2941.2Sbshuftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
2951.2Sbshucom*	at uftdi? portno ?
2961.2Sbsh
2971.2Sbshumct*	at uhub? port ?		# MCT USB-RS232 serial adapter
2981.2Sbshucom*	at umct? portno ?
2991.2Sbsh
3001.2Sbshuplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
3011.2Sbshucom*	at uplcom? portno ?
3021.2Sbsh
3031.2Sbshuvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
3041.2Sbshucom*	at uvscom? portno ?
3051.2Sbsh
3061.2Sbsh# Diamond Multimedia Rio 500
3071.2Sbshurio*	at uhub? port ?
3081.2Sbsh
3091.2Sbsh# USB Handspring Visor
3101.2Sbshuvisor*	at uhub? port ?
3111.2Sbshucom*	at uvisor?
3121.2Sbsh
3131.19Sitohy# Kyocera AIR-EDGE PHONE
3141.19Sitohyukyopon* at uhub? port ?
3151.19Sitohyucom*	at ukyopon? portno ?
3161.19Sitohy
3171.2Sbsh# USB scanners
3181.2Sbshuscanner* at uhub? port ?
3191.2Sbsh
3201.2Sbsh# USB scanners that use SCSI emulation, e.g., HP5300
3211.2Sbshusscanner* at uhub? port ?
3221.2Sbsh
3231.2Sbsh# Y@P firmware loader
3241.2Sbshuyap* at uhub? port ?
3251.2Sbsh
3261.2Sbsh# D-Link DSB-R100 USB radio
3271.2Sbshudsbr*	at uhub? port ?
3281.2Sbshradio*	at udsbr?
3291.2Sbsh
3301.2Sbsh# USB Generic driver
3311.2Sbshugen*	at uhub? port ?
3321.1Sbsh
3331.1Sbsh# Pseudo-Devices
3341.1Sbsh
3351.1Sbsh# disk/mass storage pseudo-devices
3361.1Sbsh#pseudo-device	md		1	# memory disk device (ramdisk)
3371.28Scube#pseudo-device	vnd			# disk-like interface to files
3381.15Shannken#pseudo-device	fss		4	# file system snapshot device
3391.1Sbsh
3401.1Sbsh# network pseudo-devices
3411.27Srpaulo#pseudo-device	bpfilter		# Berkeley packet filter
3421.1Sbshpseudo-device	ipfilter		# IP filter (firewall) and NAT
3431.1Sbshpseudo-device	loop			# network loopback
3441.28Scube#pseudo-device	ppp			# Point-to-Point Protocol
3451.1Sbsh#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3461.28Scube#pseudo-device	sl			# Serial Line IP
3471.28Scube#pseudo-device	strip			# Starmode Radio IP (Metricom)
3481.1Sbsh#pseudo-device	irframetty		# IrDA frame line discipline
3491.28Scube#pseudo-device	tun			# network tunneling over tty
3501.14Scube#pseudo-device	tap			# virtual Ethernet
3511.28Scube#pseudo-device	gre			# generic L3 over IP tunnel
3521.28Scube#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3531.28Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3541.28Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3551.1Sbsh#pseudo-device	vlan			# IEEE 802.1q encapsulation
3561.1Sbsh#pseudo-device	bridge			# simple inter-network bridging
3571.1Sbsh#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3581.1Sbsh
3591.1Sbsh# miscellaneous pseudo-devices
3601.1Sbshpseudo-device	pty			# pseudo-terminals
3611.1Sbshpseudo-device	rnd			# /dev/random and in-kernel generator
3621.1Sbshpseudo-device	clockctl		# user control of clock subsystem
3631.8Sbsh
3641.8Sbsh# wscons pseudo-devices
3651.8Sbshpseudo-device	wsmux			# mouse & keyboard multiplexor
3661.8Sbsh#pseudo-device	wsfont
3671.8Sbsh
3681.8Sbsh#pseudo-device	ksyms			# /dev/ksyms
369