1255086Shiren#
2255086Shiren# Specific board setup for the Picostation M2 HP board.
3255086Shiren#
4255086Shiren# This board has the following hardware:
5255086Shiren#
6255086Shiren# + AR7241 CPU SoC
7255086Shiren# + AR9287 Wifi
8255086Shiren# + Integrated switch (XXX speed?)
9255086Shiren# + 8MB flash
10255086Shiren# + 32MB RAM
11255086Shiren# + uboot environment
12255086Shiren
13255086Shiren# $FreeBSD: stable/11/sys/mips/conf/PICOSTATION_M2HP 345344 2019-03-20 18:49:45Z kib $
14255086Shiren
15291049Simp#NO_UNIVERSE
16291049Simp
17255086Shireninclude		"AR724X_BASE"
18255086Shirenident		"PICOSTATION_M2HP"
19255086Shirenhints		"PICOSTATION_M2HP.hints"
20255086Shiren
21263301Simpoptions 	AR71XX_REALMEM=32*1024*1024
22255086Shiren
23263301Simpoptions 	AR71XX_ENV_UBOOT
24255086Shiren
25255086Shiren# Limit inlines
26255086Shirenmakeoptions	INLINE_LIMIT=768
27255086Shiren
28255086Shiren# We bite the performance overhead for now; the kernel won't
29255086Shiren# fit if the mutexes are inlined.
30255086Shirenoptions 	MUTEX_NOINLINE
31255086Shirenoptions 	RWLOCK_NOINLINE
32255086Shirenoptions 	SX_NOINLINE
33255086Shiren
34255086Shiren# There's no need to enable swapping on this platform.
35255086Shirenoptions 	NO_SWAPPING
36255086Shiren
37255086Shiren# For DOS - enable if required
38255086Shiren# options 	MSDOSFS
39255086Shiren
40255086Shiren# uncompress - to boot read-only lzma natively from flash
41345344Skibdevice		xz
42295945Ssobomaxoptions 	GEOM_UZIP
43295945Ssobomaxoptions 	ROOTDEVNAME=\"ufs:/dev/map/rootfs.uzip\"
44255086Shiren
45255086Shiren# Not enough space for these..
46255086Shirennooptions 	INVARIANTS
47255086Shirennooptions 	INVARIANT_SUPPORT
48255086Shirennooptions 	WITNESS
49255086Shirennooptions 	WITNESS_SKIPSPIN
50255086Shirennooptions 	DEBUG_REDZONE
51255086Shirennooptions 	DEBUG_MEMGUARD
52255086Shiren
53255086Shiren# Used for the static uboot partition map
54255086Shirendevice          geom_map
55255086Shiren
56255086Shiren# Options needed for the EEPROM based calibration/PCI configuration data.
57255086Shirenoptions 	AR71XX_ATH_EEPROM	# Fetch EEPROM/PCI config from flash
58255086Shirenoptions 	ATH_EEPROM_FIRMWARE	# Use EEPROM from flash
59255086Shirendevice		firmware		# Used by the above
60255086Shiren
61255086Shiren# Options required for miiproxy and mdiobus
62255086Shirenoptions 	ARGE_MDIO		# Export an MDIO bus separate from arge
63255086Shirendevice		miiproxy		# MDIO bus <-> MII PHY rendezvous
64255086Shiren
65255086Shirendevice		etherswitch
66255086Shirendevice		arswitch
67255086Shiren
68255086Shiren# Enable GPIO
69255086Shirendevice         gpio
70255086Shirendevice         gpioled
71