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.
7 hint.argemdio.0.at="nexus0"
8 hint.argemdio.0.maddr=0x19000000
9 hint.argemdio.0.msize=0x1000
10 hint.argemdio.0.order=0
12 hint.argemdio.1.at="nexus0"
13 hint.argemdio.1.maddr=0x1a000000
14 hint.argemdio.1.msize=0x1000
15 hint.argemdio.1.order=0
17 hint.arge.0.phymask=0x0
18 hint.arge.0.media=1000
20 hint.arge.0.eeprommac=0x1f05120c
21 hint.arge.0.mdio=mdioproxy0 # .. off of the switch mdiobus
24 hint.arge.1.phymask=0x10
25 hint.arge.1.media=1000
27 hint.arge.1.eeprommac=0x1f05520c
28 hint.arge.1.mdio=mdioproxy1 # .. off of the switch mdiobus
32 # AR8317 switch config
34 hint.arswitch.0.at="mdio0"
35 hint.arswitch.0.is_7240=0 # We need to be explicitly told this
36 hint.arswitch.0.numphys=4 # 5 active switch PHYs (PHY 0 -> 4)
37 hint.arswitch.0.phy4cpu=1 # No, PHY 4 == dedicated PHY
38 hint.arswitch.0.is_rgmii=1 # Yes, is RGMII
39 hint.arswitch.0.is_gmii=0 # No, not GMII
42 hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1f051000
43 hint.pcib.0.bus.0.17.0.ath_fixup_size=4096
46 hint.pcib.0.bus.0.18.0.ath_fixup_addr=0x1f055000
47 hint.pcib.0.bus.0.18.0.ath_fixup_size=4096
48 # .. and now, telling each ath(4) NIC where to find the firmware
50 hint.ath.0.eeprom_firmware="pcib.0.bus.0.17.0.eeprom_firmware"
51 hint.ath.1.eeprom_firmware="pcib.0.bus.0.18.0.eeprom_firmware"
53 # Inherited from AR71XX_BASE.hints
54 #hint.mx25l.0.at="spibus0"
56 # This board has two 16 MB flash devices on difference Chip Select pins
57 hint.mx25l.1.at="spibus0"
63 hint.map.0.at="flash/spi0"
64 hint.map.0.start=0x00000000
65 hint.map.0.end=0x00040000
66 hint.map.0.name="uboot"
69 hint.map.1.at="flash/spi0"
70 hint.map.1.start=0x00040000
71 hint.map.1.end=0x00050000
72 hint.map.1.name="u-boot-env"
75 hint.map.2.at="flash/spi0"
76 hint.map.2.start=0x00050000
77 hint.map.2.end=0x00060000
81 # requires a 1M alignment and padding in the image.
82 # make sure you are using conv=sync and bs=1M in your dd
83 hint.map.3.at="flash/spi0"
84 hint.map.3.start=0x00060000
85 hint.map.3.end="search:0x00160000:0x100000:.!/bin/sh"
86 hint.map.3.name="kernel"
89 hint.map.4.at="flash/spi0"
90 hint.map.4.start="search:0x00160000:0x100000:.!/bin/sh"
91 hint.map.4.end=0x01000000
92 hint.map.4.name="rootfs"
95 hint.map.5.at="flash/spi1"
96 hint.map.5.start=0x00FF0000
97 hint.map.5.end=0x01000000
106 # Pin 6 - router auto
108 # Pin 8 - movie engine
111 # Pin 11 - reset button
119 # Don't flip on anything that isn't already enabled.
120 # Force on CS lines for flash devices, apparently this isn't done
121 # by uboot in normal booting. No idea why.
122 hint.gpio.0.function_set=0x00003004
123 hint.gpio.0.function_clear=0x00000000
125 # These are the GPIO LEDs and buttons which can be software controlled.
126 hint.gpio.0.pinmask=0x0001
128 hint.gpio.0.pinon=0x00000004
130 hint.gpioiic.0.at="gpiobus0"
131 #hint.gpioiic.0.pins=0x0003
135 # LEDs are configured separately and driven by the LED device
136 hint.gpioled.0.at="gpiobus0"
137 hint.gpioled.0.name="red-diag"
138 hint.gpioled.0.pins=0x0001