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