ath79: qca: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / qca9558_tplink_archer-d7-v1.dts
index 4f822fbc7d145478b249bcb8a2545622ac717912..c40cb1265840e94d35361a11ab413c1d4ce73659 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>;
-       };
-};