xref: /f-stack/freebsd/mips/conf/AP135 (revision 22ce4aff)
1a9643ea8Slogwang#
2a9643ea8Slogwang# AP135 - the QCA955x SoC reference design
3a9643ea8Slogwang#
4a9643ea8Slogwang# This contains a QCA9558 MIPS74k SoC with on-board 3x3 2GHz wifi,
5a9643ea8Slogwang# 128MiB RAM, an AR8327 5-port gigabit ethernet switch and
6a9643ea8Slogwang# a QCA 11ac 5GHz AP NIC.
7a9643ea8Slogwang#
8a9643ea8Slogwang# The to things not currently support are the QCA 11ac NIC and
9a9643ea8Slogwang# PCIe host controllers - there's two of them, and the existing
10a9643ea8Slogwang# PCIe code here doesn't support that just yet.
11a9643ea8Slogwang#
12a9643ea8Slogwang# $FreeBSD$
13a9643ea8Slogwang#
14a9643ea8Slogwang
15a9643ea8Slogwang#NO_UNIVERSE
16a9643ea8Slogwang
17a9643ea8Slogwang# Include the default QCA955x parameters
18*22ce4affSfengbojianginclude         "std.QCA955X"
19a9643ea8Slogwang
20a9643ea8Slogwangident           AP135
21a9643ea8Slogwang
22a9643ea8Slogwang# Override hints with board values
23a9643ea8Slogwanghints           "AP135.hints"
24a9643ea8Slogwang
25a9643ea8Slogwang# Force the board memory - the base AP135 has 128MB RAM
26a9643ea8Slogwangoptions         AR71XX_REALMEM=(128*1024*1024)
27a9643ea8Slogwang
28a9643ea8Slogwang# i2c GPIO bus
29a9643ea8Slogwang#device		gpioiic
30a9643ea8Slogwang#device		iicbb
31a9643ea8Slogwang#device		iicbus
32a9643ea8Slogwang#device		iic
33a9643ea8Slogwang
34a9643ea8Slogwang# Options required for miiproxy and mdiobus
35a9643ea8Slogwangoptions 	ARGE_MDIO	# Export an MDIO bus separate from arge
36a9643ea8Slogwangdevice		miiproxy	# MDIO bus <-> MII PHY rendezvous
37a9643ea8Slogwang
38a9643ea8Slogwangdevice		etherswitch
39a9643ea8Slogwangdevice		arswitch
40a9643ea8Slogwang
41a9643ea8Slogwang# read MSDOS formatted disks - USB
42a9643ea8Slogwang#options 	MSDOSFS
43a9643ea8Slogwang
44a9643ea8Slogwang# Enable the uboot environment stuff rather then the
45a9643ea8Slogwang# redboot stuff.
46a9643ea8Slogwangoptions 	AR71XX_ENV_UBOOT
47a9643ea8Slogwang
48a9643ea8Slogwang# uzip - to boot natively from flash
49*22ce4affSfengbojiangdevice		xz
50a9643ea8Slogwangoptions 	GEOM_UZIP
51a9643ea8Slogwang
52a9643ea8Slogwang# Used for the static uboot partition map
53a9643ea8Slogwangdevice          geom_map
54a9643ea8Slogwang
55a9643ea8Slogwang# yes, this board has a PCIe connected atheros device
56a9643ea8Slogwang# add ath_pci so it can at least attach things when there's a
57a9643ea8Slogwang# ath(4) in there, rather than the 11ac chip we don't support.
58a9643ea8Slogwangdevice		pci
59a9643ea8Slogwangdevice		qca955x_pci
60a9643ea8Slogwang
61a9643ea8Slogwangdevice		firmware		# Used by the above
62*22ce4affSfengbojiangoptions 	AR71XX_ATH_EEPROM
63a9643ea8Slogwangoptions 	ATH_EEPROM_FIRMWARE
64a9643ea8Slogwang
65a9643ea8Slogwang# Boot off of the rootfs, as defined in the geom_map setup.
66a9643ea8Slogwangoptions 	ROOTDEVNAME=\"ufs:map/rootfs.uzip\"
67