freebsd-skq/sys/mips/conf/TL-ARCHERC7V2
Adrian Chadd b14a705362 Add initial support for the TP-Link Archer C7 v2.
The SoC, the flash, the ethernet ports and ethernet switch all work.
The USB works.

The 11ac PCIe NIC internally is at least seen by the PCIE RC, but
I haven't tried using it yet.  There's no driver and I haven't
yet swapped it out for a non-11ac chip.

The on-chip 2GHz wifi works, but there are some data errors that
get thrown up in STA mode when scanning.  I have a feeling I have
to finish the DDR flush code out and have it run correctly on the
shared interrupts; that'll take a bit of time to get right.

But if you're after an updated piece of hardware, the Archer C7 v2
is certainly there, and you can replace the 11ac NIC with a 3x3
Atheros PCIe device (eg AR9380, AR9390, AR9580, etc) and it'll
"just work".

Tested:

* TP-Link archer c7v2.
2015-07-03 06:09:56 +00:00

69 lines
1.7 KiB
Plaintext

#
# TP-Link Archer C7 - based on the AP135 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 TL-ARCHERC7V2
# Override hints with board values
hints "TL-ARCHERC7V2.hints"
# Force the board memory - this has 128MiB 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