Annotation of elwix/config/ALFA_NX.hints, revision 1.1.2.3

1.1.2.2   misho       1: #
                      2: ## ELWIX - ALFA Nx kernel hints file
                      3: #
1.1.2.3 ! misho       4: # $Id: ALFA_NX.hints,v 1.1.2.2 2013/05/21 17:05:36 misho Exp $
1.1.2.2   misho       5: #
                      6: 
1.1.2.1   misho       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: 
1.1.2.2   misho      17: #ohci
                     18: hint.ohci.0.at="apb0"
                     19: hint.ohci.0.maddr=0x1c000000
                     20: hint.ohci.0.msize=0x01000000
                     21: hint.ohci.0.irq=6
                     22: 
                     23: #ehci
1.1.2.1   misho      24: hint.ehci.0.at="nexus0"
                     25: hint.ehci.0.maddr=0x1b000100
1.1.2.2   misho      26: hint.ehci.0.msize=0x01000000
1.1.2.1   misho      27: hint.ehci.0.irq=1
                     28: 
                     29: # pci
                     30: hint.pcib.0.at="nexus0"
                     31: hint.pcib.0.irq=0
                     32: 
1.1.2.3 ! misho      33: # ath0 hint - pcie slot 0
        !            34: hint.pcib.0.bus.0.0.0.ath_fixup_addr=0x1fff1000
        !            35: hint.pcib.0.bus.0.0.0.ath_fixup_size=4096
        !            36: 
        !            37: # ath
        !            38: hint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware"
        !            39: # Where the ART is
        !            40: hint.ath.0.eepromaddr=0x1fff1000
        !            41: 
1.1.2.1   misho      42: # arge0 MDIO bus
                     43: hint.argemdio.0.at="nexus0"
                     44: hint.argemdio.0.maddr=0x19000000
                     45: hint.argemdio.0.msize=0x1000
                     46: hint.argemdio.0.order=0
                     47: 
                     48: # arge0: MII; dedicated PHY 4 on switch, connected via internal switch
                     49: # MDIO bus.
                     50: 
                     51: # hint.arge.0.eeprommac=0x83fe9ff0
                     52: hint.arge.0.phymask=0x10       # PHY 4
                     53: # hint.arge.0.miimode=2                # MII
                     54: hint.arge.0.mdio=mdioproxy1    # Hanging off the arswitch MDIO bus
                     55: 
                     56: # arge1: connected to the LAN switch MAC, at 1000BaseTX / GMII.
                     57: hint.arge.1.phymask=0x0
1.1.2.3 ! misho      58: hint.arge.1.mdio=mdioproxy1    # Hanging off the arswitch MDIO bus
1.1.2.1   misho      59: # hint.arge.1.miimode=1                # GMII
                     60: #hint.arge.1.media=1000                # Force to 1000BaseTX/full
                     61: #hint.arge.1.fduplex=1
                     62: 
                     63: #
                     64: # AR7240 switch config
                     65: #
                     66: hint.arswitch.0.at="mdio0"
                     67: hint.arswitch.0.is_7240=1      # We need to be explicitly told this
                     68: hint.arswitch.0.numphys=4      # 4 active switch PHYs (PHY 0 -> 3)
                     69: hint.arswitch.0.phy4cpu=1      # Yes, PHY 4 == dedicated PHY
1.1.2.3 ! misho      70: hint.arswitch.0.is_rgmii=1     # No, not RGMII
1.1.2.1   misho      71: hint.arswitch.0.is_gmii=0      # No, not GMII
                     72: 
                     73: ## arge0
1.1.2.2   misho      74: hint.arge.0.at="nexus0"
                     75: hint.arge.0.maddr=0x19000000
                     76: hint.arge.0.msize=0x1000
                     77: hint.arge.0.irq=2
                     78: 
                     79: 
                     80: hint.arge.1.at="nexus0"
                     81: hint.arge.1.maddr=0x1a000000
                     82: hint.arge.1.msize=0x1000
                     83: hint.arge.1.irq=3
1.1.2.1   misho      84: 
                     85: # GPIO
                     86: hint.gpio.0.at="apb0"
                     87: hint.gpio.0.maddr=0x18040000
                     88: hint.gpio.0.msize=0x1000
                     89: hint.gpio.0.irq=2
                     90: 
                     91: # Signal leds
                     92: hint.gpioled.0.at="gpiobus0"
1.1.2.3 ! misho      93: hint.gpioled.0.name="but0"
        !            94: hint.gpioled.0.pins=0x00800    # pin 11
1.1.2.1   misho      95: hint.gpioled.1.at="gpiobus0"
                     96: hint.gpioled.1.name="sig2"
1.1.2.3 ! misho      97: hint.gpioled.1.pins=0x20000    # pin 17
1.1.2.1   misho      98: hint.gpioled.2.at="gpiobus0"
                     99: hint.gpioled.2.name="sig3"
1.1.2.3 ! misho     100: hint.gpioled.2.pins=0x10000    # pin 16
        !           101: hint.gpioled.4.at="gpiobus0"
        !           102: hint.gpioled.4.name="sig5"
        !           103: hint.gpioled.4.pins=0x01000    # pin 12
        !           104: hint.gpioled.5.at="gpiobus0"
        !           105: hint.gpioled.5.name="sig6"
        !           106: hint.gpioled.5.pins=0x00100    # pin 8
        !           107: hint.gpioled.6.at="gpiobus0"
        !           108: hint.gpioled.6.name="sig7"
        !           109: hint.gpioled.6.pins=0x00040    # pin 6
        !           110: hint.gpioled.7.at="gpiobus0"
        !           111: hint.gpioled.7.name="sig8"
        !           112: hint.gpioled.7.pins=0x00080    # pin 7
1.1.2.1   misho     113: 
                    114: # SPI controller/bus
                    115: hint.spi.0.at="nexus0"
                    116: hint.spi.0.maddr=0x1f000000
                    117: hint.spi.0.msize=0x10
                    118: 
                    119: # SPI flash
                    120: hint.mx25l.0.at="spibus0"
                    121: hint.mx25l.0.cs=0
                    122: 
                    123: # Watchdog
                    124: hint.ar71xx_wdog.0.at="nexus0"
                    125: 
                    126: # nvram mapping - XXX ?
                    127: hint.nvram.0.base=0x1f030000
                    128: hint.nvram.0.maxsize=0x2000
                    129: hint.nvram.0.flags=3 # 1 = No check, 2 = Format Generic
                    130: hint.nvram.1.base=0x1f032000
                    131: hint.nvram.1.maxsize=0x4000
                    132: hint.nvram.1.flags=3 # 1 = No check, 2 = Format Generic
                    133: 
1.1.2.2   misho     134: # hwpmc device
                    135: hint.ar71xx_pmc.0.at="apb0"
                    136: hint.ar71xx_pmc.0.irq=5
                    137: 
1.1.2.1   misho     138: # GEOM_MAP
                    139: #
                    140: # From my PB92 environment:
                    141: #
                    142: # mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),896k(uImage),64k(NVRAM),64k(ART)
                    143: 
                    144: hint.map.0.at="flash/spi0"
                    145: hint.map.0.start=0x00000000
                    146: hint.map.0.end=0x00040000      # 256k u-boot
                    147: hint.map.0.name="u-boot"
                    148: hint.map.0.readonly=1
                    149: 
                    150: hint.map.1.at="flash/spi0"
                    151: hint.map.1.start=0x00040000
                    152: hint.map.1.end=0x00050000      # 64k u-boot-env
                    153: hint.map.1.name="u-boot-env"
                    154: hint.map.1.readonly=0
                    155: 
                    156: hint.map.2.at="flash/spi0"
                    157: hint.map.2.start=0x00050000
                    158: hint.map.2.end=0x00650000      # 6144k rootfs
                    159: hint.map.2.name="rootfs"
                    160: hint.map.2.readonly=0
                    161: 
                    162: hint.map.3.at="flash/spi0"
                    163: hint.map.3.start=0x00650000
                    164: hint.map.3.end=0x007e0000      # 1600k uImage
                    165: hint.map.3.name="uImage"
                    166: hint.map.3.readonly=0
                    167: 
                    168: hint.map.4.at="flash/spi0"
                    169: hint.map.4.start=0x007e0000
                    170: hint.map.4.end=0x007f0000      # 64k NVRAM
                    171: hint.map.4.name="NVRAM"
                    172: hint.map.4.readonly=0
                    173: 
                    174: hint.map.5.at="flash/spi0"
                    175: hint.map.5.start=0x007f0000
                    176: hint.map.5.end=0x00800000      # 64k ART
                    177: hint.map.5.name="ART"
                    178: hint.map.5.readonly=0
                    179: 
                    180: hint.map.6.at="flash/spi0"
                    181: hint.map.6.start=0x00050000
                    182: hint.map.6.end=0x007e0000      # 7744k firmware
                    183: hint.map.6.name="firmware"
                    184: hint.map.6.readonly=1

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