xref: /netbsd-src/sys/arch/evbarm/conf/ARMADAXP (revision c7ae7f02a8ff1280ee8106b5640d183dfb1be24d)
1#
2#	$NetBSD: ARMADAXP,v 1.29 2022/08/07 02:52:25 simonb 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 	FFS_EI		# FFS Endian Independent support
52#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
53#options 	QUOTA		# legacy UFS quotas
54#options 	QUOTA2		# new, in-filesystem UFS quotas
55options 	UFS_DIRHASH	# UFS Large Directory Hashing
56options 	UFS_EXTATTR	# Extended attribute support for UFS1
57options 	WAPBL		# File system journaling support
58#options 	DISKLABEL_EI	# disklabel Endian Independent support
59#options 	NFSSERVER	# Network File System server
60
61# Networking options
62options 	GATEWAY		# packet forwarding
63options 	INET		# IP + ICMP + TCP + UDP
64options 	INET6		# IPV6
65#options 	IPSEC		# IP security
66#options 	IPSEC_DEBUG	# debug for IP security
67options 	MROUTING	# IP multicast routing
68options 	PIM		# Protocol Independent Multicast
69options 	NETATALK	# AppleTalk networking
70options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
71options 	PPP_DEFLATE	# Deflate compression support for PPP
72options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
73options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
74options 	NFS_BOOT_DHCP
75
76#options 	NFS_BOOT_BOOTP
77#options 	NFS_BOOT_DHCP
78#options 	NFS_BOOT_BOOTSTATIC
79#options 	NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
80#options 	NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
81#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
82#options 	NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
83#options 	NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
84
85#options 	NFS_BOOT_RWSIZE=1024
86
87# Compatibility options
88include 	"conf/compat_netbsd50.config"
89options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
90
91# Shared memory options
92options 	SYSVMSG		# System V-like message queues
93options 	SYSVSEM		# System V-like semaphores
94#options 	SEMMNI=10	# number of semaphore identifiers
95#options 	SEMMNS=60	# number of semaphores in system
96#options 	SEMUME=10	# max number of undo entries per process
97#options 	SEMMNU=30	# number of undo structures in system
98options 	SYSVSHM		# System V-like memory sharing
99
100# Device options
101#options 	MEMORY_DISK_HOOKS		# boottime setup of ramdisk
102#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
103#options 	MEMORY_DISK_DYNAMIC
104#options 	MINIROOTSIZE=1000		# Size in blocks
105#options 	MEMORY_DISK_IS_ROOT		# use memory disk as root
106
107# Miscellaneous kernel options
108options 	KTRACE		# system call tracing, a la ktrace(1)
109#options 	SCSIVERBOSE	# Verbose SCSI errors
110#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
111#options 	DDB_KEYCODE=0x40
112#options 	USERCONF	# userconf(4) support
113#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
114
115# Development and Debugging options
116options 	LOCKDEBUG
117options 	DIAGNOSTIC		# internal consistency checks
118#options 	DEBUG
119#options 	UVMHIST		# kernhist for uvm/pmap subsystems
120#options 	PMAPCOUNTERS
121#options 	VERBOSE_INIT_ARM	# verbose bootstraping messages
122options 	DDB			# in-kernel debugger
123options 	DDB_ONPANIC=1
124options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
125options 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
126#options 	KGDB
127options 	KGDB_DEVADDR=0xd0012000
128makeoptions 	DEBUG="-g"		# compile full symbol table
129makeoptions	COPY_SYMTAB=1
130
131## USB Debugging options
132#options 	USB_DEBUG
133#options 	EHCI_DEBUG
134#options 	OHCI_DEBUG
135#options 	UHUB_DEBUG
136
137# Valid options for BOOT_ARGS:
138#  single		Boot to single user only
139#  kdb			Give control to kernel debugger
140#  ask			Ask for file name to reboot from
141#  memorydisk=<n>	Set memorydisk size to <n> KB
142#  quiet		Show aprint_naive output
143#  verbose		Show aprint_normal and aprint_verbose output
144#options		BOOT_ARGS="\"verbose kdb\""
145#options		BOOT_ARGS="\"pmapdebug=1\""
146
147config		netbsd		root on ? type ?
148#config		netbsd		root on sd0c  type ffs
149#config		netbsd		root on wd0a  type ffs
150#config		netbsd		root on re1  type nfs
151
152# The main bus device
153mainbus0	at root
154
155# The boot cpu
156cpu0		at mainbus?
157
158# Specify the memory size in bytes.
159options 	MEMSIZE=0x80000000
160
161# Marvell SoC Bus
162mvsoc0		at mainbus?
163options 	MVSOC_INTERREGS_PBASE=0xd0000000
164
165# On-chip Timers
166mvsoctmr*	at mvsoc? offset ? irq ?
167
168# On-chip UART Interface
169com*		at mvsoc?
170#options 	COM_DEBUG
171options 	CONSADDR=0xd0012000
172options 	CONSPEED=115200
173options 	CONSFREQ=250000000
174
175# On-chip Two-Wire Serial Interface (TWSI)
176gttwsi*		at mvsoc? offset ? irq ?
177iic*		at gttwsi?
178
179# Serial Peripheral Interface (SPI)
180mvspi*		at mvsoc? offset ? irq ?
181spi*		at mvspi?
182
183spiflash0	at spiflashbus?
184m25p0		at spi? slave 0
185
186# TWSI SDRAM Serial Presence Detect
187spdmem0		at iic? addr 0x56
188
189# On-chip Cryptographic Engines and Security Accelerator (S/W chaining)
190mvcesa* 	at mvsoc? offset ? irq ?
191
192# On-chip Cryptographic Engines and Security Accelerator (H/W chaining)
193#mvxpsec*	at mvsoc? offset ? irq ?
194#options 	MVXPSEC_DEBUG=MVXPSEC_DEBUG_ALL
195
196# On-chip USB 2.0 Interface
197ehci*		at mvsoc? offset ? irq ?
198
199# USB bus support
200usb*		at ehci?
201
202# USB Hubs
203uhub*		at usb?
204uhub*		at uhub? port ?
205
206# USB Mass Storage
207umass*		at uhub? port ? configuration ? interface ?
208scsibus*	at scsi?
209sd*		at scsibus? target ? lun ?	# SCSI disk drives
210
211# USB Generic driver
212ugen*		at uhub? port ?
213
214# USB Network interface
215udav*		at uhub? port ?
216
217mvsdio*		at mvsoc? offset ? irq ?
218sdmmc*		at mvsdio?
219
220ld*		at sdmmc?
221
222# On-chip Serial-ATA II Host Controller (SATAHC)
223mvsata*		at mvsoc? offset ? irq ?
224#options 	MVSATA_WITHOUTDMA
225
226# ATA (IDE) bus support
227atabus*		at ata?
228#options 	ATADEBUG
229
230# ATAPI bus support
231atapibus*	at atapi?
232
233# IDE drives
234wd*		at atabus? drive ? flags 0x0000
235
236# ATAPI devices
237# flags have the same meaning as for IDE drives.
238sd*		at atapibus? drive ? flags 0x0000       # ATAPI disk drives
239uk*		at atapibus? drive ? flags 0x0000       # ATAPI unknown
240
241# On-chip Gigabit Ethernet Controller Interface (backward compatible mode)
242mvgbec* 	at mvsoc? offset ?
243mvgbe*		at mvgbec? port ? irq ?
244
245# On-chip Gigabit Ethernet Controller Interface (counter mode)
246#mvxpbm* 	at mvsoc? offset ?
247#mvxpe* 	at mvsoc? irq ?
248#options 	MVXPE_EVENT_COUNTERS
249#options 	MVXPE_DEBUG=0
250
251# On-chip RTC
252mvsocrtc*	at mvsoc? offset ? irq ?
253
254# On-chip PCI Express Interface
255mvpex*		at mvsoc? offset ? irq ?
256
257# PCI bus support
258options 	PCI_NETBSD_CONFIGURE
259#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
260pci*		at mvpex?
261pchb*		at pci? dev ? function ?	# PCI-Host bridges
262
263# PCI Serial-ATA Host Controller
264mvsata* 	at pci? dev ? function ?
265
266# PCI Ethernet
267wm*		at pci? dev ? function ?	# Intel 8254x gigabit
268re*		at pci? dev ? function ?
269
270acphy*		at mii? phy ?		# Altima AC101 10/100 PHY
271amhphy*		at mii? phy ?		# AMD 79c901 PHY (10BASE-T part)
272bmtphy*		at mii? phy ?		# Broadcom BCM5201/5202 PHYs
273brgphy*		at mii? phy ?		# Broadcom BCM5400/5401 Gig-E PHYs
274ciphy*		at mii? phy ?		# Cicada CS8201 Gig-E PHYs
275dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
276exphy*		at mii? phy ?		# 3Com internal PHYs
277gentbi*		at mii? phy ?		# Generic ten-bit 1000BASE-X PHYs
278glxtphy*	at mii? phy ?		# Level One LXT-1000 Gig-E PHYs
279gphyter*	at mii? phy ?		# NatSemi DP83861 Gig-E PHYs
280icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS1890 PHYs
281igphy*		at mii? phy ?		# Intel IGP01E1000, i82566 10/100/1000
282ikphy*		at mii? phy ?		# Intel 82563 PHYs
283inphy*		at mii? phy ?		# Intel 82555 PHYs
284iophy*		at mii? phy ?		# Intel 82553 PHYs
285lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
286makphy*		at mii? phy ?		# Marvel 88E1000 Gig-E PHYs
287nsphy*		at mii? phy ?		# NatSemi DP83840 PHYs
288nsphyter*	at mii? phy ?		# NatSemi DP83843/DP83815 PHYs
289pnaphy*		at mii? phy ?		# Generic HomePNA PHYs
290qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
291rgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
292rlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
293sqphy*		at mii? phy ?		# Seeq 80220/80221/80223/80225 PHYs
294tlphy*		at mii? phy ?		# ThunderLAN internal PHYs
295tqphy*		at mii? phy ?		# TSC Semiconductor 78Q2120 PHYs
296ukphy*		at mii? phy ?		# Generic/unknown PHYs
297urlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
298
299# PCI USB devices
300xhci*		at pci? dev ? function ?
301usb*		at xhci?
302
303# Pseudo-Devices
304# disk/mass storage pseudo-devices
305#pseudo-device	md			# memory disk device (ramdisk)
306pseudo-device	vnd			# pseudo disks (see vnconfig)
307#pseudo-device	fss			# file system snapshot device
308
309# network pseudo-devices
310pseudo-device	bpfilter		# Berkeley packet filter
311pseudo-device	loop			# network loopback
312pseudo-device	kttcp			# network loopback
313pseudo-device	putter
314
315# miscellaneous pseudo-devices
316pseudo-device	pty			# pseudo-terminals
317#options 	RND_COM
318#pseudo-device	clockctl		# user control of clock subsystem
319pseudo-device	ksyms			# /dev/ksyms
320