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/PICOSTATION_M2HP.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/PICOSTATION_M2HP.hints 276716 2015-01-05 19:54:40Z hiren $
    2 
    3 # arge1 MDIO bus
    4 hint.argemdio.0.at="nexus0"
    5 hint.argemdio.0.maddr=0x1a000000
    6 hint.argemdio.0.msize=0x1000
    7 hint.argemdio.0.order=0
    8 
    9 # Override MAC Address with the one on EEPROM
   10 hint.arge.0.eeprommac=0x1fff0000
   11 
   12 # arge0: dedicated switch port; RMII; dedicated PHY 4 on switch, connected
   13 # via internal switch MDIO bus.
   14 hint.arge.0.media=100           # Map to 100/full
   15 hint.arge.0.fduplex=1           #
   16 hint.arge.0.phymask=0x10        # PHY4
   17 hint.arge.0.mdio=mdioproxy1     # .. off of the switch mdiobus
   18 
   19 # arge1: nail to 1000/full, RMII - connected to the switch
   20 hint.arge.1.media=1000          # Map to 1000/full
   21 hint.arge.1.fduplex=1           #
   22 hint.arge.1.phymask=0x0         # no directly mapped PHYs
   23 
   24 #
   25 # AR7240 switch config
   26 #
   27 hint.arswitch.0.at="mdio0"
   28 hint.arswitch.0.is_7240=1       # We need to be explicitly told this
   29 hint.arswitch.0.numphys=4       # 4 active switch PHYs (PHY 0 -> 3)
   30 hint.arswitch.0.phy4cpu=1       # Yes, PHY 4 == dedicated PHY
   31 hint.arswitch.0.is_rgmii=0      # No, not RGMII
   32 hint.arswitch.0.is_gmii=0       # No, not GMII
   33 
   34 # ath0 hint - pcie slot 0
   35 hint.pcib.0.bus.0.0.0.ath_fixup_addr=0x1fff1000
   36 hint.pcib.0.bus.0.0.0.ath_fixup_size=4096
   37 
   38 # ath
   39 hint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware"
   40 
   41 # GPIO pins
   42 # Pin 0: red led (sig1)
   43 # Pin 1: yellow led (sig2)
   44 # Pin 11: green len (sig3)
   45 # Pin 7: green len (sig4)
   46 # Pin 12: Reset switch
   47 hint.gpio.0.pinmask=0x1883
   48 
   49 # Signal leds
   50 hint.gpioled.0.at="gpiobus0"
   51 hint.gpioled.0.name="sig1"
   52 hint.gpioled.0.pins=0x0001     # pin 0
   53 hint.gpioled.1.at="gpiobus0"
   54 hint.gpioled.1.name="sig2"
   55 hint.gpioled.1.pins=0x0002     # pin 1
   56 hint.gpioled.2.at="gpiobus0"
   57 hint.gpioled.2.name="sig3"
   58 hint.gpioled.2.pins=0x0800     # pin 11
   59 hint.gpioled.3.at="gpiobus0"
   60 hint.gpioled.3.name="sig4"
   61 hint.gpioled.3.pins=0x0080     # pin 7
   62 
   63 # GEOM_MAP
   64 #
   65 # Picostation M2 HP
   66 #
   67 # mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM)
   68 
   69 hint.map.0.at="flash/spi0"
   70 hint.map.0.start=0x00000000
   71 hint.map.0.end=0x00040000       # 256k u-boot
   72 hint.map.0.name="u-boot"
   73 hint.map.0.readonly=1
   74 
   75 hint.map.1.at="flash/spi0"
   76 hint.map.1.start=0x00040000
   77 hint.map.1.end=0x00050000       # 64k u-boot-env 
   78 hint.map.1.name="u-boot-env"
   79 hint.map.1.readonly=1
   80 
   81 hint.map.2.at="flash/spi0"
   82 hint.map.2.start=0x00050000
   83 hint.map.2.end="search:0x00100000:0x10000:.!/bin/sh"
   84 hint.map.2.name="kernel"
   85 hint.map.2.readonly=1
   86 
   87 hint.map.3.at="flash/spi0"
   88 hint.map.3.start="search:0x00100000:0x10000:.!/bin/sh"
   89 hint.map.3.end=0x007b0000
   90 hint.map.3.name="rootfs"
   91 hint.map.3.readonly=0
   92 
   93 hint.map.4.at="flash/spi0"
   94 hint.map.4.start=0x007b0000
   95 hint.map.4.end=0x007f0000       # 256k cfg
   96 hint.map.4.name="cfg"
   97 hint.map.4.readonly=0
   98 
   99 hint.map.5.at="flash/spi0"
  100 hint.map.5.start=0x007f0000
  101 hint.map.5.end=0x00800000       # 64k EEPROM
  102 hint.map.5.name="eeprom"
  103 hint.map.5.readonly=1

Cache object: 72a0b905c9e721e5ba46ed94b2e36f4e


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