1# $FreeBSD$
2
3# arge0 is connected to the LAN side of the switch PHY.
4# arge1 is connected to the single port WAN side of the switch PHY.
5
6hint.arge.0.phymask=0x0
7hint.arge.0.media=1000
8hint.arge.0.fduplex=1
9hint.arge.0.eeprommac=0x1f66ffa0
10hint.arge.0.readascii=1
11
12hint.arge.1.phymask=0x0
13hint.arge.1.media=1000
14hint.arge.1.fduplex=1
15hint.arge.1.eeprommac=0x1f66ffb4
16hint.arge.1.readascii=1
17
18# ath0 - slot 17
19hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1f661000
20hint.pcib.0.bus.0.17.0.ath_fixup_size=4096
21
22# ath1 - slot 18
23hint.pcib.0.bus.0.18.0.ath_fixup_addr=0x1f665000
24hint.pcib.0.bus.0.18.0.ath_fixup_size=4096
25
26# .. and now, telling each ath(4) NIC where to find the firmware
27# image.
28hint.ath.0.eeprom_firmware="pcib.0.bus.0.17.0.eeprom_firmware"
29hint.ath.1.eeprom_firmware="pcib.0.bus.0.18.0.eeprom_firmware"
30
31# TODO: gpio LEDs
32
33# Geom MAP
34
35# The DIR-825 has an 8MB flash part - HOWEVER, the 64k caldata isn't
36# at the end of the flash. It's ~ 6MB into the flash image.
37
38# mtdparts=ar7100-nor0:256k(uboot),64k(Config),1024k(vmlinux),5184k(rootfs),64k(caldata)
39
40hint.map.0.at="flash/spi0"
41hint.map.0.start=0x00000000
42hint.map.0.end=0x000040000
43hint.map.0.name="uboot"
44hint.map.0.readonly=1
45
46# This config partition is the D-Link specific configuration area.
47# I'm re-purposing it for FreeBSD.
48hint.map.1.at="flash/spi0"
49hint.map.1.start=0x00040000
50hint.map.1.end=0x00050000
51hint.map.1.name="cfg"
52hint.map.1.readonly=0
53
54hint.map.2.at="flash/spi0"
55hint.map.2.start=0x0050000
56hint.map.2.end=0x00150000
57hint.map.2.name="kernel"
58hint.map.2.readonly=1
59
60hint.map.3.at="flash/spi0"
61hint.map.3.start=0x00150000
62hint.map.3.end=0x00660000
63hint.map.3.name="rootfs"
64hint.map.3.readonly=0
65
66hint.map.4.at="flash/spi0"
67hint.map.4.start=0x00660000
68hint.map.4.end=0x00670000
69hint.map.4.name="art"
70hint.map.4.readonly=1
71
72