ath79: qca: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / qca9563_tplink_archer-a7-v5.dts
index 3bb6d685cc5625df080b19c8454e8625f1f44e22..339891f6da07eab6cb59015b870b3d9d9dcc00be 100644 (file)
                label = "info";
                reg = <0xf40000 0x020000>;
                read-only;
+
+               nvmem-layout {
+                       compatible = "fixed-layout";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       macaddr_info_8: macaddr@8 {
+                               reg = <0x8 0x6>;
+                       };
+               };
        };
 
        config: partition@f60000 {
        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>;
-       };
-};