--- elwix/config/Attic/ALFA_NX.hints 2013/05/21 08:26:57 1.1.2.1 +++ elwix/config/Attic/ALFA_NX.hints 2013/05/21 23:48:07 1.1.2.3 @@ -1,4 +1,9 @@ -# $FreeBSD: src/sys/mips/conf/PB92.hints,v 1.4 2012/11/17 01:52:48 svnexp Exp $ +# +## ELWIX - ALFA Nx kernel hints file +# +# $Id: ALFA_NX.hints,v 1.1.2.3 2013/05/21 23:48:07 misho Exp $ +# + hint.apb.0.at="nexus0" hint.apb.0.irq=4 @@ -9,16 +14,31 @@ hint.uart.0.maddr=0x18020003 hint.uart.0.msize=0x18 hint.uart.0.irq=3 -#ehci - note the 0x100 offset for the AR913x/AR724x +#ohci +hint.ohci.0.at="apb0" +hint.ohci.0.maddr=0x1c000000 +hint.ohci.0.msize=0x01000000 +hint.ohci.0.irq=6 + +#ehci hint.ehci.0.at="nexus0" hint.ehci.0.maddr=0x1b000100 -hint.ehci.0.msize=0x00ffff00 +hint.ehci.0.msize=0x01000000 hint.ehci.0.irq=1 # pci hint.pcib.0.at="nexus0" hint.pcib.0.irq=0 +# ath0 hint - pcie slot 0 +hint.pcib.0.bus.0.0.0.ath_fixup_addr=0x1fff1000 +hint.pcib.0.bus.0.0.0.ath_fixup_size=4096 + +# ath +hint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware" +# Where the ART is +hint.ath.0.eepromaddr=0x1fff1000 + # arge0 MDIO bus hint.argemdio.0.at="nexus0" hint.argemdio.0.maddr=0x19000000 @@ -35,6 +55,7 @@ hint.arge.0.mdio=mdioproxy1 # Hanging off the arswitch # 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 @@ -46,20 +67,21 @@ hint.arswitch.0.at="mdio0" hint.arswitch.0.is_7240=1 # We need to be explicitly told this 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_rgmii=1 # No, not RGMII hint.arswitch.0.is_gmii=0 # No, not GMII ## arge0 -#hint.arge.0.at="nexus0" -#hint.arge.0.maddr=0x19000000 -#hint.arge.0.msize=0x1000 -#hint.arge.0.irq=2 -# -## AR8316 workaround for now -#hint.arge.0.media=1000 -#hint.arge.0.fduplex=1 -#hint.arge.0.phymask=0x3 +hint.arge.0.at="nexus0" +hint.arge.0.maddr=0x19000000 +hint.arge.0.msize=0x1000 +hint.arge.0.irq=2 + +hint.arge.1.at="nexus0" +hint.arge.1.maddr=0x1a000000 +hint.arge.1.msize=0x1000 +hint.arge.1.irq=3 + # GPIO hint.gpio.0.at="apb0" hint.gpio.0.maddr=0x18040000 @@ -68,17 +90,26 @@ hint.gpio.0.irq=2 # Signal leds hint.gpioled.0.at="gpiobus0" -hint.gpioled.0.name="sig1" -hint.gpioled.0.pins=0x0001 # pin 0 +hint.gpioled.0.name="but0" +hint.gpioled.0.pins=0x00800 # pin 11 hint.gpioled.1.at="gpiobus0" hint.gpioled.1.name="sig2" -hint.gpioled.1.pins=0x0002 # pin 1 +hint.gpioled.1.pins=0x20000 # pin 17 hint.gpioled.2.at="gpiobus0" hint.gpioled.2.name="sig3" -hint.gpioled.2.pins=0x0800 # pin 11 -hint.gpioled.3.at="gpiobus0" -hint.gpioled.3.name="sig4" -hint.gpioled.3.pins=0x0080 # pin 7 +hint.gpioled.2.pins=0x10000 # pin 16 +hint.gpioled.4.at="gpiobus0" +hint.gpioled.4.name="sig5" +hint.gpioled.4.pins=0x01000 # pin 12 +hint.gpioled.5.at="gpiobus0" +hint.gpioled.5.name="sig6" +hint.gpioled.5.pins=0x00100 # pin 8 +hint.gpioled.6.at="gpiobus0" +hint.gpioled.6.name="sig7" +hint.gpioled.6.pins=0x00040 # pin 6 +hint.gpioled.7.at="gpiobus0" +hint.gpioled.7.name="sig8" +hint.gpioled.7.pins=0x00080 # pin 7 # SPI controller/bus hint.spi.0.at="nexus0" @@ -99,6 +130,10 @@ hint.nvram.0.flags=3 # 1 = No check, 2 = Format Generi hint.nvram.1.base=0x1f032000 hint.nvram.1.maxsize=0x4000 hint.nvram.1.flags=3 # 1 = No check, 2 = Format Generic + +# hwpmc device +hint.ar71xx_pmc.0.at="apb0" +hint.ar71xx_pmc.0.irq=5 # GEOM_MAP #