1239765Sadrian# $FreeBSD$ 2239765Sadrian 3239765Sadrian# arge0 is connected to the LAN side of the switch PHY. 4239765Sadrian# arge1 is connected to the single port WAN side of the switch PHY. 5239765Sadrian 6239765Sadrianhint.arge.0.phymask=0x0 7239765Sadrianhint.arge.0.media=1000 8239765Sadrianhint.arge.0.fduplex=1 9254690Ssbrunohint.arge.0.eeprommac=0x1f66ffa0 10254690Ssbrunohint.arge.0.readascii=1 11239765Sadrian 12239765Sadrianhint.arge.1.phymask=0x0 13239765Sadrianhint.arge.1.media=1000 14239765Sadrianhint.arge.1.fduplex=1 15254690Ssbrunohint.arge.1.eeprommac=0x1f66ffb4 16254690Ssbrunohint.arge.1.readascii=1 17239765Sadrian 18239765Sadrian# ath0 - slot 17 19253844Ssbrunohint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1f661000 20239765Sadrianhint.pcib.0.bus.0.17.0.ath_fixup_size=4096 21239765Sadrian 22239765Sadrian# ath1 - slot 18 23253844Ssbrunohint.pcib.0.bus.0.18.0.ath_fixup_addr=0x1f665000 24239765Sadrianhint.pcib.0.bus.0.18.0.ath_fixup_size=4096 25239765Sadrian 26239765Sadrian# .. and now, telling each ath(4) NIC where to find the firmware 27239765Sadrian# image. 28239765Sadrianhint.ath.0.eeprom_firmware="pcib.0.bus.0.17.0.eeprom_firmware" 29239765Sadrianhint.ath.1.eeprom_firmware="pcib.0.bus.0.18.0.eeprom_firmware" 30239765Sadrian 31239765Sadrian# TODO: gpio LEDs 32239765Sadrian 33239765Sadrian# Geom MAP 34239765Sadrian 35239911Sadrian# The DIR-825 has an 8MB flash part - HOWEVER, the 64k caldata isn't 36239911Sadrian# at the end of the flash. It's ~ 6MB into the flash image. 37239911Sadrian 38239765Sadrian# mtdparts=ar7100-nor0:256k(uboot),64k(Config),1024k(vmlinux),5184k(rootfs),64k(caldata) 39239765Sadrian 40239765Sadrianhint.map.0.at="flash/spi0" 41239765Sadrianhint.map.0.start=0x00000000 42239765Sadrianhint.map.0.end=0x000040000 43239765Sadrianhint.map.0.name="uboot" 44239765Sadrianhint.map.0.readonly=1 45239765Sadrian 46239765Sadrian# This config partition is the D-Link specific configuration area. 47239765Sadrian# I'm re-purposing it for FreeBSD. 48239765Sadrianhint.map.1.at="flash/spi0" 49239765Sadrianhint.map.1.start=0x00040000 50239765Sadrianhint.map.1.end=0x00050000 51239765Sadrianhint.map.1.name="cfg" 52239768Sadrianhint.map.1.readonly=0 53239765Sadrian 54239765Sadrianhint.map.2.at="flash/spi0" 55239765Sadrianhint.map.2.start=0x0050000 56239765Sadrianhint.map.2.end=0x00150000 57239765Sadrianhint.map.2.name="kernel" 58239765Sadrianhint.map.2.readonly=1 59239765Sadrian 60239765Sadrianhint.map.3.at="flash/spi0" 61239765Sadrianhint.map.3.start=0x00150000 62239911Sadrianhint.map.3.end=0x00660000 63239765Sadrianhint.map.3.name="rootfs" 64239765Sadrianhint.map.3.readonly=0 65239765Sadrian 66239765Sadrianhint.map.4.at="flash/spi0" 67239911Sadrianhint.map.4.start=0x00660000 68239911Sadrianhint.map.4.end=0x00670000 69239765Sadrianhint.map.4.name="art" 70239765Sadrianhint.map.4.readonly=1 71239765Sadrian 72