1# $FreeBSD: releng/10.2/sys/mips/conf/PICOSTATION_M2HP.hints 276716 2015-01-05 19:54:40Z hiren $ 2 3# arge1 MDIO bus 4hint.argemdio.0.at="nexus0" 5hint.argemdio.0.maddr=0x1a000000 6hint.argemdio.0.msize=0x1000 7hint.argemdio.0.order=0 8 9# Override MAC Address with the one on EEPROM 10hint.arge.0.eeprommac=0x1fff0000 11 12# arge0: dedicated switch port; RMII; dedicated PHY 4 on switch, connected 13# via internal switch MDIO bus. 14hint.arge.0.media=100 # Map to 100/full 15hint.arge.0.fduplex=1 # 16hint.arge.0.phymask=0x10 # PHY4 17hint.arge.0.mdio=mdioproxy1 # .. off of the switch mdiobus 18 19# arge1: nail to 1000/full, RMII - connected to the switch 20hint.arge.1.media=1000 # Map to 1000/full 21hint.arge.1.fduplex=1 # 22hint.arge.1.phymask=0x0 # no directly mapped PHYs 23 24# 25# AR7240 switch config 26# 27hint.arswitch.0.at="mdio0" 28hint.arswitch.0.is_7240=1 # We need to be explicitly told this 29hint.arswitch.0.numphys=4 # 4 active switch PHYs (PHY 0 -> 3) 30hint.arswitch.0.phy4cpu=1 # Yes, PHY 4 == dedicated PHY 31hint.arswitch.0.is_rgmii=0 # No, not RGMII 32hint.arswitch.0.is_gmii=0 # No, not GMII 33 34# ath0 hint - pcie slot 0 35hint.pcib.0.bus.0.0.0.ath_fixup_addr=0x1fff1000 36hint.pcib.0.bus.0.0.0.ath_fixup_size=4096 37 38# ath 39hint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware" 40 41# GPIO pins 42# Pin 0: red led (sig1) 43# Pin 1: yellow led (sig2) 44# Pin 11: green len (sig3) 45# Pin 7: green len (sig4) 46# Pin 12: Reset switch 47hint.gpio.0.pinmask=0x1883 48 49# Signal leds 50hint.gpioled.0.at="gpiobus0" 51hint.gpioled.0.name="sig1" 52hint.gpioled.0.pins=0x0001 # pin 0 53hint.gpioled.1.at="gpiobus0" 54hint.gpioled.1.name="sig2" 55hint.gpioled.1.pins=0x0002 # pin 1 56hint.gpioled.2.at="gpiobus0" 57hint.gpioled.2.name="sig3" 58hint.gpioled.2.pins=0x0800 # pin 11 59hint.gpioled.3.at="gpiobus0" 60hint.gpioled.3.name="sig4" 61hint.gpioled.3.pins=0x0080 # pin 7 62 63# GEOM_MAP 64# 65# Picostation M2 HP 66# 67# mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM) 68 69hint.map.0.at="flash/spi0" 70hint.map.0.start=0x00000000 71hint.map.0.end=0x00040000 # 256k u-boot 72hint.map.0.name="u-boot" 73hint.map.0.readonly=1 74 75hint.map.1.at="flash/spi0" 76hint.map.1.start=0x00040000 77hint.map.1.end=0x00050000 # 64k u-boot-env 78hint.map.1.name="u-boot-env" 79hint.map.1.readonly=1 80 81hint.map.2.at="flash/spi0" 82hint.map.2.start=0x00050000 83hint.map.2.end="search:0x00100000:0x10000:.!/bin/sh" 84hint.map.2.name="kernel" 85hint.map.2.readonly=1 86 87hint.map.3.at="flash/spi0" 88hint.map.3.start="search:0x00100000:0x10000:.!/bin/sh" 89hint.map.3.end=0x007b0000 90hint.map.3.name="rootfs" 91hint.map.3.readonly=0 92 93hint.map.4.at="flash/spi0" 94hint.map.4.start=0x007b0000 95hint.map.4.end=0x007f0000 # 256k cfg 96hint.map.4.name="cfg" 97hint.map.4.readonly=0 98 99hint.map.5.at="flash/spi0" 100hint.map.5.start=0x007f0000 101hint.map.5.end=0x00800000 # 64k EEPROM 102hint.map.5.name="eeprom" 103hint.map.5.readonly=1 104