ARMADAXP revision 1.28
11.1Srkujawa#
21.28Sad#	$NetBSD: ARMADAXP,v 1.28 2020/06/13 16:51:25 ad 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.1Srkujawa#options 	QUOTA		# legacy UFS quotas
521.1Srkujawa#options 	QUOTA2		# new, in-filesystem UFS quotas
531.18Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
541.1Srkujawa#options 	FFS_EI		# FFS Endian Independent support
551.1Srkujawa#options 	NFSSERVER
561.1Srkujawaoptions 	WAPBL		# File system journaling support
571.1Srkujawa#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
581.1Srkujawa
591.1Srkujawa# Networking options
601.1Srkujawaoptions 	GATEWAY		# packet forwarding
611.1Srkujawaoptions 	INET		# IP + ICMP + TCP + UDP
621.1Srkujawaoptions 	INET6		# IPV6
631.4Skiyohara#options 	IPSEC		# IP security
641.4Skiyohara#options 	IPSEC_DEBUG	# debug for IP security
651.1Srkujawaoptions 	MROUTING	# IP multicast routing
661.1Srkujawaoptions 	PIM		# Protocol Independent Multicast
671.1Srkujawaoptions 	NETATALK	# AppleTalk networking
681.1Srkujawaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
691.1Srkujawaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
701.1Srkujawaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
711.1Srkujawaoptions 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
721.1Srkujawaoptions 	NFS_BOOT_DHCP
731.1Srkujawa
741.1Srkujawa#options 	NFS_BOOT_BOOTP
751.1Srkujawa#options 	NFS_BOOT_DHCP
761.1Srkujawa#options 	NFS_BOOT_BOOTSTATIC
771.1Srkujawa#options 	NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
781.1Srkujawa#options 	NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
791.1Srkujawa#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
801.1Srkujawa#options 	NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
811.1Srkujawa#options 	NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
821.1Srkujawa
831.1Srkujawa#options 	NFS_BOOT_RWSIZE=1024
841.1Srkujawa
851.1Srkujawa# Compatibility options
861.21Smrginclude 	"conf/compat_netbsd50.config"
871.21Smrgoptions 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
881.1Srkujawa
891.1Srkujawa# Shared memory options
901.1Srkujawaoptions 	SYSVMSG		# System V-like message queues
911.1Srkujawaoptions 	SYSVSEM		# System V-like semaphores
921.1Srkujawa#options 	SEMMNI=10	# number of semaphore identifiers
931.1Srkujawa#options 	SEMMNS=60	# number of semaphores in system
941.1Srkujawa#options 	SEMUME=10	# max number of undo entries per process
951.1Srkujawa#options 	SEMMNU=30	# number of undo structures in system
961.1Srkujawaoptions 	SYSVSHM		# System V-like memory sharing
971.1Srkujawa
981.1Srkujawa# Device options
991.1Srkujawa#options 	MEMORY_DISK_HOOKS		# boottime setup of ramdisk
1001.1Srkujawa#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
1011.1Srkujawa#options 	MEMORY_DISK_DYNAMIC
1021.1Srkujawa#options 	MINIROOTSIZE=1000		# Size in blocks
1031.1Srkujawa#options 	MEMORY_DISK_IS_ROOT		# use memory disk as root
1041.1Srkujawa
1051.1Srkujawa# Miscellaneous kernel options
1061.1Srkujawaoptions 	KTRACE		# system call tracing, a la ktrace(1)
1071.1Srkujawa#options 	SCSIVERBOSE	# Verbose SCSI errors
1081.1Srkujawa#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
1091.1Srkujawa#options 	DDB_KEYCODE=0x40
1101.1Srkujawa#options 	USERCONF	# userconf(4) support
1111.1Srkujawa#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1121.1Srkujawa
1131.1Srkujawa# Development and Debugging options
1141.1Srkujawaoptions 	LOCKDEBUG
1151.11Sdhollandoptions 	DIAGNOSTIC		# internal consistency checks
1161.1Srkujawa#options 	DEBUG
1171.27Sskrll#options 	UVMHIST		# kernhist for uvm/pmap subsystems
1181.28Sad#options 	PMAPCOUNTERS
1191.1Srkujawa#options 	VERBOSE_INIT_ARM	# verbose bootstraping messages
1201.1Srkujawaoptions 	DDB			# in-kernel debugger
1211.1Srkujawaoptions 	DDB_ONPANIC=1
1221.1Srkujawaoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1231.1Srkujawaoptions 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
1241.1Srkujawa#options 	KGDB
1251.1Srkujawaoptions 	KGDB_DEVADDR=0xd0012000
1261.1Srkujawamakeoptions 	DEBUG="-g"		# compile full symbol table
1271.13Sjoergmakeoptions	COPY_SYMTAB=1
1281.1Srkujawa
1291.1Srkujawa## USB Debugging options
1301.1Srkujawa#options 	USB_DEBUG
1311.1Srkujawa#options 	EHCI_DEBUG
1321.1Srkujawa#options 	OHCI_DEBUG
1331.1Srkujawa#options 	UHUB_DEBUG
1341.1Srkujawa
1351.1Srkujawa# Valid options for BOOT_ARGS:
1361.1Srkujawa#  single		Boot to single user only
1371.1Srkujawa#  kdb			Give control to kernel debugger
1381.1Srkujawa#  ask			Ask for file name to reboot from
1391.1Srkujawa#  memorydisk=<n>	Set memorydisk size to <n> KB
1401.1Srkujawa#  quiet		Show aprint_naive output
1411.1Srkujawa#  verbose		Show aprint_normal and aprint_verbose output
1421.1Srkujawa#options		BOOT_ARGS="\"verbose kdb\""
1431.1Srkujawa#options		BOOT_ARGS="\"pmapdebug=1\""
1441.1Srkujawa
1451.1Srkujawaconfig		netbsd		root on ? type ?
1461.1Srkujawa#config		netbsd		root on sd0c  type ffs
1471.1Srkujawa#config		netbsd		root on wd0a  type ffs
1481.1Srkujawa#config		netbsd		root on re1  type nfs
1491.1Srkujawa
1501.1Srkujawa# The main bus device
1511.1Srkujawamainbus0	at root
1521.1Srkujawa
1531.1Srkujawa# The boot cpu
1541.1Srkujawacpu0		at mainbus?
1551.1Srkujawa
1561.1Srkujawa# Specify the memory size in bytes.
1571.1Srkujawaoptions 	MEMSIZE=0x80000000
1581.1Srkujawa
1591.1Srkujawa# Marvell SoC Bus
1601.1Srkujawamvsoc0		at mainbus?
1611.7Skiyoharaoptions 	MVSOC_INTERREGS_PBASE=0xd0000000
1621.1Srkujawa
1631.1Srkujawa# On-chip Timers
1641.1Srkujawamvsoctmr*	at mvsoc? offset ? irq ?
1651.1Srkujawa
1661.1Srkujawa# On-chip UART Interface
1671.1Srkujawacom*		at mvsoc?
1681.1Srkujawa#options 	COM_DEBUG
1691.1Srkujawaoptions 	CONSADDR=0xd0012000
1701.1Srkujawaoptions 	CONSPEED=115200
1711.1Srkujawaoptions 	CONSFREQ=250000000
1721.1Srkujawa
1731.1Srkujawa# On-chip Two-Wire Serial Interface (TWSI)
1741.1Srkujawagttwsi*		at mvsoc? offset ? irq ?
1751.1Srkujawaiic*		at gttwsi?
1761.1Srkujawa
1771.1Srkujawa# Serial Peripheral Interface (SPI)
1781.1Srkujawamvspi*		at mvsoc? offset ? irq ?
1791.1Srkujawaspi*		at mvspi?
1801.1Srkujawa
1811.1Srkujawaspiflash0	at spiflashbus?
1821.1Srkujawam25p0		at spi? slave 0
1831.1Srkujawa
1841.1Srkujawa# TWSI SDRAM Serial Presence Detect
1851.23Sthorpejspdmem0		at iic? addr 0x56
1861.1Srkujawa
1871.16Shsuenaga# On-chip Cryptographic Engines and Security Accelerator (S/W chaining)
1881.10Smattmvcesa* 	at mvsoc? offset ? irq ?
1891.10Smatt
1901.16Shsuenaga# On-chip Cryptographic Engines and Security Accelerator (H/W chaining)
1911.16Shsuenaga#mvxpsec*	at mvsoc? offset ? irq ?
1921.16Shsuenaga#options 	MVXPSEC_DEBUG=MVXPSEC_DEBUG_ALL
1931.16Shsuenaga
1941.1Srkujawa# On-chip USB 2.0 Interface
1951.1Srkujawaehci*		at mvsoc? offset ? irq ?
1961.1Srkujawa
1971.1Srkujawa# USB bus support
1981.1Srkujawausb*		at ehci?
1991.1Srkujawa
2001.1Srkujawa# USB Hubs
2011.1Srkujawauhub*		at usb?
2021.1Srkujawauhub*		at uhub? port ?
2031.1Srkujawa
2041.1Srkujawa# USB Mass Storage
2051.1Srkujawaumass*		at uhub? port ? configuration ? interface ?
2061.1Srkujawascsibus*	at scsi?
2071.1Srkujawasd*		at scsibus? target ? lun ?	# SCSI disk drives
2081.1Srkujawa
2091.1Srkujawa# USB Generic driver
2101.1Srkujawaugen*		at uhub? port ?
2111.1Srkujawa
2121.1Srkujawa# USB Network interface
2131.1Srkujawaudav*		at uhub? port ?
2141.1Srkujawa
2151.2Srkujawamvsdio*		at mvsoc? offset ? irq ?
2161.2Srkujawasdmmc*		at mvsdio?
2171.2Srkujawa
2181.2Srkujawald*		at sdmmc?
2191.2Srkujawa
2201.1Srkujawa# On-chip Serial-ATA II Host Controller (SATAHC)
2211.1Srkujawamvsata*		at mvsoc? offset ? irq ?
2221.1Srkujawa#options 	MVSATA_WITHOUTDMA
2231.1Srkujawa
2241.1Srkujawa# ATA (IDE) bus support
2251.1Srkujawaatabus*		at ata?
2261.1Srkujawa#options 	ATADEBUG
2271.1Srkujawa
2281.1Srkujawa# ATAPI bus support
2291.1Srkujawaatapibus*	at atapi?
2301.1Srkujawa
2311.1Srkujawa# IDE drives
2321.1Srkujawawd*		at atabus? drive ? flags 0x0000
2331.1Srkujawa
2341.1Srkujawa# ATAPI devices
2351.1Srkujawa# flags have the same meaning as for IDE drives.
2361.1Srkujawasd*		at atapibus? drive ? flags 0x0000       # ATAPI disk drives
2371.1Srkujawauk*		at atapibus? drive ? flags 0x0000       # ATAPI unknown
2381.1Srkujawa
2391.16Shsuenaga# On-chip Gigabit Ethernet Controller Interface (backward compatible mode)
2401.10Smattmvgbec* 	at mvsoc? offset ?
2411.10Smattmvgbe*		at mvgbec? port ? irq ?
2421.10Smatt
2431.16Shsuenaga# On-chip Gigabit Ethernet Controller Interface (counter mode)
2441.16Shsuenaga#mvxpbm* 	at mvsoc? offset ?
2451.16Shsuenaga#mvxpe* 	at mvsoc? irq ?
2461.16Shsuenaga#options 	MVXPE_EVENT_COUNTERS
2471.16Shsuenaga#options 	MVXPE_DEBUG=0
2481.16Shsuenaga
2491.1Srkujawa# On-chip RTC
2501.1Srkujawamvsocrtc*	at mvsoc? offset ? irq ?
2511.1Srkujawa
2521.1Srkujawa# On-chip PCI Express Interface
2531.1Srkujawamvpex*		at mvsoc? offset ? irq ?
2541.1Srkujawa
2551.1Srkujawa# PCI bus support
2561.1Srkujawaoptions 	PCI_NETBSD_CONFIGURE
2571.1Srkujawa#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
2581.1Srkujawapci*		at mvpex?
2591.1Srkujawapchb*		at pci? dev ? function ?	# PCI-Host bridges
2601.1Srkujawa
2611.19Sskrll# PCI Serial-ATA Host Controller
2621.19Sskrllmvsata* 	at pci? dev ? function ?
2631.19Sskrll
2641.1Srkujawa# PCI Ethernet
2651.1Srkujawawm*		at pci? dev ? function ?	# Intel 8254x gigabit
2661.1Srkujaware*		at pci? dev ? function ?
2671.1Srkujawa
2681.1Srkujawaacphy*		at mii? phy ?		# Altima AC101 10/100 PHY
2691.1Srkujawaamhphy*		at mii? phy ?		# AMD 79c901 PHY (10BASE-T part)
2701.1Srkujawabmtphy*		at mii? phy ?		# Broadcom BCM5201/5202 PHYs
2711.1Srkujawabrgphy*		at mii? phy ?		# Broadcom BCM5400/5401 Gig-E PHYs
2721.1Srkujawaciphy*		at mii? phy ?		# Cicada CS8201 Gig-E PHYs
2731.1Srkujawadmphy*		at mii? phy ?		# Davicom DM9101 PHYs
2741.1Srkujawaexphy*		at mii? phy ?		# 3Com internal PHYs
2751.1Srkujawagentbi*		at mii? phy ?		# Generic ten-bit 1000BASE-X PHYs
2761.1Srkujawaglxtphy*	at mii? phy ?		# Level One LXT-1000 Gig-E PHYs
2771.1Srkujawagphyter*	at mii? phy ?		# NatSemi DP83861 Gig-E PHYs
2781.1Srkujawaicsphy*		at mii? phy ?		# Integrated Circuit Systems ICS1890 PHYs
2791.1Srkujawaigphy*		at mii? phy ?		# Intel IGP01E1000, i82566 10/100/1000
2801.1Srkujawaikphy*		at mii? phy ?		# Intel 82563 PHYs
2811.1Srkujawainphy*		at mii? phy ?		# Intel 82555 PHYs
2821.1Srkujawaiophy*		at mii? phy ?		# Intel 82553 PHYs
2831.1Srkujawalxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
2841.1Srkujawamakphy*		at mii? phy ?		# Marvel 88E1000 Gig-E PHYs
2851.1Srkujawansphy*		at mii? phy ?		# NatSemi DP83840 PHYs
2861.1Srkujawansphyter*	at mii? phy ?		# NatSemi DP83843/DP83815 PHYs
2871.1Srkujawapnaphy*		at mii? phy ?		# Generic HomePNA PHYs
2881.1Srkujawaqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
2891.1Srkujawargephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
2901.1Srkujawarlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
2911.1Srkujawasqphy*		at mii? phy ?		# Seeq 80220/80221/80223/80225 PHYs
2921.1Srkujawatlphy*		at mii? phy ?		# ThunderLAN internal PHYs
2931.1Srkujawatqphy*		at mii? phy ?		# TSC Semiconductor 78Q2120 PHYs
2941.1Srkujawaukphy*		at mii? phy ?		# Generic/unknown PHYs
2951.1Srkujawaurlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
2961.1Srkujawa
2971.8Smatt# PCI USB devices
2981.8Smattxhci*		at pci? dev ? function ?
2991.8Smattusb*		at xhci?
3001.8Smatt
3011.1Srkujawa# Pseudo-Devices
3021.1Srkujawa# disk/mass storage pseudo-devices
3031.6Saymeric#pseudo-device	md			# memory disk device (ramdisk)
3041.1Srkujawapseudo-device	vnd			# pseudo disks (see vnconfig)
3051.1Srkujawa#pseudo-device	fss			# file system snapshot device
3061.1Srkujawa
3071.1Srkujawa# network pseudo-devices
3081.1Srkujawapseudo-device	bpfilter		# Berkeley packet filter
3091.1Srkujawapseudo-device	loop			# network loopback
3101.1Srkujawapseudo-device	kttcp			# network loopback
3111.1Srkujawapseudo-device	putter
3121.1Srkujawa
3131.1Srkujawa# miscellaneous pseudo-devices
3141.1Srkujawapseudo-device	pty			# pseudo-terminals
3151.1Srkujawa#options 	RND_COM
3161.1Srkujawa#pseudo-device	clockctl		# user control of clock subsystem
3171.1Srkujawapseudo-device	ksyms			# /dev/ksyms
318