4 hint.argemdio.0.at="nexus0"
5 hint.argemdio.0.maddr=0x19000000
6 hint.argemdio.0.msize=0x1000
7 hint.argemdio.0.order=0
9 # arge1 MDIO bus doesn't exist on the AR7240
11 # arge0: MII; dedicated PHY 4 on switch, connected via internal switch
14 hint.arge.0.at="nexus0"
15 hint.arge.0.maddr=0x19000000
16 hint.arge.0.msize=0x1000
18 # hint.arge.0.eeprommac=0x83fe9ff0
19 hint.arge.0.phymask=0x10 # PHY 4
20 # hint.arge.0.miimode=2 # MII
21 hint.arge.0.mdio=mdioproxy1 # Hanging off the arswitch MDIO bus
23 # arge1: connected to the LAN switch MAC, at 1000BaseTX / GMII.
25 hint.arge.1.phymask=0x0
26 # hint.arge.1.miimode=1 # GMII
27 hint.arge.1.media=1000 # Force to 1000BaseTX/full
31 # AR7240 switch config
33 hint.arswitch.0.at="mdio0"
34 hint.arswitch.0.is_7240=1 # We need to be explicitly told this
35 hint.arswitch.0.numphys=4 # 4 active switch PHYs (PHY 0 -> 3)
36 hint.arswitch.0.phy4cpu=1 # Yes, PHY 4 == dedicated PHY
37 hint.arswitch.0.is_rgmii=0 # No, not RGMII
38 hint.arswitch.0.is_gmii=0 # No, not GMII
40 # ath0 hint - pcie slot 0
41 hint.pcib.0.bus.0.0.0.ath_fixup_addr=0x1fff1000
42 hint.pcib.0.bus.0.0.0.ath_fixup_size=4096
45 hint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware"
48 hint.gpioled.0.at="gpiobus0"
49 hint.gpioled.0.name="sig1"
50 hint.gpioled.0.pins=0x0001 # pin 0
51 hint.gpioled.1.at="gpiobus0"
52 hint.gpioled.1.name="sig2"
53 hint.gpioled.1.pins=0x0002 # pin 1
54 hint.gpioled.2.at="gpiobus0"
55 hint.gpioled.2.name="sig3"
56 hint.gpioled.2.pins=0x0800 # pin 11
57 hint.gpioled.3.at="gpiobus0"
58 hint.gpioled.3.name="sig4"
59 hint.gpioled.3.pins=0x0080 # pin 7
61 # nvram mapping - XXX ?
62 hint.nvram.0.base=0x1f030000
63 hint.nvram.0.maxsize=0x2000
64 hint.nvram.0.flags=3 # 1 = No check, 2 = Format Generic
65 hint.nvram.1.base=0x1f032000
66 hint.nvram.1.maxsize=0x4000
67 hint.nvram.1.flags=3 # 1 = No check, 2 = Format Generic
71 # From my AP91 environment:
73 # mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),
74 # 960k(uImage),64k(ART)
76 hint.map.0.at="flash/spi0"
77 hint.map.0.start=0x00000000
78 hint.map.0.end=0x00040000 # 256k u-boot
79 hint.map.0.name="u-boot"
82 hint.map.1.at="flash/spi0"
83 hint.map.1.start=0x00040000
84 hint.map.1.end=0x00050000 # 64k u-boot-env
85 hint.map.1.name="u-boot-env"
88 hint.map.2.at="flash/spi0"
89 hint.map.2.start=0x00050000
90 hint.map.2.end=0x00300000 # 2752k rootfs
91 hint.map.2.name="rootfs"
94 hint.map.3.at="flash/spi0"
95 hint.map.3.start=0x00300000
96 hint.map.3.end=0x003f0000 # 896k uImage
97 hint.map.3.name="uImage"
100 hint.map.4.at="flash/spi0"
101 hint.map.4.start=0x003f0000
102 hint.map.4.end=0x00400000 # 64k ART
103 hint.map.4.name="ART"
104 hint.map.4.readonly=1