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#    http://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 (http://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: releng/11.0/sys/arm/conf/ARMADAXP 302915 2016-07-15 21:30:19Z ian $
20
21ident		MV-88F78XX0
22
23include 	"std.armv6"
24include 	"../mv/armadaxp/std.mv78x60"
25
26options 	SOC_MV_ARMADAXP
27
28makeoptions	WERROR="-Werror"
29
30options 	HZ=1000
31options 	SCHED_ULE		# ULE scheduler
32options 	SMP			# Enable multiple cores
33
34# NFS root from boopt/dhcp
35options 	BOOTP
36options 	BOOTP_NFSROOT
37options 	BOOTP_NFSV3
38options 	BOOTP_WIRED_TO=mge0
39
40options 	ROOTDEVNAME=\"ufs:/dev/da0p1\"
41
42options 	MUTEX_NOINLINE
43options 	RWLOCK_NOINLINE
44options 	NO_FFS_SNAPSHOT
45options 	NO_SWAPPING
46
47# Pseudo devices
48device		random
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