1239799Sadrian# 2239799Sadrian# Specific board setup for the Atheros AP91 reference board. 3239799Sadrian# 4239799Sadrian# The AP91 has the following hardware: 5239799Sadrian# 6239799Sadrian# + AR7241 CPU SoC 7239799Sadrian# + AR9287 Wifi 8239799Sadrian# + Integrated switch (XXX speed?) 9239799Sadrian# + 4MB flash 10239799Sadrian# + 16MB RAM 11239799Sadrian# + uboot environment 12239799Sadrian 13239799Sadrian# $FreeBSD: stable/11/sys/mips/conf/AP91 345344 2019-03-20 18:49:45Z kib $ 14239799Sadrian 15291049Simp#NO_UNIVERSE 16291049Simp 17239799Sadrianinclude "AR724X_BASE" 18239799Sadrianident "AP91" 19239799Sadrianhints "AP91.hints" 20239799Sadrian 21263301Simpoptions AR71XX_REALMEM=16*1024*1024 22239799Sadrian 23263301Simpoptions AR71XX_ENV_UBOOT 24239799Sadrian 25239799Sadrian# Limit inlines 26239799Sadrianmakeoptions INLINE_LIMIT=768 27239799Sadrian 28239799Sadrian# We bite the performance overhead for now; the kernel won't 29239799Sadrian# fit if the mutexes are inlined. 30239799Sadrianoptions MUTEX_NOINLINE 31239799Sadrianoptions RWLOCK_NOINLINE 32239799Sadrianoptions SX_NOINLINE 33239799Sadrian 34239799Sadrian# There's no need to enable swapping on this platform. 35239799Sadrianoptions NO_SWAPPING 36239799Sadrian 37239799Sadrian# For DOS - enable if required 38239799Sadrian# options MSDOSFS 39239799Sadrian 40239799Sadrian# uncompress - to boot read-only lzma natively from flash 41345344Skibdevice xz 42295945Ssobomaxoptions GEOM_UZIP 43295945Ssobomaxoptions ROOTDEVNAME=\"ufs:/dev/map/rootfs.uzip\" 44239799Sadrian 45239799Sadrian# Not enough space for these.. 46239799Sadriannooptions INVARIANTS 47239799Sadriannooptions INVARIANT_SUPPORT 48239799Sadriannooptions WITNESS 49239799Sadriannooptions WITNESS_SKIPSPIN 50239799Sadriannooptions DEBUG_REDZONE 51239799Sadriannooptions DEBUG_MEMGUARD 52239799Sadrian 53239799Sadrian# Used for the static uboot partition map 54239799Sadriandevice geom_map 55239799Sadrian 56239799Sadrian# Options needed for the EEPROM based calibration/PCI configuration data. 57239799Sadrianoptions AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash 58239799Sadrianoptions ATH_EEPROM_FIRMWARE # Use EEPROM from flash 59239799Sadriandevice firmware # Used by the above 60239799Sadrian 61239799Sadrian# Options required for miiproxy and mdiobus 62239799Sadrianoptions ARGE_MDIO # Export an MDIO bus separate from arge 63239799Sadriandevice miiproxy # MDIO bus <-> MII PHY rendezvous 64239799Sadrian 65239799Sadriandevice etherswitch 66239799Sadriandevice arswitch 67