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/AP96.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.1/sys/mips/conf/AP96.hints 242724 2012-11-07 23:50:28Z adrian $
    2 
    3 # arge0 MDIO bus - there's no arge1 MDIO bus for AR71xx
    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 # This creates an automatic mdioproxy0!
    9 
   10 
   11 # The switch automatically probes off of mdio0, and will
   12 # create an mdioproxy1.
   13 
   14 # TODO: RGMII
   15 hint.arge.0.phymask=0x0         # Nothing attached here (XXX?)
   16 hint.arge.0.media=1000
   17 hint.arge.0.fduplex=1
   18 hint.arge.0.miimode=3           # RGMII
   19 
   20 # TODO: RGMII
   21 hint.arge.1.phymask=0x10
   22 # hint.arge.1.pll_1000 = 0x1f000000
   23 # For now, rendezouvs this on the arge0 mdiobus.
   24 # Later, this will rendezvous via the AR8316 switch.
   25 hint.arge.1.miimode=3           # RGMII
   26 hint.arge.1.mdio=mdioproxy1     # off the switch mdiobus
   27 
   28 # AR8316 switch on MDIO0
   29 hint.arswitch.0.at="mdio0"
   30 hint.arswitch.0.is_7240=0
   31 hint.arswitch.0.numphys=4
   32 hint.arswitch.0.phy4cpu=1
   33 hint.arswitch.0.is_rgmii=1
   34 hint.arswitch.0.is_gmii=0
   35 
   36 # ath0 - slot 17
   37 hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1fff1000
   38 hint.pcib.0.bus.0.17.0.ath_fixup_size=4096
   39 
   40 # ath1 - slot 18
   41 hint.pcib.0.bus.0.18.0.ath_fixup_addr=0x1fff5000
   42 hint.pcib.0.bus.0.18.0.ath_fixup_size=4096
   43 
   44 # .. and now, telling each ath(4) NIC where to find the firmware
   45 # image.
   46 hint.ath.0.eeprom_firmware="pcib.0.bus.0.17.0.eeprom_firmware"
   47 hint.ath.1.eeprom_firmware="pcib.0.bus.0.18.0.eeprom_firmware"
   48 
   49 # The default flash layout:
   50 # uboot: 192k
   51 # env: 64k
   52 # rootfs: 6144k
   53 # uimage (kernel): 1728k
   54 # caldata: 64k
   55 #
   56 # bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init
   57 #    mtdparts=ar7100-nor0:192k(uboot),64k(env),6144k(rootfs),1728k(uImage),64k(caldata) mem=64M
   58 
   59 #
   60 # We steal 64k from the end of rootfs to store the local config.
   61 
   62 hint.map.0.at="flash/spi0"
   63 hint.map.0.start=0x00000000
   64 hint.map.0.end=0x000030000
   65 hint.map.0.name="uboot"
   66 hint.map.0.readonly=1
   67 
   68 hint.map.1.at="flash/spi0"
   69 hint.map.1.start=0x00030000
   70 hint.map.1.end=0x00040000
   71 hint.map.1.name="uboot-env"
   72 hint.map.1.readonly=1
   73 
   74 hint.map.2.at="flash/spi0"
   75 hint.map.2.start=0x00040000
   76 hint.map.2.end=0x00630000
   77 hint.map.2.name="rootfs"
   78 hint.map.2.readonly=1
   79 
   80 hint.map.3.at="flash/spi0"
   81 hint.map.3.start=0x00630000
   82 hint.map.3.end=0x00640000
   83 hint.map.3.name="cfg"
   84 hint.map.3.readonly=0
   85 
   86 hint.map.4.at="flash/spi0"
   87 hint.map.4.start=0x00640000
   88 hint.map.4.end=0x007f0000
   89 hint.map.4.name="kernel"
   90 hint.map.4.readonly=1
   91 
   92 hint.map.5.at="flash/spi0"
   93 hint.map.5.start=0x007f0000
   94 hint.map.5.end=0x00800000
   95 hint.map.5.name="art"
   96 hint.map.5.readonly=1
   97 

Cache object: be1dfe612dcf804ba11459a26d11d4fd


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