]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: qihoo: fix WMAC eeprom 23999/head
authorRosen Penev <rosenp@gmail.com>
Tue, 30 Jun 2026 03:31:50 +0000 (20:31 -0700)
committerRobert Marko <robimarko@gmail.com>
Tue, 30 Jun 2026 08:38:56 +0000 (10:38 +0200)
Wrong factory partition was used.

Fixes: 53fa04d2619f ("mediatek: filogic: replace mtd-eeprom with nvmem")
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23999
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/mediatek/dts/mt7981b-qihoo-360t7.dts

index 19b70578a41afbdd1a23ddec9026e1fbe1b72ed2..5c35f413c171d7ee334a00bbd6f02b3acf09c603 100644 (file)
                read-only;
        };
 
-       factory: partition@180000 {
+       partition@180000 {
                label = "Factory";
                reg = <0x180000 0x200000>;
                read-only;
+
+               nvmem-layout {
+                       compatible = "fixed-layout";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       eeprom_factory_0: eeprom@0 {
+                               reg = <0x0 0x1000>;
+                       };
+               };
        };
 
        partition@380000 {
                label = "factory";
                reg = <0x7280000 0x80000>;
                read-only;
-
-               nvmem-layout {
-                       compatible = "fixed-layout";
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-
-                       eeprom_factory_0: eeprom@0 {
-                               reg = <0x0 0x1000>;
-                       };
-               };
        };
 
        partition@7300000 {