summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2016-09-09 00:57:31 +0200
committerDaniel Golle <daniel@makrotopia.org>2016-09-09 02:38:06 +0200
commit083ef3fefecd024b2b9cdc496e1f7811c225041e (patch)
treed118da4d8e914c0bd0dc1ee4721fb797a9c6d55c /target/linux/ramips/base-files/etc/board.d
parent943cf08fb72ab87b8a5ccb7752d36b6b452ac09f (diff)
downloadmaster-31e0f0ae-083ef3fefecd024b2b9cdc496e1f7811c225041e.tar.gz
master-31e0f0ae-083ef3fefecd024b2b9cdc496e1f7811c225041e.tar.bz2
master-31e0f0ae-083ef3fefecd024b2b9cdc496e1f7811c225041e.zip
ramips: add support for Mercury MAC1200R v2
MT7628AN + MT7612E, 8MB SPI flash, 64MB DDR RAM reset button GPIO is still missing (anyone?) bootloader password is 'slp' Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 32bfa77f70..e9df34524b 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -72,6 +72,7 @@ ramips_setup_interfaces()
dir-615-h1|\
firewrt|\
hlk-rm04|\
+ mac1200rv2|\
miwifi-mini|\
miwifi-nano|\
mt7621|\
@@ -313,6 +314,10 @@ ramips_setup_macs()
wan_mac=$(mtd_get_mac_binary factory 4)
lan_mac=$(mtd_get_mac_binary factory 46)
;;
+ mac1200rv2)
+ lan_mac=$(mtd_get_mac_binary factory_info 13)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ;;
m3|\
m4|\
x5|\