Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # $FreeBSD: head/sys/mips/conf/AP91.hints 239799 2012-08-29 01:08:36Z adrian $
- # arge0 MDIO bus doesn't exist on the AR7241
- # arge1 MDIO bus
- hint.argemdio.0.at="nexus0"
- hint.argemdio.0.maddr=0x1a000000
- hint.argemdio.0.msize=0x1000
- hint.argemdio.0.order=0
- # Override MAC Address with the one on EEPROM
- hint.arge.0.eeprommac=0x1f01fc00
- # arge0: dedicated switch port; RMII; dedicated PHY 4 on switch, connected
- # via internal switch MDIO bus.
- hint.arge.0.media=100 # Map to 100/full
- hint.arge.0.fduplex=1 #
- hint.arge.0.phymask=0x10 # PHY4
- hint.arge.0.mdio=mdioproxy1 # .. off of the switch mdiobus
- # arge1: nail to 1000/full, RMII - connected to the switch
- hint.arge.1.media=1000 # Map to 1000/full
- hint.arge.1.fduplex=1 #
- hint.arge.1.phymask=0x0 # no directly mapped PHYs
- #
- # AR7240 switch config
- #
- hint.arswitch.0.at="mdio0"
- hint.arswitch.0.is_7240=1 # We need to be explicitly told this
- hint.arswitch.0.numphys=4 # 4 active switch PHYs (PHY 0 -> 3)
- hint.arswitch.0.phy4cpu=1 # Yes, PHY 4 == dedicated PHY
- hint.arswitch.0.is_rgmii=0 # No, not RGMII
- hint.arswitch.0.is_gmii=0 # No, not GMII
- # ath0 hint - pcie slot 0
- hint.pcib.0.bus.0.0.0.ath_fixup_addr=0x1fff1000
- hint.pcib.0.bus.0.0.0.ath_fixup_size=4096
- # ath
- hint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware"
- # GPIO
- hint.gpio.0.pinmask=0x1943 # Pin 0: Led QSS
- # Pin 1: Led SYS
- # Pin 6: USB Power
- # Pin 8: Led 3G
- # Pin 11: Reset sw
- # Pin 12: QSS sw
- hint.gpio.0.pinon=0x143 # Turn off QSS, SYS, 3G leds
- # and turn on the USB Power
- # Signal leds
- hint.gpioled.0.at="gpiobus0"
- hint.gpioled.0.name="qss"
- hint.gpioled.0.pins=0x0001 # pin 0
- hint.gpioled.1.at="gpiobus0"
- hint.gpioled.1.name="sys"
- hint.gpioled.1.pins=0x0002 # pin 1
- hint.gpioled.2.at="gpiobus0"
- hint.gpioled.2.name="3g"
- hint.gpioled.2.pins=0x0100 # pin 8
- # GEOM_MAP
- #
- # From my TP-MR3220 environment:
- #
- # mtdparts=ar7240-nor0:128k(u-boot),3840k(rootfs),64k(config),64k(art)
- #
- hint.map.0.at="flash/spi0"
- hint.map.0.start=0x00000000
- hint.map.0.end=0x00020000 # 128k u-boot
- hint.map.0.name="u-boot"
- hint.map.0.readonly=1
- hint.map.1.at="flash/spi0"
- hint.map.1.start=0x00020000
- hint.map.1.end=0x003e0000 # 3840k rootfs
- hint.map.1.name="rootsfs"
- hint.map.1.readonly=0
- hint.map.2.at="flash/spi0"
- hint.map.2.start=0x003e0000
- hint.map.2.end=0x003f0000 # 64k config
- hint.map.2.name="config"
- hint.map.2.readonly=1
- hint.map.3.at="flash/spi0"
- hint.map.3.start=0x003f0000
- hint.map.3.end=0x00400000 # 64k ART
- hint.map.3.name="ART"
- hint.map.3.readonly=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement