ath79: qca: convert to nvmem-layout
[openwrt/staging/nbd.git] / target / linux / ath79 / dts / qca9531_tplink_archer-d50-v1.dts
index 0fc2bd3df82756b2974ba9f54a72a520ff5bbf99..887b8ef8161f856b598324006e3b191bc1831569 100644 (file)
                                label = "romfile";
                                reg = <0x7d0000 0x010000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_romfile_f100: macaddr@f100 {
+                                               reg = <0xf100 0x6>;
+                                       };
+                               };
                        };
 
                        partition@7e0000 {
 &usb0 {
        status = "okay";
 };
-
-&romfile {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_romfile_f100: macaddr@f100 {
-               reg = <0xf100 0x6>;
-       };
-};