From: Rosen Penev Date: Tue, 30 Jun 2026 03:31:50 +0000 (-0700) Subject: mediatek: qihoo: fix WMAC eeprom X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=106fd083bc98e94dc9eb923ac297b7c4efd7d145;p=thirdparty%2Fopenwrt.git mediatek: qihoo: fix WMAC eeprom Wrong factory partition was used. Fixes: 53fa04d2619f ("mediatek: filogic: replace mtd-eeprom with nvmem") Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/23999 Signed-off-by: Robert Marko --- diff --git a/target/linux/mediatek/dts/mt7981b-qihoo-360t7.dts b/target/linux/mediatek/dts/mt7981b-qihoo-360t7.dts index 19b70578a41..5c35f413c17 100644 --- a/target/linux/mediatek/dts/mt7981b-qihoo-360t7.dts +++ b/target/linux/mediatek/dts/mt7981b-qihoo-360t7.dts @@ -14,10 +14,20 @@ 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 { @@ -48,16 +58,6 @@ 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 {