ath79: qca: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / qca9558_tplink_tl-wdr7500-v3.dts
index 998ede85cb9f71c6f772a168a1cce769d51de3f7..ccfebcc7ff85e07b7e855a2b083c9f2608d81144 100644 (file)
                label = "u-boot";
                reg = <0x000000 0x020000>;
                read-only;
+
+               nvmem-layout {
+                       compatible = "fixed-layout";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       macaddr_uboot_1fc00: macaddr@1fc00 {
+                               reg = <0x1fc00 0x6>;
+                       };
+               };
        };
 
        partition@20000 {
        nvmem-cells = <&macaddr_uboot_1fc00>;
        nvmem-cell-names = "mac-address";
 };
-
-&uboot {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_uboot_1fc00: macaddr@1fc00 {
-               reg = <0x1fc00 0x6>;
-       };
-};