2012-05-12 04:52:59 +00:00
|
|
|
#
|
2012-08-27 21:59:52 +00:00
|
|
|
# Specific board setup for the Atheros AP91 reference board.
|
2012-05-12 04:52:59 +00:00
|
|
|
#
|
2012-08-27 21:59:52 +00:00
|
|
|
# The AP93 has the following hardware:
|
2012-05-12 04:52:59 +00:00
|
|
|
#
|
2012-08-27 21:59:52 +00:00
|
|
|
# + AR7240 CPU SoC
|
|
|
|
# + AR9280 Wifi
|
|
|
|
# + Integrated switch (XXX speed?)
|
|
|
|
# + 16MB flash
|
|
|
|
# + 64MB RAM
|
|
|
|
# + uboot environment
|
2012-05-12 04:52:59 +00:00
|
|
|
|
2012-08-27 21:59:52 +00:00
|
|
|
# $FreeBSD$
|
2012-05-12 04:52:59 +00:00
|
|
|
|
2012-08-27 21:59:52 +00:00
|
|
|
include "AR724X_BASE"
|
|
|
|
ident "AP93"
|
|
|
|
hints "AP93.hints"
|
2012-05-12 04:52:59 +00:00
|
|
|
|
|
|
|
options AR71XX_REALMEM=64*1024*1024
|
|
|
|
|
|
|
|
options AR71XX_ENV_UBOOT
|
|
|
|
|
2012-08-27 21:59:52 +00:00
|
|
|
# For DOS - enable if required
|
|
|
|
options MSDOSFS
|
2012-05-12 04:52:59 +00:00
|
|
|
|
2012-08-27 21:59:52 +00:00
|
|
|
# uncompress - to boot read-only lzma natively from flash
|
2012-05-12 04:52:59 +00:00
|
|
|
device geom_uncompress
|
|
|
|
options GEOM_UNCOMPRESS
|
|
|
|
options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\"
|
|
|
|
|
2012-08-27 21:59:52 +00:00
|
|
|
# Used for the static uboot partition map
|
|
|
|
device geom_map
|
2012-05-12 04:52:59 +00:00
|
|
|
|
2012-08-27 21:59:52 +00:00
|
|
|
# Options needed for the EEPROM based calibration/PCI configuration data.
|
|
|
|
options AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash
|
|
|
|
options ATH_EEPROM_FIRMWARE # Use EEPROM from flash
|
|
|
|
device firmware # Used by the above
|
2012-05-12 04:52:59 +00:00
|
|
|
|
2012-08-27 21:59:52 +00:00
|
|
|
# Options required for miiproxy and mdiobus
|
|
|
|
options ARGE_MDIO # Export an MDIO bus separate from arge
|
|
|
|
device miiproxy # MDIO bus <-> MII PHY rendezvous
|
2012-05-12 04:52:59 +00:00
|
|
|
|
|
|
|
device etherswitch
|
|
|
|
device arswitch
|