]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
Revert "lantiq: arv7525pw: use nvmem for eeprom" 22192/head
authorRosen Penev <rosenp@gmail.com>
Thu, 26 Feb 2026 04:02:34 +0000 (20:02 -0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 27 Feb 2026 15:33:46 +0000 (16:33 +0100)
This reverts commit 9dbd45c18702cdd55fcfb0f71dc505afa1ff64d6.

Compared to ralink,mtd-eeprom , the nvmewm binding ends up byteswapping
the data on big endian hosts. Meaning on big endian, the nvmwem binding
is equivalent to:

ralink,mtd-eeprom +
ralink,eeprom-wrap

Revert as a result since there's no eeprom-swap here.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22192
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube_arcadyan_arv7525pw.dts

index fba74877433addded02f604898dc79c7d97b84f0..cd5b1db16f65dd15f74b75b2e19d3d7a37da7f6d 100644 (file)
                                        macaddr_boardconfig_16: macaddr@16 {
                                                reg = <0x16 0x6>;
                                        };
-
-                                       eeprom_boardconfig_410: eeprom@410 {
-                                               reg = <0x410 0x200>;
-                                       };
                                };
                        };
                };
        wifi@e,0 {
                compatible = "pci0,0";
                reg = <0x7000 0 0 0 0>;
-               nvmem-cells = <&eeprom_boardconfig_410>;
-               nvmem-cell-names = "eeprom";
+               ralink,mtd-eeprom = <&boardconfig 0x410>;
        };
 };