The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/mips/conf/AP91.hints

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD: releng/10.0/sys/mips/conf/AP91.hints 242718 2012-11-07 22:46:30Z ray $
    2 
    3 # arge0 MDIO bus
    4 hint.argemdio.0.at="nexus0"
    5 hint.argemdio.0.maddr=0x19000000
    6 hint.argemdio.0.msize=0x1000
    7 hint.argemdio.0.order=0
    8 
    9 # arge1 MDIO bus doesn't exist on the AR7240
   10 
   11 # arge0: MII; dedicated PHY 4 on switch, connected via internal switch
   12 # MDIO bus.
   13 
   14 hint.arge.0.at="nexus0"
   15 hint.arge.0.maddr=0x19000000
   16 hint.arge.0.msize=0x1000
   17 hint.arge.0.irq=2
   18 # hint.arge.0.eeprommac=0x83fe9ff0
   19 hint.arge.0.phymask=0x10        # PHY 4
   20 # hint.arge.0.miimode=2         # MII
   21 hint.arge.0.mdio=mdioproxy1     # Hanging off the arswitch MDIO bus
   22 
   23 # arge1: connected to the LAN switch MAC, at 1000BaseTX / GMII.
   24 
   25 hint.arge.1.phymask=0x0
   26 # hint.arge.1.miimode=1         # GMII
   27 hint.arge.1.media=1000          # Force to 1000BaseTX/full
   28 hint.arge.1.fduplex=1
   29 
   30 #
   31 # AR7240 switch config
   32 #
   33 hint.arswitch.0.at="mdio0"
   34 hint.arswitch.0.is_7240=1       # We need to be explicitly told this
   35 hint.arswitch.0.numphys=4       # 4 active switch PHYs (PHY 0 -> 3)
   36 hint.arswitch.0.phy4cpu=1       # Yes, PHY 4 == dedicated PHY
   37 hint.arswitch.0.is_rgmii=0      # No, not RGMII
   38 hint.arswitch.0.is_gmii=0       # No, not GMII
   39 
   40 # ath0 hint - pcie slot 0
   41 hint.pcib.0.bus.0.0.0.ath_fixup_addr=0x1fff1000
   42 hint.pcib.0.bus.0.0.0.ath_fixup_size=4096
   43 
   44 # ath
   45 hint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware"
   46 
   47 # Signal leds
   48 hint.gpioled.0.at="gpiobus0"
   49 hint.gpioled.0.name="sig1"
   50 hint.gpioled.0.pins=0x0001      # pin 0
   51 hint.gpioled.1.at="gpiobus0"
   52 hint.gpioled.1.name="sig2"
   53 hint.gpioled.1.pins=0x0002      # pin 1
   54 hint.gpioled.2.at="gpiobus0"
   55 hint.gpioled.2.name="sig3"
   56 hint.gpioled.2.pins=0x0800      # pin 11
   57 hint.gpioled.3.at="gpiobus0"
   58 hint.gpioled.3.name="sig4"
   59 hint.gpioled.3.pins=0x0080      # pin 7
   60 
   61 # nvram mapping - XXX ?
   62 hint.nvram.0.base=0x1f030000
   63 hint.nvram.0.maxsize=0x2000
   64 hint.nvram.0.flags=3 # 1 = No check, 2 = Format Generic
   65 hint.nvram.1.base=0x1f032000
   66 hint.nvram.1.maxsize=0x4000
   67 hint.nvram.1.flags=3 # 1 = No check, 2 = Format Generic
   68 
   69 # GEOM_MAP
   70 #
   71 # From my AP91 environment:
   72 #
   73 # mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),
   74 #    960k(uImage),64k(ART)
   75 
   76 hint.map.0.at="flash/spi0"
   77 hint.map.0.start=0x00000000
   78 hint.map.0.end=0x00040000       # 256k u-boot
   79 hint.map.0.name="u-boot"
   80 hint.map.0.readonly=1
   81 
   82 hint.map.1.at="flash/spi0"
   83 hint.map.1.start=0x00040000
   84 hint.map.1.end=0x00050000       # 64k u-boot-env
   85 hint.map.1.name="u-boot-env"
   86 hint.map.1.readonly=0
   87 
   88 hint.map.2.at="flash/spi0"
   89 hint.map.2.start=0x00050000
   90 hint.map.2.end=0x00300000       # 2752k rootfs
   91 hint.map.2.name="rootfs"
   92 hint.map.2.readonly=1
   93 
   94 hint.map.3.at="flash/spi0"
   95 hint.map.3.start=0x00300000
   96 hint.map.3.end=0x003f0000       # 896k uImage
   97 hint.map.3.name="uImage"
   98 hint.map.3.readonly=1
   99 
  100 hint.map.4.at="flash/spi0"
  101 hint.map.4.start=0x003f0000
  102 hint.map.4.end=0x00400000       # 64k ART
  103 hint.map.4.name="ART"
  104 hint.map.4.readonly=1

Cache object: 2cfb217663de46c70ff7c3d6de08c422


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.