ath79: qca: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / qca9563_tplink_archer-c2-v3.dts
index 6d5a21c138f6b0efc010fafc8f189010e13293ce..9925666f826911d3224448af8a621473eedd75ab 100644 (file)
                                label = "info";
                                reg = <0x7e0000 0x010000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_info_8: macaddr@8 {
+                                               reg = <0x8 0x6>;
+                                       };
+                               };
                        };
 
                        art: partition@7f0000 {
        nvmem-cells = <&macaddr_info_8>;
        nvmem-cell-names = "mac-address";
 };
-
-&info {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_info_8: macaddr@8 {
-               reg = <0x8 0x6>;
-       };
-};