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