diff options
author | adrian <adrian@FreeBSD.org> | 2012-04-15 22:59:56 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-04-15 22:59:56 +0000 |
commit | 230291dbf193335d27e1ed8f421a9c227f5c0607 (patch) | |
tree | 31a380976690057e331f97e18b9f6dfb81876835 /sys/mips/conf | |
parent | 66d589b127f7dad9c8668d9aa90fa686c0360301 (diff) | |
download | FreeBSD-src-230291dbf193335d27e1ed8f421a9c227f5c0607.zip FreeBSD-src-230291dbf193335d27e1ed8f421a9c227f5c0607.tar.gz |
Add in the AP96 phy configuration from openwrt.
* arge0 doesn't (yet) work via the switch PHY ports; I'm not sure why.
* arge1 maps to the WAN port. That works.
TODO:
* The PLL register needs a different (non-default) value for Gigabit
Ethernet. The board setup code needs to be extended a bit to allow
for non-default pll_1000 values - right now, those values come out
of hard-coded values in the per-chip set_pll_ge() routines.
Obtained from: Linux / OpenWRT
Diffstat (limited to 'sys/mips/conf')
-rw-r--r-- | sys/mips/conf/AP96.hints | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/sys/mips/conf/AP96.hints b/sys/mips/conf/AP96.hints index b69330a..63ce1ba 100644 --- a/sys/mips/conf/AP96.hints +++ b/sys/mips/conf/AP96.hints @@ -1,17 +1,15 @@ # $FreeBSD$ -hint.arge.0.phymask=0x000c -hint.arge.0.media=100 +# TODO: RGMII +hint.arge.0.phymask=0x0f +hint.arge.0.media=1000 hint.arge.0.fduplex=1 -# XXX grab these from uboot? -# hint.arge.0.eeprommac=0x1f01fc00 - -# The ath NICs have calibration data in flash. -# PCI slot 17 -# hint.ath.0.eepromaddr=0x1fff1000 -# PCI slot 18 -# hint.ath.1.eepromaddr=0x1fff5000 +# TODO: RGMII +# TODO: pll_1000 = 0x1f000000 +hint.arge.1.phymask=0x10 +# hint.arge.1.media=1000 +# hint.arge.1.fduplex=1 # ath0 - slot 17 hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1fff1000 |