Wrong factory partition was used.
Fixes: 53fa04d261 ("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>
76 lines
1.1 KiB
Devicetree
76 lines
1.1 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "mt7981b-qihoo-360t7-common.dtsi"
|
|
|
|
/ {
|
|
compatible = "qihoo,360t7", "mediatek,mt7981";
|
|
model = "Qihoo 360T7";
|
|
};
|
|
|
|
&partitions {
|
|
partition@100000 {
|
|
label = "u-boot-env";
|
|
reg = <0x100000 0x80000>;
|
|
read-only;
|
|
};
|
|
|
|
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 = "fip";
|
|
reg = <0x380000 0x200000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@580000 {
|
|
compatible = "linux,ubi";
|
|
reg = <0x580000 0x6c00000>;
|
|
label = "ubi";
|
|
|
|
volumes {
|
|
ubi_rootdisk: ubi-volume-fit {
|
|
volname = "fit";
|
|
};
|
|
};
|
|
};
|
|
|
|
partition@7180000 {
|
|
label = "config";
|
|
reg = <0x7180000 0x100000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@7280000 {
|
|
label = "factory";
|
|
reg = <0x7280000 0x80000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@7300000 {
|
|
label = "log";
|
|
reg = <0x7300000 0x700000>;
|
|
read-only;
|
|
};
|
|
};
|
|
|
|
&wifi {
|
|
status = "okay";
|
|
|
|
nvmem-cells = <&eeprom_factory_0>;
|
|
nvmem-cell-names = "eeprom";
|
|
};
|