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 pl310 # PL310 L2 cache controller 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 # AT24Cxxx and compatible EEPROMs 132device sy8106a # SY8106A Buck Regulator 133device ti_i2c 134device am335x_pmic # AM335x Power Management IC (TPC65217) 135device am335x_rtc # RTC support (power management only) 136device twl # TI TWLX0X0/TPS659x0 Power Management 137device twl_vreg # twl voltage regulation 138device twl_clks # twl external clocks 139 140# i2c RTCs 141device ds1307 # Dallas DS1307 RTC and compatible 142device ds13rtc # All Dallas/Maxim DS13xx RTCs 143device ds1672 # Dallas DS1672 RTC 144device ds3231 # Dallas DS3231 RTC + temperature 145device nxprtc # NXP RTCs: PCA/PFC212x PCA/PCF85xx 146device s35390a # Seiko s3539x RTCs 147 148# GPIO 149device gpio 150device gpiobacklight 151device gpioled 152device gpioregulator 153 154# EVDEV support 155device evdev # input event device support 156options EVDEV_SUPPORT # evdev support in legacy drivers 157device uinput # install /dev/uinput cdev 158device aw_cir 159 160# SPI 161device spibus 162device spigen 163device bcm2835_spi 164device ti_spi 165 166# ADC support 167device ti_adc 168 169# Watchdog support 170# If we don't enable the watchdog driver, the BealeBone could potentially 171# reboot automatically because the boot loader might have enabled the 172# watchdog. 173device ti_wdt 174 175device scbus # SCSI bus (required for ATA/SCSI) 176device da # Direct Access (disks) 177device cd # CD 178device pass # Passthrough device (direct ATA/SCSI access) 179 180# USB support 181options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 182device usb 183#device uhci 184device ohci 185device ehci 186device dwcotg # DWC OTG controller 187device musb 188 189device umass # Disks/Mass storage - Requires scbus and da 190device uhid # "Human Interface Devices" 191device ukbd # Allow keyboard like HIDs to control console 192 193# Device mode support 194device usb_template # Control of the gadget 195 196# Ethernet 197device loop 198device ether 199device vlan # 802.1Q VLAN support 200device bpf 201 202# Ethernet NICs that use the common MII bus controller code. 203# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 204device miibus 205 206device awg # 10/100/1000 integrated EMAC controller 207device cpsw # TI Common Platform Ethernet Switch (CPSW) 208device dwc # 10/100/1000 integrated GMAC controller 209device emac # 10/100 integrated EMAC controller 210device smsc # SMSC LAN91C111 211 212# Sound support 213device sound 214 215# Framebuffer support 216device vt 217device kbdmux 218device ums 219device videomode 220device hdmi 221device vchiq 222 223# Pinmux 224device fdt_pinctrl 225 226# TI Programmable Realtime Unit support 227device ti_pruss 228 229# Mailbox support 230device ti_mbox 231 232# DMA controller 233device ti_sdma 234 235# Extensible Firmware Interface 236options EFI 237 238# Flattened Device Tree 239options FDT # Configure using FDT/DTB data 240makeoptions MODULES_EXTRA="dtb/allwinner dtb/am335x dtb/nvidia dtb/rpi dtb/omap4" 241