1275057Ssbruno#
2275057Ssbruno# Specific board setup for the Buffalo Airstation WZR-HPAG300H
3275057Ssbruno#
4275057Ssbruno# The WZR-HPAG300H has the following hardware:
5275057Ssbruno#
6275057Ssbruno# + AR7161 CPU SoC
7275057Ssbruno# + 2x AR9280 5GHz 11n
8275057Ssbruno# + AR8136 Gigabit switch
9275057Ssbruno# + 2 m25ll128(really w25q128)  based 16MB flash
10275057Ssbruno# + 128MB RAM
11275057Ssbruno# + uboot environment
12275057Ssbruno
13275057Ssbruno# $FreeBSD: stable/11/sys/mips/conf/WZR-HPAG300H 345344 2019-03-20 18:49:45Z kib $
14275057Ssbruno
15291049Simp#NO_UNIVERSE
16291049Simp
17275057Ssbrunoinclude		"AR71XX_BASE"
18275057Ssbrunoident		"WZR-HPAG300H"
19275057Ssbrunohints		"WZR-HPAG300H.hints"
20275057Ssbruno
21275057Ssbrunooptions 	AR71XX_REALMEM=128*1024*1024
22275057Ssbruno
23275057Ssbrunooptions 	AR71XX_ENV_UBOOT
24275057Ssbruno
25275057Ssbrunooptions 	BOOTVERBOSE
26275057Ssbruno
27275057Ssbruno# GEOM modules
28345344Skibdevice		xz
29345344Skiboptions		GEOM_UZIP
30275057Ssbrunodevice		geom_map	# to get access to the SPI flash partitions
31275057Ssbruno
32295945Ssobomaxoptions 	ROOTDEVNAME=\"ufs:/dev/map/rootfs.uzip\"
33275057Ssbruno
34275057Ssbrunooptions 	AR71XX_ATH_EEPROM	# Fetch EEPROM/PCI config from flash
35275057Ssbrunooptions 	ATH_EEPROM_FIRMWARE	# Use EEPROM from flash
36275057Ssbrunodevice		firmware		# Used by the above
37275057Ssbruno
38275057Ssbruno# Options required for miiproxy and mdiobus
39275057Ssbrunooptions         ARGE_MDIO               # Export an MDIO bus separate from arge
40275057Ssbrunodevice          miiproxy                # MDIO bus <-> MII PHY rendezvous
41275057Ssbruno
42275057Ssbrunodevice          etherswitch
43275057Ssbrunodevice          arswitch
44275057Ssbruno
45275057Ssbruno# hwpmc
46275057Ssbrunodevice		hwpmc_mips24k
47275057Ssbrunodevice		hwpmc
48275057Ssbruno
49275057Ssbruno# load these via modules, shrink kernel
50275057Ssbrunonodevice	if_bridge
51275057Ssbrunonodevice	bridgestp
52275057Ssbrunonodevice	random
53