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