ath79: ar: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / ar9344_teltonika_rut9xx.dtsi
index 937095959c9e0a89a365ea70c7f94ff8a6b90ad2..e8b6e0893684c3294beddc5bdf788476b1212274 100644 (file)
                                label = "config";
                                reg = <0x20000 0x10000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_config_0: macaddr@0 {
+                                               reg = <0x0 0x6>;
+                                       };
+                               };
                        };
 
                        art: partition@30000 {
                                        <0x3c 0x000b0000 0x00ff0000>;
        };
 };
-
-&config {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_config_0: macaddr@0 {
-               reg = <0x0 0x6>;
-       };
-};