1# $FreeBSD: releng/10.2/sys/mips/conf/AP96.hints 242724 2012-11-07 23:50:28Z adrian $ 2 3# arge0 MDIO bus - there's no arge1 MDIO bus for AR71xx 4hint.argemdio.0.at="nexus0" 5hint.argemdio.0.maddr=0x19000000 6hint.argemdio.0.msize=0x1000 7hint.argemdio.0.order=0 8# This creates an automatic mdioproxy0! 9 10 11# The switch automatically probes off of mdio0, and will 12# create an mdioproxy1. 13 14# TODO: RGMII 15hint.arge.0.phymask=0x0 # Nothing attached here (XXX?) 16hint.arge.0.media=1000 17hint.arge.0.fduplex=1 18hint.arge.0.miimode=3 # RGMII 19 20# TODO: RGMII 21hint.arge.1.phymask=0x10 22# hint.arge.1.pll_1000 = 0x1f000000 23# For now, rendezouvs this on the arge0 mdiobus. 24# Later, this will rendezvous via the AR8316 switch. 25hint.arge.1.miimode=3 # RGMII 26hint.arge.1.mdio=mdioproxy1 # off the switch mdiobus 27 28# AR8316 switch on MDIO0 29hint.arswitch.0.at="mdio0" 30hint.arswitch.0.is_7240=0 31hint.arswitch.0.numphys=4 32hint.arswitch.0.phy4cpu=1 33hint.arswitch.0.is_rgmii=1 34hint.arswitch.0.is_gmii=0 35 36# ath0 - slot 17 37hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1fff1000 38hint.pcib.0.bus.0.17.0.ath_fixup_size=4096 39 40# ath1 - slot 18 41hint.pcib.0.bus.0.18.0.ath_fixup_addr=0x1fff5000 42hint.pcib.0.bus.0.18.0.ath_fixup_size=4096 43 44# .. and now, telling each ath(4) NIC where to find the firmware 45# image. 46hint.ath.0.eeprom_firmware="pcib.0.bus.0.17.0.eeprom_firmware" 47hint.ath.1.eeprom_firmware="pcib.0.bus.0.18.0.eeprom_firmware" 48 49# The default flash layout: 50# uboot: 192k 51# env: 64k 52# rootfs: 6144k 53# uimage (kernel): 1728k 54# caldata: 64k 55# 56# bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init 57# mtdparts=ar7100-nor0:192k(uboot),64k(env),6144k(rootfs),1728k(uImage),64k(caldata) mem=64M 58 59# 60# We steal 64k from the end of rootfs to store the local config. 61 62hint.map.0.at="flash/spi0" 63hint.map.0.start=0x00000000 64hint.map.0.end=0x000030000 65hint.map.0.name="uboot" 66hint.map.0.readonly=1 67 68hint.map.1.at="flash/spi0" 69hint.map.1.start=0x00030000 70hint.map.1.end=0x00040000 71hint.map.1.name="uboot-env" 72hint.map.1.readonly=1 73 74hint.map.2.at="flash/spi0" 75hint.map.2.start=0x00040000 76hint.map.2.end=0x00630000 77hint.map.2.name="rootfs" 78hint.map.2.readonly=1 79 80hint.map.3.at="flash/spi0" 81hint.map.3.start=0x00630000 82hint.map.3.end=0x00640000 83hint.map.3.name="cfg" 84hint.map.3.readonly=0 85 86hint.map.4.at="flash/spi0" 87hint.map.4.start=0x00640000 88hint.map.4.end=0x007f0000 89hint.map.4.name="kernel" 90hint.map.4.readonly=1 91 92hint.map.5.at="flash/spi0" 93hint.map.5.start=0x007f0000 94hint.map.5.end=0x00800000 95hint.map.5.name="art" 96hint.map.5.readonly=1 97 98