mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-03 14:54:11 +08:00
ramips/mt7620: fix portmap based on board.d port assignment
When comparing to the port assignment in board.d/02_network, many
devices seem to use the wrong setup of mediatek,portmap.
The corrects the values for mt7620 subtarget based on the location
of the wan port.
A previous cleanup of obviously wrong values has already been done in
d3c0a94405
("ramips: mt7620/mt7621: remove invalid mediatek,portmap")
Cc: Sungbo Eo <mans0n@gorani.run>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
c487cf8e94
commit
7c07a0f4c3
@ -124,7 +124,7 @@
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
|
@ -134,7 +134,7 @@
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4000>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
|
@ -76,7 +76,7 @@
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
mediatek,portmap = "llllw";
|
||||
|
||||
port@5 {
|
||||
status = "okay";
|
||||
|
@ -46,6 +46,4 @@
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
@ -171,7 +171,7 @@
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
|
@ -114,7 +114,7 @@
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
|
@ -76,7 +76,7 @@
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
|
@ -110,7 +110,7 @@
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
|
@ -96,7 +96,7 @@
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
&wmac {
|
||||
|
Loading…
Reference in New Issue
Block a user