1
0
Fork 0
forked from mirror/openwrt

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@protonmail.com>
Link: https://github.com/openwrt/openwrt/pull/19982
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Zhi-Jun You 2025-09-05 12:33:33 +08:00 committed by Hauke Mehrtens
parent f5655704a7
commit 1f59ef64fa

View file

@ -155,6 +155,14 @@
#address-cells = <1>;
#size-cells = <1>;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x1000>;
};
precal_factory_1010: precal@1010 {
reg = <0x1010 0x6f010>;
};
macaddr: macaddr@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>;
};