1255086Shiren# $FreeBSD$ 2255086Shiren 3255086Shiren# arge1 MDIO bus 4255086Shirenhint.argemdio.0.at="nexus0" 5255086Shirenhint.argemdio.0.maddr=0x1a000000 6255086Shirenhint.argemdio.0.msize=0x1000 7255086Shirenhint.argemdio.0.order=0 8255086Shiren 9255086Shiren# Override MAC Address with the one on EEPROM 10255086Shirenhint.arge.0.eeprommac=0x1fff0000 11255086Shiren 12255086Shiren# arge0: dedicated switch port; RMII; dedicated PHY 4 on switch, connected 13255086Shiren# via internal switch MDIO bus. 14255086Shirenhint.arge.0.media=100 # Map to 100/full 15255086Shirenhint.arge.0.fduplex=1 # 16255086Shirenhint.arge.0.phymask=0x10 # PHY4 17255086Shirenhint.arge.0.mdio=mdioproxy1 # .. off of the switch mdiobus 18255086Shiren 19255086Shiren# arge1: nail to 1000/full, RMII - connected to the switch 20255086Shirenhint.arge.1.media=1000 # Map to 1000/full 21255086Shirenhint.arge.1.fduplex=1 # 22255086Shirenhint.arge.1.phymask=0x0 # no directly mapped PHYs 23255086Shiren 24255086Shiren# 25255086Shiren# AR7240 switch config 26255086Shiren# 27255086Shirenhint.arswitch.0.at="mdio0" 28255086Shirenhint.arswitch.0.is_7240=1 # We need to be explicitly told this 29255086Shirenhint.arswitch.0.numphys=4 # 4 active switch PHYs (PHY 0 -> 3) 30255086Shirenhint.arswitch.0.phy4cpu=1 # Yes, PHY 4 == dedicated PHY 31255086Shirenhint.arswitch.0.is_rgmii=0 # No, not RGMII 32255086Shirenhint.arswitch.0.is_gmii=0 # No, not GMII 33255086Shiren 34255086Shiren# ath0 hint - pcie slot 0 35255086Shirenhint.pcib.0.bus.0.0.0.ath_fixup_addr=0x1fff1000 36255086Shirenhint.pcib.0.bus.0.0.0.ath_fixup_size=4096 37255086Shiren 38255086Shiren# ath 39255086Shirenhint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware" 40255086Shiren 41255086Shiren# GPIO pins 42255086Shiren# Pin 0: red led (sig1) 43255086Shiren# Pin 1: yellow led (sig2) 44255086Shiren# Pin 11: green len (sig3) 45255086Shiren# Pin 7: green len (sig4) 46255086Shiren# Pin 12: Reset switch 47255086Shirenhint.gpio.0.pinmask=0x1883 48255086Shiren 49255086Shiren# Signal leds 50255086Shirenhint.gpioled.0.at="gpiobus0" 51255086Shirenhint.gpioled.0.name="sig1" 52255086Shirenhint.gpioled.0.pins=0x0001 # pin 0 53255086Shirenhint.gpioled.1.at="gpiobus0" 54255086Shirenhint.gpioled.1.name="sig2" 55255086Shirenhint.gpioled.1.pins=0x0002 # pin 1 56255086Shirenhint.gpioled.2.at="gpiobus0" 57255086Shirenhint.gpioled.2.name="sig3" 58255086Shirenhint.gpioled.2.pins=0x0800 # pin 11 59255086Shirenhint.gpioled.3.at="gpiobus0" 60255086Shirenhint.gpioled.3.name="sig4" 61255086Shirenhint.gpioled.3.pins=0x0080 # pin 7 62255086Shiren 63255086Shiren# GEOM_MAP 64255086Shiren# 65255086Shiren# Picostation M2 HP 66255086Shiren# 67255086Shiren# mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM) 68255086Shiren 69255086Shirenhint.map.0.at="flash/spi0" 70255086Shirenhint.map.0.start=0x00000000 71255086Shirenhint.map.0.end=0x00040000 # 256k u-boot 72255086Shirenhint.map.0.name="u-boot" 73255086Shirenhint.map.0.readonly=1 74255086Shiren 75255086Shirenhint.map.1.at="flash/spi0" 76255086Shirenhint.map.1.start=0x00040000 77255086Shirenhint.map.1.end=0x00050000 # 64k u-boot-env 78255086Shirenhint.map.1.name="u-boot-env" 79255086Shirenhint.map.1.readonly=1 80255086Shiren 81255086Shirenhint.map.2.at="flash/spi0" 82255086Shirenhint.map.2.start=0x00050000 83276716Shirenhint.map.2.end="search:0x00100000:0x10000:.!/bin/sh" 84255086Shirenhint.map.2.name="kernel" 85255086Shirenhint.map.2.readonly=1 86255086Shiren 87255086Shirenhint.map.3.at="flash/spi0" 88276716Shirenhint.map.3.start="search:0x00100000:0x10000:.!/bin/sh" 89276716Shirenhint.map.3.end=0x007b0000 90255086Shirenhint.map.3.name="rootfs" 91255086Shirenhint.map.3.readonly=0 92255086Shiren 93255086Shirenhint.map.4.at="flash/spi0" 94255086Shirenhint.map.4.start=0x007b0000 95255086Shirenhint.map.4.end=0x007f0000 # 256k cfg 96255086Shirenhint.map.4.name="cfg" 97255086Shirenhint.map.4.readonly=0 98255086Shiren 99255086Shirenhint.map.5.at="flash/spi0" 100255086Shirenhint.map.5.start=0x007f0000 101255086Shirenhint.map.5.end=0x00800000 # 64k EEPROM 102255086Shirenhint.map.5.name="eeprom" 103255086Shirenhint.map.5.readonly=1 104