xref: /netbsd-src/sys/arch/evbarm/conf/SMDK2410 (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1#	$NetBSD: SMDK2410,v 1.58 2015/08/12 07:53:57 maxv Exp $
2#
3#	SMDK2410 -- Samsung's S3C2410 evaluation board.
4#
5
6include	"arch/evbarm/conf/std.smdk2410"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10# Enable the hooks used for initializing the root memory-disk.
11#options 	MEMORY_DISK_HOOKS
12#options 	MEMORY_DISK_DYNAMIC
13#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
14#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
15#options 	MEMORY_DISK_ROOT_SIZE=4096	# size of memory disk, in blocks
16#options 	MEMORY_DISK_ROOT_SIZE=2880	# 1.44M, same as a floppy
17
18# estimated number of users
19
20maxusers	32
21
22# Standard system options
23
24options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
25options 	NTP		# NTP phase/frequency locked loop
26
27# CPU options
28
29options 	CPU_ARM9	# Support the ARM9TDMI core
30makeoptions	CPUFLAGS="-march=armv4"
31#options 	ARM9_CACHE_WRITE_THROUGH
32
33# Architecture options
34
35options 	S3C2XX0_XTAL_CLK=12000000     # 12MHz Xtal
36# CPU clock configuration: comma separated list of
37#                          hdivn, pdivn, mdiv, pdiv, sdiv
38options 	SMDK2XX0_CLOCK_CONFIG="1,1,0x5c,4,0"	# to get 200MHz
39
40# File systems
41
42file-system	FFS		# UFS
43#file-system	LFS		# log-structured file system
44file-system	MFS		# memory file system
45file-system	NFS		# Network file system
46#file-system 	ADOSFS		# AmigaDOS-compatible file system
47#file-system 	EXT2FS		# second extended file system (linux)
48file-system	CD9660		# ISO 9660 + Rock Ridge file system
49file-system	MSDOSFS		# MS-DOS file system
50#file-system	FDESC		# /dev/fd
51file-system	KERNFS		# /kern
52#file-system	NULLFS		# loopback file system
53file-system	PROCFS		# /proc
54#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
55#file-system	UMAPFS		# NULLFS + uid and gid remapping
56#file-system	UNION		# union file system
57file-system	PTYFS		# /dev/pts/N support
58
59# File system options
60#options 	QUOTA		# legacy UFS quotas
61#options 	QUOTA2		# new, in-filesystem UFS quotas
62#options 	FFS_EI		# FFS Endian Independent support
63#options 	NFSSERVER
64options 	WAPBL		# File system journaling support
65#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
66
67# Networking options
68
69options 	GATEWAY		# packet forwarding
70options 	INET		# IP + ICMP + TCP + UDP
71options 	INET6		# IPV6
72#options 	IPSEC		# IP security
73#options 	IPSEC_DEBUG	# debug for IP security
74#options 	MROUTING	# IP multicast routing
75#options 	PIM		# Protocol Independent Multicast
76#options 	NETATALK	# AppleTalk networking
77#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
78#options 	PPP_DEFLATE	# Deflate compression support for PPP
79#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
80#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
81
82# These options enable verbose messages for several subsystems.
83# Warning, these may compile large string tables into the kernel!
84#options 	MIIVERBOSE	# verbose PHY autoconfig messages
85#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
86#options 	SCSIVERBOSE	# human readable SCSI error messages
87options 	USBVERBOSE	# verbose USB device autoconfig messages
88
89options 	NFS_BOOT_BOOTP
90options 	NFS_BOOT_DHCP
91options 	NFS_BOOT_BOOTPARAM
92
93# Compatibility options
94
95options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
96#options 	COMPAT_43	# 4.3BSD compatibility.
97#options 	COMPAT_09	# NetBSD 0.9,
98#options 	COMPAT_10	# NetBSD 1.0,
99#options 	COMPAT_11	# NetBSD 1.1,
100#options 	COMPAT_12	# NetBSD 1.2,
101#options 	COMPAT_13	# NetBSD 1.3,
102#options 	COMPAT_14	# NetBSD 1.4,
103#options 	COMPAT_15	# NetBSD 1.5,
104options 	COMPAT_16	# NetBSD 1.6,
105options 	COMPAT_20	# NetBSD 2.0,
106options 	COMPAT_30	# NetBSD 3.0,
107options 	COMPAT_40	# NetBSD 4.0,
108options 	COMPAT_50	# NetBSD 5.0,
109options 	COMPAT_60	# NetBSD 6.0, and
110options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
111#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
112options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
113
114# Shared memory options
115
116options 	SYSVMSG		# System V-like message queues
117options 	SYSVSEM		# System V-like semaphores
118options 	SYSVSHM		# System V-like memory sharing
119
120# Miscellaneous kernel options
121options 	KTRACE		# system call tracing, a la ktrace(1)
122#XXX: options 	IRQSTATS	# manage IRQ statistics
123options 	SCSIVERBOSE	# Verbose SCSI errors
124options 	PCIVERBOSE	# Verbose PCI descriptions
125options 	MIIVERBOSE	# Verbose MII autoconfuration messages
126#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
127options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to
128					# configure PCI devices
129#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
130#options 	PCI_DEBUG
131options 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
132options 	USERCONF	# userconf(4) support
133#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
134#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
135
136# Development and Debugging options
137
138#options 	ARM700BUGTRACK	# track the ARM700 swi bug
139#options 	PORTMASTER	# Enable PortMaster only options
140#options 	DIAGNOSTIC	# internal consistency checks
141#options 	PMAP_DEBUG	# Enable pmap_debug_level code
142#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
143#options 	KGDB
144#options  	DEBUG_KGDB
145#options 	DDB		# in-kernel debugger
146#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
147#makeoptions	DEBUG="-g"	# compile full symbol table
148config		netbsd	root on ? type ?
149
150# The main bus device
151mainbus0	at root
152
153# The boot CPU
154cpu0		at mainbus?
155
156# Core logic on Samsung S3C2410
157ssio0	at mainbus?
158ssextio0 at ssio0
159
160# integrated UART
161sscom0	at ssio? index 0
162sscom1	at ssio? index 1
163#sscom2	at ssio? index 2
164options 	SSCOM0CONSOLE
165#options 	SSCOM1CONSOLE
166options CONSPEED=115200
167options KGDB_DEVNAME="\"sscom1\""   # sscom0 or sscom1
168options KGDB_DEVRATE=115200
169
170# LCD
171#device-major	lcd	char 145
172lcd0		at ssio?
173wsdisplay*	at lcd? console ?
174options 	WSEMUL_VT100		# VT100 / VT220 emulation
175options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
176options 	FONT_VT220L8x16
177options 	FONT_VT220L8x10
178#options 	LCD_DEBUG
179
180# SPI port
181#ssspi0	at ssio? index 0
182ssspi1	at ssio? index 1
183
184# on-board keyboard controller (Semtech SPICoder-SA01) via SPI1
185sskbd0	at ssspi1	intr 1
186wskbd* at sskbd? # console ?
187
188# SCSI bus support
189scsibus* at scsi?
190
191# SCSI devices
192sd*	at scsibus? target ? lun ?	# SCSI disk drives
193st*	at scsibus? target ? lun ?	# SCSI tape drives
194cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
195ch*	at scsibus? target ? lun ?	# SCSI autochangers
196ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
197ss*	at scsibus? target ? lun ?	# SCSI scanners
198uk*	at scsibus? target ? lun ?	# SCSI unknown
199
200# ATAPI bus support
201atapibus* at atapi?
202
203# ATAPI devices
204# flags have the same meaning as for IDE drives.
205cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
206sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
207st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
208uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
209
210# MIDI support
211midi*	at midibus?
212# midi*	at pcppi?		# MIDI interface to the PC speaker
213
214# Audio support
215audio*	at audiobus?
216
217# on-board CS8900A Ethernet
218cs*	at ssextio? intr 9 addr 0x18000000
219# set MAC address to on-board CS8900A.
220options	SMDK24X0_ETHER_ADDR_FIXED="0,0x0a,0xb1,0,1,0xff"
221
222# built-in OHCI USB controller
223ohci0	at ssio? addr 0x49000000 intr 26
224options 	OHCI_DEBUG
225
226usb*	at ohci0
227
228# USB Hubs
229uhub*	at usb?
230uhub*	at uhub? port ?
231
232# USB HID device
233uhidev*	at uhub? port ? configuration ? interface ?
234
235# USB Mice
236ums*	at uhidev? reportid ?
237wsmouse* at ums? mux 0
238
239# USB Keyboards
240ukbd*	at uhidev? reportid ?
241wskbd*	at ukbd? console ? mux 1
242
243# USB serial adapter
244ucycom*	at uhidev? reportid ?
245
246# USB Generic HID devices
247uhid*	at uhidev? reportid ?
248
249# USB Printer
250ulpt*	at uhub? port ? configuration ? interface ?
251
252# USB Modem
253umodem*	at uhub? port ? configuration ?
254ucom*	at umodem?
255
256# Option N.V. Wireless WAN modems
257uhso*	at uhub? port ? configuration ?
258
259# USB Mass Storage
260umass*	at uhub? port ? configuration ? interface ?
261wd* at umass?
262
263# USB audio
264uaudio*	at uhub? port ? configuration ?
265
266# USB MIDI
267umidi* at uhub? port ? configuration ?
268
269# USB IrDA
270# USB-IrDA bridge spec
271uirda* at uhub? port ? configuration ? interface ?
272irframe* at uirda?
273
274# SigmaTel STIr4200 USB/IrDA Bridge
275ustir* at uhub? port ?
276irframe* at ustir?
277
278# USB Ethernet adapters
279aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
280axe*	at uhub? port ?		# ASIX AX88172 based adapters
281cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
282kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
283url*	at uhub? port ?		# Realtek RTL8150L based adapters
284
285# Prolific PL2301/PL2302 host-to-host adapter
286upl*	at uhub? port ?
287
288# Serial adapters
289ubsa*	at uhub? port ?		# Belkin serial adapter
290ucom*	at ubsa? portno ?
291
292uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
293ucom*	at uftdi? portno ?
294
295umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
296ucom*	at umct? portno ?
297
298uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
299ucom*	at uplcom? portno ?
300
301uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
302ucom*	at uvscom? portno ?
303
304# Diamond Multimedia Rio 500
305urio*	at uhub? port ?
306
307# USB Handspring Visor
308uvisor*	at uhub? port ?
309ucom*	at uvisor?
310
311# Kyocera AIR-EDGE PHONE
312ukyopon* at uhub? port ?
313ucom*	at ukyopon? portno ?
314
315# USB scanners
316uscanner* at uhub? port ?
317
318# USB scanners that use SCSI emulation, e.g., HP5300
319usscanner* at uhub? port ?
320
321# Y@P firmware loader
322uyap* at uhub? port ?
323
324# D-Link DSB-R100 USB radio
325udsbr*	at uhub? port ?
326radio*	at udsbr?
327
328# USB Generic driver
329ugen*	at uhub? port ?
330
331# Pseudo-Devices
332
333# disk/mass storage pseudo-devices
334#pseudo-device	md			# memory disk device (ramdisk)
335#pseudo-device	vnd			# disk-like interface to files
336#pseudo-device	fss			# file system snapshot device
337#pseudo-device	putter			# for puffs and pud
338
339# network pseudo-devices
340#pseudo-device	bpfilter		# Berkeley packet filter
341pseudo-device	ipfilter		# IP filter (firewall) and NAT
342pseudo-device	loop			# network loopback
343#pseudo-device	ppp			# Point-to-Point Protocol
344#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
345#pseudo-device	sl			# Serial Line IP
346#pseudo-device	strip			# Starmode Radio IP (Metricom)
347#pseudo-device	irframetty		# IrDA frame line discipline
348#pseudo-device	tun			# network tunneling over tty
349#pseudo-device	tap			# virtual Ethernet
350#pseudo-device	gre			# generic L3 over IP tunnel
351#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
352#pseudo-device	faith			# IPv[46] tcp relay translation i/f
353#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
354#pseudo-device	vlan			# IEEE 802.1q encapsulation
355#pseudo-device	bridge			# simple inter-network bridging
356#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
357
358# miscellaneous pseudo-devices
359pseudo-device	pty			# pseudo-terminals
360pseudo-device	clockctl		# user control of clock subsystem
361
362# wscons pseudo-devices
363pseudo-device	wsmux			# mouse & keyboard multiplexor
364#pseudo-device	wsfont
365
366#pseudo-device	ksyms			# /dev/ksyms
367