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

1.1.2.1   misho       1: #
                      2: ## ELWIX - ALFA Nx kernel hints file
                      3: #
1.1.2.8 ! misho       4: # $Id: ELWIX_ALFA_N2.hints,v 1.1.2.7 2014/02/02 12:38:37 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.8 ! misho      35: hint.ath.0.irq=48
        !            36: hint.ath.0.maddr=0x10000000
        !            37: hint.ath.0.msize=0x30000
1.1.2.1   misho      38: 
1.1.2.8 ! misho      39: # mdiobus on arge1
1.1.2.1   misho      40: hint.argemdio.0.at="nexus0"
1.1.2.8 ! misho      41: hint.argemdio.0.maddr=0x1a000000
1.1.2.1   misho      42: hint.argemdio.0.msize=0x1000
                     43: hint.argemdio.0.order=0
                     44: 
                     45: # arge0: MII; dedicated PHY 4 on switch, connected via internal switch
                     46: # MDIO bus.
                     47: 
1.1.2.3   misho      48: # hint.arge.0.eeprommac=0x83fe9ff0
                     49: hint.arge.0.phymask=0x10       # PHY 4
                     50: # hint.arge.0.miimode=2                # MII
                     51: hint.arge.0.mdio=mdioproxy1    # Hanging off the arswitch MDIO bus
                     52: 
                     53: # arge1: connected to the LAN switch MAC, at 1000BaseTX / GMII.
                     54: hint.arge.1.phymask=0x0
1.1.2.8 ! misho      55: #hint.arge.1.mdio=mdioproxy1   # Hanging off the arswitch MDIO bus
1.1.2.3   misho      56: # hint.arge.1.miimode=1                # GMII
                     57: #hint.arge.1.media=1000                # Force to 1000BaseTX/full
                     58: #hint.arge.1.fduplex=1
                     59: 
                     60: #
                     61: # AR7240 switch config
                     62: #
1.1.2.1   misho      63: hint.arswitch.0.at="mdio0"
                     64: hint.arswitch.0.is_7240=1      # We need to be explicitly told this
1.1.2.8 ! misho      65: hint.arswitch.0.numphys=4      # 4 active switch PHYs (PHY 0 -> 3)
1.1.2.1   misho      66: hint.arswitch.0.phy4cpu=1      # Yes, PHY 4 == dedicated PHY
1.1.2.8 ! misho      67: hint.arswitch.0.is_rgmii=0     # No, not RGMII
1.1.2.1   misho      68: hint.arswitch.0.is_gmii=0      # No, not GMII
                     69: 
                     70: # arge0
                     71: hint.arge.0.at="nexus0"
                     72: hint.arge.0.maddr=0x19000000
                     73: hint.arge.0.msize=0x1000
                     74: hint.arge.0.irq=2
1.1.2.7   misho      75: hint.arge.0.eeprommac=0x1fff0000
1.1.2.1   misho      76: 
                     77: hint.arge.1.at="nexus0"
                     78: hint.arge.1.maddr=0x1a000000
                     79: hint.arge.1.msize=0x1000
                     80: hint.arge.1.irq=3
1.1.2.7   misho      81: hint.arge.1.eeprommac=0x1fff0006
1.1.2.1   misho      82: 
                     83: # GPIO
                     84: hint.gpio.0.at="apb0"
                     85: hint.gpio.0.maddr=0x18040000
                     86: hint.gpio.0.msize=0x1000
                     87: hint.gpio.0.irq=2
1.1.2.8 ! misho      88: hint.gpio.0.pinmask=0x319c3
        !            89: 
        !            90: hint.gpio.0.function_set=0x00000000
        !            91: hint.gpio.0.function_clear=0x00000000
1.1.2.1   misho      92: 
                     93: # Signal leds
                     94: hint.gpioled.0.at="gpiobus0"
1.1.2.6   misho      95: hint.gpioled.0.name="but_0"
1.1.2.1   misho      96: hint.gpioled.0.pins=0x00800    # pin 11
1.1.2.8 ! misho      97: hint.gpioled.1.at="gpiobus0"
        !            98: hint.gpioled.1.name="led_0"
        !            99: hint.gpioled.1.pins=0x0001     # pin 0
1.1.2.1   misho     100: hint.gpioled.2.at="gpiobus0"
1.1.2.8 ! misho     101: hint.gpioled.2.name="led_1"
        !           102: hint.gpioled.2.pins=0x0002     # pin 1
1.1.2.6   misho     103: hint.gpioled.3.at="gpiobus0"
1.1.2.8 ! misho     104: hint.gpioled.3.name="led_2"
        !           105: hint.gpioled.3.pins=0x20000    # pin 17 ?
        !           106: hint.gpioled.4.at="gpiobus0"
        !           107: hint.gpioled.4.name="led_3"
        !           108: hint.gpioled.4.pins=0x10000    # pin 16 ?
1.1.2.1   misho     109: hint.gpioled.5.at="gpiobus0"
1.1.2.6   misho     110: hint.gpioled.5.name="led_5"
                    111: hint.gpioled.5.pins=0x01000    # pin 12
1.1.2.1   misho     112: hint.gpioled.6.at="gpiobus0"
1.1.2.6   misho     113: hint.gpioled.6.name="led_6"
1.1.2.7   misho     114: hint.gpioled.6.pins=0x00100    # pin 8 ?
1.1.2.1   misho     115: hint.gpioled.7.at="gpiobus0"
1.1.2.6   misho     116: hint.gpioled.7.name="led_7"
1.1.2.7   misho     117: hint.gpioled.7.pins=0x00040    # pin 6 ?
1.1.2.6   misho     118: hint.gpioled.8.at="gpiobus0"
                    119: hint.gpioled.8.name="led_8"
1.1.2.7   misho     120: hint.gpioled.8.pins=0x00080    # pin 7 ?
                    121: 
1.1.2.1   misho     122: 
                    123: # SPI controller/bus
                    124: hint.spi.0.at="nexus0"
                    125: hint.spi.0.maddr=0x1f000000
                    126: hint.spi.0.msize=0x10
                    127: 
                    128: # SPI flash
                    129: hint.mx25l.0.at="spibus0"
                    130: hint.mx25l.0.cs=0
                    131: 
                    132: # Watchdog
                    133: hint.ar71xx_wdog.0.at="nexus0"
                    134: 
                    135: # nvram mapping - XXX ?
                    136: hint.nvram.0.base=0x1f030000
                    137: hint.nvram.0.maxsize=0x2000
                    138: hint.nvram.0.flags=3 # 1 = No check, 2 = Format Generic
                    139: hint.nvram.1.base=0x1f032000
                    140: hint.nvram.1.maxsize=0x4000
                    141: hint.nvram.1.flags=3 # 1 = No check, 2 = Format Generic
                    142: 
                    143: # hwpmc device
                    144: hint.ar71xx_pmc.0.at="apb0"
                    145: hint.ar71xx_pmc.0.irq=5
                    146: 
                    147: # GEOM_MAP
                    148: #
                    149: # From my PB92 environment:
                    150: #
                    151: # mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),896k(uImage),64k(NVRAM),64k(ART)
                    152: 
                    153: hint.map.0.at="flash/spi0"
                    154: hint.map.0.start=0x00000000
                    155: hint.map.0.end=0x00040000      # 256k u-boot
                    156: hint.map.0.name="u-boot"
                    157: hint.map.0.readonly=1
                    158: 
                    159: hint.map.1.at="flash/spi0"
                    160: hint.map.1.start=0x00040000
                    161: hint.map.1.end=0x00050000      # 64k u-boot-env
                    162: hint.map.1.name="u-boot-env"
                    163: hint.map.1.readonly=0
                    164: 
                    165: hint.map.2.at="flash/spi0"
                    166: hint.map.2.start=0x00050000
1.1.2.2   misho     167: #hint.map.2.end=0x00300000     # 2752k rootfs
                    168: hint.map.2.end=0x00650000      # 6144k rootfs
1.1.2.1   misho     169: hint.map.2.name="rootfs"
                    170: hint.map.2.readonly=1
                    171: 
                    172: hint.map.3.at="flash/spi0"
1.1.2.2   misho     173: #hint.map.3.start=0x00300000
                    174: #hint.map.3.end=0x003e0000     # 896k uImage
                    175: hint.map.3.start=0x00650000
                    176: hint.map.3.end=0x007e0000      # 1600k uImage
1.1.2.1   misho     177: hint.map.3.name="uImage"
1.1.2.4   misho     178: hint.map.3.readonly=1
1.1.2.1   misho     179: 
                    180: hint.map.4.at="flash/spi0"
1.1.2.2   misho     181: #hint.map.4.start=0x003e0000
1.1.2.5   misho     182: #hint.map.4.end=0x003f0000     # 64k cfg
1.1.2.2   misho     183: hint.map.4.start=0x007e0000
1.1.2.5   misho     184: hint.map.4.end=0x007f0000      # 64k cfg
                    185: hint.map.4.name="cfg"
1.1.2.1   misho     186: hint.map.4.readonly=0
                    187: 
                    188: hint.map.5.at="flash/spi0"
1.1.2.2   misho     189: #hint.map.5.start=0x003f0000
                    190: #hint.map.5.end=0x00400000     # 64k ART
                    191: hint.map.5.start=0x007f0000
                    192: hint.map.5.end=0x00800000      # 64k ART
1.1.2.1   misho     193: hint.map.5.name="ART"
                    194: hint.map.5.readonly=1
                    195: 
                    196: hint.map.6.at="flash/spi0"
                    197: hint.map.6.start=0x00050000
                    198: hint.map.6.end=0x007e0000      # 7744k firmware
                    199: hint.map.6.name="firmware"
1.1.2.4   misho     200: hint.map.6.readonly=0

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