aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorCezary Jackiewicz <cezary@eko.one.pl>2016-06-24 12:58:35 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-24 12:58:35 +0200
commitcae16a2a6fe411fdf9959e6a9a30b111f7b5729c (patch)
tree0fbd376cc93e29fa7b7b3f81a9e09373d305db64 /target/linux/ramips
parentc3e13e30a2273c560ad8d844cffbba53e8580c55 (diff)
downloadmaster-187ad058-cae16a2a6fe411fdf9959e6a9a30b111f7b5729c.tar.gz
master-187ad058-cae16a2a6fe411fdf9959e6a9a30b111f7b5729c.tar.bz2
master-187ad058-cae16a2a6fe411fdf9959e6a9a30b111f7b5729c.zip
ramips: cleanup for Hame MPR-A2
- disable all ethernet ports except port 0 on MPR-A2 Port 0 is the only ethernet port on this router, so disable all other PHYs in order to save power. - don't use a VLAN for the single ethernet port of the MPR-A2 Like A5-V11, this router only has one ethernet port. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
Diffstat (limited to 'target/linux/ramips')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/ramips/dts/MPRA2.dts3
2 files changed, 3 insertions, 2 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 985ce4b266..bf31c2af93 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -47,6 +47,7 @@ ramips_setup_interfaces()
linkits7688d | \
m2m|\
microwrt|\
+ mpr-a2|\
ncs601w|\
w150m|\
wnce2001|\
@@ -261,7 +262,6 @@ ramips_setup_macs()
freestation5|\
hlk-rm04|\
mpr-a1|\
- mpr-a2|\
psr-680w|\
sl-r7205|\
y1|\
diff --git a/target/linux/ramips/dts/MPRA2.dts b/target/linux/ramips/dts/MPRA2.dts
index df33edadd3..84f5dda3a6 100644
--- a/target/linux/ramips/dts/MPRA2.dts
+++ b/target/linux/ramips/dts/MPRA2.dts
@@ -101,7 +101,8 @@
};
&esw {
- mediatek,portmap = <0x2f>;
+ mediatek,portmap = <0x1>;
+ mediatek,portdisable = <0x3e>;
};
&wmac {