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 83options INTRNG 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 random # Entropy device 126device firmware # firmware assist module 127device pl310 # PL310 L2 cache controller 128device psci 129 130# I2C support 131device iicbus 132device iic 133device twsi 134device rsb # Allwinner Reduced Serial Bus 135device p2wi # Allwinner Push-Pull Two Wire 136device axp209 # AXP209 Power Management Unit 137device axp81x # AXP813/818 Power Management Unit 138device bcm2835_bsc 139device fsliic # Freescale i2c/iic 140device icee # AT24Cxxx and compatible EEPROMs 141device sy8106a # SY8106A Buck Regulator 142device ti_i2c 143device am335x_pmic # AM335x Power Management IC (TPC65217) 144device am335x_rtc # RTC support (power management only) 145device twl # TI TWLX0X0/TPS659x0 Power Management 146device twl_vreg # twl voltage regulation 147device twl_clks # twl external clocks 148 149# i2c RTCs 150device ds1307 # Dallas DS1307 RTC and compatible 151device ds13rtc # All Dallas/Maxim DS13xx RTCs 152device ds1672 # Dallas DS1672 RTC 153device ds3231 # Dallas DS3231 RTC + temperature 154device nxprtc # NXP RTCs: PCA/PFC212x PCA/PCF85xx 155device s35390a # Seiko s3539x RTCs 156 157# GPIO 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 ti_spi 174 175# ADC support 176device ti_adc 177 178# Watchdog support 179# If we don't enable the watchdog driver, the BealeBone could potentially 180# reboot automatically because the boot loader might have enabled the 181# watchdog. 182device ti_wdt 183device imxwdt # Watchdog. WARNING: can't be disabled!!! 184 185device scbus # SCSI bus (required for ATA/SCSI) 186device da # Direct Access (disks) 187device cd # CD 188device pass # Passthrough device (direct ATA/SCSI access) 189 190# USB support 191options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 192device usb 193device uhci 194device ohci 195device ehci 196device xhci 197device dwcotg # DWC OTG controller 198device musb 199 200device axe # USB-Ethernet 201device umass # Disks/Mass storage - Requires scbus and da 202device uhid # "Human Interface Devices" 203device ukbd # Allow keyboard like HIDs to control console 204 205device firmware 206 207# Device mode support 208device usb_template # Control of the gadget 209 210# Ethernet 211device loop 212device ether 213device vlan # 802.1Q VLAN support 214device bpf 215device mii 216device mdio 217device etherswitch 218device e6000sw 219 220# Ethernet NICs that use the common MII bus controller code. 221# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 222device miibus 223 224device awg # 10/100/1000 integrated EMAC controller 225device cpsw # TI Common Platform Ethernet Switch (CPSW) 226device cgem # Zynq-7000 gig ethernet device 227device dwc # 10/100/1000 integrated GMAC controller 228device emac # 10/100 integrated EMAC controller 229device ffec # Freescale Fast Ethernet Controller 230device neta # Marvell 10/100/1000 Network controller 231device smsc # SMSC LAN91C111 232 233# Sound support 234device sound 235 236# Framebuffer support 237device vt 238device kbdmux 239device ums 240device videomode 241device hdmi 242device vchiq 243 244# Pinmux 245device fdt_pinctrl 246 247# TI Programmable Realtime Unit support 248device ti_pruss 249 250# Mailbox support 251device ti_mbox 252 253# DMA controller 254device fslsdma 255device ti_sdma 256 257# Extensible Firmware Interface 258options EFI 259 260# Marvell Cryptographic Engine and Security Accelerator 261device cesa 262device crypto 263device cryptodev 264 265# imx6 on-chip RTC 266device imx6_snvs # On-chip RTC 267 268# Flattened Device Tree 269options FDT # Configure using FDT/DTB data 270makeoptions MODULES_EXTRA="dtb/allwinner dtb/am335x dtb/imx6 dtb/nvidia dtb/rpi dtb/zynq dtb/omap4" 271