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