]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/mips/conf/DIR-825.hints
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / mips / conf / DIR-825.hints
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
6 hint.arge.0.phymask=0x0
7 hint.arge.0.media=1000
8 hint.arge.0.fduplex=1
9 hint.arge.0.eeprommac=0x1f66ffa0
10 hint.arge.0.readascii=1
11
12 hint.arge.1.phymask=0x0
13 hint.arge.1.media=1000
14 hint.arge.1.fduplex=1
15 hint.arge.1.eeprommac=0x1f66ffb4
16 hint.arge.1.readascii=1
17
18 # ath0 - slot 17
19 hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1f661000
20 hint.pcib.0.bus.0.17.0.ath_fixup_size=4096
21
22 # ath1 - slot 18
23 hint.pcib.0.bus.0.18.0.ath_fixup_addr=0x1f665000
24 hint.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.
28 hint.ath.0.eeprom_firmware="pcib.0.bus.0.17.0.eeprom_firmware"
29 hint.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
40 hint.map.0.at="flash/spi0"
41 hint.map.0.start=0x00000000
42 hint.map.0.end=0x000040000
43 hint.map.0.name="uboot"
44 hint.map.0.readonly=1
45
46 # This config partition is the D-Link specific configuration area.
47 # I'm re-purposing it for FreeBSD.
48 hint.map.1.at="flash/spi0"
49 hint.map.1.start=0x00040000
50 hint.map.1.end=0x00050000
51 hint.map.1.name="cfg"
52 hint.map.1.readonly=0
53
54 hint.map.2.at="flash/spi0"
55 hint.map.2.start=0x0050000
56 hint.map.2.end=0x00150000
57 hint.map.2.name="kernel"
58 hint.map.2.readonly=1
59
60 hint.map.3.at="flash/spi0"
61 hint.map.3.start=0x00150000
62 hint.map.3.end=0x00660000
63 hint.map.3.name="rootfs"
64 hint.map.3.readonly=0
65
66 hint.map.4.at="flash/spi0"
67 hint.map.4.start=0x00660000
68 hint.map.4.end=0x00670000
69 hint.map.4.name="art"
70 hint.map.4.readonly=1
71