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:
parent
f5655704a7
commit
1f59ef64fa
1 changed files with 10 additions and 2 deletions
|
|
@ -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>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue