version 1.1.2.7, 2014/02/02 12:38:37
|
version 1.1.2.16, 2014/02/24 22:44:27
|
Line 33 hint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_fi
|
Line 33 hint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_fi
|
# Where the ART is |
# Where the ART is |
hint.ath.0.eepromaddr=0x1fff1000 |
hint.ath.0.eepromaddr=0x1fff1000 |
|
|
# arge0 MDIO bus | # mdiobus on arge0 |
hint.argemdio.0.at="nexus0" |
hint.argemdio.0.at="nexus0" |
hint.argemdio.0.maddr=0x19000000 |
hint.argemdio.0.maddr=0x19000000 |
hint.argemdio.0.msize=0x1000 |
hint.argemdio.0.msize=0x1000 |
hint.argemdio.0.order=0 |
hint.argemdio.0.order=0 |
|
|
# arge0: MII; dedicated PHY 4 on switch, connected via internal switch |
|
# MDIO bus. |
|
|
|
# hint.arge.0.eeprommac=0x83fe9ff0 |
|
hint.arge.0.phymask=0x10 # PHY 4 |
|
# hint.arge.0.miimode=2 # MII |
|
hint.arge.0.mdio=mdioproxy1 # Hanging off the arswitch MDIO bus |
|
|
|
# arge1: connected to the LAN switch MAC, at 1000BaseTX / GMII. |
|
hint.arge.1.phymask=0x0 |
|
hint.arge.1.mdio=mdioproxy1 # Hanging off the arswitch MDIO bus |
|
# hint.arge.1.miimode=1 # GMII |
|
#hint.arge.1.media=1000 # Force to 1000BaseTX/full |
|
#hint.arge.1.fduplex=1 |
|
|
|
# |
# |
# AR7240 switch config |
# AR7240 switch config |
# |
# |
hint.arswitch.0.at="mdio0" |
hint.arswitch.0.at="mdio0" |
hint.arswitch.0.is_7240=1 # We need to be explicitly told this |
hint.arswitch.0.is_7240=1 # We need to be explicitly told this |
hint.arswitch.0.numphys=2 # 4 active switch PHYs (PHY 0 -> 3) | hint.arswitch.0.numphys=4 # 4 active switch PHYs (PHY 0 -> 3) |
hint.arswitch.0.phy4cpu=1 # Yes, PHY 4 == dedicated PHY |
hint.arswitch.0.phy4cpu=1 # Yes, PHY 4 == dedicated PHY |
hint.arswitch.0.is_rgmii=1 # No, not RGMII | hint.arswitch.0.is_rgmii=0 # No, not RGMII |
hint.arswitch.0.is_gmii=0 # No, not GMII | hint.arswitch.0.is_gmii=1 # No, not GMII |
|
|
# arge0 | # arge0: MII; dedicated PHY 4 on switch, connected via internal switch |
| # MDIO bus. |
hint.arge.0.at="nexus0" |
hint.arge.0.at="nexus0" |
hint.arge.0.maddr=0x19000000 |
hint.arge.0.maddr=0x19000000 |
hint.arge.0.msize=0x1000 |
hint.arge.0.msize=0x1000 |
hint.arge.0.irq=2 |
hint.arge.0.irq=2 |
hint.arge.0.eeprommac=0x1fff0000 |
hint.arge.0.eeprommac=0x1fff0000 |
|
hint.arge.0.phymask=0x10 # PHY 4 |
|
# hint.arge.0.miimode=2 # MII |
|
hint.arge.0.mdio=mdioproxy1 # Hanging off the arswitch MDIO bus |
|
|
|
# arge1: connected to the LAN switch MAC, at 1000BaseTX / GMII. |
hint.arge.1.at="nexus0" |
hint.arge.1.at="nexus0" |
hint.arge.1.maddr=0x1a000000 |
hint.arge.1.maddr=0x1a000000 |
hint.arge.1.msize=0x1000 |
hint.arge.1.msize=0x1000 |
hint.arge.1.irq=3 |
hint.arge.1.irq=3 |
hint.arge.1.eeprommac=0x1fff0006 |
hint.arge.1.eeprommac=0x1fff0006 |
|
hint.arge.1.phymask=0x0 |
|
#hint.arge.1.mdio=mdioproxy1 # Hanging off the arswitch MDIO bus |
|
# hint.arge.1.miimode=1 # GMII |
|
hint.arge.1.media=1000 # Force to 1000BaseTX/full |
|
hint.arge.1.fduplex=1 |
|
|
# GPIO |
# GPIO |
hint.gpio.0.at="apb0" |
hint.gpio.0.at="apb0" |
hint.gpio.0.maddr=0x18040000 |
hint.gpio.0.maddr=0x18040000 |
hint.gpio.0.msize=0x1000 |
hint.gpio.0.msize=0x1000 |
hint.gpio.0.irq=2 |
hint.gpio.0.irq=2 |
#hint.gpio.0.pinmask=0x319c0 | hint.gpio.0.pinmask=0x319c0 |
hint.gpio.0.pinmask=0xfffff | |
|
|
|
hint.gpio.0.function_set=0x00000001 |
|
hint.gpio.0.function_clear=0x00000038 |
|
|
# Signal leds |
# Signal leds |
hint.gpioled.0.at="gpiobus0" |
hint.gpioled.0.at="gpiobus0" |
hint.gpioled.0.name="but_0" |
hint.gpioled.0.name="but_0" |
Line 108 hint.gpioled.8.at="gpiobus0"
|
Line 105 hint.gpioled.8.at="gpiobus0"
|
hint.gpioled.8.name="led_8" |
hint.gpioled.8.name="led_8" |
hint.gpioled.8.pins=0x00080 # pin 7 ? |
hint.gpioled.8.pins=0x00080 # pin 7 ? |
|
|
hint.gpioled.10.at="gpiobus0" |
|
hint.gpioled.10.name="led6" |
|
hint.gpioled.10.pins=0x02000 # pin 13 ? |
|
hint.gpioled.11.at="gpiobus0" |
|
hint.gpioled.11.name="led7" |
|
hint.gpioled.11.pins=0x04000 # pin 14 ? |
|
hint.gpioled.12.at="gpiobus0" |
|
hint.gpioled.12.name="led8" |
|
hint.gpioled.12.pins=0x08000 # pin 15 ? |
|
|
|
hint.gpioled.13.at="gpiobus0" |
|
hint.gpioled.13.name="led9" |
|
hint.gpioled.13.pins=0x00400 # pin 10 ? |
|
hint.gpioled.14.at="gpiobus0" |
|
hint.gpioled.14.name="led99" |
|
hint.gpioled.14.pins=0x00200 # pin 9 ? |
|
|
|
hint.gpioled.15.at="gpiobus0" |
|
hint.gpioled.15.name="ledA" |
|
hint.gpioled.15.pins=0x00020 # pin 5 ? |
|
hint.gpioled.16.at="gpiobus0" |
|
hint.gpioled.16.name="ledB" |
|
hint.gpioled.16.pins=0x00010 # pin 4 ? |
|
hint.gpioled.17.at="gpiobus0" |
|
hint.gpioled.17.name="ledC" |
|
hint.gpioled.17.pins=0x00008 # pin 3 ? |
|
hint.gpioled.18.at="gpiobus0" |
|
hint.gpioled.18.name="ledD" |
|
hint.gpioled.18.pins=0x00004 # pin 2 ? |
|
hint.gpioled.19.at="gpiobus0" |
|
hint.gpioled.19.name="ledE" |
|
hint.gpioled.19.pins=0x00002 # pin 1 ? |
|
hint.gpioled.20.at="gpiobus0" |
|
hint.gpioled.20.name="ledF" |
|
hint.gpioled.20.pins=0x00001 # pin 0 ? |
|
|
|
# SPI controller/bus |
# SPI controller/bus |
hint.spi.0.at="nexus0" |
hint.spi.0.at="nexus0" |
hint.spi.0.maddr=0x1f000000 |
hint.spi.0.maddr=0x1f000000 |
Line 219 hint.map.5.readonly=1
|
Line 181 hint.map.5.readonly=1
|
|
|
hint.map.6.at="flash/spi0" |
hint.map.6.at="flash/spi0" |
hint.map.6.start=0x00050000 |
hint.map.6.start=0x00050000 |
hint.map.6.end=0x007e0000 # 7744k firmware | hint.map.6.end=0x007f0000 # 7808k firmware + cfg |
hint.map.6.name="firmware" |
hint.map.6.name="firmware" |
hint.map.6.readonly=0 |
hint.map.6.readonly=0 |