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 19ident ALPINE 20 21include "std.armv7" 22include "../annapurna/alpine/std.alpine" 23 24makeoptions MODULES_OVERRIDE="" 25 26options SCHED_4BSD # 4BSD scheduler 27options SMP # Enable multiple cores 28options PLATFORM 29 30# Interrupt controller 31device gic 32 33# Annapurna Alpine drivers 34device al_ccu # Alpine Cache Coherency Unit 35device al_nb_service # Alpine North Bridge Service 36device al_iofic # I/O Fabric Interrupt Controller 37device al_serdes # Serializer/Deserializer 38device al_udma # Universal DMA 39 40# pseudo devices 41device clk 42device phy 43device hwreset 44device nvmem 45device regulator 46device syscon 47 48# Pseudo devices 49device loop 50device pty 51device md 52device gpio 53 54# ATA controllers 55device ahci # AHCI-compatible SATA controllers 56device ata # Legacy ATA/SATA controllers 57 58# ATA/SCSI peripherals 59device scbus # SCSI bus (required for ATA/SCSI) 60device ch # SCSI media changers 61device da # Direct Access (disks) 62device sa # Sequential Access (tape etc) 63device cd # CD 64device pass # Passthrough device (direct ATA/SCSI access) 65device ses # Enclosure Services (SES and SAF-TE) 66#device ctl # CAM Target Layer 67 68# Serial ports 69device uart 70 71# PCI/PCIE 72device pci 73device pci_host_generic 74device al_pci # Annapurna Alpine PCI-E 75 76# Ethernet 77device ether 78device mii 79device bpf 80device al_eth # Annapurna Alpine Ethernet NIC 81options DEVICE_POLLING 82 83# USB ethernet support, requires miibus 84device miibus 85 86#FDT 87options FDT 88options FDT_DTB_STATIC 89makeoptions FDT_DTS_FILE=annapurna-alpine.dts 90