xref: /freebsd/sys/arm/conf/ARMADAXP (revision 5e3190f700637fcfc1a52daeaa4a031fdd2557c7)
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://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
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
20#NO_UNIVERSE
21
22ident		MV-88F78XX0
23
24include 	"std.armv7"
25include 	"../mv/armadaxp/std.mv78x60"
26
27options 	SOC_MV_ARMADAXP
28
29options 	SCHED_ULE		# ULE scheduler
30options 	SMP			# Enable multiple cores
31
32# NFS root from boopt/dhcp
33options 	BOOTP
34options 	BOOTP_NFSROOT
35options 	BOOTP_NFSV3
36options 	BOOTP_WIRED_TO=mge0
37
38options 	ROOTDEVNAME=\"ufs:/dev/da0p1\"
39
40options 	MUTEX_NOINLINE
41options 	RWLOCK_NOINLINE
42options 	NO_FFS_SNAPSHOT
43options 	NO_SWAPPING
44
45# Pseudo devices
46device		pty
47device		loop
48device		md
49
50# USB
51device		usb
52device		ehci
53device		umass
54device		scbus
55device		pass
56device		da
57
58# SATA
59device		mvs
60
61# Serial ports
62device		uart
63
64# I2C (TWSI)
65device		iic
66device		iicbus
67device		twsi
68
69#Network
70device		ether
71device		mge			# Marvell Gigabit Ethernet controller
72device		mii
73device		mdio
74device		e1000phy
75device		bpf
76options 	DEVICE_POLLING
77device		vlan
78
79# pseudo devices
80device		clk
81device		phy
82device		hwreset
83device		nvmem
84device		regulator
85device		syscon
86
87# Minimal GPIO support
88device		gpio
89
90#PCI/PCIE
91device		pci
92
93# Flattened Device Tree
94options 	FDT			# Configure using FDT/DTB data
95options 	FDT_DTB_STATIC
96makeoptions	FDT_DTS_FILE=db78460.dts
97
98options 	PLATFORM
99