1*22ce4affSfengbojiang# 2*22ce4affSfengbojiang# Kernel configuration for Altera SOCFPGA development kits. 3*22ce4affSfengbojiang# 4*22ce4affSfengbojiang# For more information on this file, please read the config(5) manual page, 5*22ce4affSfengbojiang# and/or the handbook section on Kernel Configuration Files: 6*22ce4affSfengbojiang# 7*22ce4affSfengbojiang# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8*22ce4affSfengbojiang# 9*22ce4affSfengbojiang# The handbook is also available locally in /usr/share/doc/handbook 10*22ce4affSfengbojiang# if you've installed the doc distribution, otherwise always see the 11*22ce4affSfengbojiang# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the 12*22ce4affSfengbojiang# latest information. 13*22ce4affSfengbojiang# 14*22ce4affSfengbojiang# An exhaustive list of options and more detailed explanations of the 15*22ce4affSfengbojiang# device lines is also present in the ../../conf/NOTES and NOTES files. 16*22ce4affSfengbojiang# If you are in doubt as to the purpose or necessity of a line, check first 17*22ce4affSfengbojiang# in NOTES. 18*22ce4affSfengbojiang# 19*22ce4affSfengbojiang# $FreeBSD$ 20*22ce4affSfengbojiang 21*22ce4affSfengbojiangident SOCFPGA 22*22ce4affSfengbojianginclude "std.armv7" 23*22ce4affSfengbojianginclude "../altera/socfpga/std.socfpga" 24*22ce4affSfengbojiang 25*22ce4affSfengbojiangmakeoptions MODULES_OVERRIDE="" 26*22ce4affSfengbojiang 27*22ce4affSfengbojiangoptions SCHED_ULE # ULE scheduler 28*22ce4affSfengbojiangoptions PLATFORM # Platform based SoC 29*22ce4affSfengbojiangoptions SMP # Enable multiple cores 30*22ce4affSfengbojiang 31*22ce4affSfengbojiangoptions SOC_ALTERA_ARRIA10 32*22ce4affSfengbojiangoptions SOC_ALTERA_CYCLONE5 33*22ce4affSfengbojiang 34*22ce4affSfengbojiang# NFS root from boopt/dhcp 35*22ce4affSfengbojiang#options BOOTP 36*22ce4affSfengbojiang#options BOOTP_NFSROOT 37*22ce4affSfengbojiang#options BOOTP_COMPAT 38*22ce4affSfengbojiang#options BOOTP_NFSV3 39*22ce4affSfengbojiang#options BOOTP_WIRED_TO=ue0 40*22ce4affSfengbojiang 41*22ce4affSfengbojiang# Interrupt controller 42*22ce4affSfengbojiangdevice gic 43*22ce4affSfengbojiang 44*22ce4affSfengbojiang# ARM MPCore timer 45*22ce4affSfengbojiangdevice mpcore_timer 46*22ce4affSfengbojiang 47*22ce4affSfengbojiang# DMA support 48*22ce4affSfengbojiangdevice xdma 49*22ce4affSfengbojiangdevice pl330 50*22ce4affSfengbojiang 51*22ce4affSfengbojiang# MMC/SD/SDIO Card slot support 52*22ce4affSfengbojiangdevice mmc # mmc/sd bus 53*22ce4affSfengbojiangdevice mmcsd # mmc/sd flash cards 54*22ce4affSfengbojiangdevice dwmmc 55*22ce4affSfengbojiang 56*22ce4affSfengbojiang# Pseudo devices 57*22ce4affSfengbojiang 58*22ce4affSfengbojiangdevice loop 59*22ce4affSfengbojiangdevice pty 60*22ce4affSfengbojiangdevice md 61*22ce4affSfengbojiangdevice gpio 62*22ce4affSfengbojiang 63*22ce4affSfengbojiang# USB support 64*22ce4affSfengbojiangoptions USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 65*22ce4affSfengbojiangdevice usb 66*22ce4affSfengbojiangdevice dwcotg 67*22ce4affSfengbojiang 68*22ce4affSfengbojiangdevice umass 69*22ce4affSfengbojiangdevice scbus # SCSI bus (required for ATA/SCSI) 70*22ce4affSfengbojiangdevice da # Direct Access (disks) 71*22ce4affSfengbojiangdevice pass 72*22ce4affSfengbojiang 73*22ce4affSfengbojiang# Serial ports 74*22ce4affSfengbojiangdevice uart 75*22ce4affSfengbojiangdevice uart_snps 76*22ce4affSfengbojiang 77*22ce4affSfengbojiang# I2C (TWSI) 78*22ce4affSfengbojiangdevice iic 79*22ce4affSfengbojiangdevice iicbus 80*22ce4affSfengbojiang 81*22ce4affSfengbojiang# SPI 82*22ce4affSfengbojiangdevice spibus 83*22ce4affSfengbojiangdevice cqspi 84*22ce4affSfengbojiangdevice n25q 85*22ce4affSfengbojiang 86*22ce4affSfengbojiang# Ethernet 87*22ce4affSfengbojiangdevice ether 88*22ce4affSfengbojiangdevice mii 89*22ce4affSfengbojiangdevice smsc 90*22ce4affSfengbojiangdevice smscphy 91*22ce4affSfengbojiangdevice dwc 92*22ce4affSfengbojiangdevice micphy 93*22ce4affSfengbojiang 94*22ce4affSfengbojiang# USB ethernet support, requires miibus 95*22ce4affSfengbojiangdevice miibus 96*22ce4affSfengbojiangdevice axe # ASIX Electronics USB Ethernet 97*22ce4affSfengbojiangdevice bpf # Berkeley packet filter 98*22ce4affSfengbojiang 99*22ce4affSfengbojiang# Flattened Device Tree 100*22ce4affSfengbojiangoptions FDT # Configure using FDT/DTB data 101