Skip to content

Commit

Permalink
ramips/mt7628: fix portmap based on board.d port assignment
Browse files Browse the repository at this point in the history
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
7a387bf ("ramips: mt76x8: fix bogus mediatek,portmap")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
  • Loading branch information
adschm committed Aug 10, 2020
1 parent ab74def commit 04b99d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/mt7628an_duzun_dm06.dts
Expand Up @@ -72,7 +72,7 @@
};

&esw {
mediatek,portmap = <0x3>;
mediatek,portmap = <0x3e>;
mediatek,portdisable = <0x3c>;
};

Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts
Expand Up @@ -130,7 +130,7 @@
};

&esw {
mediatek,portmap = <0x2f>;
mediatek,portmap = <0x3e>;
mediatek,portdisable = <0x2a>;
};

Expand Down

0 comments on commit 04b99d9

Please sign in to comment.