aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/conf
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2014-03-16 02:34:33 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2014-03-16 02:34:33 +0000
commit83e19d05881947bee61ec04dc72cbfcfe1dc20b2 (patch)
treef1b9e6bf7d473e4e0686970278dff454fb8335d2 /sys/mips/conf
parent1110970b4cf7efc62ea311bd4af58cd13a98baa8 (diff)
downloadsrc-83e19d05881947bee61ec04dc72cbfcfe1dc20b2.tar.gz
src-83e19d05881947bee61ec04dc72cbfcfe1dc20b2.zip
* Add ethernet MAC configuration from the EEPROM for arge0/arge1
* The AR9344 switch has 5 ports in use, not four. Tested: * DB120 reference board
Notes
Notes: svn path=/head/; revision=263223
Diffstat (limited to 'sys/mips/conf')
-rw-r--r--sys/mips/conf/DB120.hints8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/mips/conf/DB120.hints b/sys/mips/conf/DB120.hints
index 11eed09c3e89..9dd5d7ceb49a 100644
--- a/sys/mips/conf/DB120.hints
+++ b/sys/mips/conf/DB120.hints
@@ -55,6 +55,9 @@ hint.arge.0.fduplex=1
hint.arge.0.miimode=3 # RGMII
hint.arge.0.pll_1000=0x06000000
+# MAC for arge0 is the first 6 bytes of the ART
+hint.arge.0.eeprommac=0x1f7f0000
+
# mdiobus1 on arge1
hint.argemdio.1.at="nexus0"
hint.argemdio.1.maddr=0x1a000000
@@ -67,7 +70,7 @@ hint.argemdio.1.order=0
hint.arswitch.1.at="mdio2"
hint.arswitch.1.is_7240=0
hint.arswitch.1.is_9340=1
-hint.arswitch.1.numphys=4
+hint.arswitch.1.numphys=5
hint.arswitch.1.phy4cpu=0 # phy 4 is not a "CPU port" PHY here
hint.arswitch.1.is_rgmii=0
hint.arswitch.1.is_gmii=1 # arge1 <-> switch PHY is GMII
@@ -78,6 +81,9 @@ hint.arge.1.media=1000
hint.arge.1.fduplex=1
hint.arge.1.miimode=1 # GMII
+# MAC for arge1 is the second 6 bytes of the ART
+hint.arge.1.eeprommac=0x1f7f0006
+
# ath0: Where the ART is - last 64k in the flash
hint.ath.0.eepromaddr=0x1fff0000
hint.ath.0.eepromsize=16384