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# 8 9# 10# We want LINT to cover profiling as well. 11# Except it's broken. 12#profile 2 13 14# 15# Enable the kernel DTrace hooks which are required to load the DTrace 16# kernel modules. 17# 18options KDTRACE_HOOKS 19options KDTRACE_MIB_SDT 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 32 33# SoC support 34options SOC_ALLWINNER_A64 35options SOC_ALLWINNER_H5 36options SOC_ALLWINNER_H6 37options SOC_BRCM_BCM2837 38options SOC_BRCM_BCM2838 39options SOC_BRCM_NS2 40options SOC_CAVM_THUNDERX 41options SOC_FREESCALE_IMX8 42options SOC_HISI_HI6220 43options SOC_INTEL_STRATIX10 44options SOC_MARVELL_8K 45options SOC_NVIDIA_TEGRA210 46options SOC_NXP_LS 47options SOC_ROCKCHIP 48options SOC_ROCKCHIP_RK3328 49options SOC_ROCKCHIP_RK3399 50options SOC_ROCKCHIP_RK3568 51options SOC_XILINX_ZYNQ 52 53# Timer drivers 54device aw_timer 55 56# Annapurna Alpine drivers 57device al_ccu # Alpine Cache Coherency Unit 58device al_nb_service # Alpine North Bridge Service 59device al_iofic # I/O Fabric Interrupt Controller 60device al_serdes # Serializer/Deserializer 61device al_udma # Universal DMA 62 63# Qualcomm Snapdragon drivers 64device qcom_gcc # Global Clock Controller 65 66# Google Virtual NIC 67device gve # Google Virtual NIC (gVNIC) driver 68 69# Microsoft Hyper-V 70device hyperv 71 72# CPU frequency control 73device cpufreq 74 75# Accelerated software crypto 76device armv8crypto # ARMv8 OpenCrypto module 77device ossl # OpenSSL OpenCrypto module 78 79# Bus drivers 80device al_pci # Annapurna Alpine PCI-E 81options PCI_HP # PCI-Express native HotPlug 82options PCI_IOV # PCI SR-IOV support 83 84# Ethernet NICs 85device mdio 86device awg # Allwinner EMAC Gigabit Ethernet 87device axa # AMD Opteron A1100 integrated NIC 88device neta # Marvell Armada 370/38x/XP/3700 NIC 89device smc # SMSC LAN91C111 90device vnic # Cavium ThunderX NIC 91device al_eth # Annapurna Alpine Ethernet NIC 92device dwc # Synopsys Designware GMAC Ethernet 93device dwc_rk # Rockchip Designware 94device dwc_socfpga # Altera SOCFPGA Ethernet MAC 95device ice # Intel 800 Series Physical Function 96device ice_ddp # Intel 800 Series DDP Package 97 98# Etherswitch devices 99device e6000sw # Marvell mv88e6085 based switches 100 101# Storage 102# Broadcom MPT Fusion, version 4, is 64-bit only 103device mpi3mr # LSI-Logic MPT-Fusion 4 104 105# MMC/SD/SDIO Card slot support 106device sdhci_xenon # Marvell Xenon SD/MMC controller 107device aw_mmc # Allwinner SD/MMC controller 108device dwmmc 109device dwmmc_altera 110device rk_emmcphy 111 112# Serial (COM) ports 113device uart_msm # Qualcomm MSM UART driver 114device uart_mu # RPI3 aux port 115device uart_mvebu # Armada 3700 UART driver 116device uart_ns8250 # ns8250-type UART driver 117device uart_snps 118device pl011 119 120# Early printf using the pl011 uart under the Arm FVP 121options SOCDEV_PA=0x1c090000 122options EARLY_PRINTF=pl011 123 124# USB support 125device aw_usbphy # Allwinner USB PHY 126device dwcotg # DWC OTG controller 127device ehci_mv # Marvell EHCI USB interface 128 129# USB ethernet support 130device muge 131device smsc 132 133# Sound support 134device a10_codec 135 136# DMA controller 137device a31_dmac 138 139# GPIO / PINCTRL 140device a37x0_gpio # Marvell Armada 37x0 GPIO controller 141device aw_gpio # Allwinner GPIO controller 142device fdt_pinctrl 143device mv_gpio # Marvell GPIO controller 144device mvebu_pinctrl # Marvell Pinmux Controller 145device rk_gpio # RockChip GPIO Controller 146device rk_pinctrl # RockChip Pinmux Controller 147 148# I2C 149device aw_rsb # Allwinner Reduced Serial Bus 150device bcm2835_bsc # Broadcom BCM283x I2C bus 151device twsi # Allwinner I2C controller 152device rk_i2c # RockChip I2C controller 153 154# Clock and reset controllers 155device aw_ccu # Allwinner clock controller 156 157# Interrupt controllers 158device aw_nmi # Allwinner NMI support 159device mv_cp110_icu # Marvell CP110 ICU 160device mv_ap806_gicp # Marvell AP806 GICP 161 162# Real-time clock support 163device aw_rtc # Allwinner Real-time Clock 164device mv_rtc # Marvell Real-time Clock 165 166# Watchdog controllers 167device aw_wdog # Allwinner Watchdog 168 169# Power management controllers 170device axp81x # X-Powers AXP81x PMIC 171device rk8xx # RockChip RK8XX base support 172device rk805 # RockChip RK805 PMIC 173device rk808 # RockChip RK808 PMIC 174device rk817 # RockChip RK817 PMIC 175 176# EFUSE 177device aw_sid # Allwinner Secure ID EFUSE 178 179# Thermal sensors 180device aw_thermal # Allwinner Thermal Sensor Controller 181device mv_thermal # Marvell Thermal Sensor Controller 182 183# SPI 184device bcm2835_spi # Broadcom BCM283x SPI bus 185 186# PWM 187device pwm 188device aw_pwm 189 190device vt_efifb 191device vt_simplefb 192 193# EVDEV support 194options EVDEV_SUPPORT # evdev support in legacy drivers 195device aw_cir 196 197# Pseudo devices. 198device clk 199device efidev # EFI pseudo-device 200device efirtc # EFI RTC 201device phy 202device hwreset 203device nvmem 204device regulator 205device syscon 206device aw_syscon 207 208# Backlight subsystem 209device backlight 210 211# Misc devices. 212device pl330 # ARM PL330 dma controller 213device xdma # xDMA framework for SoC on-chip dma controllers 214 215# Chip-specific errata 216options THUNDERX_PASS_1_1_ERRATA 217 218options EFIRT # EFI Runtime Services 219options FDT 220device acpi 221 222# DTBs 223makeoptions MODULES_EXTRA="dtb/allwinner dtb/rockchip dtb/rpi" 224 225# Add CAMDEBUG stuff 226options CAMDEBUG 227options CAM_DEBUG_FLAGS=(CAM_DEBUG_INFO|CAM_DEBUG_PROBE|CAM_DEBUG_PERIPH) 228 229# bring in camified MMC too 230options MMCCAM 231 232# arm64 doesn't support inb/outb, so disable chipset probing which needs it 233nooptions PPC_PROBE_CHIPSET 234 235# These cause weird issues, not sure why 236nooptions DEBUG 237 238# Makes assumptions about bus tags that aren't true on arm64 239nodevice snd_cmi 240 241# arm64 didn't exist for these releases, so doesn't have the required compat 242# support. Just disable them because they are meaningless. 243nooptions COMPAT_FREEBSD4 244nooptions COMPAT_FREEBSD5 245nooptions COMPAT_FREEBSD6 246nooptions COMPAT_FREEBSD7 247nooptions COMPAT_FREEBSD9 248nooptions COMPAT_FREEBSD10 249 250# arm64 supports 32-bit FreeBSD/arm binaries (armv[67] ABIs) 251options COMPAT_FREEBSD32 # Compatible with FreeBSD/arm 252 253options IOMMU # ARM64 SMMU/IOMMU 254 255##################################################################### 256# ZFS support 257 258options ZFS 259 260# 261# HID-over-I2C support 262# 263device iichid # HID-over-I2C support 264options IICHID_DEBUG # Enable HID-over-I2C debug messages 265options IICHID_SAMPLING # Workaround missing GPIO INTR support 266