[openwrt/openwrt] ramips: fix gmac definition for cudy ap1300 outdoor
LEDE Commits
lede-commits at lists.infradead.org
Sun Jan 18 08:01:21 PST 2026
robimarko pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/49862b1cf56e72a12d7dfad1b34f2e34bae44b2d
commit 49862b1cf56e72a12d7dfad1b34f2e34bae44b2d
Author: Steffen Förster <nemesis at chemnitz.freifunk.net>
AuthorDate: Wed Jan 14 20:45:01 2026 +0100
ramips: fix gmac definition for cudy ap1300 outdoor
The gmac definition has an offset of 1 at the moment. This leads to an
off by one error in downstream projects that rely on the package label mac.
Signed-off-by: Steffen Förster <nemesis at chemnitz.freifunk.net>
Link: https://github.com/openwrt/openwrt/pull/21543
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
Link: https://github.com/openwrt/openwrt/pull/21561
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/ramips/dts/mt7621_cudy_ap1300-outdoor-v1.dts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/linux/ramips/dts/mt7621_cudy_ap1300-outdoor-v1.dts b/target/linux/ramips/dts/mt7621_cudy_ap1300-outdoor-v1.dts
index f6dbd17a87..8cb9c92183 100644
--- a/target/linux/ramips/dts/mt7621_cudy_ap1300-outdoor-v1.dts
+++ b/target/linux/ramips/dts/mt7621_cudy_ap1300-outdoor-v1.dts
@@ -175,7 +175,7 @@
wifi at 0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&eeprom_factory_0>, <&macaddr_bdinfo_de00 1>;
+ nvmem-cells = <&eeprom_factory_0>, <&macaddr_bdinfo_de00 0>;
nvmem-cell-names = "eeprom", "mac-address";
ieee80211-freq-limit = <2400000 2500000>;
};
@@ -185,14 +185,14 @@
wifi at 1,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&eeprom_factory_8000>, <&macaddr_bdinfo_de00 2>;
+ nvmem-cells = <&eeprom_factory_8000>, <&macaddr_bdinfo_de00 1>;
nvmem-cell-names = "eeprom", "mac-address";
ieee80211-freq-limit = <5000000 6000000>;
};
};
&gmac0 {
- nvmem-cells = <&macaddr_bdinfo_de00 1>;
+ nvmem-cells = <&macaddr_bdinfo_de00 0>;
nvmem-cell-names = "mac-address";
};
More information about the lede-commits
mailing list