1285079Sadrian#
2285079Sadrian# TP-Link Archer C7 - based on the AP135 reference design.
3285079Sadrian#
4285079Sadrian# This contains a QCA9558 MIPS74k SoC with on-board 3x3 2GHz wifi,
5285079Sadrian# 128MiB RAM, an AR8327 5-port gigabit ethernet switch and
6285079Sadrian# a QCA 11ac 5GHz AP NIC.
7285079Sadrian#
8285079Sadrian# The to things not currently support are the QCA 11ac NIC and
9285079Sadrian# PCIe host controllers - there's two of them, and the existing
10285079Sadrian# PCIe code here doesn't support that just yet.
11285079Sadrian#
12285079Sadrian# $FreeBSD: stable/11/sys/mips/conf/TL-ARCHERC7V2 345344 2019-03-20 18:49:45Z kib $
13285079Sadrian#
14285079Sadrian
15291049Simp#NO_UNIVERSE
16291049Simp
17285079Sadrian# Include the default QCA955x parameters
18285079Sadrianinclude         "QCA955X_BASE"
19285079Sadrian
20285079Sadrianident           TL-ARCHERC7V2
21285079Sadrian
22285079Sadrian# Override hints with board values
23285079Sadrianhints           "TL-ARCHERC7V2.hints"
24285079Sadrian
25285079Sadrian# Force the board memory - this has 128MiB RAM
26285079Sadrianoptions         AR71XX_REALMEM=(128*1024*1024)
27285079Sadrian
28285079Sadrian# i2c GPIO bus
29285079Sadrian#device		gpioiic
30285079Sadrian#device		iicbb
31285079Sadrian#device		iicbus
32285079Sadrian#device		iic
33285079Sadrian
34285079Sadrian# Options required for miiproxy and mdiobus
35285079Sadrianoptions 	ARGE_MDIO	# Export an MDIO bus separate from arge
36285079Sadriandevice		miiproxy	# MDIO bus <-> MII PHY rendezvous
37285079Sadrian
38285079Sadriandevice		etherswitch
39285079Sadriandevice		arswitch
40285079Sadrian
41285079Sadrian# read MSDOS formatted disks - USB
42285079Sadrianoptions 	MSDOSFS
43285079Sadrian
44285079Sadrian# Enable the uboot environment stuff rather then the
45285079Sadrian# redboot stuff.
46285079Sadrianoptions 	AR71XX_ENV_UBOOT
47285079Sadrian
48285079Sadrian# uzip - to boot natively from flash
49345344Skibdevice		xz
50295945Ssobomaxoptions 	GEOM_UZIP
51285079Sadrian
52285079Sadrian# Used for the static uboot partition map
53285079Sadriandevice          geom_map
54285079Sadrian
55285079Sadrian# yes, this board has a PCIe connected atheros device
56285079Sadrian# add ath_pci so it can at least attach things when there's a
57285079Sadrian# ath(4) in there, rather than the 11ac chip we don't support.
58285079Sadriandevice		pci
59285079Sadriandevice		qca955x_pci
60285079Sadrian
61285079Sadriandevice		ath_pci
62285079Sadrianoptions 	AR71XX_ATH_EEPROM
63285079Sadriandevice		firmware		# Used by the above
64285079Sadrianoptions 	ATH_EEPROM_FIRMWARE
65285079Sadrian
66285079Sadrian# Boot off of the rootfs, as defined in the geom_map setup.
67295945Ssobomaxoptions 	ROOTDEVNAME=\"ufs:map/rootfs.uzip\"
68285079Sadrian
69285079Sadrian# Default to accept
70285079Sadrianoptions		IPFIREWALL_DEFAULT_TO_ACCEPT
71