Browse Source

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>
master
Adrian Schmutzler 2 years ago
parent
commit
7c07a0f4c3
  1. 2
      target/linux/ramips/dts/mt7620a_bdcom_wap2100-sk.dts
  2. 2
      target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts
  3. 2
      target/linux/ramips/dts/mt7620a_hiwifi_hc5861.dts
  4. 2
      target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts
  5. 2
      target/linux/ramips/dts/mt7620a_sanlinking_d240.dts
  6. 2
      target/linux/ramips/dts/mt7620a_zbtlink_zbt-ape522ii.dts
  7. 2
      target/linux/ramips/dts/mt7620a_zbtlink_zbt-we826.dtsi
  8. 2
      target/linux/ramips/dts/mt7620n_asus_rt-n12p.dts
  9. 2
      target/linux/ramips/dts/mt7620n_zbtlink_zbt-we2026.dts

2
target/linux/ramips/dts/mt7620a_bdcom_wap2100-sk.dts

@ -124,7 +124,7 @@
&ethernet {
mtd-mac-address = <&factory 0x4>;
mediatek,portmap = "llllw";
mediatek,portmap = "wllll";
};
&wmac {

2
target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts

@ -134,7 +134,7 @@
&ethernet {
mtd-mac-address = <&factory 0x4000>;
mediatek,portmap = "llllw";
mediatek,portmap = "wllll";
};
&wmac {

2
target/linux/ramips/dts/mt7620a_hiwifi_hc5861.dts

@ -76,7 +76,7 @@
mtd-mac-address = <&factory 0x4>;
mediatek,portmap = "wllll";
mediatek,portmap = "llllw";
port@5 {
status = "okay";

2
target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts

@ -46,6 +46,4 @@
pinctrl-0 = <&ephy_pins>;
mtd-mac-address = <&factory 0x28>;
mediatek,portmap = "llllw";
};

2
target/linux/ramips/dts/mt7620a_sanlinking_d240.dts

@ -171,7 +171,7 @@
&ethernet {
mtd-mac-address = <&factory 0x4>;
mediatek,portmap = "wllll";
mediatek,portmap = "llllw";
};
&wmac {

2
target/linux/ramips/dts/mt7620a_zbtlink_zbt-ape522ii.dts

@ -114,7 +114,7 @@
mtd-mac-address = <&factory 0x4>;
mediatek,portmap = "wllll";
mediatek,portmap = "llllw";
};
&wmac {

2
target/linux/ramips/dts/mt7620a_zbtlink_zbt-we826.dtsi

@ -76,7 +76,7 @@
&ethernet {
mtd-mac-address = <&factory 0x4>;
mediatek,portmap = "wllll";
mediatek,portmap = "llllw";
};
&wmac {

2
target/linux/ramips/dts/mt7620n_asus_rt-n12p.dts

@ -110,7 +110,7 @@
&ethernet {
mtd-mac-address = <&factory 0x4>;
mediatek,portmap = "wllll";
mediatek,portmap = "llllw";
};
&wmac {

2
target/linux/ramips/dts/mt7620n_zbtlink_zbt-we2026.dts

@ -96,7 +96,7 @@
&ethernet {
mtd-mac-address = <&factory 0x4>;
mediatek,portmap = "wllll";
mediatek,portmap = "llllw";
};
&wmac {

Loading…
Cancel
Save