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/AP93.hints

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD: releng/10.3/sys/mips/conf/AP93.hints 252689 2013-07-04 08:09:54Z adrian $
    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.eeprommac=0x83fe9ff0
   15 hint.arge.0.phymask=0x10        # PHY 4
   16 # hint.arge.0.miimode=2         # MII
   17 hint.arge.0.mdio=mdioproxy1     # Hanging off the arswitch MDIO bus
   18 
   19 # arge1: connected to the LAN switch MAC, at 1000BaseTX / GMII.
   20 hint.arge.1.phymask=0x0
   21 # hint.arge.1.miimode=1         # GMII
   22 hint.arge.1.media=1000          # Force to 1000BaseTX/full
   23 hint.arge.1.fduplex=1
   24 
   25 #
   26 # AR7240 switch config
   27 #
   28 hint.arswitch.0.at="mdio0"
   29 hint.arswitch.0.is_7240=1       # We need to be explicitly told this
   30 hint.arswitch.0.numphys=4       # 4 active switch PHYs (PHY 0 -> 3)
   31 hint.arswitch.0.phy4cpu=1       # Yes, PHY 4 == dedicated PHY
   32 hint.arswitch.0.is_rgmii=0      # No, not RGMII
   33 hint.arswitch.0.is_gmii=0       # No, not GMII
   34 
   35 # ath0 hint - pcie slot 0
   36 hint.pcib.0.bus.0.0.0.ath_fixup_addr=0x1fff1000
   37 hint.pcib.0.bus.0.0.0.ath_fixup_size=4096
   38 
   39 # ath0 - eeprom comes from here
   40 hint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware"
   41 
   42 # Signal leds
   43 hint.gpioled.0.at="gpiobus0"
   44 hint.gpioled.0.name="sig1"
   45 hint.gpioled.0.pins=0x0001      # pin 0
   46 hint.gpioled.1.at="gpiobus0"
   47 hint.gpioled.1.name="sig2"
   48 hint.gpioled.1.pins=0x0002      # pin 1
   49 hint.gpioled.2.at="gpiobus0"
   50 hint.gpioled.2.name="sig3"
   51 hint.gpioled.2.pins=0x0800      # pin 11
   52 hint.gpioled.3.at="gpiobus0"
   53 hint.gpioled.3.name="sig4"
   54 hint.gpioled.3.pins=0x0080      # pin 7
   55 
   56 # nvram mapping - XXX ?
   57 hint.nvram.0.base=0x1f030000
   58 hint.nvram.0.maxsize=0x2000
   59 hint.nvram.0.flags=3 # 1 = No check, 2 = Format Generic
   60 hint.nvram.1.base=0x1f032000
   61 hint.nvram.1.maxsize=0x4000
   62 hint.nvram.1.flags=3 # 1 = No check, 2 = Format Generic
   63 
   64 # GEOM_MAP
   65 #
   66 # From my AP93 environment:
   67 #
   68 # 256k - uboot
   69 # 256k - uboot-env
   70 # 3072k - spare-rootfs
   71 # 1024k - spare-uImage
   72 # 3072k - rootfs
   73 # 1024k - uImage
   74 # 64k - mib0
   75 # 64k - mib1
   76 # 4096k - ct
   77 # 3392k - var
   78 # 64k - ART
   79 
   80 # To make it useful for FreeBSD for now, treat spare rootfs, spare
   81 # uimage and rootfs as 'rootfs'.
   82 
   83 hint.map.0.at="flash/spi0"
   84 hint.map.0.start=0x00000000
   85 hint.map.0.end=0x00040000
   86 hint.map.0.name="uboot"
   87 hint.map.0.readonly=1
   88 
   89 hint.map.1.at="flash/spi0"
   90 hint.map.1.start=0x00040000
   91 hint.map.1.end=0x00080000
   92 hint.map.1.name="uboot-env"
   93 hint.map.1.readonly=1
   94 
   95 hint.map.2.at="flash/spi0"
   96 hint.map.2.start=0x00080000
   97 # hint.map.2.end=0x00380000
   98 hint.map.2.end=0x00780000
   99 # hint.map.2.name="spare-rootfs"
  100 hint.map.2.name="rootfs"
  101 hint.map.2.readonly=1
  102 
  103 #hint.map.3.at="flash/spi0"
  104 #hint.map.3.start=0x00380000
  105 #hint.map.3.end=0x00480000
  106 #hint.map.3.name="spare-uImage"
  107 #hint.map.3.readonly=1
  108 
  109 #hint.map.4.at="flash/spi0"
  110 #hint.map.4.start=0x00480000
  111 #hint.map.4.end=0x00780000
  112 #hint.map.4.name="rootfs"
  113 #hint.map.4.readonly=1
  114 
  115 hint.map.3.at="flash/spi0"
  116 hint.map.3.start=0x00780000
  117 hint.map.3.end=0x00880000
  118 hint.map.3.name="uImage"
  119 hint.map.3.readonly=1
  120 
  121 hint.map.4.at="flash/spi0"
  122 hint.map.4.start=0x00880000
  123 hint.map.4.end=0x00890000
  124 hint.map.4.name="mib0"
  125 hint.map.4.readonly=1
  126 
  127 hint.map.5.at="flash/spi0"
  128 hint.map.5.start=0x00890000
  129 hint.map.5.end=0x008a0000
  130 hint.map.5.name="mib1"
  131 hint.map.5.readonly=1
  132 
  133 hint.map.6.at="flash/spi0"
  134 hint.map.6.start=0x008a0000
  135 hint.map.6.end=0x00ca0000
  136 hint.map.6.name="ct"
  137 hint.map.6.readonly=1
  138 
  139 hint.map.7.at="flash/spi0"
  140 hint.map.7.start=0x00ca0000
  141 hint.map.7.end=0x00ff0000
  142 hint.map.7.name="var"
  143 hint.map.7.readonly=1
  144 
  145 hint.map.8.at="flash/spi0"
  146 hint.map.8.start=0x00ff0000
  147 hint.map.8.end=0x01000000       # 64k ART
  148 hint.map.8.name="ART"
  149 hint.map.8.readonly=1
  150 

Cache object: a07b1ae2c95787366ccf546d2a6dbb6b


[ 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.