xref: /freebsd/sys/arm/conf/ARMADAXP (revision 96190b4fef3b4a0cc3ca0606b0c4e3e69a5e6717)
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
43
44# Pseudo devices
45device		pty
46device		loop
47device		md
48
49# USB
50device		usb
51device		ehci
52device		umass
53device		scbus
54device		pass
55device		da
56
57# SATA
58device		mvs
59
60# Serial ports
61device		uart
62
63# I2C (TWSI)
64device		iic
65device		iicbus
66device		twsi
67
68#Network
69device		ether
70device		mge			# Marvell Gigabit Ethernet controller
71device		mii
72device		mdio
73device		e1000phy
74device		bpf
75options 	DEVICE_POLLING
76device		vlan
77
78# pseudo devices
79device		clk
80device		phy
81device		hwreset
82device		nvmem
83device		regulator
84device		syscon
85
86# Minimal GPIO support
87device		gpio
88
89#PCI/PCIE
90device		pci
91
92# Flattened Device Tree
93options 	FDT			# Configure using FDT/DTB data
94options 	FDT_DTB_STATIC
95makeoptions	FDT_DTS_FILE=db78460.dts
96
97options 	PLATFORM
98