xref: /f-stack/freebsd/arm/conf/ZEDBOARD (revision 22ce4aff)
1a9643ea8Slogwang#
2a9643ea8Slogwang# ZEDBOARD -- Custom configuration for the Xilinx Zynq-7000 based
3a9643ea8Slogwang#             ZedBoard (www.zedboard.org) and similar Zynq boards.
4a9643ea8Slogwang#
5a9643ea8Slogwang# For more information on this file, please read the config(5) manual page,
6a9643ea8Slogwang# and/or the handbook section on Kernel Configuration Files:
7a9643ea8Slogwang#
8*22ce4affSfengbojiang#    https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9a9643ea8Slogwang#
10a9643ea8Slogwang# The handbook is also available locally in /usr/share/doc/handbook
11a9643ea8Slogwang# if you've installed the doc distribution, otherwise always see the
12*22ce4affSfengbojiang# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
13a9643ea8Slogwang# latest information.
14a9643ea8Slogwang#
15a9643ea8Slogwang# An exhaustive list of options and more detailed explanations of the
16a9643ea8Slogwang# device lines is also present in the ../../conf/NOTES and NOTES files.
17a9643ea8Slogwang# If you are in doubt as to the purpose or necessity of a line, check first
18a9643ea8Slogwang# in NOTES.
19a9643ea8Slogwang#
20a9643ea8Slogwang# $FreeBSD$
21a9643ea8Slogwang
22a9643ea8Slogwangident		ZEDBOARD
23a9643ea8Slogwang
24*22ce4affSfengbojianginclude 	"std.armv7"
25a9643ea8Slogwanginclude 	"../xilinx/std.zynq7"
26a9643ea8Slogwang
27a9643ea8Slogwangmakeoptions	MODULES_EXTRA="dtb/zynq"
28a9643ea8Slogwang
29a9643ea8Slogwangoptions 	SCHED_ULE		# ULE scheduler
30*22ce4affSfengbojiangoptions 	PLATFORM		# Platform based SoC
31a9643ea8Slogwang#options 	NFSSD			# Network Filesystem Server
32a9643ea8Slogwangoptions 	SMP			# Enable multiple cores
33a9643ea8Slogwang
34a9643ea8Slogwang# NFS root from boopt/dhcp
35a9643ea8Slogwang#options 	BOOTP
36a9643ea8Slogwang#options 	BOOTP_NFSROOT
37a9643ea8Slogwang#options 	BOOTP_COMPAT
38a9643ea8Slogwang#options 	BOOTP_NFSV3
39a9643ea8Slogwang
40a9643ea8Slogwangoptions 	ROOTDEVNAME=\"ufs:mmcsd0s2a\"
41a9643ea8Slogwang
42a9643ea8Slogwang# Interrupt controller
43a9643ea8Slogwangdevice		gic
44a9643ea8Slogwang
45a9643ea8Slogwang# Cache controller
46a9643ea8Slogwangdevice		pl310			# PL310 L2 cache controller
47a9643ea8Slogwang# ARM MPCore timer
48a9643ea8Slogwangdevice		mpcore_timer
49a9643ea8Slogwang
50a9643ea8Slogwangdevice		loop
51a9643ea8Slogwangdevice		ether
52*22ce4affSfengbojiangdevice		cgem			# Cadence GEM Gigabit Ethernet device
53a9643ea8Slogwangdevice		mii
54a9643ea8Slogwangdevice		e1000phy
55a9643ea8Slogwangdevice		rgephy			# Zybo uses Realtek RTL8211E
56a9643ea8Slogwangdevice		pty
57a9643ea8Slogwangdevice		uart
58a9643ea8Slogwangdevice		gpio
59a9643ea8Slogwang
60*22ce4affSfengbojiangdevice		spibus
61*22ce4affSfengbojiangdevice		spigen
62*22ce4affSfengbojiangdevice		mx25l
63*22ce4affSfengbojiangdevice		zy7_qspi		# Xilinx Zynq QSPI controller
64*22ce4affSfengbojiangdevice		zy7_spi			# Xilinx Zynq SPI controller
65*22ce4affSfengbojiang
66a9643ea8Slogwangdevice		md
67a9643ea8Slogwangdevice		mmc			# mmc/sd bus
68a9643ea8Slogwangdevice		mmcsd			# mmc/sd flash cards
69a9643ea8Slogwangdevice		sdhci			# generic sdhci
70a9643ea8Slogwangdevice		bpf			# Berkeley packet filter
71a9643ea8Slogwang
72a9643ea8Slogwang# USB support
73a9643ea8Slogwangdevice		usb
74a9643ea8Slogwangdevice		ehci
75a9643ea8Slogwangdevice		umass
76a9643ea8Slogwangdevice		scbus			# SCSI bus (required for ATA/SCSI)
77a9643ea8Slogwangdevice		da			# Direct Access (disks)
78a9643ea8Slogwangdevice		axe			# USB-Ethernet
79a9643ea8Slogwang
80a9643ea8Slogwang
81a9643ea8Slogwang# Flattened Device Tree
82a9643ea8Slogwangoptions 	FDT			# Configure using FDT/DTB data
83a9643ea8Slogwang#options 	FDT_DTB_STATIC
84a9643ea8Slogwang#makeoptions	FDT_DTS_FILE=zedboard.dts
85a9643ea8Slogwang
86