};
partition@100000 {
- label = "u-boot-env";
+ compatible = "fixed-partitions";
reg = <0x00100000 0x00100000>;
- read-only;
+ label = "u-boot-env";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ reg = <0x0 0x20000>;
+ label = "u-boot-env-main";
+ status = "disabled";
- nvmem-layout {
- compatible = "u-boot,env";
+ nvmem-layout {
+ compatible = "u-boot,env-redundant-count";
+ };
+ };
+
+ partition@80000 {
+ reg = <0x80000 0x20000>;
+ label= "u-boot-env-redundant";
+ status = "disabled";
+
+ nvmem-layout {
+ compatible = "u-boot,env-redundant-count";
+ };
};
};