1# 2# GENERICV6 -- Generic(ish) kernel config. 3# 4# For more information on this file, please read the config(5) manual page, 5# and/or the handbook section on Kernel Configuration Files: 6# 7# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8# 9# The handbook is also available locally in /usr/share/doc/handbook 10# if you've installed the doc distribution, otherwise always see the 11# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the 12# latest information. 13# 14# An exhaustive list of options and more detailed explanations of the 15# device lines is also present in the ../../conf/NOTES and NOTES files. 16# If you are in doubt as to the purpose or necessity of a line, check first 17# in NOTES. 18# 19# $FreeBSD$ 20 21ident GENERIC 22 23cpu CPU_CORTEXA 24cpu CPU_MV_PJ4B 25options SMP_ON_UP 26machine arm armv7 27makeoptions CONF_CFLAGS="-march=armv7a" 28 29include "std.armv7" 30files "../allwinner/files.allwinner" 31files "../allwinner/files.allwinner_up" 32files "../allwinner/a10/files.a10" 33files "../allwinner/a13/files.a13" 34files "../allwinner/a20/files.a20" 35files "../allwinner/a31/files.a31" 36files "../allwinner/a33/files.a33" 37files "../allwinner/a83t/files.a83t" 38files "../allwinner/h3/files.h3" 39files "../broadcom/bcm2835/files.bcm2836" 40files "../broadcom/bcm2835/files.bcm283x" 41files "../freescale/imx/files.imx6" 42files "../mv/files.arm7" 43files "../nvidia/tegra124/files.tegra124" 44files "../qemu/files.qemu" 45files "../ti/files.ti" 46files "../ti/am335x/files.am335x" 47files "../ti/omap4/files.omap4" 48files "../xilinx/files.zynq7" 49 50options SOC_ALLWINNER_A10 51options SOC_ALLWINNER_A13 52options SOC_ALLWINNER_A20 53options SOC_ALLWINNER_A31 54options SOC_ALLWINNER_A31S 55options SOC_ALLWINNER_A33 56options SOC_ALLWINNER_A83T 57options SOC_ALLWINNER_H2PLUS 58options SOC_ALLWINNER_H3 59options SOC_BCM2836 60options SOC_MV_ARMADA38X 61options SOC_MV_ARMADAXP 62options SOC_TI_AM335X 63options SOC_OMAP4 64 65options SCHED_ULE # ULE scheduler 66options SMP # Enable multiple cores 67options PLATFORM 68options LINUX_BOOT_ABI 69 70# EXT_RESOURCES pseudo devices 71options EXT_RESOURCES 72device clk 73device phy 74device hwreset 75device nvmem 76device regulator 77device syscon 78 79# CPU frequency control 80device cpufreq 81 82# Interrupt controller 83device gic 84 85# PMU support (for CCNT). 86device pmu 87 88# ARM Generic Timer 89device generic_timer 90device mpcore_timer 91 92# MMC/SD/SDIO Card slot support 93device sdhci # SD controller 94device mmc # mmc/sd bus 95device mmcsd # mmc/sd flash cards 96 97# ATA controllers 98device ahci # AHCI-compatible SATA controllers 99#device ata # Legacy ATA/SATA controllers 100 101# PCI 102options NEW_PCIB 103device pci 104device pci_host_generic 105 106# PCI NICs 107device re # RealTek 8139C+/8169/8169S/8110S 108 109# VirtIO 110device virtio 111device virtio_mmio 112device virtio_pci 113device virtio_blk 114device vtnet 115 116# Console and misc 117device uart 118device uart_ns8250 119device uart_snps 120device pl011 121device pty 122device snp 123device md # Memory "disks" 124device firmware # firmware assist module 125device pl310 # PL310 L2 cache controller 126device psci 127 128# I2C support 129device iicbus 130device iic 131device twsi 132device rsb # Allwinner Reduced Serial Bus 133device p2wi # Allwinner Push-Pull Two Wire 134device axp209 # AXP209 Power Management Unit 135device axp81x # AXP813/818 Power Management Unit 136device bcm2835_bsc 137device fsliic # Freescale i2c/iic 138device icee # AT24Cxxx and compatible EEPROMs 139device sy8106a # SY8106A Buck Regulator 140device ti_i2c 141device am335x_pmic # AM335x Power Management IC (TPC65217) 142device am335x_rtc # RTC support (power management only) 143device twl # TI TWLX0X0/TPS659x0 Power Management 144device twl_vreg # twl voltage regulation 145device twl_clks # twl external clocks 146 147# i2c RTCs 148device ds1307 # Dallas DS1307 RTC and compatible 149device ds13rtc # All Dallas/Maxim DS13xx RTCs 150device ds1672 # Dallas DS1672 RTC 151device ds3231 # Dallas DS3231 RTC + temperature 152device nxprtc # NXP RTCs: PCA/PFC212x PCA/PCF85xx 153device s35390a # Seiko s3539x RTCs 154 155# GPIO 156device dwgpio # Synopsys DesignWare APB GPIO Controller 157device gpio 158device gpiobacklight 159device gpioled 160device gpioregulator 161 162# EVDEV support 163device evdev # input event device support 164options EVDEV_SUPPORT # evdev support in legacy drivers 165device uinput # install /dev/uinput cdev 166device aw_cir 167 168# SPI 169device spibus 170device spigen 171device bcm2835_spi 172device mv_spi 173device ti_spi 174 175# ADC support 176device ti_adc 177 178# PWM 179device pwm 180 181# Watchdog support 182# If we don't enable the watchdog driver, the BealeBone could potentially 183# reboot automatically because the boot loader might have enabled the 184# watchdog. 185device ti_wdt 186device imxwdt # Watchdog. WARNING: can't be disabled!!! 187device aw_wdog # Allwinner Watchdog 188 189device scbus # SCSI bus (required for ATA/SCSI) 190device da # Direct Access (disks) 191device cd # CD 192device pass # Passthrough device (direct ATA/SCSI access) 193 194# USB support 195options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 196device usb 197device uhci 198device ohci 199device ehci 200device xhci 201device dwcotg # DWC OTG controller 202device musb 203 204device axe # USB-Ethernet 205device umass # Disks/Mass storage - Requires scbus and da 206device uhid # "Human Interface Devices" 207device ukbd # Allow keyboard like HIDs to control console 208 209# Device mode support 210device usb_template # Control of the gadget 211 212# Ethernet 213device loop 214device ether 215device vlan # 802.1Q VLAN support 216device bpf 217device mii 218device mdio 219device etherswitch 220device e6000sw 221 222# Ethernet NICs that use the common MII bus controller code. 223# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 224device miibus 225 226device awg # 10/100/1000 integrated EMAC controller 227device cpsw # TI Common Platform Ethernet Switch (CPSW) 228device cgem # Zynq-7000 gig ethernet device 229device dwc # 10/100/1000 integrated GMAC controller 230device emac # 10/100 integrated EMAC controller 231device ffec # Freescale Fast Ethernet Controller 232device neta # Marvell 10/100/1000 Network controller 233device smsc # SMSC LAN91C111 234 235# Sound support 236device sound 237 238# Framebuffer support 239device vt 240device kbdmux 241device ums 242device videomode 243device hdmi 244device vchiq 245 246# Pinmux 247device fdt_pinctrl 248 249# TI Programmable Realtime Unit support 250device ti_pruss 251 252# Mailbox support 253device ti_mbox 254 255# DMA controller 256device fslsdma 257device ti_sdma 258device a10_dmac 259device a31_dmac 260 261# Extensible Firmware Interface 262options EFI 263 264# Marvell Cryptographic Engine and Security Accelerator 265device cesa 266device crypto 267device cryptodev 268 269# RTC 270device imx6_snvs # IMX6 On-chip RTC 271device aw_rtc # Allwinner On-chip RTC 272 273# EFUSE 274device aw_sid # Allwinner Secure ID EFUSE 275 276# Thermal sensors 277device aw_thermal # Allwinner Thermal Sensor Controller 278 279# Flattened Device Tree 280options FDT # Configure using FDT/DTB data 281makeoptions MODULES_EXTRA+="dtb/allwinner" 282makeoptions MODULES_EXTRA+="dtb/am335x" 283makeoptions MODULES_EXTRA+="dtb/imx6" 284makeoptions MODULES_EXTRA+="dtb/nvidia" 285makeoptions MODULES_EXTRA+="dtb/omap4" 286makeoptions MODULES_EXTRA+="dtb/rpi" 287makeoptions MODULES_EXTRA+="dtb/zynq" 288 289# SOC-specific modules 290makeoptions MODULES_EXTRA+="allwinner" 291makeoptions MODULES_EXTRA+="arm_ti" 292makeoptions MODULES_EXTRA+="imx" 293 294