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_BRCM_BCM2837 61options SOC_MV_ARMADA38X 62options SOC_MV_ARMADAXP 63options SOC_TI_AM335X 64options SOC_OMAP4 65 66options SCHED_ULE # ULE scheduler 67options SMP # Enable multiple cores 68options PLATFORM 69options LINUX_BOOT_ABI 70 71# EXT_RESOURCES pseudo devices 72options EXT_RESOURCES 73device clk 74device phy 75device hwreset 76device nvmem 77device regulator 78device syscon 79 80# CPU frequency control 81device cpufreq 82 83# Interrupt controller 84device gic 85 86# PMU support (for CCNT). 87device pmu 88 89# ARM Generic Timer 90device generic_timer 91device mpcore_timer 92 93# MMC/SD/SDIO Card slot support 94device sdhci # SD controller 95device mmc # mmc/sd bus 96device mmcsd # mmc/sd flash cards 97 98# ATA controllers 99device ahci # AHCI-compatible SATA controllers 100#device ata # Legacy ATA/SATA controllers 101 102# PCI 103options NEW_PCIB 104device pci 105device pci_host_generic 106 107# PCI NICs 108device re # RealTek 8139C+/8169/8169S/8110S 109 110# VirtIO 111device virtio 112device virtio_mmio 113device virtio_pci 114device virtio_blk 115device vtnet 116 117# Console and misc 118device uart 119device uart_ns8250 120device uart_snps 121device pl011 122device pty 123device snp 124device md # Memory "disks" 125device firmware # firmware assist module 126device pl310 # PL310 L2 cache controller 127device psci 128 129# I2C support 130device iicbus 131device iic 132device twsi 133device rsb # Allwinner Reduced Serial Bus 134device p2wi # Allwinner Push-Pull Two Wire 135device axp209 # AXP209 Power Management Unit 136device axp81x # AXP813/818 Power Management Unit 137device bcm2835_bsc 138device fsliic # Freescale i2c/iic 139device icee # AT24Cxxx and compatible EEPROMs 140device sy8106a # SY8106A Buck Regulator 141device ti_i2c 142device am335x_pmic # AM335x Power Management IC (TPC65217) 143device am335x_rtc # RTC support (power management only) 144device twl # TI TWLX0X0/TPS659x0 Power Management 145device twl_vreg # twl voltage regulation 146device twl_clks # twl external clocks 147 148# i2c RTCs 149device ds1307 # Dallas DS1307 RTC and compatible 150device ds13rtc # All Dallas/Maxim DS13xx RTCs 151device ds1672 # Dallas DS1672 RTC 152device ds3231 # Dallas DS3231 RTC + temperature 153device nxprtc # NXP RTCs: PCA/PFC212x PCA/PCF85xx 154device s35390a # Seiko s3539x RTCs 155 156# GPIO 157device dwgpio # Synopsys DesignWare APB GPIO Controller 158device gpio 159device gpiobacklight 160device gpioled 161device gpioregulator 162 163# EVDEV support 164device evdev # input event device support 165options EVDEV_SUPPORT # evdev support in legacy drivers 166device uinput # install /dev/uinput cdev 167device aw_cir 168 169# SPI 170device spibus 171device spigen 172device bcm2835_spi 173device mv_spi 174device ti_spi 175device zy7_qspi # Xilinx Zynq QSPI controller 176 177# ADC support 178device ti_adc 179 180# PWM 181device pwm 182 183# Watchdog support 184# If we don't enable the watchdog driver, the BealeBone could potentially 185# reboot automatically because the boot loader might have enabled the 186# watchdog. 187device ti_wdt 188device imxwdt # Watchdog. WARNING: can't be disabled!!! 189device aw_wdog # Allwinner Watchdog 190 191device scbus # SCSI bus (required for ATA/SCSI) 192device da # Direct Access (disks) 193device cd # CD 194device pass # Passthrough device (direct ATA/SCSI access) 195 196# USB support 197options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 198device usb 199device uhci 200device ohci 201device ehci 202device xhci 203device dwcotg # DWC OTG controller 204device musb 205 206device axe # USB-Ethernet 207device umass # Disks/Mass storage - Requires scbus and da 208device uhid # "Human Interface Devices" 209device ukbd # Allow keyboard like HIDs to control console 210 211# Device mode support 212device usb_template # Control of the gadget 213 214# Ethernet 215device loop 216device ether 217device vlan # 802.1Q VLAN support 218device bpf 219device mii 220device mdio 221device etherswitch 222device e6000sw 223 224# Ethernet NICs that use the common MII bus controller code. 225# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 226device miibus 227 228device awg # 10/100/1000 integrated EMAC controller 229device cpsw # TI Common Platform Ethernet Switch (CPSW) 230device cgem # Zynq-7000 gig ethernet device 231device dwc # 10/100/1000 integrated GMAC controller 232device emac # 10/100 integrated EMAC controller 233device ffec # Freescale Fast Ethernet Controller 234device neta # Marvell 10/100/1000 Network controller 235device smsc # SMSC LAN91C111 236 237# Sound support 238device sound 239 240# Framebuffer support 241device vt 242device kbdmux 243device ums 244device videomode 245device hdmi 246device vchiq 247 248# Pinmux 249device fdt_pinctrl 250 251# TI Programmable Realtime Unit support 252device ti_pruss 253 254# Mailbox support 255device ti_mbox 256 257# DMA controller 258device fslsdma 259device ti_sdma 260device a10_dmac 261device a31_dmac 262 263# Extensible Firmware Interface 264options EFI 265 266# Marvell Cryptographic Engine and Security Accelerator 267device cesa 268device crypto 269device cryptodev 270 271# RTC 272device imx6_snvs # IMX6 On-chip RTC 273device aw_rtc # Allwinner On-chip RTC 274 275# EFUSE 276device aw_sid # Allwinner Secure ID EFUSE 277 278# Thermal sensors 279device aw_thermal # Allwinner Thermal Sensor Controller 280 281# Flattened Device Tree 282options FDT # Configure using FDT/DTB data 283makeoptions MODULES_EXTRA+="dtb/allwinner" 284makeoptions MODULES_EXTRA+="dtb/am335x" 285makeoptions MODULES_EXTRA+="dtb/imx6" 286makeoptions MODULES_EXTRA+="dtb/nvidia" 287makeoptions MODULES_EXTRA+="dtb/omap4" 288makeoptions MODULES_EXTRA+="dtb/rpi" 289makeoptions MODULES_EXTRA+="dtb/zynq" 290 291# SOC-specific modules 292makeoptions MODULES_EXTRA+="allwinner" 293makeoptions MODULES_EXTRA+="arm_ti" 294makeoptions MODULES_EXTRA+="imx" 295 296