xref: /f-stack/freebsd/mips/conf/ROCKET_M2HP (revision 22ce4aff)
1*22ce4affSfengbojiang#
2*22ce4affSfengbojiang# Specific board setup for the Rocket M2 HP board.
3*22ce4affSfengbojiang#
4*22ce4affSfengbojiang# This board has the following hardware:
5*22ce4affSfengbojiang#
6*22ce4affSfengbojiang# + AR7241 CPU SoC
7*22ce4affSfengbojiang# + AR9287 Wifi
8*22ce4affSfengbojiang# + Integrated switch (XXX speed?)
9*22ce4affSfengbojiang# + 8MB flash
10*22ce4affSfengbojiang# + 32MB RAM
11*22ce4affSfengbojiang# + uboot environment
12*22ce4affSfengbojiang
13*22ce4affSfengbojiang# $FreeBSD$
14*22ce4affSfengbojiang
15*22ce4affSfengbojiang#NO_UNIVERSE
16*22ce4affSfengbojiang
17*22ce4affSfengbojianginclude		"std.AR724X"
18*22ce4affSfengbojiangident		"ROCKET_M2HP"
19*22ce4affSfengbojianghints		"ROCKET_M2HP.hints"
20*22ce4affSfengbojiang
21*22ce4affSfengbojiangoptions 	AR71XX_REALMEM=32*1024*1024
22*22ce4affSfengbojiang
23*22ce4affSfengbojiangoptions 	AR71XX_ENV_UBOOT
24*22ce4affSfengbojiang
25*22ce4affSfengbojiang# Limit inlines
26*22ce4affSfengbojiangmakeoptions	INLINE_LIMIT=768
27*22ce4affSfengbojiang
28*22ce4affSfengbojiang# We bite the performance overhead for now; the kernel won't
29*22ce4affSfengbojiang# fit if the mutexes are inlined.
30*22ce4affSfengbojiangoptions 	MUTEX_NOINLINE
31*22ce4affSfengbojiangoptions 	RWLOCK_NOINLINE
32*22ce4affSfengbojiangoptions 	SX_NOINLINE
33*22ce4affSfengbojiang
34*22ce4affSfengbojiang# There's no need to enable swapping on this platform.
35*22ce4affSfengbojiangoptions 	NO_SWAPPING
36*22ce4affSfengbojiang
37*22ce4affSfengbojiang# For DOS - enable if required
38*22ce4affSfengbojiang# options 	MSDOSFS
39*22ce4affSfengbojiang
40*22ce4affSfengbojiang# uncompress - to boot read-only lzma natively from flash
41*22ce4affSfengbojiangdevice		xz
42*22ce4affSfengbojiangoptions 	GEOM_UZIP
43*22ce4affSfengbojiangoptions 	ROOTDEVNAME=\"ufs:/dev/map/rootfs.uzip\"
44*22ce4affSfengbojiang
45*22ce4affSfengbojiang# Not enough space for these..
46*22ce4affSfengbojiangnooptions 	INVARIANTS
47*22ce4affSfengbojiangnooptions 	INVARIANT_SUPPORT
48*22ce4affSfengbojiangnooptions 	WITNESS
49*22ce4affSfengbojiangnooptions 	WITNESS_SKIPSPIN
50*22ce4affSfengbojiangnooptions 	DEBUG_REDZONE
51*22ce4affSfengbojiangnooptions 	DEBUG_MEMGUARD
52*22ce4affSfengbojiang
53*22ce4affSfengbojiang# Used for the static uboot partition map
54*22ce4affSfengbojiangdevice          geom_map
55*22ce4affSfengbojiang
56*22ce4affSfengbojiang# Options needed for the EEPROM based calibration/PCI configuration data.
57*22ce4affSfengbojiangoptions 	AR71XX_ATH_EEPROM	# Fetch EEPROM/PCI config from flash
58*22ce4affSfengbojiangoptions 	ATH_EEPROM_FIRMWARE	# Use EEPROM from flash
59*22ce4affSfengbojiangdevice		firmware		# Used by the above
60*22ce4affSfengbojiang
61*22ce4affSfengbojiang# Options required for miiproxy and mdiobus
62*22ce4affSfengbojiangoptions 	ARGE_MDIO		# Export an MDIO bus separate from arge
63*22ce4affSfengbojiangdevice		miiproxy		# MDIO bus <-> MII PHY rendezvous
64*22ce4affSfengbojiang
65*22ce4affSfengbojiangdevice		etherswitch
66*22ce4affSfengbojiangdevice		arswitch
67*22ce4affSfengbojiang
68*22ce4affSfengbojiang# Enable GPIO
69*22ce4affSfengbojiangdevice         gpio
70*22ce4affSfengbojiangdevice         gpioled
71