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>
This commit is contained in:
Cezary Jackiewicz 2016-05-19 07:37:58 +02:00 committed by John Crispin
parent 31293752c8
commit 2965430999
2 changed files with 3 additions and 2 deletions

View File

@ -47,6 +47,7 @@ ramips_setup_interfaces()
linkits7688d | \ linkits7688d | \
m2m|\ m2m|\
microwrt|\ microwrt|\
mpr-a2|\
ncs601w|\ ncs601w|\
w150m|\ w150m|\
wnce2001|\ wnce2001|\
@ -261,7 +262,6 @@ ramips_setup_macs()
freestation5|\ freestation5|\
hlk-rm04|\ hlk-rm04|\
mpr-a1|\ mpr-a1|\
mpr-a2|\
psr-680w|\ psr-680w|\
sl-r7205|\ sl-r7205|\
y1|\ y1|\

View File

@ -101,7 +101,8 @@
}; };
&esw { &esw {
mediatek,portmap = <0x2f>; mediatek,portmap = <0x1>;
mediatek,portdisable = <0x3e>;
}; };
&wmac { &wmac {