A10 revision 300068
1276003Sandrew# 2295464Sandrew# A10 -- Custom configuration for the AllWinner A10 SoC 3254056Sganbold# 4276003Sandrew# For more information on this file, please read the config(5) manual page, 5276003Sandrew# and/or the handbook section on Kernel Configuration Files: 6254056Sganbold# 7254056Sganbold# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8254056Sganbold# 9254056Sganbold# The handbook is also available locally in /usr/share/doc/handbook 10254056Sganbold# if you've installed the doc distribution, otherwise always see the 11254056Sganbold# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 12254056Sganbold# latest information. 13254056Sganbold# 14254056Sganbold# An exhaustive list of options and more detailed explanations of the 15254056Sganbold# device lines is also present in the ../../conf/NOTES and NOTES files. 16254056Sganbold# If you are in doubt as to the purpose or necessity of a line, check first 17254056Sganbold# in NOTES. 18254056Sganbold# 19254056Sganbold# $FreeBSD: head/sys/arm/conf/A10 300068 2016-05-17 17:46:12Z manu $ 20254056Sganbold 21295464Sandrewident A10 22254056Sganbold 23282576Sandrewinclude "std.armv6" 24295464Sandrewinclude "../allwinner/std.a10" 25254056Sganbold 26298625Smanuoptions INTRNG 27298625Smanu 28295711Sandrewoptions SOC_ALLWINNER_A10 29295711Sandrew 30254056Sganboldoptions HZ=100 31295464Sandrewoptions SCHED_4BSD # 4BSD scheduler 32294698Sandrewoptions PLATFORM 33298854Sandrewoptions MULTIDELAY 34254056Sganbold 35276003Sandrew# Debugging for use in -current 36263245Simpmakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 37283547Sianoptions ALT_BREAK_TO_DEBUGGER 38263245Simp#options VERBOSE_SYSINIT # Enable verbose sysinit messages 39276003Sandrewoptions KDB # Enable kernel debugger support 40276003Sandrew# For minimum debugger support (stable branch) use: 41276003Sandrew#options KDB_TRACE # Print a stack trace for a panic 42276003Sandrew# For full debugger support use this instead: 43263245Simpoptions DDB # Enable the kernel debugger 44263245Simpoptions INVARIANTS # Enable calls of extra sanity checking 45263245Simpoptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 46275962Sandrewoptions WITNESS # Enable checks to detect deadlocks and cycles 47263245Simpoptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 48254056Sganbold#options DIAGNOSTIC 49254056Sganbold 50276003Sandrew# NFS root from boopt/dhcp 51276003Sandrew#options BOOTP 52254056Sganbold#options BOOTP_NFSROOT 53254056Sganbold#options BOOTP_COMPAT 54254056Sganbold#options BOOTP_NFSV3 55295464Sandrew#options BOOTP_WIRED_TO=emac0 56254056Sganbold 57297627Sjmcneill# EXT_RESOURCES pseudo devices 58297627Sjmcneilloptions EXT_RESOURCES 59297627Sjmcneilldevice clk 60297627Sjmcneilldevice phy 61297627Sjmcneilldevice hwreset 62297627Sjmcneilldevice regulator 63297627Sjmcneill 64276003Sandrew# MMC/SD/SDIO Card slot support 65283253Sloosdevice mmc # mmc/sd bus 66283253Sloosdevice mmcsd # mmc/sd flash cards 67254056Sganbold 68254056Sganbold# ATA controllers 69285090Sloosdevice ahci # AHCI-compatible SATA controllers 70275962Sandrew#device ata # Legacy ATA/SATA controllers 71254056Sganbold 72254056Sganbold# Console and misc 73254056Sganbolddevice uart 74297496Sjmcneilldevice uart_snps 75254056Sganbolddevice pty 76254056Sganbolddevice snp 77254056Sganbolddevice md 78254056Sganbolddevice random # Entropy device 79254056Sganbold 80254056Sganbold# I2C support 81295626Sandrewdevice iicbus 82295626Sandrewdevice iic 83295626Sandrewdevice twsi 84295635Sandrewdevice axp209 # AXP209 Power Management Unit 85254056Sganbold 86254056Sganbold# GPIO 87254056Sganbolddevice gpio 88287316Sloosdevice gpioled 89254056Sganbold 90270912Simpdevice scbus # SCSI bus (required for ATA/SCSI) 91254056Sganbolddevice da # Direct Access (disks) 92285090Sloosdevice pass # Passthrough device (direct ATA/SCSI access) 93254056Sganbold 94254056Sganbold# USB support 95261572Sianoptions USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 96254056Sganbolddevice usb 97254056Sganboldoptions USB_DEBUG 98254056Sganbold#options USB_REQ_DEBUG 99254056Sganbold#options USB_VERBOSE 100275962Sandrew#device uhci 101300068Smanudevice ohci 102254056Sganbolddevice ehci 103254056Sganbold 104254056Sganbolddevice umass 105254056Sganbold 106254056Sganbold# Ethernet 107254056Sganbolddevice loop 108254056Sganbolddevice ether 109254056Sganbolddevice mii 110254056Sganbolddevice bpf 111254056Sganbold 112295464Sandrewdevice emac 113262711Sganbold 114254056Sganbold# USB ethernet support, requires miibus 115254056Sganbolddevice miibus 116254056Sganbold 117295711Sandrew# Pinmux 118295711Sandrewdevice fdt_pinctrl 119295711Sandrew 120254056Sganbold# Flattened Device Tree 121276003Sandrewoptions FDT # Configure using FDT/DTB data 122281799Sloosmakeoptions MODULES_EXTRA=dtb/allwinner 123