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# http://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 (http://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 24options SMP_ON_UP 25machine arm armv6 26makeoptions CONF_CFLAGS="-march=armv7a" 27 28makeoptions KERNVIRTADDR=0xc0000000 29options KERNVIRTADDR=0xc0000000 30 31include "std.armv6" 32files "../allwinner/files.allwinner" 33files "../allwinner/files.allwinner_up" 34files "../allwinner/a10/files.a10" 35files "../allwinner/a13/files.a13" 36files "../allwinner/a20/files.a20" 37files "../allwinner/a31/files.a31" 38files "../allwinner/a33/files.a33" 39files "../allwinner/a83t/files.a83t" 40files "../allwinner/h3/files.h3" 41files "../broadcom/bcm2835/files.bcm2836" 42files "../broadcom/bcm2835/files.bcm283x" 43files "../nvidia/tegra124/files.tegra124" 44files "../qemu/files.qemu" 45files "../ti/files.ti" 46files "../ti/am335x/files.am335x" 47files "../ti/omap4/files.omap4" 48 49options SOC_ALLWINNER_A10 50options SOC_ALLWINNER_A13 51options SOC_ALLWINNER_A20 52options SOC_ALLWINNER_A31 53options SOC_ALLWINNER_A31S 54options SOC_ALLWINNER_A33 55options SOC_ALLWINNER_A83T 56options SOC_ALLWINNER_H3 57options SOC_BCM2836 58options SOC_TI_AM335X 59options SOC_OMAP4 60 61options SCHED_ULE # ULE scheduler 62options SMP # Enable multiple cores 63options PLATFORM 64options PLATFORM_SMP 65options MULTIDELAY 66options LINUX_BOOT_ABI 67 68# EXT_RESOURCES pseudo devices 69options EXT_RESOURCES 70device clk 71device phy 72device hwreset 73device regulator 74 75# CPU frequency control 76device cpufreq 77 78# Interrupt controller 79options INTRNG 80device gic 81 82# PMU support (for CCNT). 83device pmu 84 85# ARM Generic Timer 86device generic_timer 87device mpcore_timer 88 89# MMC/SD/SDIO Card slot support 90device sdhci # SD controller 91device mmc # mmc/sd bus 92device mmcsd # mmc/sd flash cards 93 94# ATA controllers 95device ahci # AHCI-compatible SATA controllers 96#device ata # Legacy ATA/SATA controllers 97 98# PCI 99options NEW_PCIB 100device pci 101 102# PCI NICs 103device re # RealTek 8139C+/8169/8169S/8110S 104 105# VirtIO 106device virtio 107device virtio_mmio 108device virtio_blk 109device vtnet 110 111# Console and misc 112device uart 113device uart_ns8250 114device uart_snps 115device pl011 116device pty 117device snp 118device md # Memory "disks" 119device random # Entropy device 120device psci 121 122# I2C support 123device iicbus 124device iic 125device twsi 126device rsb # Allwinner Reduced Serial Bus 127device p2wi # Allwinner Push-Pull Two Wire 128device axp209 # AXP209 Power Management Unit 129device axp81x # AXP813/818 Power Management Unit 130device bcm2835_bsc 131device icee 132device sy8106a # SY8106A Buck Regulator 133device ti_i2c 134device am335x_pmic # AM335x Power Management IC (TPC65217) 135device am335x_rtc # RTC support (power management only) 136#define am335x_dmtpps # Pulse Per Second capture driver 137device twl # TI TWLX0X0/TPS659x0 Power Management 138device twl_vreg # twl voltage regulation 139device twl_clks # twl external clocks 140 141# GPIO 142device gpio 143device gpiobacklight 144device gpioled 145device gpioregulator 146 147# EVDEV support 148device evdev # input event device support 149options EVDEV_SUPPORT # evdev support in legacy drivers 150device uinput # install /dev/uinput cdev 151device aw_cir 152 153# SPI 154device spibus 155device spigen 156device bcm2835_spi 157device ti_spi 158 159# ADC support 160device ti_adc 161 162# Watchdog support 163# If we don't enable the watchdog driver, the BealeBone could potentially 164# reboot automatically because the boot loader might have enabled the 165# watchdog. 166device ti_wdt 167 168device scbus # SCSI bus (required for ATA/SCSI) 169device da # Direct Access (disks) 170device cd # CD 171device pass # Passthrough device (direct ATA/SCSI access) 172 173# USB support 174options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 175device usb 176#device uhci 177device ohci 178device ehci 179device dwcotg # DWC OTG controller 180device musb 181 182device umass # Disks/Mass storage - Requires scbus and da 183device uhid # "Human Interface Devices" 184device ukbd # Allow keyboard like HIDs to control console 185 186# Device mode support and USFS template 187device usb_template # Control of the gadget 188device usfs 189 190# Ethernet 191device loop 192device ether 193device vlan # 802.1Q VLAN support 194device bpf 195 196# Ethernet NICs that use the common MII bus controller code. 197# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 198device miibus 199 200device awg # 10/100/1000 integrated EMAC controller 201device cpsw # TI Common Platform Ethernet Switch (CPSW) 202device dwc # 10/100/1000 integrated GMAC controller 203device emac # 10/100 integrated EMAC controller 204device smsc # SMSC LAN91C111 205 206# Sound support 207device sound 208 209# Framebuffer support 210device vt 211device kbdmux 212device ums 213device videomode 214device hdmi 215device vchiq 216 217# Pinmux 218device fdt_pinctrl 219 220# TI Programmable Realtime Unit support 221device ti_pruss 222 223# Mailbox support 224device ti_mbox 225 226# DMA controller 227device ti_sdma 228 229# Extensible Firmware Interface 230options EFI 231 232# Flattened Device Tree 233options FDT # Configure using FDT/DTB data 234makeoptions MODULES_EXTRA="dtb/allwinner dtb/am335x dtb/nvidia dtb/rpi dtb/omap4" 235