Annotation of elwix/config/ELWIX_ALFA_N2.hints, revision 1.1.2.7

1.1.2.1   misho       1: #
                      2: ## ELWIX - ALFA Nx kernel hints file
                      3: #
1.1.2.7 ! misho       4: # $Id: ELWIX_ALFA_N2.hints,v 1.1.2.6 2014/01/30 15:04:01 misho Exp $
1.1.2.1   misho       5: #
                      6: 
                      7: hint.apb.0.at="nexus0"
                      8: hint.apb.0.irq=4
                      9: 
                     10: # uart0
                     11: hint.uart.0.at="apb0"
                     12: # see atheros/uart_cpu_ar71xx.c why +3
                     13: hint.uart.0.maddr=0x18020003
                     14: hint.uart.0.msize=0x18
                     15: hint.uart.0.irq=3
                     16: 
                     17: #ehci - note the 0x100 offset for the AR913x/AR724x
                     18: hint.ehci.0.at="nexus0"
                     19: hint.ehci.0.maddr=0x1b000100
                     20: hint.ehci.0.msize=0x00ffff00
                     21: hint.ehci.0.irq=1
                     22: 
                     23: # pci
                     24: hint.pcib.0.at="nexus0"
                     25: hint.pcib.0.irq=0
                     26: 
1.1.2.3   misho      27: # ath0 hint - pcie slot 0
                     28: hint.pcib.0.bus.0.0.0.ath_fixup_addr=0x1fff1000
                     29: hint.pcib.0.bus.0.0.0.ath_fixup_size=4096
                     30: 
                     31: # ath
                     32: hint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware"
                     33: # Where the ART is
                     34: hint.ath.0.eepromaddr=0x1fff1000
1.1.2.1   misho      35: 
                     36: # arge0 MDIO bus
                     37: hint.argemdio.0.at="nexus0"
                     38: hint.argemdio.0.maddr=0x19000000
                     39: hint.argemdio.0.msize=0x1000
                     40: hint.argemdio.0.order=0
                     41: 
                     42: # arge0: MII; dedicated PHY 4 on switch, connected via internal switch
                     43: # MDIO bus.
                     44: 
1.1.2.3   misho      45: # hint.arge.0.eeprommac=0x83fe9ff0
                     46: hint.arge.0.phymask=0x10       # PHY 4
                     47: # hint.arge.0.miimode=2                # MII
                     48: hint.arge.0.mdio=mdioproxy1    # Hanging off the arswitch MDIO bus
                     49: 
                     50: # arge1: connected to the LAN switch MAC, at 1000BaseTX / GMII.
                     51: hint.arge.1.phymask=0x0
                     52: hint.arge.1.mdio=mdioproxy1    # Hanging off the arswitch MDIO bus
                     53: # hint.arge.1.miimode=1                # GMII
                     54: #hint.arge.1.media=1000                # Force to 1000BaseTX/full
                     55: #hint.arge.1.fduplex=1
                     56: 
                     57: #
                     58: # AR7240 switch config
                     59: #
1.1.2.1   misho      60: hint.arswitch.0.at="mdio0"
                     61: hint.arswitch.0.is_7240=1      # We need to be explicitly told this
1.1.2.3   misho      62: hint.arswitch.0.numphys=2      # 4 active switch PHYs (PHY 0 -> 3)
1.1.2.1   misho      63: hint.arswitch.0.phy4cpu=1      # Yes, PHY 4 == dedicated PHY
                     64: hint.arswitch.0.is_rgmii=1     # No, not RGMII
                     65: hint.arswitch.0.is_gmii=0      # No, not GMII
                     66: 
                     67: # arge0
                     68: hint.arge.0.at="nexus0"
                     69: hint.arge.0.maddr=0x19000000
                     70: hint.arge.0.msize=0x1000
                     71: hint.arge.0.irq=2
1.1.2.7 ! misho      72: hint.arge.0.eeprommac=0x1fff0000
1.1.2.1   misho      73: 
                     74: hint.arge.1.at="nexus0"
                     75: hint.arge.1.maddr=0x1a000000
                     76: hint.arge.1.msize=0x1000
                     77: hint.arge.1.irq=3
1.1.2.7 ! misho      78: hint.arge.1.eeprommac=0x1fff0006
1.1.2.1   misho      79: 
                     80: # GPIO
                     81: hint.gpio.0.at="apb0"
                     82: hint.gpio.0.maddr=0x18040000
                     83: hint.gpio.0.msize=0x1000
                     84: hint.gpio.0.irq=2
1.1.2.7 ! misho      85: #hint.gpio.0.pinmask=0x319c0
        !            86: hint.gpio.0.pinmask=0xfffff
1.1.2.1   misho      87: 
                     88: # Signal leds
                     89: hint.gpioled.0.at="gpiobus0"
1.1.2.6   misho      90: hint.gpioled.0.name="but_0"
1.1.2.1   misho      91: hint.gpioled.0.pins=0x00800    # pin 11
                     92: hint.gpioled.2.at="gpiobus0"
1.1.2.6   misho      93: hint.gpioled.2.name="led_2"
1.1.2.7 ! misho      94: hint.gpioled.2.pins=0x20000    # pin 17 ?
1.1.2.6   misho      95: hint.gpioled.3.at="gpiobus0"
                     96: hint.gpioled.3.name="led_3"
1.1.2.7 ! misho      97: hint.gpioled.3.pins=0x10000    # pin 16 ?
1.1.2.1   misho      98: hint.gpioled.5.at="gpiobus0"
1.1.2.6   misho      99: hint.gpioled.5.name="led_5"
                    100: hint.gpioled.5.pins=0x01000    # pin 12
1.1.2.1   misho     101: hint.gpioled.6.at="gpiobus0"
1.1.2.6   misho     102: hint.gpioled.6.name="led_6"
1.1.2.7 ! misho     103: hint.gpioled.6.pins=0x00100    # pin 8 ?
1.1.2.1   misho     104: hint.gpioled.7.at="gpiobus0"
1.1.2.6   misho     105: hint.gpioled.7.name="led_7"
1.1.2.7 ! misho     106: hint.gpioled.7.pins=0x00040    # pin 6 ?
1.1.2.6   misho     107: hint.gpioled.8.at="gpiobus0"
                    108: hint.gpioled.8.name="led_8"
1.1.2.7 ! misho     109: hint.gpioled.8.pins=0x00080    # pin 7 ?
        !           110: 
        !           111: hint.gpioled.10.at="gpiobus0"
        !           112: hint.gpioled.10.name="led6"
        !           113: hint.gpioled.10.pins=0x02000   # pin 13 ?
        !           114: hint.gpioled.11.at="gpiobus0"
        !           115: hint.gpioled.11.name="led7"
        !           116: hint.gpioled.11.pins=0x04000   # pin 14 ?
        !           117: hint.gpioled.12.at="gpiobus0"
        !           118: hint.gpioled.12.name="led8"
        !           119: hint.gpioled.12.pins=0x08000   # pin 15 ?
        !           120: 
        !           121: hint.gpioled.13.at="gpiobus0"
        !           122: hint.gpioled.13.name="led9"
        !           123: hint.gpioled.13.pins=0x00400   # pin 10 ?
        !           124: hint.gpioled.14.at="gpiobus0"
        !           125: hint.gpioled.14.name="led99"
        !           126: hint.gpioled.14.pins=0x00200   # pin 9 ?
        !           127: 
        !           128: hint.gpioled.15.at="gpiobus0"
        !           129: hint.gpioled.15.name="ledA"
        !           130: hint.gpioled.15.pins=0x00020   # pin 5 ?
        !           131: hint.gpioled.16.at="gpiobus0"
        !           132: hint.gpioled.16.name="ledB"
        !           133: hint.gpioled.16.pins=0x00010   # pin 4 ?
        !           134: hint.gpioled.17.at="gpiobus0"
        !           135: hint.gpioled.17.name="ledC"
        !           136: hint.gpioled.17.pins=0x00008   # pin 3 ?
        !           137: hint.gpioled.18.at="gpiobus0"
        !           138: hint.gpioled.18.name="ledD"
        !           139: hint.gpioled.18.pins=0x00004   # pin 2 ?
        !           140: hint.gpioled.19.at="gpiobus0"
        !           141: hint.gpioled.19.name="ledE"
        !           142: hint.gpioled.19.pins=0x00002   # pin 1 ?
        !           143: hint.gpioled.20.at="gpiobus0"
        !           144: hint.gpioled.20.name="ledF"
        !           145: hint.gpioled.20.pins=0x00001   # pin 0 ?
1.1.2.1   misho     146: 
                    147: # SPI controller/bus
                    148: hint.spi.0.at="nexus0"
                    149: hint.spi.0.maddr=0x1f000000
                    150: hint.spi.0.msize=0x10
                    151: 
                    152: # SPI flash
                    153: hint.mx25l.0.at="spibus0"
                    154: hint.mx25l.0.cs=0
                    155: 
                    156: # Watchdog
                    157: hint.ar71xx_wdog.0.at="nexus0"
                    158: 
                    159: # nvram mapping - XXX ?
                    160: hint.nvram.0.base=0x1f030000
                    161: hint.nvram.0.maxsize=0x2000
                    162: hint.nvram.0.flags=3 # 1 = No check, 2 = Format Generic
                    163: hint.nvram.1.base=0x1f032000
                    164: hint.nvram.1.maxsize=0x4000
                    165: hint.nvram.1.flags=3 # 1 = No check, 2 = Format Generic
                    166: 
                    167: # hwpmc device
                    168: hint.ar71xx_pmc.0.at="apb0"
                    169: hint.ar71xx_pmc.0.irq=5
                    170: 
                    171: # GEOM_MAP
                    172: #
                    173: # From my PB92 environment:
                    174: #
                    175: # mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),896k(uImage),64k(NVRAM),64k(ART)
                    176: 
                    177: hint.map.0.at="flash/spi0"
                    178: hint.map.0.start=0x00000000
                    179: hint.map.0.end=0x00040000      # 256k u-boot
                    180: hint.map.0.name="u-boot"
                    181: hint.map.0.readonly=1
                    182: 
                    183: hint.map.1.at="flash/spi0"
                    184: hint.map.1.start=0x00040000
                    185: hint.map.1.end=0x00050000      # 64k u-boot-env
                    186: hint.map.1.name="u-boot-env"
                    187: hint.map.1.readonly=0
                    188: 
                    189: hint.map.2.at="flash/spi0"
                    190: hint.map.2.start=0x00050000
1.1.2.2   misho     191: #hint.map.2.end=0x00300000     # 2752k rootfs
                    192: hint.map.2.end=0x00650000      # 6144k rootfs
1.1.2.1   misho     193: hint.map.2.name="rootfs"
                    194: hint.map.2.readonly=1
                    195: 
                    196: hint.map.3.at="flash/spi0"
1.1.2.2   misho     197: #hint.map.3.start=0x00300000
                    198: #hint.map.3.end=0x003e0000     # 896k uImage
                    199: hint.map.3.start=0x00650000
                    200: hint.map.3.end=0x007e0000      # 1600k uImage
1.1.2.1   misho     201: hint.map.3.name="uImage"
1.1.2.4   misho     202: hint.map.3.readonly=1
1.1.2.1   misho     203: 
                    204: hint.map.4.at="flash/spi0"
1.1.2.2   misho     205: #hint.map.4.start=0x003e0000
1.1.2.5   misho     206: #hint.map.4.end=0x003f0000     # 64k cfg
1.1.2.2   misho     207: hint.map.4.start=0x007e0000
1.1.2.5   misho     208: hint.map.4.end=0x007f0000      # 64k cfg
                    209: hint.map.4.name="cfg"
1.1.2.1   misho     210: hint.map.4.readonly=0
                    211: 
                    212: hint.map.5.at="flash/spi0"
1.1.2.2   misho     213: #hint.map.5.start=0x003f0000
                    214: #hint.map.5.end=0x00400000     # 64k ART
                    215: hint.map.5.start=0x007f0000
                    216: hint.map.5.end=0x00800000      # 64k ART
1.1.2.1   misho     217: hint.map.5.name="ART"
                    218: hint.map.5.readonly=1
                    219: 
                    220: hint.map.6.at="flash/spi0"
                    221: hint.map.6.start=0x00050000
                    222: hint.map.6.end=0x007e0000      # 7744k firmware
                    223: hint.map.6.name="firmware"
1.1.2.4   misho     224: hint.map.6.readonly=0

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>