};
partition@80000 {
- compatible = "u-boot,env";
label = "u-boot-env0";
reg = <0x80000 0x10000>;
read-only;
- macaddr_uboot_ethaddr: ethaddr {
+ nvmem-layout {
+ compatible = "u-boot,env";
+
+ macaddr_uboot_ethaddr: ethaddr {
+ };
};
};
};
partition@100000 {
- compatible = "u-boot,env";
label = "cfg1";
reg = <0x100000 0x40000>;
read-only;
- macaddr_uboot_ethaddr: ethaddr {
+ nvmem-layout {
+ compatible = "u-boot,env";
+
+ macaddr_uboot_ethaddr: ethaddr {
+ };
};
};
};
partition@100000 {
- compatible = "u-boot,env";
reg = <0x0100000 0x40000>;
label = "u-boot-env";
};
};
partition@30000 {
- compatible = "u-boot,env";
label = "u-boot-env";
reg = <0x030000 0x010000>;
- macaddr_uboot_ethaddr: ethaddr {
- #nvmem-cell-cells = <1>;
+ nvmem-layout {
+ compatible = "u-boot,env";
+
+ macaddr_uboot_ethaddr: ethaddr {
+ #nvmem-cell-cells = <1>;
+ };
};
};
};
partition@40000 {
- compatible = "u-boot,env";
label = "u-boot-env";
reg = <0x040000 0x010000>;
- macaddr_uboot_ethaddr: ethaddr {
- #nvmem-cell-cells = <1>;
+ nvmem-layout {
+ compatible = "u-boot,env";
+
+ macaddr_uboot_ethaddr: ethaddr {
+ #nvmem-cell-cells = <1>;
+ };
};
};
};
partition@e0000 {
- compatible = "u-boot,env";
label = "0:APPSBLENV";
reg = <0x000e0000 0x00010000>;
};
--- a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
-@@ -74,11 +74,155 @@
+@@ -74,11 +74,161 @@
status = "okay";
flash@0 {
+ };
+
+ partition@530000 {
-+ compatible = "u-boot,env";
+ label = "0:appsblenv";
+ reg = <0x530000 0x10000>;
+
-+ macaddr_lan: ethaddr {
-+ #nvmem-cell-cells = <1>;
++ nvmem-layout {
++ compatible = "u-boot,env";
++
++ macaddr_lan: ethaddr {
++ #nvmem-cell-cells = <1>;
++ };
+ };
+ };
+