1# Kernel configuration for Alpine Board. 2# 3# For more information on this file, please read the config(5) manual page, 4# and/or the handbook section on Kernel Configuration Files: 5# 6# https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 7# 8# The handbook is also available locally in /usr/share/doc/handbook 9# if you've installed the doc distribution, otherwise always see the 10# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the 11# latest information. 12# 13# An exhaustive list of options and more detailed explanations of the 14# device lines is also present in the ../../conf/NOTES and NOTES files. 15# If you are in doubt as to the purpose or necessity of a line, check first 16# in NOTES. 17# 18 19#NO_UNIVERSE 20 21ident ALPINE 22 23include "std.armv7" 24include "../annapurna/alpine/std.alpine" 25 26makeoptions MODULES_OVERRIDE="" 27 28options SCHED_4BSD # 4BSD scheduler 29options SMP # Enable multiple cores 30options PLATFORM 31 32# Interrupt controller 33device gic 34 35# Annapurna Alpine drivers 36device al_ccu # Alpine Cache Coherency Unit 37device al_nb_service # Alpine North Bridge Service 38device al_iofic # I/O Fabric Interrupt Controller 39device al_serdes # Serializer/Deserializer 40device al_udma # Universal DMA 41 42# pseudo devices 43device clk 44device phy 45device hwreset 46device nvmem 47device regulator 48device syscon 49 50# Pseudo devices 51device loop 52device pty 53device md 54device gpio 55 56# ATA controllers 57device ahci # AHCI-compatible SATA controllers 58device ata # Legacy ATA/SATA controllers 59 60# ATA/SCSI peripherals 61device scbus # SCSI bus (required for ATA/SCSI) 62device ch # SCSI media changers 63device da # Direct Access (disks) 64device sa # Sequential Access (tape etc) 65device cd # CD 66device pass # Passthrough device (direct ATA/SCSI access) 67device ses # Enclosure Services (SES and SAF-TE) 68#device ctl # CAM Target Layer 69 70# Serial ports 71device uart 72 73# PCI/PCIE 74device pci 75device pci_host_generic 76device al_pci # Annapurna Alpine PCI-E 77 78# Ethernet 79device ether 80device mii 81device bpf 82device al_eth # Annapurna Alpine Ethernet NIC 83options DEVICE_POLLING 84 85# USB ethernet support, requires miibus 86device miibus 87 88#FDT 89options FDT 90options FDT_DTB_STATIC 91makeoptions FDT_DTS_FILE=annapurna-alpine.dts 92