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/PB47.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 
    2 # $FreeBSD: releng/10.3/sys/mips/conf/PB47.hints 228988 2011-12-30 09:48:35Z adrian $
    3 
    4 # There's two interfaces, but only one socket is populated.
    5 #
    6 # There's an AR8021 PHY attached to arge1.
    7 #
    8 # XXX TODO: figure out where to extract the MAC from.
    9 hint.arge.1.phymask=0x01
   10 
   11 # XXX TODO: pass in hints for the GPIO -> LED mapping for the
   12 # minipci slot.  The specific customer reference design NIC
   13 # wires GPIO5 from each AR9220 to one of two GPIO pins on the
   14 # MiniPCI bus.  However, this may be very specific to the NIC
   15 # being used.
   16 
   17 # The default flash layout:
   18 # uboot: 192k
   19 # env: 64k
   20 # rootfs: 6144k
   21 # uimage (kernel): 1728k
   22 # caldata: 64k
   23 #
   24 # We steal 64k from the end of rootfs to store the local config.
   25 
   26 hint.map.0.at="flash/spi0"
   27 hint.map.0.start=0x00000000
   28 hint.map.0.end=0x000030000
   29 hint.map.0.name="uboot"
   30 hint.map.0.readonly=1
   31 
   32 hint.map.1.at="flash/spi0"
   33 hint.map.1.start=0x00030000
   34 hint.map.1.end=0x00040000
   35 hint.map.1.name="uboot-env"
   36 hint.map.1.readonly=1
   37 
   38 hint.map.2.at="flash/spi0"
   39 hint.map.2.start=0x00040000
   40 hint.map.2.end=0x00630000
   41 hint.map.2.name="rootfs"
   42 hint.map.2.readonly=1
   43 
   44 hint.map.3.at="flash/spi0"
   45 hint.map.3.start=0x00630000
   46 hint.map.3.end=0x00640000
   47 hint.map.3.name="cfg"
   48 hint.map.3.readonly=0
   49 
   50 hint.map.4.at="flash/spi0"
   51 hint.map.4.start=0x00640000
   52 hint.map.4.end=0x007f0000
   53 hint.map.4.name="kernel"
   54 hint.map.4.readonly=1
   55 
   56 hint.map.5.at="flash/spi0"
   57 hint.map.5.start=0x007f0000
   58 hint.map.5.end=0x00800000
   59 hint.map.5.name="art"
   60 hint.map.5.readonly=1
   61 
   62 # Don't flip on anything that isn't already enabled by the
   63 # bootloader.
   64 hint.gpio.0.function_set=0x00000000
   65 hint.gpio.0.function_clear=0x00000000
   66 
   67 # Which GPIO lines to enable - just GPIO2/3 for the LEDs.
   68 hint.gpio.0.pinmask=0x0000000c
   69 
   70 # GPIO2 and GPIO3 are LEDs, where 0=on and 1=off.
   71 # XXX TODO: teach gpioled about polarity?
   72 hint.gpioled.0.at="gpiobus0"
   73 hint.gpioled.0.pins="0x0004"
   74 hint.gpioled.0.name="led1"
   75 
   76 hint.gpioled.1.at="gpiobus0"
   77 hint.gpioled.1.pins="0x0008"
   78 hint.gpioled.1.name="led2"
   79 

Cache object: 87dab7f4ba00027215ff52620d139cc3


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