mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-12 21:55:38 +00: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 d3c0a944059b ("ramips: mt7620/mt7621: remove invalid mediatek,portmap") Cc: Sungbo Eo <mans0n@gorani.run> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
de283961f8
commit
2da10362c9
@ -124,7 +124,7 @@
|
|||||||
ðernet {
|
ðernet {
|
||||||
mtd-mac-address = <&factory 0x4>;
|
mtd-mac-address = <&factory 0x4>;
|
||||||
|
|
||||||
mediatek,portmap = "llllw";
|
mediatek,portmap = "wllll";
|
||||||
};
|
};
|
||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
|
@ -134,7 +134,7 @@
|
|||||||
ðernet {
|
ðernet {
|
||||||
mtd-mac-address = <&factory 0x4000>;
|
mtd-mac-address = <&factory 0x4000>;
|
||||||
|
|
||||||
mediatek,portmap = "llllw";
|
mediatek,portmap = "wllll";
|
||||||
};
|
};
|
||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
mtd-mac-address = <&factory 0x4>;
|
mtd-mac-address = <&factory 0x4>;
|
||||||
|
|
||||||
mediatek,portmap = "wllll";
|
mediatek,portmap = "llllw";
|
||||||
|
|
||||||
port@5 {
|
port@5 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
@ -46,6 +46,4 @@
|
|||||||
pinctrl-0 = <&ephy_pins>;
|
pinctrl-0 = <&ephy_pins>;
|
||||||
|
|
||||||
mtd-mac-address = <&factory 0x28>;
|
mtd-mac-address = <&factory 0x28>;
|
||||||
|
|
||||||
mediatek,portmap = "llllw";
|
|
||||||
};
|
};
|
||||||
|
@ -171,7 +171,7 @@
|
|||||||
ðernet {
|
ðernet {
|
||||||
mtd-mac-address = <&factory 0x4>;
|
mtd-mac-address = <&factory 0x4>;
|
||||||
|
|
||||||
mediatek,portmap = "wllll";
|
mediatek,portmap = "llllw";
|
||||||
};
|
};
|
||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
|
@ -114,7 +114,7 @@
|
|||||||
|
|
||||||
mtd-mac-address = <&factory 0x4>;
|
mtd-mac-address = <&factory 0x4>;
|
||||||
|
|
||||||
mediatek,portmap = "wllll";
|
mediatek,portmap = "llllw";
|
||||||
};
|
};
|
||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
ðernet {
|
ðernet {
|
||||||
mtd-mac-address = <&factory 0x4>;
|
mtd-mac-address = <&factory 0x4>;
|
||||||
|
|
||||||
mediatek,portmap = "wllll";
|
mediatek,portmap = "llllw";
|
||||||
};
|
};
|
||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
|
@ -110,7 +110,7 @@
|
|||||||
ðernet {
|
ðernet {
|
||||||
mtd-mac-address = <&factory 0x4>;
|
mtd-mac-address = <&factory 0x4>;
|
||||||
|
|
||||||
mediatek,portmap = "wllll";
|
mediatek,portmap = "llllw";
|
||||||
};
|
};
|
||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
|
@ -96,7 +96,7 @@
|
|||||||
ðernet {
|
ðernet {
|
||||||
mtd-mac-address = <&factory 0x4>;
|
mtd-mac-address = <&factory 0x4>;
|
||||||
|
|
||||||
mediatek,portmap = "wllll";
|
mediatek,portmap = "llllw";
|
||||||
};
|
};
|
||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user