freebsd-dev/sys/mips/conf/AP135
Adrian Chadd 3d191bf47c QCA955x / AP135 platform tidyups.
* Change mips24k -> mips74k for hwpmc, but leave it disabled for now.
* don't build pci by default.
* build pci and qca955x_pci for AP135, as theres a PCIe NIC.
* don't build a hwpmc module, it doesn't really work out well
  for the mips boards at the moment.
* add ipfw and DEFAULT_TO_ACCEPT.
2015-05-19 05:41:00 +00:00

69 lines
1.7 KiB
Plaintext

#
# AP135 - the QCA955x SoC reference design
#
# This contains a QCA9558 MIPS74k SoC with on-board 3x3 2GHz wifi,
# 128MiB RAM, an AR8327 5-port gigabit ethernet switch and
# a QCA 11ac 5GHz AP NIC.
#
# The to things not currently support are the QCA 11ac NIC and
# PCIe host controllers - there's two of them, and the existing
# PCIe code here doesn't support that just yet.
#
# $FreeBSD$
#
# Include the default QCA955x parameters
include "QCA955X_BASE"
ident AP135
# Override hints with board values
hints "AP135.hints"
# Force the board memory - the base AP135 has 128MB RAM
options AR71XX_REALMEM=(128*1024*1024)
# i2c GPIO bus
#device gpioiic
#device iicbb
#device iicbus
#device iic
# Options required for miiproxy and mdiobus
options ARGE_MDIO # Export an MDIO bus separate from arge
device miiproxy # MDIO bus <-> MII PHY rendezvous
device etherswitch
device arswitch
# read MSDOS formatted disks - USB
#options MSDOSFS
# Enable the uboot environment stuff rather then the
# redboot stuff.
options AR71XX_ENV_UBOOT
# uzip - to boot natively from flash
device geom_uncompress
options GEOM_UNCOMPRESS
# Used for the static uboot partition map
device geom_map
# yes, this board has a PCIe connected atheros device
# add ath_pci so it can at least attach things when there's a
# ath(4) in there, rather than the 11ac chip we don't support.
device pci
device qca955x_pci
device ath_pci
options AR71XX_ATH_EEPROM
device firmware # Used by the above
options ATH_EEPROM_FIRMWARE
# Boot off of the rootfs, as defined in the geom_map setup.
options ROOTDEVNAME=\"ufs:map/rootfs.uncompress\"
# Default to accept
options IPFIREWALL_DEFAULT_TO_ACCEPT