diff options
| author | Zhi-Jun You | 2025-09-05 04:33:33 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-09-10 20:57:49 +0000 |
| commit | 1f59ef64faa5516c41b31b9d06b20fff19f9ac85 (patch) | |
| tree | 5f8af790a53c6e3beba597f7fc65c49d7c84d5a3 | |
| parent | f5655704a7892c772e1d32c6884a8aef5092040c (diff) | |
| download | openwrt-1f59ef64faa5516c41b31b9d06b20fff19f9ac85.tar.gz | |
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>
| -rw-r--r-- | target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts | 12 |
1 files 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@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>; }; |