1# 2# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 3# 4# This file contains machine dependent kernel configuration notes. For 5# machine independent notes, look in /sys/conf/NOTES. 6# 7# $FreeBSD$ 8# 9 10# 11# We want LINT to cover profiling as well. 12# Except it's broken. 13#profile 2 14 15# 16# Enable the kernel DTrace hooks which are required to load the DTrace 17# kernel modules. 18# 19options KDTRACE_HOOKS 20 21# 22# Most of the following is copied from ARM64 GENERIC. 23cpu ARM64 24 25makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 26makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support 27 28options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 29options KDTRACE_FRAME # Ensure frames are compiled in 30options VFP # Floating-point support 31options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default 32options INTRNG 33 34# SoC support 35options SOC_ALLWINNER_A64 36options SOC_ALLWINNER_H5 37options SOC_CAVM_THUNDERX 38options SOC_HISI_HI6220 39options SOC_BRCM_BCM2837 40options SOC_BRCM_BCM2838 41options SOC_MARVELL_8K 42options SOC_ROCKCHIP_RK3328 43options SOC_ROCKCHIP_RK3399 44options SOC_XILINX_ZYNQ 45 46# Timer drivers 47device a10_timer 48 49# Annapurna Alpine drivers 50device al_ccu # Alpine Cache Coherency Unit 51device al_nb_service # Alpine North Bridge Service 52device al_iofic # I/O Fabric Interrupt Controller 53device al_serdes # Serializer/Deserializer 54device al_udma # Universal DMA 55 56# Qualcomm Snapdragon drivers 57device qcom_gcc # Global Clock Controller 58 59# VirtIO support 60device virtio 61device virtio_pci 62device virtio_mmio 63device virtio_blk 64device vtnet 65 66# CPU frequency control 67device cpufreq 68 69# Bus drivers 70device al_pci # Annapurna Alpine PCI-E 71options PCI_HP # PCI-Express native HotPlug 72options PCI_IOV # PCI SR-IOV support 73 74# Ethernet NICs 75device mdio 76device awg # Allwinner EMAC Gigabit Ethernet 77device axa # AMD Opteron A1100 integrated NIC 78device neta # Marvell Armada 370/38x/XP/3700 NIC 79device smc # SMSC LAN91C111 80device vnic # Cavium ThunderX NIC 81device al_eth # Annapurna Alpine Ethernet NIC 82device dwc_rk # Rockchip Designware 83device dwc_socfpga # Altera SOCFPGA Ethernet MAC 84device ice # Intel 800 Series Physical Function 85device ice_ddp # Intel 800 Series DDP Package 86 87# Etherswitch devices 88device e6000sw # Marvell mv88e6085 based switches 89 90# NVM Express (NVMe) support 91device nvme # base NVMe driver 92options NVME_USE_NVD=0 # prefer the cam(4) based nda(4) driver 93device nvd # expose NVMe namespaces as disks, depends on nvme 94 95# MMC/SD/SDIO Card slot support 96device sdhci_xenon # Marvell Xenon SD/MMC controller 97device aw_mmc # Allwinner SD/MMC controller 98device dwmmc 99device dwmmc_altera 100device rk_emmcphy 101 102# Serial (COM) ports 103device uart_msm # Qualcomm MSM UART driver 104device uart_mu # RPI3 aux port 105device uart_mvebu # Armada 3700 UART driver 106device uart_ns8250 # ns8250-type UART driver 107device uart_snps 108device pl011 109 110# USB support 111device aw_usbphy # Allwinner USB PHY 112device dwcotg # DWC OTG controller 113device ehci_mv # Marvell EHCI USB interface 114 115# USB ethernet support 116device muge 117device smsc 118 119# Sound support 120device a10_codec 121 122# DMA controller 123device a31_dmac 124 125# GPIO / PINCTRL 126device a37x0_gpio # Marvell Armada 37x0 GPIO controller 127device aw_gpio # Allwinner GPIO controller 128device fdt_pinctrl 129device mv_gpio # Marvell GPIO controller 130device mvebu_pinctrl # Marvell Pinmux Controller 131device rk_gpio # RockChip GPIO Controller 132device rk_pinctrl # RockChip Pinmux Controller 133 134# I2C 135device aw_rsb # Allwinner Reduced Serial Bus 136device bcm2835_bsc # Broadcom BCM283x I2C bus 137device twsi # Allwinner I2C controller 138device rk_i2c # RockChip I2C controller 139 140# Clock and reset controllers 141device aw_ccu # Allwinner clock controller 142 143# Interrupt controllers 144device aw_nmi # Allwinner NMI support 145device mv_cp110_icu # Marvell CP110 ICU 146device mv_ap806_gicp # Marvell AP806 GICP 147 148# Real-time clock support 149device aw_rtc # Allwinner Real-time Clock 150device mv_rtc # Marvell Real-time Clock 151 152# Watchdog controllers 153device aw_wdog # Allwinner Watchdog 154 155# Power management controllers 156device axp81x # X-Powers AXP81x PMIC 157device rk805 # RockChip RK805 PMIC 158 159# EFUSE 160device aw_sid # Allwinner Secure ID EFUSE 161 162# Thermal sensors 163device aw_thermal # Allwinner Thermal Sensor Controller 164device mv_thermal # Marvell Thermal Sensor Controller 165 166# SPI 167device bcm2835_spi # Broadcom BCM283x SPI bus 168 169# PWM 170device pwm 171device aw_pwm 172 173device vt_efifb 174 175# EVDEV support 176options EVDEV_SUPPORT # evdev support in legacy drivers 177device aw_cir 178 179# Pseudo devices. 180options EFIRT # EFI Runtime Services 181 182# EXT_RESOURCES pseudo devices 183options EXT_RESOURCES 184device clk 185device phy 186device hwreset 187device nvmem 188device regulator 189device syscon 190device aw_syscon 191 192# Backlight subsystem 193device backlight 194 195# Misc devices. 196device pl330 # ARM PL330 dma controller 197device xdma # xDMA framework for SoC on-chip dma controllers 198 199# Chip-specific errata 200options THUNDERX_PASS_1_1_ERRATA 201 202options FDT 203device acpi 204 205# DTBs 206makeoptions MODULES_EXTRA="dtb/allwinner dtb/rockchip dtb/rpi" 207 208# Add CAMDEBUG stuff 209options CAMDEBUG 210options CAM_DEBUG_FLAGS=(CAM_DEBUG_INFO|CAM_DEBUG_PROBE|CAM_DEBUG_PERIPH) 211 212# bring in camified MMC too 213options MMCCAM 214 215# arm64 doesn't support inb/outb, so disable chipset probing which needs it 216nooptions PPC_PROBE_CHIPSET 217 218# These cause weird issues, not sure why 219nooptions DEBUG 220 221# Makes assumptions about bus tags that aren't true on arm64 222nodevice snd_cmi 223 224# arm64 didn't exist for these releases, so doesn't have the required compat 225# support. Just disable them because they are meaningless. 226nooptions COMPAT_FREEBSD4 227nooptions COMPAT_FREEBSD5 228nooptions COMPAT_FREEBSD6 229nooptions COMPAT_FREEBSD7 230nooptions COMPAT_FREEBSD9 231nooptions COMPAT_FREEBSD10 232 233# arm64 supports 32-bit FreeBSD/arm binaries (armv[67] ABIs) 234options COMPAT_FREEBSD32 # Compatible with FreeBSD/arm 235 236##################################################################### 237# ZFS support 238 239options ZFS 240 241# 242# HID-over-I2C support 243# 244device iichid # HID-over-I2C support 245options IICHID_DEBUG # Enable HID-over-I2C debug messages 246options IICHID_SAMPLING # Workaround missing GPIO INTR support 247