--- elwix/config/ELWIX_ALFA_N2.hints 2014/02/04 09:26:36 1.1.2.8 +++ elwix/config/ELWIX_ALFA_N2.hints 2014/02/05 01:08:24 1.1.2.9 @@ -1,7 +1,7 @@ # ## ELWIX - ALFA Nx kernel hints file # -# $Id: ELWIX_ALFA_N2.hints,v 1.1.2.8 2014/02/04 09:26:36 misho Exp $ +# $Id: ELWIX_ALFA_N2.hints,v 1.1.2.9 2014/02/05 01:08:24 misho Exp $ # hint.apb.0.at="nexus0" @@ -32,31 +32,13 @@ hint.pcib.0.bus.0.0.0.ath_fixup_size=4096 hint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware" # Where the ART is hint.ath.0.eepromaddr=0x1fff1000 -hint.ath.0.irq=48 -hint.ath.0.maddr=0x10000000 -hint.ath.0.msize=0x30000 -# mdiobus on arge1 +# mdiobus on arge0 hint.argemdio.0.at="nexus0" -hint.argemdio.0.maddr=0x1a000000 +hint.argemdio.0.maddr=0x19000000 hint.argemdio.0.msize=0x1000 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 # @@ -65,27 +47,37 @@ hint.arswitch.0.is_7240=1 # We need to be explicitly t 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.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.maddr=0x19000000 hint.arge.0.msize=0x1000 hint.arge.0.irq=2 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.maddr=0x1a000000 hint.arge.1.msize=0x1000 hint.arge.1.irq=3 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 hint.gpio.0.at="apb0" hint.gpio.0.maddr=0x18040000 hint.gpio.0.msize=0x1000 hint.gpio.0.irq=2 -hint.gpio.0.pinmask=0x319c3 +hint.gpio.0.pinmask=0x1319c3 hint.gpio.0.function_set=0x00000000 hint.gpio.0.function_clear=0x00000000