1255086Shiren# 2255086Shiren# Specific board setup for the Picostation M2 HP board. 3255086Shiren# 4255086Shiren# This board has the following hardware: 5255086Shiren# 6255086Shiren# + AR7241 CPU SoC 7255086Shiren# + AR9287 Wifi 8255086Shiren# + Integrated switch (XXX speed?) 9255086Shiren# + 8MB flash 10255086Shiren# + 32MB RAM 11255086Shiren# + uboot environment 12255086Shiren 13255086Shiren# $FreeBSD$ 14255086Shiren 15255086Shireninclude "AR724X_BASE" 16255086Shirenident "PICOSTATION_M2HP" 17255086Shirenhints "PICOSTATION_M2HP.hints" 18255086Shiren 19266331Sianoptions AR71XX_REALMEM=32*1024*1024 20255086Shiren 21266331Sianoptions AR71XX_ENV_UBOOT 22255086Shiren 23255086Shiren# Limit inlines 24255086Shirenmakeoptions INLINE_LIMIT=768 25255086Shiren 26255086Shiren# We bite the performance overhead for now; the kernel won't 27255086Shiren# fit if the mutexes are inlined. 28255086Shirenoptions MUTEX_NOINLINE 29255086Shirenoptions RWLOCK_NOINLINE 30255086Shirenoptions SX_NOINLINE 31255086Shiren 32255086Shiren# There's no need to enable swapping on this platform. 33255086Shirenoptions NO_SWAPPING 34255086Shiren 35255086Shiren# For DOS - enable if required 36255086Shiren# options MSDOSFS 37255086Shiren 38255086Shiren# uncompress - to boot read-only lzma natively from flash 39255086Shirendevice geom_uncompress 40266331Sianoptions GEOM_UNCOMPRESS 41266331Sianoptions ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\" 42255086Shiren 43255086Shiren# Not enough space for these.. 44255086Shirennooptions INVARIANTS 45255086Shirennooptions INVARIANT_SUPPORT 46255086Shirennooptions WITNESS 47255086Shirennooptions WITNESS_SKIPSPIN 48255086Shirennooptions DEBUG_REDZONE 49255086Shirennooptions DEBUG_MEMGUARD 50255086Shiren 51255086Shiren# Used for the static uboot partition map 52255086Shirendevice geom_map 53255086Shiren 54255086Shiren# Options needed for the EEPROM based calibration/PCI configuration data. 55255086Shirenoptions AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash 56255086Shirenoptions ATH_EEPROM_FIRMWARE # Use EEPROM from flash 57255086Shirendevice firmware # Used by the above 58255086Shiren 59255086Shiren# Options required for miiproxy and mdiobus 60255086Shirenoptions ARGE_MDIO # Export an MDIO bus separate from arge 61255086Shirendevice miiproxy # MDIO bus <-> MII PHY rendezvous 62255086Shiren 63255086Shirendevice etherswitch 64255086Shirendevice arswitch 65255086Shiren 66255086Shiren# Enable GPIO 67255086Shirendevice gpio 68255086Shirendevice gpioled 69