ramips: mt7620a: convert to nvmem-layout
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620a_dlink_dwr-118-a2.dts
index 42f5c861609b8a10e975d4589c3fa732124dc833..990fa298f284a867e8d0d78c7494aa87f1157903 100644 (file)
                                label = "config";
                                reg = <0xff0000 0x10000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_config_e4a8: macaddr@e4a8 {
+                                               reg = <0xe4a8 0x6>;
+                                       };
+                               };
                        };
                };
        };
        mediatek,port4-gmac;
        mediatek,ephy-base = /bits/ 8 <2>;
 };
-
-&config {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_config_e4a8: macaddr@e4a8 {
-               reg = <0xe4a8 0x6>;
-       };
-};