xref: /netbsd-src/sys/arch/evbarm/conf/ARMADAXP (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1#
2#	$NetBSD: ARMADAXP,v 1.17 2015/08/12 07:53:57 maxv Exp $
3#
4#	ARMADA XP DEV BOARD
5#
6
7include		"arch/evbarm/conf/std.armadaxp"
8
9# estimated number of users
10
11maxusers	32
12
13# Standard system options
14
15options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
16#options 	NTP		# NTP phase/frequency locked loop
17
18# CPU options
19options 	CPU_PJ4B
20
21# Architecture options
22options 	ARMADAXP
23options 	L2CACHE_ENABLE
24#options 	AURORA_IO_CACHE_COHERENCY
25options 	AURORA_L2_PT_WALK
26
27options 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
28#options 	VERBOSE_INIT_ARM
29#options 	MVSOC_CONSOLE_EARLY
30
31# File systems
32file-system	FFS		# UFS
33#file-system	LFS		# log-structured file system
34file-system	MFS		# memory file system
35file-system	NFS		# Network file system
36#file-system	ADOSFS		# AmigaDOS-compatible file system
37#file-system	EXT2FS		# second extended file system (linux)
38#file-system	CD9660		# ISO 9660 + Rock Ridge file system
39file-system	MSDOSFS		# MS-DOS file system
40#file-system	FDESC		# /dev/fd
41#file-system	KERNFS		# /kern
42#file-system	NULLFS		# loopback file system
43#file-system	PROCFS		# /proc
44#file-system	UMAPFS		# NULLFS + uid and gid remapping
45#file-system	UNION		# union file system
46file-system	TMPFS		# memory file system
47file-system	PTYFS		# /dev/pts/N support
48file-system	PUFFS		# Pass-to-Userspace Framework File System
49
50# File system options
51#options 	QUOTA		# legacy UFS quotas
52#options 	QUOTA2		# new, in-filesystem UFS quotas
53#options 	FFS_EI		# FFS Endian Independent support
54#options 	NFSSERVER
55options 	WAPBL		# File system journaling support
56#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
57
58# Networking options
59options 	GATEWAY		# packet forwarding
60options 	INET		# IP + ICMP + TCP + UDP
61options 	INET6		# IPV6
62#options 	IPSEC		# IP security
63#options 	IPSEC_DEBUG	# debug for IP security
64options 	MROUTING	# IP multicast routing
65options 	PIM		# Protocol Independent Multicast
66options 	NETATALK	# AppleTalk networking
67options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
68options 	PPP_DEFLATE	# Deflate compression support for PPP
69options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
70options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
71options 	NFS_BOOT_DHCP
72
73#options 	NFS_BOOT_BOOTP
74#options 	NFS_BOOT_DHCP
75#options 	NFS_BOOT_BOOTSTATIC
76#options 	NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
77#options 	NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
78#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
79#options 	NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
80#options 	NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
81
82#options 	NFS_BOOT_RWSIZE=1024
83
84# Compatibility options
85options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
86#options 	COMPAT_43	# 4.3BSD compatibility.
87#options 	COMPAT_09	# NetBSD 0.9,
88#options 	COMPAT_10	# NetBSD 1.0,
89#options 	COMPAT_11	# NetBSD 1.1,
90#options 	COMPAT_12	# NetBSD 1.2,
91#options 	COMPAT_13	# NetBSD 1.3,
92#options 	COMPAT_14	# NetBSD 1.4,
93#options 	COMPAT_15	# NetBSD 1.5,
94#options 	COMPAT_16	# NetBSD 1.6,
95#options 	COMPAT_20	# NetBSD 2.0,
96#options 	COMPAT_30	# NetBSD 3.0,
97#options 	COMPAT_40	# NetBSD 4.0, and
98options 	COMPAT_50	# NetBSD 5.0 binary compatibility.
99#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
100options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
101
102# Shared memory options
103options 	SYSVMSG		# System V-like message queues
104options 	SYSVSEM		# System V-like semaphores
105#options 	SEMMNI=10	# number of semaphore identifiers
106#options 	SEMMNS=60	# number of semaphores in system
107#options 	SEMUME=10	# max number of undo entries per process
108#options 	SEMMNU=30	# number of undo structures in system
109options 	SYSVSHM		# System V-like memory sharing
110
111# Device options
112#options 	MEMORY_DISK_HOOKS		# boottime setup of ramdisk
113#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
114#options 	MEMORY_DISK_DYNAMIC
115#options 	MINIROOTSIZE=1000		# Size in blocks
116#options 	MEMORY_DISK_IS_ROOT		# use memory disk as root
117
118# Miscellaneous kernel options
119options 	KTRACE		# system call tracing, a la ktrace(1)
120#options 	SCSIVERBOSE	# Verbose SCSI errors
121#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
122#options 	DDB_KEYCODE=0x40
123#options 	USERCONF	# userconf(4) support
124#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
125
126# Development and Debugging options
127options 	LOCKDEBUG
128#options 	PERFCTRS		# performance counters
129options 	DIAGNOSTIC		# internal consistency checks
130#options 	DEBUG
131#options 	PMAP_DEBUG		# Enable pmap_debug_level code
132options 	PMAPCOUNTERS
133#options 	IPKDB			# remote kernel debugging
134#options 	VERBOSE_INIT_ARM	# verbose bootstraping messages
135options 	DDB			# in-kernel debugger
136options 	DDB_ONPANIC=1
137options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
138options 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
139#options 	KGDB
140options 	KGDB_DEVADDR=0xd0012000
141makeoptions 	DEBUG="-g"		# compile full symbol table
142makeoptions	COPY_SYMTAB=1
143
144## USB Debugging options
145#options 	USB_DEBUG
146#options 	EHCI_DEBUG
147#options 	OHCI_DEBUG
148#options 	UHUB_DEBUG
149
150# Valid options for BOOT_ARGS:
151#  single		Boot to single user only
152#  kdb			Give control to kernel debugger
153#  ask			Ask for file name to reboot from
154#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
155#  memorydisk=<n>	Set memorydisk size to <n> KB
156#  quiet		Show aprint_naive output
157#  verbose		Show aprint_normal and aprint_verbose output
158#options		BOOT_ARGS="\"verbose kdb\""
159#options		BOOT_ARGS="\"pmapdebug=1\""
160
161config		netbsd		root on ? type ?
162#config		netbsd		root on sd0c  type ffs
163#config		netbsd		root on wd0a  type ffs
164#config		netbsd		root on re1  type nfs
165
166# The main bus device
167mainbus0	at root
168
169# The boot cpu
170cpu0		at mainbus?
171
172# Specify the memory size in bytes.
173options 	MEMSIZE=0x80000000
174
175# Marvell SoC Bus
176mvsoc0		at mainbus?
177options 	MVSOC_INTERREGS_PBASE=0xd0000000
178
179# On-chip Timers
180mvsoctmr*	at mvsoc? offset ? irq ?
181
182# On-chip UART Interface
183com*		at mvsoc?
184#options 	COM_DEBUG
185options 	CONSADDR=0xd0012000
186options 	CONSPEED=115200
187options 	CONSFREQ=250000000
188
189# On-chip Two-Wire Serial Interface (TWSI)
190gttwsi*		at mvsoc? offset ? irq ?
191iic*		at gttwsi?
192
193# Serial Peripheral Interface (SPI)
194mvspi*		at mvsoc? offset ? irq ?
195spi*		at mvspi?
196
197spiflash0	at spiflashbus?
198m25p0		at spi? slave 0
199
200# TWSI SDRAM Serial Presence Detect
201spdmem0		at iic? addr 0x56
202
203# On-chip Cryptographic Engines and Security Accelerator (S/W chaining)
204mvcesa* 	at mvsoc? offset ? irq ?
205
206# On-chip Cryptographic Engines and Security Accelerator (H/W chaining)
207#mvxpsec*	at mvsoc? offset ? irq ?
208#options 	MVXPSEC_DEBUG=MVXPSEC_DEBUG_ALL
209
210# On-chip USB 2.0 Interface
211ehci*		at mvsoc? offset ? irq ?
212
213# USB bus support
214usb*		at ehci?
215
216# USB Hubs
217uhub*		at usb?
218uhub*		at uhub? port ?
219
220# USB Mass Storage
221umass*		at uhub? port ? configuration ? interface ?
222wd*		at umass?
223scsibus*	at scsi?
224sd*		at scsibus? target ? lun ?	# SCSI disk drives
225
226# USB Generic driver
227ugen*		at uhub? port ?
228
229# USB Network interface
230udav*		at uhub? port ?
231
232mvsdio*		at mvsoc? offset ? irq ?
233sdmmc*		at mvsdio?
234
235ld*		at sdmmc?
236
237# On-chip Serial-ATA II Host Controller (SATAHC)
238mvsata*		at mvsoc? offset ? irq ?
239#options 	MVSATA_WITHOUTDMA
240
241# ATA (IDE) bus support
242atabus*		at ata?
243#options 	ATADEBUG
244
245# ATAPI bus support
246atapibus*	at atapi?
247
248# IDE drives
249wd*		at atabus? drive ? flags 0x0000
250
251# ATAPI devices
252# flags have the same meaning as for IDE drives.
253sd*		at atapibus? drive ? flags 0x0000       # ATAPI disk drives
254uk*		at atapibus? drive ? flags 0x0000       # ATAPI unknown
255
256# On-chip Gigabit Ethernet Controller Interface (backward compatible mode)
257mvgbec* 	at mvsoc? offset ?
258mvgbe*		at mvgbec? port ? irq ?
259
260# On-chip Gigabit Ethernet Controller Interface (counter mode)
261#mvxpbm* 	at mvsoc? offset ?
262#mvxpe* 	at mvsoc? irq ?
263#options 	MVXPE_EVENT_COUNTERS
264#options 	MVXPE_DEBUG=0
265
266# On-chip RTC
267mvsocrtc*	at mvsoc? offset ? irq ?
268
269# On-chip PCI Express Interface
270mvpex*		at mvsoc? offset ? irq ?
271
272# PCI bus support
273options 	PCI_NETBSD_CONFIGURE
274#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
275pci*		at mvpex?
276pchb*		at pci? dev ? function ?	# PCI-Host bridges
277
278# PCI Ethernet
279wm*		at pci? dev ? function ?	# Intel 8254x gigabit
280re*		at pci? dev ? function ?
281
282acphy*		at mii? phy ?		# Altima AC101 10/100 PHY
283amhphy*		at mii? phy ?		# AMD 79c901 PHY (10BASE-T part)
284bmtphy*		at mii? phy ?		# Broadcom BCM5201/5202 PHYs
285brgphy*		at mii? phy ?		# Broadcom BCM5400/5401 Gig-E PHYs
286ciphy*		at mii? phy ?		# Cicada CS8201 Gig-E PHYs
287dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
288exphy*		at mii? phy ?		# 3Com internal PHYs
289gentbi*		at mii? phy ?		# Generic ten-bit 1000BASE-X PHYs
290glxtphy*	at mii? phy ?		# Level One LXT-1000 Gig-E PHYs
291gphyter*	at mii? phy ?		# NatSemi DP83861 Gig-E PHYs
292icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS1890 PHYs
293igphy*		at mii? phy ?		# Intel IGP01E1000, i82566 10/100/1000
294ikphy*		at mii? phy ?		# Intel 82563 PHYs
295inphy*		at mii? phy ?		# Intel 82555 PHYs
296iophy*		at mii? phy ?		# Intel 82553 PHYs
297lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
298makphy*		at mii? phy ?		# Marvel 88E1000 Gig-E PHYs
299nsphy*		at mii? phy ?		# NatSemi DP83840 PHYs
300nsphyter*	at mii? phy ?		# NatSemi DP83843/DP83815 PHYs
301pnaphy*		at mii? phy ?		# Generic HomePNA PHYs
302qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
303rgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
304rlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
305sqphy*		at mii? phy ?		# Seeq 80220/80221/80223/80225 PHYs
306tlphy*		at mii? phy ?		# ThunderLAN internal PHYs
307tqphy*		at mii? phy ?		# TSC Semiconductor 78Q2120 PHYs
308ukphy*		at mii? phy ?		# Generic/unknown PHYs
309urlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
310
311# PCI USB devices
312xhci*		at pci? dev ? function ?
313usb*		at xhci?
314
315# Pseudo-Devices
316# disk/mass storage pseudo-devices
317#pseudo-device	md			# memory disk device (ramdisk)
318pseudo-device	vnd			# pseudo disks (see vnconfig)
319#pseudo-device	fss			# file system snapshot device
320
321# network pseudo-devices
322pseudo-device	bpfilter		# Berkeley packet filter
323pseudo-device	loop			# network loopback
324pseudo-device	kttcp			# network loopback
325pseudo-device	putter
326
327# miscellaneous pseudo-devices
328pseudo-device	pty			# pseudo-terminals
329#options 	RND_COM
330#pseudo-device	clockctl		# user control of clock subsystem
331pseudo-device	ksyms			# /dev/ksyms
332