xref: /freebsd/sys/arm/conf/ARMADAXP (revision 6aa98f78cc6e527b801cabddf6881ab5c9256934)
17a898819SOleksandr Tymoshenko#
27a898819SOleksandr Tymoshenko# Custom kernel for Marvell Armada XP
37a898819SOleksandr Tymoshenko#
40c08f785SAndrew Turner# For more information on this file, please read the config(5) manual page,
50c08f785SAndrew Turner# and/or the handbook section on Kernel Configuration Files:
67a898819SOleksandr Tymoshenko#
7c1a14887SCeri Davies#    https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
80c08f785SAndrew Turner#
90c08f785SAndrew Turner# The handbook is also available locally in /usr/share/doc/handbook
100c08f785SAndrew Turner# if you've installed the doc distribution, otherwise always see the
11a2aef24aSEitan Adler# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
120c08f785SAndrew Turner# latest information.
130c08f785SAndrew Turner#
140c08f785SAndrew Turner# An exhaustive list of options and more detailed explanations of the
150c08f785SAndrew Turner# device lines is also present in the ../../conf/NOTES and NOTES files.
160c08f785SAndrew Turner# If you are in doubt as to the purpose or necessity of a line, check first
170c08f785SAndrew Turner# in NOTES.
180c08f785SAndrew Turner#
197a898819SOleksandr Tymoshenko
205dc97550SAndrew Turner#NO_UNIVERSE
215dc97550SAndrew Turner
227a898819SOleksandr Tymoshenkoident		MV-88F78XX0
2365c3de4eSIan Lepore
24094fc1edSWarner Loshinclude 	"std.armv7"
257a898819SOleksandr Tymoshenkoinclude 	"../mv/armadaxp/std.mv78x60"
267a898819SOleksandr Tymoshenko
277a898819SOleksandr Tymoshenkooptions 	SOC_MV_ARMADAXP
287a898819SOleksandr Tymoshenko
29fbf1ef48SIan Leporeoptions 	SCHED_ULE		# ULE scheduler
300c08f785SAndrew Turneroptions 	SMP			# Enable multiple cores
317a898819SOleksandr Tymoshenko
320c08f785SAndrew Turner# NFS root from boopt/dhcp
330c08f785SAndrew Turneroptions 	BOOTP
340c08f785SAndrew Turneroptions 	BOOTP_NFSROOT
350c08f785SAndrew Turneroptions 	BOOTP_NFSV3
360c08f785SAndrew Turneroptions 	BOOTP_WIRED_TO=mge0
370c08f785SAndrew Turner
380c08f785SAndrew Turneroptions 	ROOTDEVNAME=\"ufs:/dev/da0p1\"
390c08f785SAndrew Turner
400c08f785SAndrew Turneroptions 	MUTEX_NOINLINE
410c08f785SAndrew Turneroptions 	RWLOCK_NOINLINE
420c08f785SAndrew Turneroptions 	NO_FFS_SNAPSHOT
437a898819SOleksandr Tymoshenko
447a898819SOleksandr Tymoshenko# Pseudo devices
457a898819SOleksandr Tymoshenkodevice		pty
467a898819SOleksandr Tymoshenkodevice		loop
477a898819SOleksandr Tymoshenkodevice		md
487a898819SOleksandr Tymoshenko
497a898819SOleksandr Tymoshenko# USB
507a898819SOleksandr Tymoshenkodevice		usb
517a898819SOleksandr Tymoshenkodevice		ehci
527a898819SOleksandr Tymoshenkodevice		umass
537a898819SOleksandr Tymoshenkodevice		scbus
547a898819SOleksandr Tymoshenkodevice		pass
557a898819SOleksandr Tymoshenkodevice		da
567a898819SOleksandr Tymoshenko
577a898819SOleksandr Tymoshenko# SATA
58be445686SZbigniew Bodekdevice		mvs
597a898819SOleksandr Tymoshenko
607a898819SOleksandr Tymoshenko# Serial ports
617a898819SOleksandr Tymoshenkodevice		uart
627a898819SOleksandr Tymoshenko
637a898819SOleksandr Tymoshenko# I2C (TWSI)
647a898819SOleksandr Tymoshenkodevice		iic
657a898819SOleksandr Tymoshenkodevice		iicbus
66aa8dbafaSAndrew Turnerdevice		twsi
677a898819SOleksandr Tymoshenko
687a898819SOleksandr Tymoshenko#Network
697a898819SOleksandr Tymoshenkodevice		ether
707a898819SOleksandr Tymoshenkodevice		mge			# Marvell Gigabit Ethernet controller
717a898819SOleksandr Tymoshenkodevice		mii
723c71b84fSZbigniew Bodekdevice		mdio
737a898819SOleksandr Tymoshenkodevice		e1000phy
747a898819SOleksandr Tymoshenkodevice		bpf
757a898819SOleksandr Tymoshenkooptions 	DEVICE_POLLING
767a898819SOleksandr Tymoshenkodevice		vlan
777a898819SOleksandr Tymoshenko
78*04bb568fSWarner Losh# pseudo devices
79*04bb568fSWarner Loshdevice		clk
80*04bb568fSWarner Loshdevice		phy
81*04bb568fSWarner Loshdevice		hwreset
82*04bb568fSWarner Loshdevice		nvmem
83*04bb568fSWarner Loshdevice		regulator
84*04bb568fSWarner Loshdevice		syscon
85*04bb568fSWarner Losh
86*04bb568fSWarner Losh# Minimal GPIO support
87*04bb568fSWarner Loshdevice		gpio
88*04bb568fSWarner Losh
894c641b9aSGrzegorz Bernacki#PCI/PCIE
904c641b9aSGrzegorz Bernackidevice		pci
914c641b9aSGrzegorz Bernacki
920c08f785SAndrew Turner# Flattened Device Tree
930c08f785SAndrew Turneroptions 	FDT			# Configure using FDT/DTB data
947a898819SOleksandr Tymoshenkooptions 	FDT_DTB_STATIC
95d65cdf4bSGrzegorz Bernackimakeoptions	FDT_DTS_FILE=db78460.dts
96244af1d4SMarcin Wojtas
97ccc1e6ebSMarcin Wojtasoptions 	PLATFORM
98