11.1Srkujawa#
21.29Ssimonb#	$NetBSD: ARMADAXP,v 1.29 2022/08/07 02:52:25 simonb Exp $
31.1Srkujawa#
41.1Srkujawa#	ARMADA XP DEV BOARD
51.1Srkujawa#
61.1Srkujawa
71.21Smrginclude 	"arch/evbarm/conf/std.armadaxp"
81.1Srkujawa
91.1Srkujawa# estimated number of users
101.1Srkujawa
111.1Srkujawamaxusers	32
121.1Srkujawa
131.1Srkujawa# Standard system options
141.1Srkujawa
151.1Srkujawaoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
161.1Srkujawa#options 	NTP		# NTP phase/frequency locked loop
171.1Srkujawa
181.1Srkujawa# CPU options
191.1Srkujawaoptions 	CPU_PJ4B
201.1Srkujawa
211.1Srkujawa# Architecture options
221.1Srkujawaoptions 	ARMADAXP
231.1Srkujawaoptions 	L2CACHE_ENABLE
241.1Srkujawa#options 	AURORA_IO_CACHE_COHERENCY
251.1Srkujawaoptions 	AURORA_L2_PT_WALK
261.1Srkujawa
271.15Skiyoharaoptions 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
281.9Smatt#options 	VERBOSE_INIT_ARM
291.9Smatt#options 	MVSOC_CONSOLE_EARLY
301.1Srkujawa
311.1Srkujawa# File systems
321.1Srkujawafile-system	FFS		# UFS
331.1Srkujawa#file-system	LFS		# log-structured file system
341.1Srkujawafile-system	MFS		# memory file system
351.1Srkujawafile-system	NFS		# Network file system
361.1Srkujawa#file-system	ADOSFS		# AmigaDOS-compatible file system
371.1Srkujawa#file-system	EXT2FS		# second extended file system (linux)
381.1Srkujawa#file-system	CD9660		# ISO 9660 + Rock Ridge file system
391.1Srkujawafile-system	MSDOSFS		# MS-DOS file system
401.1Srkujawa#file-system	FDESC		# /dev/fd
411.1Srkujawa#file-system	KERNFS		# /kern
421.1Srkujawa#file-system	NULLFS		# loopback file system
431.1Srkujawa#file-system	PROCFS		# /proc
441.1Srkujawa#file-system	UMAPFS		# NULLFS + uid and gid remapping
451.1Srkujawa#file-system	UNION		# union file system
461.1Srkujawafile-system	TMPFS		# memory file system
471.1Srkujawafile-system	PTYFS		# /dev/pts/N support
481.1Srkujawafile-system	PUFFS		# Pass-to-Userspace Framework File System
491.1Srkujawa
501.1Srkujawa# File system options
511.29Ssimonb#options 	FFS_EI		# FFS Endian Independent support
521.29Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
531.1Srkujawa#options 	QUOTA		# legacy UFS quotas
541.1Srkujawa#options 	QUOTA2		# new, in-filesystem UFS quotas
551.29Ssimonboptions 	UFS_DIRHASH	# UFS Large Directory Hashing
561.29Ssimonboptions 	UFS_EXTATTR	# Extended attribute support for UFS1
571.29Ssimonboptions 	WAPBL		# File system journaling support
581.18Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
591.29Ssimonb#options 	NFSSERVER	# Network File System server
601.1Srkujawa
611.1Srkujawa# Networking options
621.1Srkujawaoptions 	GATEWAY		# packet forwarding
631.1Srkujawaoptions 	INET		# IP + ICMP + TCP + UDP
641.1Srkujawaoptions 	INET6		# IPV6
651.4Skiyohara#options 	IPSEC		# IP security
661.4Skiyohara#options 	IPSEC_DEBUG	# debug for IP security
671.1Srkujawaoptions 	MROUTING	# IP multicast routing
681.1Srkujawaoptions 	PIM		# Protocol Independent Multicast
691.1Srkujawaoptions 	NETATALK	# AppleTalk networking
701.1Srkujawaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
711.1Srkujawaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
721.1Srkujawaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
731.1Srkujawaoptions 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
741.1Srkujawaoptions 	NFS_BOOT_DHCP
751.1Srkujawa
761.1Srkujawa#options 	NFS_BOOT_BOOTP
771.1Srkujawa#options 	NFS_BOOT_DHCP
781.1Srkujawa#options 	NFS_BOOT_BOOTSTATIC
791.1Srkujawa#options 	NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
801.1Srkujawa#options 	NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
811.1Srkujawa#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
821.1Srkujawa#options 	NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
831.1Srkujawa#options 	NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
841.1Srkujawa
851.1Srkujawa#options 	NFS_BOOT_RWSIZE=1024
861.1Srkujawa
871.1Srkujawa# Compatibility options
881.21Smrginclude 	"conf/compat_netbsd50.config"
891.21Smrgoptions 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
901.1Srkujawa
911.1Srkujawa# Shared memory options
921.1Srkujawaoptions 	SYSVMSG		# System V-like message queues
931.1Srkujawaoptions 	SYSVSEM		# System V-like semaphores
941.1Srkujawa#options 	SEMMNI=10	# number of semaphore identifiers
951.1Srkujawa#options 	SEMMNS=60	# number of semaphores in system
961.1Srkujawa#options 	SEMUME=10	# max number of undo entries per process
971.1Srkujawa#options 	SEMMNU=30	# number of undo structures in system
981.1Srkujawaoptions 	SYSVSHM		# System V-like memory sharing
991.1Srkujawa
1001.1Srkujawa# Device options
1011.1Srkujawa#options 	MEMORY_DISK_HOOKS		# boottime setup of ramdisk
1021.1Srkujawa#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
1031.1Srkujawa#options 	MEMORY_DISK_DYNAMIC
1041.1Srkujawa#options 	MINIROOTSIZE=1000		# Size in blocks
1051.1Srkujawa#options 	MEMORY_DISK_IS_ROOT		# use memory disk as root
1061.1Srkujawa
1071.1Srkujawa# Miscellaneous kernel options
1081.1Srkujawaoptions 	KTRACE		# system call tracing, a la ktrace(1)
1091.1Srkujawa#options 	SCSIVERBOSE	# Verbose SCSI errors
1101.1Srkujawa#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
1111.1Srkujawa#options 	DDB_KEYCODE=0x40
1121.1Srkujawa#options 	USERCONF	# userconf(4) support
1131.1Srkujawa#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1141.1Srkujawa
1151.1Srkujawa# Development and Debugging options
1161.1Srkujawaoptions 	LOCKDEBUG
1171.11Sdhollandoptions 	DIAGNOSTIC		# internal consistency checks
1181.1Srkujawa#options 	DEBUG
1191.27Sskrll#options 	UVMHIST		# kernhist for uvm/pmap subsystems
1201.28Sad#options 	PMAPCOUNTERS
1211.1Srkujawa#options 	VERBOSE_INIT_ARM	# verbose bootstraping messages
1221.1Srkujawaoptions 	DDB			# in-kernel debugger
1231.1Srkujawaoptions 	DDB_ONPANIC=1
1241.1Srkujawaoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1251.1Srkujawaoptions 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
1261.1Srkujawa#options 	KGDB
1271.1Srkujawaoptions 	KGDB_DEVADDR=0xd0012000
1281.1Srkujawamakeoptions 	DEBUG="-g"		# compile full symbol table
1291.13Sjoergmakeoptions	COPY_SYMTAB=1
1301.1Srkujawa
1311.1Srkujawa## USB Debugging options
1321.1Srkujawa#options 	USB_DEBUG
1331.1Srkujawa#options 	EHCI_DEBUG
1341.1Srkujawa#options 	OHCI_DEBUG
1351.1Srkujawa#options 	UHUB_DEBUG
1361.1Srkujawa
1371.1Srkujawa# Valid options for BOOT_ARGS:
1381.1Srkujawa#  single		Boot to single user only
1391.1Srkujawa#  kdb			Give control to kernel debugger
1401.1Srkujawa#  ask			Ask for file name to reboot from
1411.1Srkujawa#  memorydisk=<n>	Set memorydisk size to <n> KB
1421.1Srkujawa#  quiet		Show aprint_naive output
1431.1Srkujawa#  verbose		Show aprint_normal and aprint_verbose output
1441.1Srkujawa#options		BOOT_ARGS="\"verbose kdb\""
1451.1Srkujawa#options		BOOT_ARGS="\"pmapdebug=1\""
1461.1Srkujawa
1471.1Srkujawaconfig		netbsd		root on ? type ?
1481.1Srkujawa#config		netbsd		root on sd0c  type ffs
1491.1Srkujawa#config		netbsd		root on wd0a  type ffs
1501.1Srkujawa#config		netbsd		root on re1  type nfs
1511.1Srkujawa
1521.1Srkujawa# The main bus device
1531.1Srkujawamainbus0	at root
1541.1Srkujawa
1551.1Srkujawa# The boot cpu
1561.1Srkujawacpu0		at mainbus?
1571.1Srkujawa
1581.1Srkujawa# Specify the memory size in bytes.
1591.1Srkujawaoptions 	MEMSIZE=0x80000000
1601.1Srkujawa
1611.1Srkujawa# Marvell SoC Bus
1621.1Srkujawamvsoc0		at mainbus?
1631.7Skiyoharaoptions 	MVSOC_INTERREGS_PBASE=0xd0000000
1641.1Srkujawa
1651.1Srkujawa# On-chip Timers
1661.1Srkujawamvsoctmr*	at mvsoc? offset ? irq ?
1671.1Srkujawa
1681.1Srkujawa# On-chip UART Interface
1691.1Srkujawacom*		at mvsoc?
1701.1Srkujawa#options 	COM_DEBUG
1711.1Srkujawaoptions 	CONSADDR=0xd0012000
1721.1Srkujawaoptions 	CONSPEED=115200
1731.1Srkujawaoptions 	CONSFREQ=250000000
1741.1Srkujawa
1751.1Srkujawa# On-chip Two-Wire Serial Interface (TWSI)
1761.1Srkujawagttwsi*		at mvsoc? offset ? irq ?
1771.1Srkujawaiic*		at gttwsi?
1781.1Srkujawa
1791.1Srkujawa# Serial Peripheral Interface (SPI)
1801.1Srkujawamvspi*		at mvsoc? offset ? irq ?
1811.1Srkujawaspi*		at mvspi?
1821.1Srkujawa
1831.1Srkujawaspiflash0	at spiflashbus?
1841.1Srkujawam25p0		at spi? slave 0
1851.1Srkujawa
1861.1Srkujawa# TWSI SDRAM Serial Presence Detect
1871.23Sthorpejspdmem0		at iic? addr 0x56
1881.1Srkujawa
1891.16Shsuenaga# On-chip Cryptographic Engines and Security Accelerator (S/W chaining)
1901.10Smattmvcesa* 	at mvsoc? offset ? irq ?
1911.10Smatt
1921.16Shsuenaga# On-chip Cryptographic Engines and Security Accelerator (H/W chaining)
1931.16Shsuenaga#mvxpsec*	at mvsoc? offset ? irq ?
1941.16Shsuenaga#options 	MVXPSEC_DEBUG=MVXPSEC_DEBUG_ALL
1951.16Shsuenaga
1961.1Srkujawa# On-chip USB 2.0 Interface
1971.1Srkujawaehci*		at mvsoc? offset ? irq ?
1981.1Srkujawa
1991.1Srkujawa# USB bus support
2001.1Srkujawausb*		at ehci?
2011.1Srkujawa
2021.1Srkujawa# USB Hubs
2031.1Srkujawauhub*		at usb?
2041.1Srkujawauhub*		at uhub? port ?
2051.1Srkujawa
2061.1Srkujawa# USB Mass Storage
2071.1Srkujawaumass*		at uhub? port ? configuration ? interface ?
2081.1Srkujawascsibus*	at scsi?
2091.1Srkujawasd*		at scsibus? target ? lun ?	# SCSI disk drives
2101.1Srkujawa
2111.1Srkujawa# USB Generic driver
2121.1Srkujawaugen*		at uhub? port ?
2131.1Srkujawa
2141.1Srkujawa# USB Network interface
2151.1Srkujawaudav*		at uhub? port ?
2161.1Srkujawa
2171.2Srkujawamvsdio*		at mvsoc? offset ? irq ?
2181.2Srkujawasdmmc*		at mvsdio?
2191.2Srkujawa
2201.2Srkujawald*		at sdmmc?
2211.2Srkujawa
2221.1Srkujawa# On-chip Serial-ATA II Host Controller (SATAHC)
2231.1Srkujawamvsata*		at mvsoc? offset ? irq ?
2241.1Srkujawa#options 	MVSATA_WITHOUTDMA
2251.1Srkujawa
2261.1Srkujawa# ATA (IDE) bus support
2271.1Srkujawaatabus*		at ata?
2281.1Srkujawa#options 	ATADEBUG
2291.1Srkujawa
2301.1Srkujawa# ATAPI bus support
2311.1Srkujawaatapibus*	at atapi?
2321.1Srkujawa
2331.1Srkujawa# IDE drives
2341.1Srkujawawd*		at atabus? drive ? flags 0x0000
2351.1Srkujawa
2361.1Srkujawa# ATAPI devices
2371.1Srkujawa# flags have the same meaning as for IDE drives.
2381.1Srkujawasd*		at atapibus? drive ? flags 0x0000       # ATAPI disk drives
2391.1Srkujawauk*		at atapibus? drive ? flags 0x0000       # ATAPI unknown
2401.1Srkujawa
2411.16Shsuenaga# On-chip Gigabit Ethernet Controller Interface (backward compatible mode)
2421.10Smattmvgbec* 	at mvsoc? offset ?
2431.10Smattmvgbe*		at mvgbec? port ? irq ?
2441.10Smatt
2451.16Shsuenaga# On-chip Gigabit Ethernet Controller Interface (counter mode)
2461.16Shsuenaga#mvxpbm* 	at mvsoc? offset ?
2471.16Shsuenaga#mvxpe* 	at mvsoc? irq ?
2481.16Shsuenaga#options 	MVXPE_EVENT_COUNTERS
2491.16Shsuenaga#options 	MVXPE_DEBUG=0
2501.16Shsuenaga
2511.1Srkujawa# On-chip RTC
2521.1Srkujawamvsocrtc*	at mvsoc? offset ? irq ?
2531.1Srkujawa
2541.1Srkujawa# On-chip PCI Express Interface
2551.1Srkujawamvpex*		at mvsoc? offset ? irq ?
2561.1Srkujawa
2571.1Srkujawa# PCI bus support
2581.1Srkujawaoptions 	PCI_NETBSD_CONFIGURE
2591.1Srkujawa#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
2601.1Srkujawapci*		at mvpex?
2611.1Srkujawapchb*		at pci? dev ? function ?	# PCI-Host bridges
2621.1Srkujawa
2631.19Sskrll# PCI Serial-ATA Host Controller
2641.19Sskrllmvsata* 	at pci? dev ? function ?
2651.19Sskrll
2661.1Srkujawa# PCI Ethernet
2671.1Srkujawawm*		at pci? dev ? function ?	# Intel 8254x gigabit
2681.1Srkujaware*		at pci? dev ? function ?
2691.1Srkujawa
2701.1Srkujawaacphy*		at mii? phy ?		# Altima AC101 10/100 PHY
2711.1Srkujawaamhphy*		at mii? phy ?		# AMD 79c901 PHY (10BASE-T part)
2721.1Srkujawabmtphy*		at mii? phy ?		# Broadcom BCM5201/5202 PHYs
2731.1Srkujawabrgphy*		at mii? phy ?		# Broadcom BCM5400/5401 Gig-E PHYs
2741.1Srkujawaciphy*		at mii? phy ?		# Cicada CS8201 Gig-E PHYs
2751.1Srkujawadmphy*		at mii? phy ?		# Davicom DM9101 PHYs
2761.1Srkujawaexphy*		at mii? phy ?		# 3Com internal PHYs
2771.1Srkujawagentbi*		at mii? phy ?		# Generic ten-bit 1000BASE-X PHYs
2781.1Srkujawaglxtphy*	at mii? phy ?		# Level One LXT-1000 Gig-E PHYs
2791.1Srkujawagphyter*	at mii? phy ?		# NatSemi DP83861 Gig-E PHYs
2801.1Srkujawaicsphy*		at mii? phy ?		# Integrated Circuit Systems ICS1890 PHYs
2811.1Srkujawaigphy*		at mii? phy ?		# Intel IGP01E1000, i82566 10/100/1000
2821.1Srkujawaikphy*		at mii? phy ?		# Intel 82563 PHYs
2831.1Srkujawainphy*		at mii? phy ?		# Intel 82555 PHYs
2841.1Srkujawaiophy*		at mii? phy ?		# Intel 82553 PHYs
2851.1Srkujawalxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
2861.1Srkujawamakphy*		at mii? phy ?		# Marvel 88E1000 Gig-E PHYs
2871.1Srkujawansphy*		at mii? phy ?		# NatSemi DP83840 PHYs
2881.1Srkujawansphyter*	at mii? phy ?		# NatSemi DP83843/DP83815 PHYs
2891.1Srkujawapnaphy*		at mii? phy ?		# Generic HomePNA PHYs
2901.1Srkujawaqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
2911.1Srkujawargephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
2921.1Srkujawarlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
2931.1Srkujawasqphy*		at mii? phy ?		# Seeq 80220/80221/80223/80225 PHYs
2941.1Srkujawatlphy*		at mii? phy ?		# ThunderLAN internal PHYs
2951.1Srkujawatqphy*		at mii? phy ?		# TSC Semiconductor 78Q2120 PHYs
2961.1Srkujawaukphy*		at mii? phy ?		# Generic/unknown PHYs
2971.1Srkujawaurlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
2981.1Srkujawa
2991.8Smatt# PCI USB devices
3001.8Smattxhci*		at pci? dev ? function ?
3011.8Smattusb*		at xhci?
3021.8Smatt
3031.1Srkujawa# Pseudo-Devices
3041.1Srkujawa# disk/mass storage pseudo-devices
3051.6Saymeric#pseudo-device	md			# memory disk device (ramdisk)
3061.1Srkujawapseudo-device	vnd			# pseudo disks (see vnconfig)
3071.1Srkujawa#pseudo-device	fss			# file system snapshot device
3081.1Srkujawa
3091.1Srkujawa# network pseudo-devices
3101.1Srkujawapseudo-device	bpfilter		# Berkeley packet filter
3111.1Srkujawapseudo-device	loop			# network loopback
3121.1Srkujawapseudo-device	kttcp			# network loopback
3131.1Srkujawapseudo-device	putter
3141.1Srkujawa
3151.1Srkujawa# miscellaneous pseudo-devices
3161.1Srkujawapseudo-device	pty			# pseudo-terminals
3171.1Srkujawa#options 	RND_COM
3181.1Srkujawa#pseudo-device	clockctl		# user control of clock subsystem
3191.1Srkujawapseudo-device	ksyms			# /dev/ksyms
320