[openwrt/openwrt] mediatek: filogic: use NVMEM for EEPROM/precal on NWA50AX Pro
LEDE Commits
lede-commits at lists.infradead.org
Wed Sep 10 14:00:17 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/1f59ef64faa5516c41b31b9d06b20fff19f9ac85
commit 1f59ef64faa5516c41b31b9d06b20fff19f9ac85
Author: Zhi-Jun You <hujy652 at protonmail.com>
AuthorDate: Fri Sep 5 12:33:33 2025 +0800
mediatek: filogic: use NVMEM for EEPROM/precal on NWA50AX Pro
Convert NWA50AX Pro to use NVMEM framework for EEPROM/precal.
Signed-off-by: Zhi-Jun You <hujy652 at protonmail.com>
Link: https://github.com/openwrt/openwrt/pull/19982
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts b/target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts
index c3c325560c..dc22046262 100644
--- a/target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts
+++ b/target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts
@@ -155,6 +155,14 @@
#address-cells = <1>;
#size-cells = <1>;
+ eeprom_factory_0: eeprom at 0 {
+ reg = <0x0 0x1000>;
+ };
+
+ precal_factory_1010: precal at 1010 {
+ reg = <0x1010 0x6f010>;
+ };
+
macaddr: macaddr at a {
reg = <0xa 0x6>;
};
@@ -237,7 +245,7 @@
};
&wifi {
+ nvmem-cells = <&eeprom_factory_0>, <&precal_factory_1010>;
+ nvmem-cell-names = "eeprom", "precal";
status = "okay";
-
- mediatek,mtd-eeprom = <&factory 0x0>;
};
More information about the lede-commits
mailing list