A10 revision 297627
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 297627 2016-04-06 23:11:03Z jmcneill $ 20254056Sganbold 21295464Sandrewident A10 22254056Sganbold 23282576Sandrewinclude "std.armv6" 24295464Sandrewinclude "../allwinner/std.a10" 25254056Sganbold 26295711Sandrewoptions SOC_ALLWINNER_A10 27295711Sandrew 28254056Sganboldoptions HZ=100 29295464Sandrewoptions SCHED_4BSD # 4BSD scheduler 30294698Sandrewoptions PLATFORM 31254056Sganbold 32276003Sandrew# Debugging for use in -current 33263245Simpmakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 34283547Sianoptions ALT_BREAK_TO_DEBUGGER 35263245Simp#options VERBOSE_SYSINIT # Enable verbose sysinit messages 36276003Sandrewoptions KDB # Enable kernel debugger support 37276003Sandrew# For minimum debugger support (stable branch) use: 38276003Sandrew#options KDB_TRACE # Print a stack trace for a panic 39276003Sandrew# For full debugger support use this instead: 40263245Simpoptions DDB # Enable the kernel debugger 41263245Simpoptions INVARIANTS # Enable calls of extra sanity checking 42263245Simpoptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 43275962Sandrewoptions WITNESS # Enable checks to detect deadlocks and cycles 44263245Simpoptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 45254056Sganbold#options DIAGNOSTIC 46254056Sganbold 47276003Sandrew# NFS root from boopt/dhcp 48276003Sandrew#options BOOTP 49254056Sganbold#options BOOTP_NFSROOT 50254056Sganbold#options BOOTP_COMPAT 51254056Sganbold#options BOOTP_NFSV3 52295464Sandrew#options BOOTP_WIRED_TO=emac0 53254056Sganbold 54297627Sjmcneill# EXT_RESOURCES pseudo devices 55297627Sjmcneilloptions EXT_RESOURCES 56297627Sjmcneilldevice clk 57297627Sjmcneilldevice phy 58297627Sjmcneilldevice hwreset 59297627Sjmcneilldevice regulator 60297627Sjmcneill 61276003Sandrew# MMC/SD/SDIO Card slot support 62283253Sloosdevice mmc # mmc/sd bus 63283253Sloosdevice mmcsd # mmc/sd flash cards 64254056Sganbold 65254056Sganbold# ATA controllers 66285090Sloosdevice ahci # AHCI-compatible SATA controllers 67275962Sandrew#device ata # Legacy ATA/SATA controllers 68254056Sganbold 69254056Sganbold# Console and misc 70254056Sganbolddevice uart 71297496Sjmcneilldevice uart_snps 72254056Sganbolddevice pty 73254056Sganbolddevice snp 74254056Sganbolddevice md 75254056Sganbolddevice random # Entropy device 76254056Sganbold 77254056Sganbold# I2C support 78295626Sandrewdevice iicbus 79295626Sandrewdevice iic 80295626Sandrewdevice twsi 81295635Sandrewdevice axp209 # AXP209 Power Management Unit 82254056Sganbold 83254056Sganbold# GPIO 84254056Sganbolddevice gpio 85287316Sloosdevice gpioled 86254056Sganbold 87270912Simpdevice scbus # SCSI bus (required for ATA/SCSI) 88254056Sganbolddevice da # Direct Access (disks) 89285090Sloosdevice pass # Passthrough device (direct ATA/SCSI access) 90254056Sganbold 91254056Sganbold# USB support 92261572Sianoptions USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 93254056Sganbolddevice usb 94254056Sganboldoptions USB_DEBUG 95254056Sganbold#options USB_REQ_DEBUG 96254056Sganbold#options USB_VERBOSE 97275962Sandrew#device uhci 98275962Sandrew#device ohci 99254056Sganbolddevice ehci 100254056Sganbold 101254056Sganbolddevice umass 102254056Sganbold 103254056Sganbold# Ethernet 104254056Sganbolddevice loop 105254056Sganbolddevice ether 106254056Sganbolddevice mii 107254056Sganbolddevice bpf 108254056Sganbold 109295464Sandrewdevice emac 110262711Sganbold 111254056Sganbold# USB ethernet support, requires miibus 112254056Sganbolddevice miibus 113254056Sganbold 114295711Sandrew# Pinmux 115295711Sandrewdevice fdt_pinctrl 116295711Sandrew 117254056Sganbold# Flattened Device Tree 118276003Sandrewoptions FDT # Configure using FDT/DTB data 119281799Sloosmakeoptions MODULES_EXTRA=dtb/allwinner 120