summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2024-08-05 18:18:49 -0700
committerRobert Marko <robimarko@gmail.com>2024-08-12 21:01:34 +0200
commit9dbd45c18702cdd55fcfb0f71dc505afa1ff64d6 (patch)
treeb8df62d868d5cbeb92d4de1ff0c75dcd35f84bbb /target/linux
parent7305bf616e9936eae7316bc13ff9d52b19544d9b (diff)
downloadopenwrt-9dbd45c18702cdd55fcfb0f71dc505afa1ff64d6.tar.gz
openwrt-9dbd45c18702cdd55fcfb0f71dc505afa1ff64d6.tar.bz2
openwrt-9dbd45c18702cdd55fcfb0f71dc505afa1ff64d6.zip
lantiq: arv7525pw: use nvmem for eeprom
NVMEM is the upstream replacement for this. ralink,mtd-eeprom is deprecated. The others need to stay as there's byte swapping going on. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16084 Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube_arcadyan_arv7525pw.dts7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube_arcadyan_arv7525pw.dts b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube_arcadyan_arv7525pw.dts
index 890eac972d..5315f3723e 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube_arcadyan_arv7525pw.dts
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube_arcadyan_arv7525pw.dts
@@ -135,6 +135,10 @@
macaddr_boardconfig_16: macaddr@16 {
reg = <0x16 0x6>;
};
+
+ eeprom_boardconfig_410: eeprom@410 {
+ reg = <0x410 0x200>;
+ };
};
};
};
@@ -152,7 +156,8 @@
wifi@0,0 {
compatible = "pci0,0";
reg = <0x7000 0 0 0 0>;
- ralink,mtd-eeprom = <&boardconfig 0x410>;
+ nvmem-cells = <&eeprom_boardconfig_410>;
+ nvmem-cell-names = "eeprom";
};
};