xref: /freebsd/sys/arm/conf/ARMADAXP (revision c93b6e5fa24ba172ab271432c6692f9cc604e15a)
1#
2# Custom kernel for Marvell Armada XP
3#
4# For more information on this file, please read the config(5) manual page,
5# and/or the handbook section on Kernel Configuration Files:
6#
7#    https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
19# $FreeBSD$
20
21#NO_UNIVERSE
22
23ident		MV-88F78XX0
24
25include 	"std.armv7"
26include 	"../mv/armadaxp/std.mv78x60"
27
28options 	SOC_MV_ARMADAXP
29
30makeoptions	WERROR="-Werror"
31
32options 	SCHED_ULE		# ULE scheduler
33options 	SMP			# Enable multiple cores
34
35# NFS root from boopt/dhcp
36options 	BOOTP
37options 	BOOTP_NFSROOT
38options 	BOOTP_NFSV3
39options 	BOOTP_WIRED_TO=mge0
40
41options 	ROOTDEVNAME=\"ufs:/dev/da0p1\"
42
43options 	MUTEX_NOINLINE
44options 	RWLOCK_NOINLINE
45options 	NO_FFS_SNAPSHOT
46options 	NO_SWAPPING
47
48# Pseudo devices
49device		pty
50device		loop
51device		md
52
53# USB
54device		usb
55device		ehci
56device		umass
57device		scbus
58device		pass
59device		da
60
61# SATA
62device		mvs
63
64# Serial ports
65device		uart
66
67# I2C (TWSI)
68device		iic
69device		iicbus
70device		twsi
71
72#Network
73device		ether
74device		mge			# Marvell Gigabit Ethernet controller
75device		mii
76device		mdio
77device		e1000phy
78device		bpf
79options 	DEVICE_POLLING
80device		vlan
81
82#PCI/PCIE
83device		pci
84
85# Flattened Device Tree
86options 	FDT			# Configure using FDT/DTB data
87options 	FDT_DTB_STATIC
88makeoptions	FDT_DTS_FILE=db78460.dts
89
90options 	PLATFORM
91