freebsd-skq/sys/mips/conf/AP96
adrian 7ef027ad20 Convert AP96 to use the mdioproxy and ARGE_MDIO option.
arge1 still works (it's the standalone PHY) but arge0 and the other switch
ports don't work.  They're enumerated though, demonstrating that the
mdiobus abstraction is correctly working.
2012-05-01 06:21:02 +00:00

47 lines
1.1 KiB
Plaintext

#
# Specific board setup for the Atheros AP96 reference board.
#
# The AP96 has the following hardware:
#
# + AR7161 CPU SoC
# + AR9223 2.4GHz 11n
# + AR9220 5GHz 11n
# + AR8316 10/100/1000 switch
# + m25p64 based 8MB flash
# + 64mb RAM
# + uboot environment
# $FreeBSD$
include "AR71XX_BASE"
ident "AP96"
hints "AP96.hints"
options AR71XX_REALMEM=64*1024*1024
options AR71XX_ENV_UBOOT
# For DOS - enable if required
options GEOM_PART_BSD
options GEOM_PART_MBR
options MSDOSFS
# uncompress - to boot read-only lzma natively from flash
device geom_uzip
options GEOM_UZIP
# Used for the static uboot partition map
device geom_map
# Boot off of the rootfs, as defined in the geom_map setup.
options ROOTDEVNAME=\"ufs:map/rootfs.uzip\"
# 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
# Options required for miiproxy and mdiobus
options ARGE_MDIO # Export an MDIO bus separate from arge
device miiproxy # MDIO bus <-> MII PHY rendezvous