|
@@ -23,9 +23,6 @@
|
|
spi-max-frequency = <52000000>;
|
|
spi-max-frequency = <52000000>;
|
|
spi-tx-bus-width = <4>;
|
|
spi-tx-bus-width = <4>;
|
|
spi-rx-bus-width = <4>;
|
|
spi-rx-bus-width = <4>;
|
|
- mediatek,nmbm;
|
|
|
|
- mediatek,bmt-max-ratio = <1>;
|
|
|
|
- mediatek,bmt-max-reserved-blocks = <64>;
|
|
|
|
|
|
|
|
partitions {
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
compatible = "fixed-partitions";
|
|
@@ -34,31 +31,45 @@
|
|
|
|
|
|
partition@0 {
|
|
partition@0 {
|
|
label = "BL2";
|
|
label = "BL2";
|
|
- reg = <0x00000 0x0100000>;
|
|
|
|
|
|
+ reg = <0x00000 0x0200000>;
|
|
read-only;
|
|
read-only;
|
|
};
|
|
};
|
|
|
|
|
|
- partition@100000 {
|
|
|
|
- label = "u-boot-env";
|
|
|
|
- reg = <0x0100000 0x0080000>;
|
|
|
|
- };
|
|
|
|
|
|
+ ubi_part: partition@200000 {
|
|
|
|
+ label = "ubi";
|
|
|
|
+ reg = <0x0200000 0x7e00000>;
|
|
|
|
+ compatible = "linux,ubi";
|
|
|
|
|
|
- partition@180000 {
|
|
|
|
- label = "Factory";
|
|
|
|
- reg = <0x180000 0x0400000>;
|
|
|
|
- };
|
|
|
|
|
|
+ volumes {
|
|
|
|
+ ubi-volume-ubootenv {
|
|
|
|
+ volname = "ubootenv";
|
|
|
|
+ nvmem-layout {
|
|
|
|
+ compatible = "u-boot,env-redundant-bool-layout";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
|
|
- partition@580000 {
|
|
|
|
- label = "FIP";
|
|
|
|
- reg = <0x580000 0x0200000>;
|
|
|
|
- };
|
|
|
|
|
|
+ ubi-volume-ubootenv2 {
|
|
|
|
+ volname = "ubootenv2";
|
|
|
|
+ nvmem-layout {
|
|
|
|
+ compatible = "u-boot,env-redundant-bool-layout";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
|
|
- partition@780000 {
|
|
|
|
- label = "ubi";
|
|
|
|
- reg = <0x780000 0x7080000>;
|
|
|
|
|
|
+ ubi_root: ubi-volume-fit {
|
|
|
|
+ volname = "fit";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ };
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+ fragment@1 {
|
|
|
|
+ target-path = "/chosen";
|
|
|
|
+ __overlay__ {
|
|
|
|
+ rootdisk-spim-nand = <&ubi_root>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
};
|
|
};
|