10c08f785SAndrew Turner# 2a9caca6aSWojciech A. Koszek# ZEDBOARD -- Custom configuration for the Xilinx Zynq-7000 based 3fe04a9e1SWarner Losh# ZedBoard (www.zedboard.org) and similar Zynq boards. 4a9caca6aSWojciech A. Koszek# 50c08f785SAndrew Turner# For more information on this file, please read the config(5) manual page, 60c08f785SAndrew Turner# and/or the handbook section on Kernel Configuration Files: 7a9caca6aSWojciech A. Koszek# 8c1a14887SCeri Davies# https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 9a9caca6aSWojciech A. Koszek# 10a9caca6aSWojciech A. Koszek# The handbook is also available locally in /usr/share/doc/handbook 11a9caca6aSWojciech A. Koszek# if you've installed the doc distribution, otherwise always see the 12a2aef24aSEitan Adler# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the 13a9caca6aSWojciech A. Koszek# latest information. 14a9caca6aSWojciech A. Koszek# 15a9caca6aSWojciech A. Koszek# An exhaustive list of options and more detailed explanations of the 16a9caca6aSWojciech A. Koszek# device lines is also present in the ../../conf/NOTES and NOTES files. 17a9caca6aSWojciech A. Koszek# If you are in doubt as to the purpose or necessity of a line, check first 18a9caca6aSWojciech A. Koszek# in NOTES. 19a9caca6aSWojciech A. Koszek# 20a9caca6aSWojciech A. Koszek 21a9caca6aSWojciech A. Koszekident ZEDBOARD 22a9caca6aSWojciech A. Koszek 23094fc1edSWarner Loshinclude "std.armv7" 2475d36854SAndrew Turnerinclude "../xilinx/std.zynq7" 25a9caca6aSWojciech A. Koszek 26b76565c2SOleksandr Tymoshenkomakeoptions MODULES_EXTRA="dtb/zynq" 27b76565c2SOleksandr Tymoshenko 28fbf1ef48SIan Leporeoptions SCHED_ULE # ULE scheduler 29dc59c854SAndrew Turneroptions PLATFORM # Platform based SoC 30a9caca6aSWojciech A. Koszek#options NFSSD # Network Filesystem Server 310c08f785SAndrew Turneroptions SMP # Enable multiple cores 32a9caca6aSWojciech A. Koszek 330c08f785SAndrew Turner# NFS root from boopt/dhcp 340c08f785SAndrew Turner#options BOOTP 350c08f785SAndrew Turner#options BOOTP_NFSROOT 360c08f785SAndrew Turner#options BOOTP_COMPAT 370c08f785SAndrew Turner#options BOOTP_NFSV3 380c08f785SAndrew Turner 390c08f785SAndrew Turneroptions ROOTDEVNAME=\"ufs:mmcsd0s2a\" 40a9caca6aSWojciech A. Koszek 41ace157c3SAndrew Turner# Interrupt controller 42ace157c3SAndrew Turnerdevice gic 4377fc1120SAndrew Turner 44*f3456038SEmmanuel Vadot# pseudo devices 45*f3456038SEmmanuel Vadotdevice clk 46*f3456038SEmmanuel Vadotdevice phy 47*f3456038SEmmanuel Vadotdevice hwreset 48*f3456038SEmmanuel Vadotdevice nvmem 49*f3456038SEmmanuel Vadotdevice regulator 50*f3456038SEmmanuel Vadotdevice syscon 51*f3456038SEmmanuel Vadot 5209f44939SAndrew Turner# Cache controller 5309f44939SAndrew Turnerdevice pl310 # PL310 L2 cache controller 54ed18006cSAndrew Turner# ARM MPCore timer 55ed18006cSAndrew Turnerdevice mpcore_timer 56ace157c3SAndrew Turner 57a9caca6aSWojciech A. Koszekdevice loop 58a9caca6aSWojciech A. Koszekdevice ether 59facdd1cdSThomas Skibodevice cgem # Cadence GEM Gigabit Ethernet device 60a9caca6aSWojciech A. Koszekdevice mii 61df63a5d2SIan Leporedevice e1000phy 62fe04a9e1SWarner Loshdevice rgephy # Zybo uses Realtek RTL8211E 63a9caca6aSWojciech A. Koszekdevice pty 64a9caca6aSWojciech A. Koszekdevice uart 65a9caca6aSWojciech A. Koszekdevice gpio 66a9caca6aSWojciech A. Koszek 672de9b4d3SEmmanuel Vadotdevice spibus 683f9309e5SEmmanuel Vadotdevice spigen 692de9b4d3SEmmanuel Vadotdevice mx25l 702de9b4d3SEmmanuel Vadotdevice zy7_qspi # Xilinx Zynq QSPI controller 713f9309e5SEmmanuel Vadotdevice zy7_spi # Xilinx Zynq SPI controller 722de9b4d3SEmmanuel Vadot 73a9caca6aSWojciech A. Koszekdevice md 74a9caca6aSWojciech A. Koszekdevice mmc # mmc/sd bus 75a9caca6aSWojciech A. Koszekdevice mmcsd # mmc/sd flash cards 76a9caca6aSWojciech A. Koszekdevice sdhci # generic sdhci 77a9caca6aSWojciech A. Koszekdevice bpf # Berkeley packet filter 78a9caca6aSWojciech A. Koszek 79a9caca6aSWojciech A. Koszek# USB support 80a9caca6aSWojciech A. Koszekdevice usb 81a9caca6aSWojciech A. Koszekdevice ehci 82a9caca6aSWojciech A. Koszekdevice umass 83877c97e5SWarner Loshdevice scbus # SCSI bus (required for ATA/SCSI) 84a9caca6aSWojciech A. Koszekdevice da # Direct Access (disks) 85a9caca6aSWojciech A. Koszekdevice axe # USB-Ethernet 86a9caca6aSWojciech A. Koszek 87a9caca6aSWojciech A. Koszek 88a9caca6aSWojciech A. Koszek# Flattened Device Tree 890c08f785SAndrew Turneroptions FDT # Configure using FDT/DTB data 90a9caca6aSWojciech A. Koszek#options FDT_DTB_STATIC 91a9caca6aSWojciech A. Koszek#makeoptions FDT_DTS_FILE=zedboard.dts 92a9caca6aSWojciech A. Koszek 93