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