xref: /f-stack/freebsd/mips/conf/TP-MR3020 (revision 22ce4aff)
1a9643ea8Slogwang#
2a9643ea8Slogwang# TP Link MR3020 - an AR9331 based SoC wifi device.
3a9643ea8Slogwang#
4a9643ea8Slogwang# This is for the 32 RAM/4 flash part. There is little to no
5a9643ea8Slogwang# chance that this will ever boot FreeBSD directly from the 3.5MB
6a9643ea8Slogwang# of flash.  The kernel can fit into the space, but userland is just
7a9643ea8Slogwang# too big even when stripped down to its limits.
8a9643ea8Slogwang#
9a9643ea8Slogwang# * AR9331 SoC
10a9643ea8Slogwang# * 32MB RAM
11a9643ea8Slogwang# * 4MB flash
12a9643ea8Slogwang# * Integrated 1x1 2GHz wifi and 10/100 bridge
13a9643ea8Slogwang# * USB powered
14a9643ea8Slogwang# * USB storage
15a9643ea8Slogwang#
16a9643ea8Slogwang# $FreeBSD$
17a9643ea8Slogwang#
18a9643ea8Slogwang
19a9643ea8Slogwang#NO_UNIVERSE
20a9643ea8Slogwang
21a9643ea8Slogwang# Include the default AR933x parameters
22*22ce4affSfengbojianginclude	"std.AR933X"
23a9643ea8Slogwang
24a9643ea8Slogwangident	TP-MR3020
25a9643ea8Slogwang
26a9643ea8Slogwang# Override hints with board values
27a9643ea8Slogwanghints	"TP-MR3020.hints"
28a9643ea8Slogwang
29a9643ea8Slogwang# Board memory - 32MB
30a9643ea8Slogwangoptions	AR71XX_REALMEM=(32*1024*1024)
31a9643ea8Slogwang
32a9643ea8Slogwang# Disable support for paging
33a9643ea8Slogwangoptions		NO_SWAPPING
34a9643ea8Slogwang
35a9643ea8Slogwang# i2c GPIO bus
36a9643ea8Slogwangdevice	gpioiic
37a9643ea8Slogwangdevice	iicbb
38a9643ea8Slogwangdevice	iicbus
39a9643ea8Slogwangdevice	iic
40a9643ea8Slogwang
41a9643ea8Slogwang# Options required for miiproxy and mdiobus
42a9643ea8Slogwangoptions	ARGE_MDIO	# Export an MDIO bus separate from arge
43a9643ea8Slogwangdevice	miiproxy	# MDIO bus <-> MII PHY rendezvous
44a9643ea8Slogwang
45a9643ea8Slogwangdevice	etherswitch
46a9643ea8Slogwangdevice	arswitch
47a9643ea8Slogwang
48a9643ea8Slogwang# Enable the uboot environment stuff rather then the
49a9643ea8Slogwang# redboot stuff.
50a9643ea8Slogwangoptions	AR71XX_ENV_UBOOT
51a9643ea8Slogwang
52a9643ea8Slogwang# Used for the static uboot partition map
53a9643ea8Slogwangdevice	geom_map
54a9643ea8Slogwang
55a9643ea8Slogwang# With only 4MB of flash, we are stuck using USB
56a9643ea8Slogwang# for the rootfs.
57a9643ea8Slogwangoptions		ROOTDEVNAME=\"ufs:da0\"
58