xref: /f-stack/freebsd/mips/conf/ALFA_HORNET_UB (revision a9643ea8)
1*a9643ea8Slogwang#
2*a9643ea8Slogwang# Alfa Networks Hornet UB - an AR933x based SoC wifi device.
3*a9643ea8Slogwang#
4*a9643ea8Slogwang# http://www.alfa.com.tw/products_show.php?pc=99&ps=50
5*a9643ea8Slogwang#
6*a9643ea8Slogwang# This is for the 64MB RAM/16MB flash part.  They also
7*a9643ea8Slogwang# do various other versions; they have different RAM/flash
8*a9643ea8Slogwang# configurations.
9*a9643ea8Slogwang#
10*a9643ea8Slogwang# * AR9330 SoC
11*a9643ea8Slogwang# * 64MB RAM
12*a9643ea8Slogwang# * 16MB flash
13*a9643ea8Slogwang# * Integrated 1x1 2GHz wifi and 10/100 bridge
14*a9643ea8Slogwang#
15*a9643ea8Slogwang# $FreeBSD$
16*a9643ea8Slogwang#
17*a9643ea8Slogwang
18*a9643ea8Slogwang#NO_UNIVERSE
19*a9643ea8Slogwang
20*a9643ea8Slogwang# Include the default AR933x parameters
21*a9643ea8Slogwanginclude         "AR933X_BASE"
22*a9643ea8Slogwang
23*a9643ea8Slogwangident           ALFA_HORNET_UB
24*a9643ea8Slogwang
25*a9643ea8Slogwang# Override hints with board values
26*a9643ea8Slogwanghints           "ALFA_HORNET_UB.hints"
27*a9643ea8Slogwang
28*a9643ea8Slogwang# Board memory - 64MB
29*a9643ea8Slogwangoptions         AR71XX_REALMEM=(64*1024*1024)
30*a9643ea8Slogwang
31*a9643ea8Slogwang# i2c GPIO bus
32*a9643ea8Slogwang#device		gpioiic
33*a9643ea8Slogwang#device		iicbb
34*a9643ea8Slogwang#device		iicbus
35*a9643ea8Slogwang#device		iic
36*a9643ea8Slogwang
37*a9643ea8Slogwang# Options required for miiproxy and mdiobus
38*a9643ea8Slogwangoptions 	ARGE_MDIO	# Export an MDIO bus separate from arge
39*a9643ea8Slogwangdevice		miiproxy	# MDIO bus <-> MII PHY rendezvous
40*a9643ea8Slogwang
41*a9643ea8Slogwangdevice		etherswitch
42*a9643ea8Slogwangdevice		arswitch
43*a9643ea8Slogwang
44*a9643ea8Slogwang# read MSDOS formatted disks - USB
45*a9643ea8Slogwang#options 	MSDOSFS
46*a9643ea8Slogwang
47*a9643ea8Slogwang# Enable the uboot environment stuff rather then the
48*a9643ea8Slogwang# redboot stuff.
49*a9643ea8Slogwangoptions 	AR71XX_ENV_UBOOT
50*a9643ea8Slogwang
51*a9643ea8Slogwang# uzip - to boot natively from flash
52*a9643ea8Slogwangdevice		geom_uzip
53*a9643ea8Slogwangoptions 	GEOM_UZIP
54*a9643ea8Slogwang
55*a9643ea8Slogwang# Used for the static uboot partition map
56*a9643ea8Slogwangdevice          geom_map
57*a9643ea8Slogwang
58*a9643ea8Slogwang# Boot off of the rootfs, as defined in the geom_map setup.
59*a9643ea8Slogwangoptions 	ROOTDEVNAME=\"ufs:map/rootfs.uzip\"
60