11.79Ssimonb#	$NetBSD: SMDK2410,v 1.79 2022/08/07 02:52:25 simonb 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.1Sbshfile-system	PROCFS		# /proc
541.49Smsaitoh#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
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.79Ssimonb#options 	FFS_EI		# FFS Endian Independent support
611.79Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
621.43Sbouyer#options 	QUOTA		# legacy UFS quotas
631.43Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
641.79Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
651.79Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
661.79Ssimonboptions 	WAPBL		# File system journaling support
671.63Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
681.79Ssimonb#options 	NFSSERVER	# Network File System server
691.1Sbsh
701.1Sbsh# Networking options
711.1Sbsh
721.1Sbshoptions 	GATEWAY		# packet forwarding
731.1Sbshoptions 	INET		# IP + ICMP + TCP + UDP
741.1Sbshoptions 	INET6		# IPV6
751.1Sbsh#options 	IPSEC		# IP security
761.1Sbsh#options 	IPSEC_DEBUG	# debug for IP security
771.1Sbsh#options 	MROUTING	# IP multicast routing
781.11Smanu#options 	PIM		# Protocol Independent Multicast
791.1Sbsh#options 	NETATALK	# AppleTalk networking
801.1Sbsh#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
811.1Sbsh#options 	PPP_DEFLATE	# Deflate compression support for PPP
821.1Sbsh#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
831.1Sbsh#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
841.1Sbsh
851.2Sbsh# These options enable verbose messages for several subsystems.
861.2Sbsh# Warning, these may compile large string tables into the kernel!
871.2Sbsh#options 	MIIVERBOSE	# verbose PHY autoconfig messages
881.2Sbsh#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
891.2Sbsh#options 	SCSIVERBOSE	# human readable SCSI error messages
901.2Sbshoptions 	USBVERBOSE	# verbose USB device autoconfig messages
911.2Sbsh
921.4Sbshoptions 	NFS_BOOT_BOOTP
931.4Sbshoptions 	NFS_BOOT_DHCP
941.4Sbshoptions 	NFS_BOOT_BOOTPARAM
951.1Sbsh
961.1Sbsh# Compatibility options
971.1Sbsh
981.65Smrginclude 	"conf/compat_netbsd16.config"
991.65Smrgoptions 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
1001.1Sbsh
1011.1Sbsh# Shared memory options
1021.1Sbsh
1031.1Sbshoptions 	SYSVMSG		# System V-like message queues
1041.1Sbshoptions 	SYSVSEM		# System V-like semaphores
1051.1Sbshoptions 	SYSVSHM		# System V-like memory sharing
1061.1Sbsh
1071.1Sbsh# Miscellaneous kernel options
1081.1Sbshoptions 	KTRACE		# system call tracing, a la ktrace(1)
1091.1Sbsh#XXX: options 	IRQSTATS	# manage IRQ statistics
1101.1Sbshoptions 	SCSIVERBOSE	# Verbose SCSI errors
1111.1Sbshoptions 	PCIVERBOSE	# Verbose PCI descriptions
1121.1Sbshoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1131.1Sbsh#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1141.1Sbshoptions 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to
1151.1Sbsh					# configure PCI devices
1161.1Sbsh#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
1171.1Sbsh#options 	PCI_DEBUG
1181.1Sbshoptions 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
1191.1Sbshoptions 	USERCONF	# userconf(4) support
1201.1Sbsh#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1211.9Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1221.1Sbsh
1231.1Sbsh# Development and Debugging options
1241.1Sbsh
1251.1Sbsh#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1261.1Sbsh#options 	PORTMASTER	# Enable PortMaster only options
1271.1Sbsh#options 	DIAGNOSTIC	# internal consistency checks
1281.74Sskrll#options 	UVMHIST		# kernhist for uvm/pmap subsystems
1291.1Sbsh#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1301.1Sbsh#options 	KGDB
1311.1Sbsh#options  	DEBUG_KGDB
1321.1Sbsh#options 	DDB		# in-kernel debugger
1331.1Sbsh#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1341.5Srearnsha#makeoptions	DEBUG="-g"	# compile full symbol table
1351.1Sbshconfig		netbsd	root on ? type ?
1361.1Sbsh
1371.1Sbsh# The main bus device
1381.1Sbshmainbus0	at root
1391.1Sbsh
1401.7Swiz# The boot CPU
1411.1Sbshcpu0		at mainbus?
1421.1Sbsh
1431.1Sbsh# Core logic on Samsung S3C2410
1441.1Sbshssio0	at mainbus?
1451.4Sbshssextio0 at ssio0
1461.1Sbsh
1471.1Sbsh# integrated UART
1481.1Sbshsscom0	at ssio? index 0
1491.1Sbshsscom1	at ssio? index 1
1501.1Sbsh#sscom2	at ssio? index 2
1511.1Sbshoptions 	SSCOM0CONSOLE
1521.1Sbsh#options 	SSCOM1CONSOLE
1531.1Sbshoptions CONSPEED=115200
1541.1Sbshoptions KGDB_DEVNAME="\"sscom1\""   # sscom0 or sscom1
1551.1Sbshoptions KGDB_DEVRATE=115200
1561.2Sbsh
1571.8Sbsh# LCD
1581.8Sbsh#device-major	lcd	char 145
1591.8Sbshlcd0		at ssio?
1601.8Sbshwsdisplay*	at lcd? console ?
1611.8Sbshoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1621.48Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1631.8Sbshoptions 	FONT_VT220L8x16
1641.8Sbshoptions 	FONT_VT220L8x10
1651.8Sbsh#options 	LCD_DEBUG
1661.8Sbsh
1671.8Sbsh# SPI port
1681.8Sbsh#ssspi0	at ssio? index 0
1691.8Sbshssspi1	at ssio? index 1
1701.8Sbsh
1711.8Sbsh# on-board keyboard controller (Semtech SPICoder-SA01) via SPI1
1721.8Sbshsskbd0	at ssspi1	intr 1
1731.8Sbshwskbd* at sskbd? # console ?
1741.8Sbsh
1751.2Sbsh# SCSI bus support
1761.2Sbshscsibus* at scsi?
1771.2Sbsh
1781.2Sbsh# SCSI devices
1791.2Sbshsd*	at scsibus? target ? lun ?	# SCSI disk drives
1801.2Sbshst*	at scsibus? target ? lun ?	# SCSI tape drives
1811.2Sbshcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1821.2Sbshch*	at scsibus? target ? lun ?	# SCSI autochangers
1831.2Sbshses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
1841.2Sbshss*	at scsibus? target ? lun ?	# SCSI scanners
1851.2Sbshuk*	at scsibus? target ? lun ?	# SCSI unknown
1861.2Sbsh
1871.2Sbsh# ATAPI bus support
1881.2Sbshatapibus* at atapi?
1891.2Sbsh
1901.2Sbsh# ATAPI devices
1911.2Sbsh# flags have the same meaning as for IDE drives.
1921.2Sbshcd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
1931.2Sbshsd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
1941.2Sbshst*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
1951.2Sbshuk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
1961.2Sbsh
1971.2Sbsh# MIDI support
1981.2Sbshmidi*	at midibus?
1991.2Sbsh# midi*	at pcppi?		# MIDI interface to the PC speaker
2001.2Sbsh
2011.2Sbsh# Audio support
2021.2Sbshaudio*	at audiobus?
2031.4Sbsh
2041.62Schristosspkr*	at audio?		# PC speaker (synthesized)
2051.60Snat
2061.4Sbsh# on-board CS8900A Ethernet
2071.4Sbshcs*	at ssextio? intr 9 addr 0x18000000
2081.4Sbsh# set MAC address to on-board CS8900A.
2091.65Smrgoptions SMDK24X0_ETHER_ADDR_FIXED="0,0x0a,0xb1,0,1,0xff"
2101.2Sbsh
2111.2Sbsh# built-in OHCI USB controller
2121.2Sbshohci0	at ssio? addr 0x49000000 intr 26
2131.2Sbshoptions 	OHCI_DEBUG
2141.2Sbsh
2151.2Sbshusb*	at ohci0
2161.2Sbsh
2171.2Sbsh# USB Hubs
2181.2Sbshuhub*	at usb?
2191.31Sdrochneruhub*	at uhub? port ?
2201.2Sbsh
2211.2Sbsh# USB HID device
2221.2Sbshuhidev*	at uhub? port ? configuration ? interface ?
2231.2Sbsh
2241.2Sbsh# USB Mice
2251.2Sbshums*	at uhidev? reportid ?
2261.2Sbshwsmouse* at ums? mux 0
2271.2Sbsh
2281.2Sbsh# USB Keyboards
2291.2Sbshukbd*	at uhidev? reportid ?
2301.2Sbshwskbd*	at ukbd? console ? mux 1
2311.2Sbsh
2321.29Sskrll# USB serial adapter
2331.23Sskrllucycom*	at uhidev? reportid ?
2341.23Sskrll
2351.2Sbsh# USB Generic HID devices
2361.2Sbshuhid*	at uhidev? reportid ?
2371.2Sbsh
2381.2Sbsh# USB Printer
2391.2Sbshulpt*	at uhub? port ? configuration ? interface ?
2401.2Sbsh
2411.2Sbsh# USB Modem
2421.2Sbshumodem*	at uhub? port ? configuration ?
2431.2Sbshucom*	at umodem?
2441.2Sbsh
2451.40Splunky# Option N.V. Wireless WAN modems
2461.40Splunkyuhso*	at uhub? port ? configuration ?
2471.40Splunky
2481.2Sbsh# USB Mass Storage
2491.2Sbshumass*	at uhub? port ? configuration ? interface ?
2501.2Sbsh
2511.2Sbsh# USB audio
2521.2Sbshuaudio*	at uhub? port ? configuration ?
2531.2Sbsh
2541.2Sbsh# USB MIDI
2551.2Sbshumidi* at uhub? port ? configuration ?
2561.2Sbsh
2571.2Sbsh# USB IrDA
2581.2Sbsh# USB-IrDA bridge spec
2591.2Sbshuirda* at uhub? port ? configuration ? interface ?
2601.2Sbshirframe* at uirda?
2611.2Sbsh
2621.2Sbsh# SigmaTel STIr4200 USB/IrDA Bridge
2631.2Sbshustir* at uhub? port ?
2641.2Sbshirframe* at ustir?
2651.2Sbsh
2661.67Srin# MII/PHY support
2671.70Srinrgephy*	at mii? phy ?		# Realtek 8169S/8110S/8211 PHYs
2681.70Srinrlphy*	at mii? phy ?		# Realtek 8139/8201L PHYs
2691.67Srinukphy*	at mii? phy ?		# generic unknown PHYs
2701.67Srinurlphy* at mii? phy ?		# Realtek RTL8150L internal PHYs
2711.67Srin
2721.2Sbsh# USB Ethernet adapters
2731.2Sbshaue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
2741.12Saugustssaxe*	at uhub? port ?		# ASIX AX88172 based adapters
2751.2Sbshcue*	at uhub? port ?		# CATC USB-EL1201A based adapters
2761.2Sbshkue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
2771.67Srinmue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
2781.70Srinure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
2791.2Sbshurl*	at uhub? port ?		# Realtek RTL8150L based adapters
2801.2Sbsh
2811.2Sbsh# Prolific PL2301/PL2302 host-to-host adapter
2821.2Sbshupl*	at uhub? port ?
2831.2Sbsh
2841.2Sbsh# Serial adapters
2851.2Sbshubsa*	at uhub? port ?		# Belkin serial adapter
2861.2Sbshucom*	at ubsa? portno ?
2871.2Sbsh
2881.2Sbshuftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
2891.2Sbshucom*	at uftdi? portno ?
2901.2Sbsh
2911.2Sbshumct*	at uhub? port ?		# MCT USB-RS232 serial adapter
2921.2Sbshucom*	at umct? portno ?
2931.2Sbsh
2941.2Sbshuplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
2951.2Sbshucom*	at uplcom? portno ?
2961.2Sbsh
2971.2Sbshuvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
2981.2Sbshucom*	at uvscom? portno ?
2991.2Sbsh
3001.2Sbsh# USB Handspring Visor
3011.2Sbshuvisor*	at uhub? port ?
3021.2Sbshucom*	at uvisor?
3031.2Sbsh
3041.19Sitohy# Kyocera AIR-EDGE PHONE
3051.19Sitohyukyopon* at uhub? port ?
3061.19Sitohyucom*	at ukyopon? portno ?
3071.19Sitohy
3081.2Sbsh# USB scanners that use SCSI emulation, e.g., HP5300
3091.2Sbshusscanner* at uhub? port ?
3101.2Sbsh
3111.2Sbsh# D-Link DSB-R100 USB radio
3121.2Sbshudsbr*	at uhub? port ?
3131.2Sbshradio*	at udsbr?
3141.2Sbsh
3151.2Sbsh# USB Generic driver
3161.2Sbshugen*	at uhub? port ?
3171.1Sbsh
3181.1Sbsh# Pseudo-Devices
3191.1Sbsh
3201.1Sbsh# disk/mass storage pseudo-devices
3211.42Shannken#pseudo-device	md			# memory disk device (ramdisk)
3221.28Scube#pseudo-device	vnd			# disk-like interface to files
3231.41Spooka#pseudo-device	fss			# file system snapshot device
3241.49Smsaitoh#pseudo-device	putter			# for puffs and pud
3251.1Sbsh
3261.1Sbsh# network pseudo-devices
3271.68Sskrllpseudo-device	bpfilter		# Berkeley packet filter
3281.66Smaxvpseudo-device	npf			# NPF packet filter
3291.1Sbshpseudo-device	loop			# network loopback
3301.28Scube#pseudo-device	ppp			# Point-to-Point Protocol
3311.1Sbsh#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3321.28Scube#pseudo-device	sl			# Serial Line IP
3331.1Sbsh#pseudo-device	irframetty		# IrDA frame line discipline
3341.28Scube#pseudo-device	tun			# network tunneling over tty
3351.14Scube#pseudo-device	tap			# virtual Ethernet
3361.28Scube#pseudo-device	gre			# generic L3 over IP tunnel
3371.28Scube#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3381.28Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3391.28Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3401.1Sbsh#pseudo-device	vlan			# IEEE 802.1q encapsulation
3411.1Sbsh#pseudo-device	bridge			# simple inter-network bridging
3421.77Sroy#pseudo-device	vether			# Virtual Ethernet for bridge
3431.1Sbsh
3441.1Sbsh# miscellaneous pseudo-devices
3451.1Sbshpseudo-device	pty			# pseudo-terminals
3461.1Sbshpseudo-device	clockctl		# user control of clock subsystem
3471.71Sisakipseudo-device	drvctl			# user control of drive subsystem
3481.8Sbsh
3491.8Sbsh# wscons pseudo-devices
3501.8Sbshpseudo-device	wsmux			# mouse & keyboard multiplexor
3511.8Sbsh#pseudo-device	wsfont
3521.8Sbsh
3531.8Sbsh#pseudo-device	ksyms			# /dev/ksyms
354