ramips/mt7628: fix portmap based on board.d port assignment

When comparing to the port assignment in board.d/02_network, a few
devices seem to use the wrong setup of mediatek,portmap.

The corrects the values for mt76x8 subtarget based on the location
of the wan port.

A previous cleanup of obviously wrong values has already been done in
7a387bf9a0 ("ramips: mt76x8: fix bogus mediatek,portmap")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2020-08-07 12:18:41 +02:00
parent ab74def0db
commit 04b99d9539
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@
}; };
&esw { &esw {
mediatek,portmap = <0x3>; mediatek,portmap = <0x3e>;
mediatek,portdisable = <0x3c>; mediatek,portdisable = <0x3c>;
}; };

View File

@ -130,7 +130,7 @@
}; };
&esw { &esw {
mediatek,portmap = <0x2f>; mediatek,portmap = <0x3e>;
mediatek,portdisable = <0x2a>; mediatek,portdisable = <0x2a>;
}; };