ath79: qca: convert to nvmem-layout
[openwrt/staging/nbd.git] / target / linux / ath79 / dts / qca9558_tplink_archer-d7b-v1.dts
index 9adaa7fa6d30372993025c2fd2d6f3b1e6b88ea0..950e1d7b757d6ca35e2e464092b4e2b8a16fee7a 100644 (file)
                                label = "romfs";
                                reg = <0xfd0000 0x010000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_romfs_f100: macaddr@f100 {
+                                               reg = <0xf100 0x6>;
+                                       };
+                               };
                        };
 
                        partition@fe0000 {
        nvmem-cells = <&macaddr_romfs_f100>;
        nvmem-cell-names = "mac-address";
 };
-
-&romfs {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_romfs_f100: macaddr@f100 {
-               reg = <0xf100 0x6>;
-       };
-};